From: jfa Date: Thu, 10 Jul 2008 13:33:57 +0000 (+0000) Subject: Improvement 0019703: deform (scale along axes) a shape. X-Git-Tag: V4_1_4a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f22d540e002a4131f84f336486e5c48c8bbed4f7;p=modules%2Fgeom.git Improvement 0019703: deform (scale along axes) a shape. --- diff --git a/doc/salome/gui/GEOM/images/scale_transformsn3.png b/doc/salome/gui/GEOM/images/scale_transformsn3.png new file mode 100644 index 000000000..c7f8adbd6 Binary files /dev/null and b/doc/salome/gui/GEOM/images/scale_transformsn3.png differ diff --git a/doc/salome/gui/GEOM/images/scale_transformsn4.png b/doc/salome/gui/GEOM/images/scale_transformsn4.png new file mode 100644 index 000000000..fafa6f084 Binary files /dev/null and b/doc/salome/gui/GEOM/images/scale_transformsn4.png differ diff --git a/doc/salome/gui/GEOM/images/transformation10.png b/doc/salome/gui/GEOM/images/transformation10.png index 29e252e40..e2645d483 100755 Binary files a/doc/salome/gui/GEOM/images/transformation10.png and b/doc/salome/gui/GEOM/images/transformation10.png differ diff --git a/doc/salome/gui/GEOM/images/transformation10a.png b/doc/salome/gui/GEOM/images/transformation10a.png new file mode 100644 index 000000000..80ca6239b Binary files /dev/null and b/doc/salome/gui/GEOM/images/transformation10a.png differ diff --git a/doc/salome/gui/GEOM/input/scale_operation.doc b/doc/salome/gui/GEOM/input/scale_operation.doc index 9e13ba52b..ed5b94fc6 100644 --- a/doc/salome/gui/GEOM/input/scale_operation.doc +++ b/doc/salome/gui/GEOM/input/scale_operation.doc @@ -9,12 +9,16 @@ shape. For this, you need to define the \b Shape to be scaled, the Central Point of scale and the Scale Factor(s). \n The \b Result will be a \b GEOM_Object. +\n Advanced option: + \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments". + +\image html transformation10.png \n TUI Command: geompy.MakeScaleTransform(Shape, CenterOfScale, Factor) \n Arguments: Name + 1 shape(s) + 1 vertex + 1 Scale Factor. + +\image html transformation10a.png \n TUI Command: geompy.MakeScaleAlongAxes(Shape, CenterOfScale, FactorX, FactorY, FactorZ) \n Arguments: Name + 1 shape(s) + 1 vertex + 3 Scale Factors. -\n Advanced option: - \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments". \note If Central Point is not defined, the scaling will be performed relatively the origin of global coordinate system. @@ -24,14 +28,18 @@ geometry of the shape, while scaling by different factors along axes is a general transformation, which can modify geometry, for example, a circle can be transformed into an ellipse. -\image html transformation10.png - -\n Example: +\n Example of simple scaling: \image html scale_transformsn1.png \image html scale_transformsn2.png +\n Example of scaling on different factors along axes: + +\image html scale_transformsn3.png + +\image html scale_transformsn4.png + Our TUI Scripts provide you with useful examples of the use of \ref tui_scale "Scale Transformation" and of \ref swig_scale "Scale Along Axes Transformation"