Skip to main content

Transform

You can apply transformations to a group of objects by dragging the objects inside the move or rotate statement. This means that the transformations are only applied to the objects inside the block. For example, the cylinder below is rotated 90 degrees around the X-axis but the global transformation is not changed. The Advanced mode also supports the scale transformation. This can be used to squeeze or stretch an object in one or more directions. For example, the object below includes a cylinder and a sphere which is stretched along the Y-axis by a scale operation in Y-direction.

To create a propellor of a windmill or airplane we can add a tapered cone. The cone is squeezed to 30 % of its width in Y-direction by applying a scale operation. Next, the scaled cone is rotated 30 degrees along the Z-axis to simulate the pitch of the propeller. A repeat loop in combination with a turn statement is used to create a circular pattern of three blades.