X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Finput%2Fscale_operation.doc;h=432d6d6b1b40780f1157e1131f4543e63ff0c7e9;hb=a0e22ed86a0df64143edb095e07295a014b32c88;hp=65d8d9583b45cf4561f7df2003fbcb8580dd88a4;hpb=239f8109c64fa0c5a2e1d87a420bad5529b57f48;p=modules%2Fgeom.git diff --git a/doc/salome/gui/GEOM/input/scale_operation.doc b/doc/salome/gui/GEOM/input/scale_operation.doc index 65d8d9583..432d6d6b1 100644 --- a/doc/salome/gui/GEOM/input/scale_operation.doc +++ b/doc/salome/gui/GEOM/input/scale_operation.doc @@ -6,21 +6,53 @@ Operations - > Transformation - > Scale Transform \n This operation creates a scaled shape basing on the initial -shape. For this, you need to define the \b Shape to be scaled, the -Central Point of scale and the Scale Factor. -\n The \b Result will be a \b GEOM_Object. +shape. + +\n Simple scale scales the entire object (i.e. its dimensions change evenly in all three orthogonal directions). It does not modify the +geometry of the shape. + +\image html transformation10.png + +The following parameters and options can be defined in this dialog: +- Result Name; +- One or several Objects to be scaled; +- Central Point (optional) - relatively to which the object is scaled. If the Central Point is not defined, the scaling will be +performed relatively the origin of the global coordinate system. +- Scale Factor - the multiplier of axial dimensions. If Scale Factor is negative, the object is mirrored through the Central Point. +- \ref restore_presentation_parameters_page "Advanced options". + \n TUI Command: geompy.MakeScaleTransform(Shape, CenterOfScale, Factor) \n Arguments: Name + 1 shape(s) + 1 vertex + 1 Scale Factor. -\image html transformation10.png +\n Multiple scale allows scaling by different factors along axes. This is a general transformation, which can modify the geometry, for example, a +circle can be transformed into an ellipse. + +\image html transformation10a.png + +The following parameters and options can be defined in this dialog: +- Result Name; +- One or several Objects to be scaled; +- Central Point (optional) - relatively to which the object is scaled. +- Scale Factor X/Y/Z - the multipliers of axial dimensions. +- \ref restore_presentation_parameters_page "Advanced options". + +\n TUI Command: geompy.MakeScaleAlongAxes(Shape, CenterOfScale, FactorX, FactorY, FactorZ) +\n Arguments: Name + 1 shape(s) + 1 vertex + 3 Scale Factors. + + +\n Example of simple scaling: + +\image html scale_transformsn1.png "The initial object" + +\image html scale_transformsn2.png "The resulting object (resized)" -\n Example: +\n Example of scaling by different factors along axes: -\image html scale_transformsn1.png +\image html scale_transformsn3.png "The initial object" -\image html scale_transformsn2.png +\image html scale_transformsn4.png "The resulting object (resized and distorted)" Our TUI Scripts provide you with useful examples of the use of -\ref tui_scale "Transformation Operations". +\ref tui_scale "Scale Transformation" and of \ref swig_scale "Scale Along Axes Transformation" -*/ \ No newline at end of file +*/