5 **Scale** feature makes a scaled shape basing on the initial shape.
7 To create a Scale in the active part:
9 #. select in the Main Menu *Features - > Scale* item or
10 #. click **Scale** button in the toolbar
12 .. image:: images/scale.png
18 Two Scale algorithms are:
20 .. image:: images/scale_factor_32x32.png
24 .. image:: images/scale_dimensions_32x32.png
26 by different factors along axes
28 Scale by one common factor
29 --------------------------
31 Scale by one common factor scales the entire object without modification the geometry of the shape: dimensions change evenly in all three orthogonal directions.
33 .. image:: images/Scale1.png
37 Scale by one common factor property panel
41 - **Main objects** panel contains shapes to be scaled. Shapes are selected in 3D OCC viewer or object browser;
42 - **Center point** defines the point relatively to which the object is scaled. Point is selected in 3D OCC viewer or object browser;
43 - **Scale factor** defines the multiplier of axial dimensions. If Scale Factor is negative, the object is mirrored through the Central Point.
45 **TUI Command**: *model.addScale(Part_doc, [shape], center, factor)*
47 **Arguments**: part + list of shapes in format *model.selection(TYPE, shape)* + center point in format *model.selection(TYPE, shape)*+ real (scale factor value).
52 Result of operation is transformed initial shape shown in wireframe mode together with initial shape in shading mode.
54 .. image:: images/Scale_common_factor.png
58 Scale by one common factor
60 **See Also** a sample TUI Script of :ref:`tui_Scale_common_factor` operation.
62 Scale by different factors along axes
63 -------------------------------------
65 Scale by different factors along axes is a general transformation, which can modify the geometry, for example, a sphere can be transformed into an ellipsoid.
67 .. image:: images/Scale2.png
71 Scale: define by different factors property panel
75 - **Main objects** panel contains shapes to be scaled. Shapes are selected in 3D OCC viewer or object browser;
76 - **Center point** defines the point relatively to which the object is scaled. Point is selected in 3D OCC viewer or object browser;
77 - **Scale factor in X**, **Scale factor in Y**, **Scale factor in Z** define the the multipliers of axial dimensions. If Scale Factor is negative, the object is mirrored through the Central Point.
79 **TUI Command**: *model.addScale(Part_doc, [shape], center, factors)*
81 **Arguments**: part + list of shapes in format *model.selection(TYPE, shape)* + center point in format *model.selection(TYPE, shape)*+ 3 reals (scale factor values along X. Y, Z axes).
86 Result of operation is transformed initial shape.
88 .. image:: images/Scale_XYZ.png
92 Scale by different factors
94 **See Also** a sample TUI Script of :ref:`tui_Scale_XYZ` operation.