Extruding 2D Shapes






Extruding 2D Shapes

In 3ds max, extrusion — in effect, pulling one shape out of another — is one of the three most common ways to create a 3D object from a 2D shape or spline. (Another is lathing, which I cover in the next section.) Extrusion involves dragging a 2D shape along a line perpendicular to the plane of the 2D shape. Imagine a circle. Now envision a line of a fixed length, starting at the center of the circle and perpendicular to the plane of the circle. Extruding the circle along that line would create a cylinder. In effect, a cylinder is an extruded circle; in this case, the perpendicular line is the axis of extrusion. (In some cases it’s called a path, but that’s another story.)

Most extrusions take place with the Pivot Point of the shape left at its default position. The Extrude operation is activated by selecting either Modifiers> Mesh Editing>Extrude from the Main Menu, or by clicking the Extrude tool in the Extrude Modifier under the Modeling tab on the Tab Panel.

Using either method will trigger the Extrude Parameters rollout in the Modify Command Panel, as shown in Figure.


Figure: The Extrude Parameters rollout in the Modify Command Panel.

The most important choices in this rollout are the Amount value, and whether Cap Start/Cap End are checked. The Amount value determines the height of the extruded object. Checking Cap Start or Cap End determines whether the object has a capped surface on either or both ends. The rest of the parameters can be left at their defaults until you get comfortable with these options.

 Remember  If you extrude a renderable spline, extrusion removes the rendered thickness. This also holds true if you Lathe a spline that has been set to renderable.

Extruding open shapes

Extruded open shapes can be used as walls or ribbons in a 3D scene. Do the following to explore the creation of an open 2D shape or spline:

  1. Choose Create>Shapes>Splines>Line in the Command Panel.

  2. Create a wavy line in the Top Viewport. Do not close the shape.

  3. Click the Extrude tool in the Modeling Tab of the Tab Panel.

    The Extrusion Parameters appear in the Modifiers section of the Command Panel.

  4. In the Command Panel, input a value of 25 for the Amount.

    The Cap Start and Cap End choices aren’t available for open shapes. You should immediately see a ribbonlike 3D object appear in your viewports.

To get a good working sense of this operation, create a variety of open spline shapes and extrude them with different Amount values, as shown in Figure.

Click To expand
Figure: A variety of open-spline extruded shapes.

Extruding closed shapes

Most of the 2D splines you will transform into 3D objects by extrusion will be closed shapes. Extruding a closed spline creates a 3D object that appears to have volume. You can also create capped ends on a closed extruded spline. Try the following:

  1. Choose Create>Shapes>Splines>Circle and create a circle in the Top Viewport.

     Remember  Make sure Renderable is switched off.

  2. Click the Extrude Modifier in the Modeling Tab Panel.

  3. Set the Amount of the Extrusion to 75 in the Command Panel.

  4. Check Patch instead of Mesh to generate a different polygon arrangement.

    Try this operation with Cap Start and Cap End on and off; you can see the results in the Perspective Viewport, as shown in Figure.

    Click To expand
    Figure: Left: Cap Start/Cap End are both switched on. Center: Cap End is switched off. Right: Cap Start and Cap End are both switched off.

Repeat the previous set of steps, this time with 2D text. Extrusion creates awesome 3D text objects. Create a variety of 2D shapes and extrude then to create different objects.

Extruding helical ribbons

Extruding the helix shape creates a spiraling ribbonlike object. Cap Start/Cap End settings make no difference to the helix; it’s an open shape. The Amount value determines the thickness of the ribbon, as shown in Figure.


Figure: Compare this extruded helix object with the renderable helix object shown in Figure.


 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows