Difference between revisions of "Nested Shapes"
Line 15: | Line 15: | ||
Cut (Child_Shape) | Cut (Child_Shape) | ||
The <tt>(Parent_Shape)</tt> is created with any shape command (such as [[2D Shape Commands|2D]] or [[3D Shape Commands|3D shape commands]]. | The <tt>(Parent_Shape)</tt> is created with any shape command (such as [[2D MPM Shape Commands|2D]] or [[3D MPM Shape Commands|3D shape commands]]. |
Revision as of 20:45, 5 December 2016
By nesting shapes, you can create new shapes for creating material points or creating an FEA mesh.
Subordinate Shapes
By nesting one shape inside another, you can create a new shape. The new shape will be the parent shape minus the area covered by the child shape, or subordinate shape. You can nest any number of shapes in a parent shape. Furthermore, the child shapes can have their own nested shapes. This second level of nesting will remove that shape from the child shape which will have the net effect of adding that area back to the child's parent shape. You can continue nesting to any number of levels and each level will alternate between removing and adding are to the final shape.
Using Nested Shapes
In scripted files, shapes are nested using the Cut command:
(Parent_Shape) Cut (Child_Shape) Cut Cut (Child_Shape) … Cut (Child_Shape)
The (Parent_Shape) is created with any shape command (such as 2D or 3D shape commands.