Extrude and sweeps
An extrude
operation is defined by an array of points, where each point is an array of two coordinates. The profile below is create from a 2# shape in the XY-plane which is extruded 40
along the Z-axis.
Instead of entering the array of points directly with the extrude
function you can also pass a variable that contains the points. This way you can use a loop with a mathematical expression to define a more complex 2D profile. In the example below we use a sinus shaped profile for creating an object with a smooth curve that looks like a teeth of a gear, or an ironing device.
The example below shows how to generate an airfoil. The outline of the airfoil is generated by a NACA digital airfoil generator. The points are scaled and extruded.
A modified version of the profile is used for a sweep
operation. The result shows a smooth shape with looks like an air intake of a jet engine or a door stopper.