X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Finput%2Fcreating_extrusion.doc;h=104b7a2863054e23fa8a854e4acfd0973bed33da;hb=f4b5386b2ea36dbc789e4d31a877a11922b71fc8;hp=6cc92388cb0980d68a744fa1093005f65828d1d4;hpb=392885c1a8d50369708bbe5e6b44033ed8b8ba51;p=modules%2Fgeom.git
diff --git a/doc/salome/gui/GEOM/input/creating_extrusion.doc b/doc/salome/gui/GEOM/input/creating_extrusion.doc
index 6cc92388c..104b7a286 100644
--- a/doc/salome/gui/GEOM/input/creating_extrusion.doc
+++ b/doc/salome/gui/GEOM/input/creating_extrusion.doc
@@ -5,42 +5,54 @@
\n To generate an \b Extrusion on an object in the Main Menu
select New Entity - > Generation - > Extrusion
-\n There are 2 algorithms for creation of an \b Extrusion (Prism).
+\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.
+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 extruiding the source
-object both forward and backward.
-\n TUI Command: geompy.MakePrismVecH(Base, Vector, Height)
-\n 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).
+\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
+\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).
-\n Both Directions checkbox allows extruiding the source
-object both forward and backward.
-\n TUI Command: geompy.MakePrism(Base, Point1, Point2)
-\n Arguments: Name + 1 shape (vertex, edge, planar wire, face or
-shell) serving as base object + 2 vertices.
+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
-and the DX, DY, DZ Vector\n
+\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.
-\n TUI Command: geompy.MakePrismDXDYDZ(Base, dx, dy, dz)
-\n Arguments: Name + 1 shape (vertex, edge, planar wire, face or
-shell) serving as base object + 3 axis directions.
+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