SALOME documentation central

Extrusion


To generate an Extrusion on an object in the Main Menu select New Entity - > Generation - > Extrusion


There are 2 algorithms for creation of an Extrusion (Prism).
The Result of the operation will be a GEOM_Object (edge, face, shell solid or compsolid).


Firstly, you can define the Base Shape (a basis of the extrusion), the Vector (a direction of the extrusion) and the Height of extrusion.
The Result of the operation will be a GEOM_Object (edge, face, shell, solid or compsolid).
Both Directions checkbox allows extruiding the source object both forward and backward.
TUI Command: geompy.MakePrismVecH(Base, Vector, Height)
Arguments: Name + 1 shape (vertex, edge, planar wire, face or shell) serving as base object + 1 vector (for direction of the extrusion) + 1 value (dimension).

extrusion1.png


Secondly, you can define the Extrusion by the Base Shape and the Start and End Point of the Vector (in this way you don't need to create it in advance).
Both Directions checkbox allows extruiding the source object both forward and backward.
TUI Command: geompy.MakePrism(Base, Point1, Point2)
Arguments: Name + 1 shape (vertex, edge, planar wire, face or shell) serving as base object + 2 vertices.

extrusion2.png


Finally, you can define the Extrusion by the Base Shape and the DX, DY, DZ Vector
Both Directions checkbox allows extruding the source objects both forward and backward.
TUI Command: geompy.MakePrismDXDYDZ(Base, dx, dy, dz)
Arguments: Name + 1 shape (vertex, edge, planar wire, face or shell) serving as base object + 3 axis directions.

extrusion3.png

Examples:

prisms_basessn.png
Base Shape
prismssn.png
Prisms

Our TUI Scripts provide you with useful examples of creation of Complex Geometric Objects.


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS