scaleFrame()

Synopsis

Returns the frame which represents the uniform scaling transformation of f. The returned value acts as a scaled version of f.

Frames define coordinate systems. They are essentially transformation matrices from the "world" coordinate frame . Frames can be used to position Parts , but rules regarding frames are ignored when constraint-based positioning is used. This behavior is controlled by the ignorePosition? parameter, which is common to all positionable designs .

Syntax

scaleFrame ( f As Frame, _
             scale As Number ) As Frame 
Argument Type Description
f Frame The frame representing the coordinate system to be scaled.n.
scale Number The scaling value.

Example 1

Intent >scaleFrame(worldFrame(), 2.5)
--> Frame<Vector_(2.5, 0.0, 0.0, WorldFrame()), Vector_(0.0, 2.5, 0.0, WorldFrame()), Vector_(0.0, 0.0, 2.5, WorldFrame()), Point_(0.0, 0.0, 0.0, WorldFrame())>