Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 63180

Forum Post: RE: Expand/Contract -> Shape Boundary Segments

$
0
0
;;The first step would be to convert the existing shape into a polygon: (ShapeList = (axlGetSelSet)) foreach(shape ShapeList if(((shape->objType) == "shape") then (PolyList = axlPolyExpand( axlPolyFromDB( shape ?layer (shape->layer) ?padType "REGULAR") Radius 'ACU_BLUNT)) ;;then contract the outline & build the new shape (Offset = (axlMKSConvert -0.15 "MM") (layer = "ROUTE KEEPOUT/ALL") foreach( poly PolyList (RectList = axlPolyExpand(poly Offset 'ACU_BLUNT)) foreach( result RectList (dbids = (axlDBCreateShape result t layer nil nil)) ) ) )

Viewing all articles
Browse latest Browse all 63180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>