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.

Creating Curved Solids

Started by Don A, August 29, 2012, 05:44:55 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

JJG

Thanks Minstrel to have refound the topic with this good trick of Lar.
;)

Lar

There is another post of mine with an attached dcd file (created in 2005) that attempts to clarify a 'guaranteed' approach to 'extrude along a curve'. It should work 'as expected' 100% but maybe it's only good for 99.999% (since it did not work as expected one time). I thought it was in Tips and Tricks but I could not find it.

However, I wrote a macro to assist with the command and now I see where it can be expanded to fully carry out the command 'as expected'. If I ever complete it I will post it, hopefully.

Here's my approach to the command when using 'perpendicular' for the extrusion (note: the 'curve' can be a 'curve entity' or a 'line entity'):
First, if the profile is to be extruded by its center (such as a circular profile) just set 1 handle at the center of profile and carry out the command. It should work as expected. Otherwise use the instructions below:
1] Draw the curve...
2] Draw the 2D profile (use 'plane' if you want a solid, 'line' if you want a 'grid surface') in the XY plane...
3] Select the profile and set a handle at the location where the profile relates to the curve. Move the profile so that the handle is snapped to point 1 of the curve. Orientate the profile in the way it logically relates to the curve (may need 3 handles for this)...
4] With the profile still selected, shift+click on the curve to also select it. Set 3 handles, at points 1, 2 and 3 of the curve...
5] Duplicate the selection (curve and profile) somewhere off to the side (but so you can see the original and the duplicate) so that handle-1 (the 2nd handle) is along the positive z axis from the handle-0 (make sure 'original scale' is active in the duplicate dialog). The 3rd handle should be placed so that curve is as flat as possible in the xz plane...
6] Select the profile alone and set 3 handles: the first at point-1 of the curve, the 2nd in the positive X direction from the first and the 3rd in the positive Y direction from 2nd (forming a backwards L in the XY plane of the drawing)...
7] With the profile still selected invoke the 'extrude along a curve' command  (make sure 'perpendicular' is selected in the dialog) and click on the original curve...

The results should be as expected...

Lar


prl

Quote from: Lar on August 31, 2012, 08:00:02 AM
The results should be as expected...

Lar, thanks for posting.  The various parameters for extrude along a curve have always yield less than consistent results for me.  I'm going to experiment with your instructions.  In your setup, how is your Z coordinate set?  Is it positive going into the screen or out?

Lar

I've duplicated my instructions in the Tips and Tricks section, with pic:
http://forum.designcad.com/index.php?topic=4580.new#new

Prl, my Z goes into the screen (left-hand coordinate system).

Lar