Our Friends: Leaflet Printing , Presented by: Talia Cad Software

Sign In

Subscribe

Subscribe to Daily Autocad.


Aug 02
Thursday
3D, 3D Modeling, AutoCAD 2008, Autocad
3D Modeling 8: Using SWEEP command

AutoCAD 2007 and higher versions

SWEEP command, which is one of the new features that came with AutoCAD 2007, can be considered as an advanced version of EXTRUDE command. Both EXTRUDE and SWEEP commands are used for creating a 3D solid by dragging a profile along a path.

The main difference between the two commands is that in SWEEP command, you can automatically make the profile perpendicular to path; you can scale the profile along the path and rotate it. On the other hand, “taper angle” option of EXTRUDE command does not exist in SWEEP command.

Let’s come to SWEEP command. The first example that comes in mind for SWEEP command is a spiral spring. This example is very popular because it explains the fundamental use of this command very well. In my opinion, you can learn about the fundamental concepts of SWEEP command by reading “Advanced solid modeling in AutoCAD 2007: HELIX and SWEEP” that was written by Erhan. Let’s continue by drawing a spring :)

Command: _sweep
Current wire frame density: ISOLINES=8
Select objects to sweep: (select the circle)1 found
Select objects to sweep: (press ENTER)
Select sweep path or [Alignment/Base point/Scale/Twist]: (press ENTER)

Fig.2
Fig.2

As you can see, this is the most basic way to show how SWEEP command works. Which is simply dragging an entity around a path. Unless you mention other vise, entity is automatically taken perpendicular to the path and centered to it.

Now, let’s take a look at options of SWEEP command:

Alignment: Unless you mention otherwise, it aligns the entity perpendicular to path. Another option is to accept the own angle of profile.

Base Point: Unless you mention otherwise, it aligns the places the profile on the center of path.

Fig.3
Fig.3

Scale: You can scale the profile along the path. In the example below, you can find the solid which is scaled and twisted by half rotation.

Fig.4
Fig.4

Command: _sweep
Current wire frame density: ISOLINES=8
Select objects to sweep: (select the square) 1 found
Select objects to sweep:
Select sweep path or [Alignment/Base point/Scale/Twist]: s
Enter scale factor or [Reference]<1.0>: 2
Select sweep path or [Alignment/Base point/Scale/Twist]: t
Enter twist angle or allow banking for a non-planar sweep path [Bank]<0.0>: 180
Select sweep path or [Alignment/Base point/Scale/Twist]:

Twist: This option is the most important option that separates SWEEP from EXTRUDE, just like “scale”. You can rotate, twist, the profile along the path.

Now, take a look at below examples to see what kind of variations you can make and repeat the examples by yourself.

Fig.5
Fig.5

In this example, after you select your circle for SWEEP, make the “scale” setting as 2 and try once more by selecting the path from its point 1 and then next time by selecting it from its point 2.

Fig.6
Fig.6

This time, try using the “basepoint” option after selecting the square.

Fig.7
Fig.7

In this example, use ‘basepoint’ and ‘twist’ options. You can download the file that can be used to work on the example from here.

Have a nice day.

See previous articles of series : See “3D Modeling” chapter in AutoCAD Lessons.Technorati Tags: , , ,

Read in other languages: TR

Viewed 15,043 times so far... This week: 143 Today: 2 Latest: 5 July 2009, 1:10

Post Tags:

17 Responses to “ 3D Modeling 8: Using SWEEP command ”
  1. Ivan Svabo

    Aug 2, 2007
    Reply

    Hi
    Can you explain to me how to draw a curved-angled 3D object like this one: http://www.montkemijadd.hr/mont/mont_kut_Mallorca.html
    The hole in bathtub is, as you can see, very non linear in design. Usually, to draw something like it, firstly i would draw a exact top view. Problem with this example is that when I draw a top view of a bath’s hole (which is non-linear curved) using combination of Polyline and Arc, and joining them together with pedit command, a final resoult would be a exactly same curved polyline, same as on top view on that web page, BUT I cant Extrude that poliline. I get error “Cannot sweep or extrude a self-intersecting curve” which I don’t know how to fix…
    Please, send an answer to my email too.
    Thanks in advance!

  2. Hi Ivan,

    Unfortunatally it’s very hard to create that kind of models in AutoCAD. You can use Rhine 3D to modeling it.

    Thank you very much

  3. Your sweep to create a sping in nice Orhan but unfortuately, most springs are closed at the ends so that they are flat and most are also ground. Creating a relistic and therefore useable spring in a bit more complex.

    There are several coil spring routines that do that which have been around for several years. See if you can find 3dcspr.lsp for an example.

    Bob Price
    A*G*M

  4. You’re right RBPrice,

    I’ll take care this point in my “SLICE” lesson.

    Thank you

  5. Ivan Svabo

    Aug 8, 2007
    Reply

    Just to say, I’ve found a solution for my problem. The command is “presspull”. This command recognizes a drawing as a “face” and with it you can extrude any kind of face drawing, no matter if it is linear or curved…
    Here’s the 3D picture of mentioned bathtub: http://imagedub.com/images/jdv1186565247v.jpg

    BTW, GREAT BLOG! I’m enjoying it very much!

  6. Very well Ivan,

    Dou you want to tell us how you did. I mean dou you want to write this as an article of daily autocad

  7. I am trying to locate a spiral command or at least get one to work in autocad 2007.

    I used spiral command a lot before I upgraded. I previously had 2004LT and then 2006 LT. At that time the spiral command was a lisp file.

    Any help would be greatly appreciated.

    Thanks,
    Bobby Green

  8. Ivan Svabo

    Sep 11, 2007
    Reply

    Orhan, thanks for offer. When I’ll manage to get some time I’ll post you an article about it.
    Keep up the great work!

  9. Dear sir,
    I am very glad to see your web and I solve many of problem in 3d modeling.
    thank you.

  10. Ivan you made my day thanks to that command presspull!. Really thankyou!!! and this post. Thanks for this web

  11. Dear sir,
    I am very very thanks you. I don’t solve this modeling unless if you teach …….. God bless you!!!!!!!!!!

  12. Using this command along a spline will only allow you to twist in one direction. This would be fine if this was an ordinary polyline. You could just use a mirror command. Using a negative number such as -90 will make it twist 270 degrees. Do you have any ideas on how to remedy this?
    Thanks,
    Curt

  13. Super!!!

  14. DIMLFAC    this command also to reduce &enlarge in drawing  dimension.

  15. Alessandro

    Apr 16, 2009
    Reply

    Preciso de uma esplicação melhor, pois não consigo trabalhar com a ferramenta sweep.

  16. Got a sweep issue. A simple coli spring with a rectangular object instead of a typical circle results in this occuring…
    http://i224.photobucket.com/albums/dd30/Lonzo_Gonzo/spiral.jpg
    As you can see (hopefully) the sweep just smears the image across itself in random ways. It should reflect a clean spring with a squared wire.

  17. Please help me out if you can. I am trying to sweep a very simple closed polyline object on a 3D poly path. It only works when the nodes that define the 3D poly path are more spaced apart which of course kills the smoothness of my line. For example: when i define my 3d poly path every 50 feet, it works. But when I try a more defined 3D poly, like every feet or so, it does not work.

    Is there something I can adjust for sweep to accept a more defined 3d poly as a path?

    Thank you


Post a Comment



All content and source © 2008 Daily Autocad | News Plus wordpress theme brought to you by Zidalgo.