Skip to main content

Transform

In the Advanced mode you can apply transformations to a group of objects by dragging the objects inside the move or rotate statement. This avoids that transformations that you make at the start of the model are applied to all subsequent objects. 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 streched 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.