Creates a flat pattern of the sheet metal folded body. The isSheetMetal property of the BRepBody object can be used to determine if a particular body can be flattened. Creating a flat pattern will fail if a flat pattern already exists in the component. You can determine if a flat pattern already exists by checking if the flatPattern property returns a FlatPattern object or null.
"component_var" is a variable referencing a Component object.
|
"component_var" is a variable referencing a Component object.
|
Type | Description |
FlatPattern | Returns the newly created flat pattern. |
Name | Type | Description |
stationaryFace | BRepFace | A planar face in the sheet metal body that is on the top or bottom of the part and not an edge face. This face will be positioned on the X-Y plane of the flat pattern and the rest of the model will be flattened relative to this face. The face must exist on a body that is owned by this component. |