In GEOM you can create basic and advanced geometrical objects
(2D & 3D elements) using the following building functions:
To use building functions:
In the main menu select New Entity > Build submenu.
Description: Returns a list of subshapes (vertices, edges, wires etc.) of the given shape.
Result : GEOM_Shape (ListOfGeomShapes).
TUI Command:
geompy.SubShape(GEOM_Shape, Short, ListOfSubShapeID)
geompy.SubShapeAll(GEOM_Shape, Short)
Arguments: 1 SHAPE + 1 type of SubShape.
Dialog Box:
Description: Creates an edge.
Result: GEOM_Shape (EDGE).
TUI Command: geompy.MakeEdge(PointStruct, PointStruct)
Arguments: 2 vertices.
Dialog Box:
Example:
Description: Creates a wire.
Result: GEOM_Shape (WIRE).
TUI Command : geompy.MakeWire(ListOfIOR)
Arguments: List of shapes (VERTEX, EDGE or WIRE).
Dialog Box:
Example:
Description: Creates a face.
Result: GEOM_Shape (FACE).
TUI Command: geompy.MakeFace(GEOM_Shape, Boolean)
Arguments: 1 wire.
Dialog Box:
Example:
Description: Creates a shell.
Result: GEOM_Shape (SHELL).
TUI Command: geompy.MakeShell(ListOfIOR)
Arguments: List of faces having connected edges.
Dialog Box:
Example:
Description: Creates a solid - closed geometrical 3D element.
Result: GEOM_Shape (SOLID).
TUI Command: geompy.MakeSolid(ListOfIOR)
Arguments: A closed shell or a list of shells.
Dialog Box:
Description: Creates a compound.
Result: GEOM_Shape (COMPOUND).
TUI Command: geompy.MakeCompound(ListOfIOR)
Arguments: List of shapes.
Dialog Box:
Example: