/*!
\page scale_operation_page Scale Transform
\n To produce a Scale Transform in the Main Menu select
Operations - > Transformation - > Scale Transform
\n This operation creates a scaled shape basing on the initial
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.
\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 of scaling by different factors along axes:
\image html scale_transformsn3.png "The initial object"
\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 "Scale Transformation" and of \ref swig_scale "Scale Along Axes Transformation"
*/