Place Rule Development

Insert Rule

Insert rule takes as a parameter and selection of the input region – in form of points, or perimeter indices. It expects to have a shape in the body of the polygon. The shape is placed at the given positions around the perimeter or iregion.

NOTE: Second Insert rule can accept a set of iregions, instead of just one – apply function has been overloaded – to accomodate placement into a number of surrounding polygons. Also an index to the polygon that selection corresponds to is given.

Place Rule Implementation

Place rule has been implemented as a combination of Peel and a new Insert rules.

Both peeled polygons are forwarded to Insert rule.

The selection should only correspond to the edge of extrusion.

place rule