/*! \page create_extrusion_page Extrusion \n To generate an \b Extrusion on an object in the Main Menu select New Entity - > Generation - > Extrusion Examples: \image html prisms_basessn.png Base Shape \image html prismssn.png Prisms \n There are 3 algorithms for creation of an \b Extrusion (Prism). \n The \b Result of the operation will be a GEOM_Object (edge, face, shell solid or compsolid). \n Firstly, you can define the Base Shape (a basis of the extrusion), the \b Vector (a direction of the extrusion) and the \b Height of extrusion. Optionally you can define the Scale Factor to build extrusion with scaled opposite base. Scaling is possible only with 1D and 2D bases.
It is possible to select in GUI several Base Shapes to make several extrusions (using Shift button). \n The \b Result of the operation will be a GEOM_Object (edge, face, shell, solid or compsolid). \n Both Directions checkbox allows extruding the source object both forward and backward. With this option scaling is not possible. \n TUI Command: geompy.MakePrismVecH(Base, Vector, Height, theScaleFactor = -1.0) \n Arguments: Name + one or several shapes (vertex, edge, planar wire, face or shell) serving as base objects + 1 vector (for direction of the extrusion) + 1 value (dimension) + 1 optional value (scale factor for the opposite base). \nAdvanced options \ref preview_anchor "Preview" \image html extrusion1.png \n Secondly, you can define the \b Extrusion by the Base Shape(s) and the \b Start and End Point of the \b Vector (in this way you don't need to create it in advance). Optionally you can define the Scale Factor to build extrusion with scaled opposite base. Scaling is possible only with 1D and 2D bases. \n Both Directions checkbox allows extruding the source object both forward and backward. With this option scaling is not possible. \n TUI Command: geompy.MakePrism(Base, Point1, Point2, theScaleFactor = -1.0) \n Arguments: Name + one or several shapes (vertex, edge, planar wire, face or shell) serving as base objects + 2 vertices + 1 optional value (scale factor for the opposite base). \image html extrusion2.png \n Finally, you can define the \b Extrusion by the Base Shape(s) and the DX, DY, DZ Vector. Optionally you can define the Scale Factor to build extrusion with scaled opposite base. Scaling is possible only with 1D and 2D bases.\n Both Directions checkbox allows extruding the source objects both forward and backward. With this option scaling is not possible. \n TUI Command: geompy.MakePrismDXDYDZ(Base, dx, dy, dz, theScaleFactor = -1.0) \n Arguments: Name + one or several shapes (vertex, edge, planar wire, face or shell) serving as base objects + 3 axis directions + 1 optional value (scale factor for the opposite base). \image html extrusion3.png Add thickness \n For all three ways of creation of a prism it is possible to add a thickness to the created prism (only when extruding an edge or wire). \image html prism_with_thickness.png You can choose the \b Thickness and the direction of the thickening. By default the material is added on the outside of the generated pipe. \image html extrusion4.png \n TUI Command: geompy.Thicken(Shape, Thickness) \n Arguments: A shape (shell or face only) and a thickness Our TUI Scripts provide you with useful examples of creation of \ref tui_creation_prism "Complex Geometric Objects". */