]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Improvement 0019703: deform (scale along axes) a shape.
authorjfa <jfa@opencascade.com>
Thu, 10 Jul 2008 13:33:57 +0000 (13:33 +0000)
committerjfa <jfa@opencascade.com>
Thu, 10 Jul 2008 13:33:57 +0000 (13:33 +0000)
doc/salome/gui/GEOM/images/scale_transformsn3.png [new file with mode: 0644]
doc/salome/gui/GEOM/images/scale_transformsn4.png [new file with mode: 0644]
doc/salome/gui/GEOM/images/transformation10.png
doc/salome/gui/GEOM/images/transformation10a.png [new file with mode: 0644]
doc/salome/gui/GEOM/input/scale_operation.doc

diff --git a/doc/salome/gui/GEOM/images/scale_transformsn3.png b/doc/salome/gui/GEOM/images/scale_transformsn3.png
new file mode 100644 (file)
index 0000000..c7f8adb
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 (file)
index 0000000..fafa6f0
Binary files /dev/null and b/doc/salome/gui/GEOM/images/scale_transformsn4.png differ
index 29e252e40c37213b0553063f7853560078209468..e2645d4830d294897d80f1c822a63e5d10b760e1 100755 (executable)
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 (file)
index 0000000..80ca623
Binary files /dev/null and b/doc/salome/gui/GEOM/images/transformation10a.png differ
index 9e13ba52b6aae8d825b386b13b0e161a937e3285..ed5b94fc653b2bc637cc704072fdc9a674097813 100644 (file)
@@ -9,12 +9,16 @@
 shape. For this, you need to define the \b Shape to be scaled, the
 <b>Central Point</b> of scale and the Scale Factor(s).
 \n The \b Result will be a \b GEOM_Object.
+\n <b>Advanced option:</b>
+   \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
+
+\image html transformation10.png
 \n <b>TUI Command:</b> <em>geompy.MakeScaleTransform(Shape, CenterOfScale, Factor)</em>
 \n <b>Arguments:</b> Name + 1 shape(s) + 1 vertex + 1 Scale Factor.
+
+\image html transformation10a.png
 \n <b>TUI Command:</b> <em>geompy.MakeScaleAlongAxes(Shape, CenterOfScale, FactorX, FactorY, FactorZ)</em>
 \n <b>Arguments:</b> Name + 1 shape(s) + 1 vertex + 3 Scale Factors.
-\n <b>Advanced option:</b>
-   \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
 
 \note If <b>Central Point</b> 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 <b>Example:</b>
+\n <b>Example of simple scaling:</b>
 
 \image html scale_transformsn1.png
 
 \image html scale_transformsn2.png
 
+\n <b>Example of scaling on different factors along axes:</b>
+
+\image html scale_transformsn3.png
+
+\image html scale_transformsn4.png
+
 Our <b>TUI Scripts</b> provide you with useful examples of the use of
 \ref tui_scale "Scale Transformation" and of \ref swig_scale "Scale Along Axes Transformation"