Wednesday, February 6, 2013

LESSON 3-7a


LESSON 3-7a



EXTRUDING TO CREATE 3D OBJECTS

The purpose of this lesson is to look further at the EXTRUDE command. As you saw in Lesson 3-7, it can be used to create a 3D solid from a closed 2D shape. Two other ways you can extrude (which you may have seen as options on the command line) are to taper the extrusion and the extrude a shape along a path. If you need to, you can also combine the two options and extrude along a path while tapering the shape (shown below).
One example where you can use extruded paths is to represent pipes in a drawing. You may not use the tapered path option, but at least it's there.
EXTRUDING ALONG A PATH
Draw a POLYLINE from 0,0 to 120,0 to 120,120 to 240,120 to 240,0 and then pressto finish the command.
Do a Zoom > Extents to see the polyline and then zoom out a little more. Your line should look like this:
Next you will put a 24 unit radius on all the corners. The easiest way to do this is using thePolyline option of the FILLET command.
Command: F 
FILLET
Current settings: Mode = TRIM, Radius = 0.0000
Select first object or [Polyline/Radius/Trim/mUltiple]: R
Specify fillet radius <0.0000>: 24 Select first object or [Polyline/Radius/Trim/mUltiple]: P
Select 2D polyline:  1 found
Select objects: 
Specify first point on axis or define axis by
[Object/Last/View/Xaxis/Yaxis/Zaxis/2points]: X Specify a point on the X axis
<0,0,0>:  1 found
Select objects: 
Specify height of extrusion or [Path]: P
Select extrusion path or [Taper angle]:  l
1 found
Select objects to extrude:
Specify height of extrusion or [Direction/Path/Taper angle] <1.0000>: T
Specify angle of taper for extrusion <0>: 45
Specify height of extrusion or [Direction/Path/Taper angle] <1.0000>: 50
Here is what you should have (a pyramid):
Use the 3DORBIT command to view it at different angles (Click on the screen, hold the button down and move the cursor around the screen). Try extruding different shapes with various taper angles for more practices.
These options give you a lot of versatility within one command. You may not use these options very often in your everyday drafting, but they're good to know.
LOFTING
New in AUtoCAD 2007 (and long overdue) is the LOFT command. The loft command is similar to the extrude command, but much more versatile. Instead of extruding a single shape, the loft command allows you to extrude several shapes and make one continuous object.
Here's an example of how it works, I have drawn several shapes and aligned them with the same centre. Next, they were copied above and below the largest circle. The goal is to create a smooth object from the 7 profiles shown below.

Here is a front view of the objects before and after the loft command:
The example above is very simple, but think of how you can create complex shapes using this simple command.
USING THE LOFT COMMAND
The goal of this exercise is to create a "twisted Cube" - a 20x20x20 cube that looks like the top was twisted 45o. We're going to start with a simple one. Draw a square 20x20. Copy it in the same place. Rotated the 2nd square 45o using the midpoints of the square as the base point. Finally, move the 2nd square up 20 units. You should have something like this from the SW view:
From left to right, the original square, the copied and rotated square and the moved 2nd square. Copy the 2 rectangles over (out of the way) to use in another exercise.

Next you will create a lofted object from the 2 rectangles using the defaults.
Command: LOFT
Select cross-sections in lofting order:  1 found, 2 total
Select cross-sections in lofting order: 
Enter an option [Guides/Path/Cross-sections only] :
After hitting OK, you square will be turned into one lofted 3D Solid.
Now something doesn't look quite right to me. I would expect that corners of the squares would be even so that the lofted square looks like a 'twisted cube'. Instead, you can see lines going from the middle of the bottom square to a corner of the top square. Use the HIDE command to see how it looks. It looks a little strange, but you can make out that it has some odd shapes.
Take the pair of squares that you copied over earlier and draw lines from lower corner to upper corner as shown in the drawing below:

Now start the LOFT command again. This time you'll try something different. Select the squares again as your cross sections, then instead of accepting the default, use the Guides option <G>. Now select the four lines which will guide the loft to create a shape that better represents what you want.
Command: loft
Select cross-sections in lofting order: 1 found
Select cross-sections in lofting order: 1 found, 2 total
Select cross-sections in lofting order:
Enter an option [Guides/Path/Cross-sections only] G
Select guide curves:1 found
Select guide curves:1 found, 2 total
Select guide curves:1 found, 3 total
Select guide curves:1 found, 4 total
Select guide curves:
Compare the 2 objects, the 2nd one should look more like the goal of a twisted cube.
To change how you view things in AutoCAD 2007, use the VISUALSTYLES command. This new command allows you to quickly change settings for how you view 3D objects that previously needed the knowledge of several system variables.
Use the settings highlighted below and press the "Apply to Current Viewport" button. You should now have a clear view that illustrated the differences between the first lofted object and the second one using guides.
Try creating your own lofted 3D Solids. Anything that can be extruded can be lofted - so any closed shape will work. There are many other options to this command, but in a effort to be brief and cover the basics, I will not go further into this command. Remember to pick the cross sections in the correct order, add guides to better define the shape.
In review, you can see how extruding and lofting are two simple commands that give you a lot of power in the 3D world. Get familiar with extruding, as it is a great way to build things in 3D. Lofting will allow you to create more 'organic' shaped that any previous version of AutoCAD.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.