News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Extruding along a curve

Started by RDBarthel, July 27, 2010, 03:55:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RDBarthel

I am trying to extrude the blue object around the red circle.  Each time I issue the command the my object is mirrored on the y-axis (i think) so the result is a contracting cone instead of an expanding cone.  I experimented by mirroring the object and then doing the extrude.  The results were again the contracting code.  What's going on?  What am I doing wrong?

The Scud

#1
Looking at your drawing, am I correct that the red circle is at an angle to your blue shape?

I removed the green line, selected intersection and picked a point where the blue shpe meets the circle and then selected 'Extrude along a curve'
BETA tester from long ago.
User of:
SolidWorks 2024, CREO10 and TurboCAD Professional.
FIM Senior Technical Steward for MotoGP.
Work at: Semi-retired..

Dr PR

RDB,

You can achieve what you want to do with the "Draw/Sweep" (W) function. It will sweep the blue object around the axis to create a somewhat cylindrical solid. You have better control and more options than with the extrude function. You can even generate spiral sweeps for things like screw threads of spiral staircase hand rails.

"Extrude Along A Curve" is useful where the extrusion path isn't a straight line or a circle. However, it is not for the faint of heart! Many of us who have been using the program for decades still cannot always predict what the function will do!

Look around on the forum and you will find many discussions of problems with "Extrude Along A Curve" and ways to overcome them.

One trick to keep in mind is that you can select either the curve or the object to be extruded and "reverse the points" by opening the Info Box (CTRL I) and clicking the button with the blue and red horizontal arrows. Often when the extruded object is mirrored with respect to what you expected reversing the points of one or both lines will cause the function to work correctly. It makes absolutely no sense, but it works!
DesignCAD user since 1987

gregdeering

Hello Dr PR

I am looking for a tutor for 3d and solids work in DC. The Scud has responded but I am in the US and he is in New Zealand.

Are you in the US?

I am a long time 2D user of DC and do 3D work in Mastercam. But I would like to speed up the learning curve for DC 3D.

Greg

Lar

#4
RD, Doc is right that the sweep command is better for this particular circumstance but for the sake of your original question using 'extrude along curve' here's what to do:
1] select the profile (the blue line) and set 3 Selection Handles on the profile: 1st at the intersection point with the circle, 2nd any distance along the positive z direction, 3rd directly up...
2] with the profile still selected, start the extrude along curve command and click on the circle... that should do it (see attached drawing).

Lar
ps: if you open the attached file, activate 'sticky handles' (press Q for Options> General tab> General Options box> 'Enable sticky handles' in right column, 4th from top) then select the profile to see how the handles are set. I moved the extrusion to the right of the original 3 entities for clarity.

JJG

#5
Lar , I totally agree with you on the method ;

what we can say more about, is that to extrude along curve command, the profile must to be a plan to become a solid (a line would give a grid).
But for sweep command (which have been better and easier for this particular circumstance), a simple line (closed in this case) is sufficient to directly obtain a solid.

Another difference is the "Degree of Fineness" (in extrude along curve command, which provides some measure of control over the number of cross-sections that are generated) : max 100 cross-sections , whereas in the case of sweep, the parameter is according to the angle covered, and can be even thinner if necessary.

Finally, be careful with this command (extrude along curve) when used on curves that are circular arcs: often, and even using an even number for the degree of finess, there is no correlation between mid- arc and the profile that appears to be on the middle of the arc, therefore the risk of errors when hanging something, or any other command like cut etc. ...

Lar

Quote from: JJG on August 23, 2010, 02:34:24 AM
But for sweep command (which have been better and easier for this particular circumstance), a simple line (closed in this case) is sufficient to directly obtain a solid.

I can't remember how it worked in earlier versions but in my v20 sweeping lines produce grids, not solids.

Lar

JJG

Oups ... !
You are right ... and I'm too.
When sweeping 360°, a simple line (closed in this case) is sufficient to directly obtain a solid ;
but for Sweeping an angle smaller than 360 °, the profile must be indeed a plan to become a solid.

Dr PR

Lar,

Can you expand upon the idea of setting multiple handles on the object to be extruded along a line? I usually set only one handle, at the starting point along the extrusion curve. What advantage do multiple handles give?

I have used the program for 23 years, and have never understood the use of multiple handles. More often than not multiple handles cause unwanted stretching, scaling or rotations of the objects.
DesignCAD user since 1987

Lar

The program uses the handles to to orientate the profile to the curve.

It internally rotates the curve so that the first point is considered at 000 and the 2nd point is somewhere along the positive z axis. Then it internally rotates the profile so the first handle is at 000, the 2nd handle is somewhere along the positive X axis and the 3rd handle is somewhere along the positive Y axis. Then it extrudes, taking into account the other settings like 'perpendicular'.

If you set only one handle then the program sets the other 2 for you at pos-X, then at pos-Y of the drawing (from the first handle) before extruding.

I know this is difficult to grasp but once you get the hang of it it is very reliable. It is also difficult to remember if you only occasionally extrude along a curve. I actually have the instructions written down and refer back to them only after my extrude goes haywire, which it usually does.

One handle usually works ok if the curve is at the center of the profile.

Lar


Dr PR

#10
Lar,

Thanks, but I can't follow all your "internally rotates" descriptions.

Can you describe the functions of the three points? How do they relate 1) to the object to be extruded, and 2) to the extrusion curve, and 3) to the extrusion process?

Nevermind - I found you other post describing how you do it.

Phil
DesignCAD user since 1987

MarkX

It shouldn't take voo-doo to do an extrude along a curve.

Here's an extrude I did in another application without worrying about doing withershins back and forth. Of course, maybe I just got lucky. I also able to do the equivalent of material texture (photo-mapping) just by dropping material on each letter. 

Mark

prl

#12
Quote from: MarkX on September 07, 2012, 08:40:55 AM
It shouldn't take voo-doo to do an extrude along a curve.

Here's an extrude I did in another application without worrying about doing withershins back and forth. Of course, maybe I just got lucky. I also able to do the equivalent of material texture (photo-mapping) just by dropping material on each letter. 

Extruding along a curve always requires one to make decisions about which way the profile is facing.  In some extrusion paths there will be a twisting because of the path.  In your example, the "Mark" is vertical on the top segment and last segment (assuming your extrude started from where your name is level).

What Lar has demonstrated is that DesignCAD works best when the extrude path is in a plane and that the path is smooth.  Sharp turns in 3d space present problems because the program has to position the profile so that it can physically have all the profile points meet up at the corners.  This is what Lar refers to as whether or not it can exist in the real world, like a handrail profile that suddenly encounters a straight vertical followed by a straight level line.  Something has to give in order to make all these connections, hence the profile is turned.


Dr PR

The real perplexing rotations occur with extrusions along curved lines. Straight likes aren't much of a problem.

For what it is worth, I never use "Extrude along a curve" onstraight sections - the program adds intermediate breaks that can expand file size drastically. I always use the ordinary "Extrude" commabd along straight sections.

I use "Sweep" to create curved "extrusions" around constant radius curves in a single plane. These are very predictable.

I use "Extrude along a curve" only for extrusions along irregular curves. Sometimes it is necessary to rotate the original object some anount and repeat this process to get the ends of trhe extrusions to align properly with other objects created with "extrude" or "Sweep."

After all parts are created I group them or create a solid so they all act as a single object.

It is more work than simply using "Extrude along a curve" for everything, but the resulting file size can be 1/10 of what "Extrude along a curve" produces.

Phil
DesignCAD user since 1987

Adrian 2.0

Hi Phil,
I've used 'extrude along a curve' many times on straight lines & it never produces intermediate breaks for me.
If you draw a 'straight curve' it does produce intermediates- I've often thought this is a tool that's mis-named because one of it's best uses it to extrude along lines & arcs, not curves.
Maybe they should rename it 'extrude along anything'!
It's a really quick way to draw multiple tube sections on things like trusses when it's set at 'perpendicular'.
see the attached screenshot - I selected the tracing curve & the origin plane in point select mode so yuo can see thehow the points match the breaks.

Adrian