Version: 6.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Scale Transform


To produce a Scale Transform in the Main Menu select Operations - > Transformation - > Scale Transform


This operation creates a scaled shape basing on the initial shape. For this, you need to define the Shape to be scaled, the Central Point of scale and the Scale Factor(s).
The Result will be a GEOM_Object.
Advanced option: Set presentation parameters and sub-shapes from arguments.

transformation10.png


TUI Command: geompy.MakeScaleTransform(Shape, CenterOfScale, Factor)
Arguments: Name + 1 shape(s) + 1 vertex + 1 Scale Factor.

transformation10a.png


TUI Command: geompy.MakeScaleAlongAxes(Shape, CenterOfScale, FactorX, FactorY, FactorZ)
Arguments: Name + 1 shape(s) + 1 vertex + 3 Scale Factors.

Note
If the Central Point is not defined, the scaling will be performed relatively the origin of the global coordinate system.
Scaling by one factor is a simple transformation, it does not modify the geometry of the shape, while scaling by several different factors along axes is a general transformation, which can modify the geometry, for example, a circle can be transformed into an ellipse.


Example of simple scaling:

scale_transformsn1.png
The initial object
scale_transformsn2.png
The resulting object (resized)


Example of scaling by different factors along axes:

scale_transformsn3.png
The initial object
scale_transformsn4.png
The resulting object (resized and distorted)

Our TUI Scripts provide you with useful examples of the use of Scale Transformation and of Scale Along Axes Transformation

Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS