News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

How to make a 3D ramp

Started by aborbon2120, February 23, 2010, 07:45:39 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

aborbon2120

Does anybody know how to make a 3d ramp using the extrude tool, but it has to go from one figure to other using a helix as path?

Henry Hubich

Quote from: aborbon2120 on February 23, 2010, 07:45:39 AM
Does anybody know how to make a 3d ramp using the extrude tool, but it has to go from one figure to other using a helix as path?

Need more info, please. A couple of fanciful examples are attached.

Henry H

aborbon2120

Thanks Henry, that is exactly what I need. Now, how did you do the ramp, using the extrude comand in TurboCad Pro 16?

Jeff_in_90620

While there are probably several ways of doing this (as Henry is so fond of saying), I would draw a 3D Polyline and use the Rail Sweep function in the 3D operations to place the outline of the roadway along the path you want.

Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

Quote from: aborbon2120 on February 23, 2010, 11:17:45 AM
Thanks Henry, that is exactly what I need. Now, how did you do the ramp, using the extrude comand in TurboCad Pro 16?

Start with a Helix or 3D Polyline or 3D Spline for the path. Unfortunately Jeffin's straightforward approach of sweeping a profile along such a path often fails because the profile twists as it follows the path. Sometimes you can compensate for this by adjusting the Twist Angle of the Sweep, but usually it is impossible to maintain a constant orientation of the profile along the entire path. (If the profile is a circle, then of course the problem doesn't exist.)

The way to make such an object, provided you want a rectangular cross section, is to extrude the path itself and then shell the result. The path will extrude in the Z direction of the Workplane which was active when it was created, even though it's a 3D object. The extrusion will be a sheet object with zero thickness. Shelling will impart a thickness. If the object doesn't want to extrude, try enabling "Use compound profile."

(Note that if the default World WP was active when the path was drawn, it will extrude upward and the "Thickness" imparted by shelling will look more like a "width.")

If you need a cross section that is neither circular nor rectangular, try Rail Sweeping the profile along the path and then fiddle with Twist Angle. You might wind up with something acceptable, and this approach is a lot easier than the alternative: Lofting a whole bunchof profiles painstakingly emplaced and oriented.

Henry H

aborbon2120

Thanks, I will certainly do as you say. If I can't do it, I will come back to you for more help
Alfredo Borbon, Costa Rica

Jeff_in_90620

Quote from: Henry Hubich on February 23, 2010, 01:25:43 PM

Start with a Helix or 3D Polyline or 3D Spline for the path. Unfortunately Jeffin's straightforward approach of sweeping a profile along such a path often fails because the profile twists as it follows the path.

Hhmmm... the profile twisting as it follows the path is pretty much what I expected, especially for the first picture you posted with the road spiraling up.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

Quote from: Jeffin90620 on February 23, 2010, 06:08:28 PM
Quote from: Henry Hubich on February 23, 2010, 01:25:43 PM

Start with a Helix or 3D Polyline or 3D Spline for the path. Unfortunately Jeffin's straightforward approach of sweeping a profile along such a path often fails because the profile twists as it follows the path.

Hhmmm... the profile twisting as it follows the path is pretty much what I expected, especially for the first picture you posted with the road spiraling up.


Jeff



Not sure I made myself clear about the twisting, Jeff. Attached screenshot shows what I meant.

Henry H

JoeM

Quote from: Henry Hubich on February 23, 2010, 01:25:43 PM
Quote from: aborbon2120 on February 23, 2010, 11:17:45 AM
Thanks Henry, that is exactly what I need. Now, how did you do the ramp, using the extrude comand in TurboCad Pro 16?

Start with a Helix or 3D Polyline or 3D Spline for the path. Unfortunately Jeffin's straightforward approach of sweeping a profile along such a path often fails because the profile twists as it follows the path. Sometimes you can compensate for this by adjusting the Twist Angle of the Sweep, but usually it is impossible to maintain a constant orientation of the profile along the entire path. (If the profile is a circle, then of course the problem doesn't exist.)

The way to make such an object, provided you want a rectangular cross section, is to extrude the path itself and then shell the result. The path will extrude in the Z direction of the Workplane which was active when it was created, even though it's a 3D object. The extrusion will be a sheet object with zero thickness. Shelling will impart a thickness. If the object doesn't want to extrude, try enabling "Use compound profile."

(Note that if the default World WP was active when the path was drawn, it will extrude upward and the "Thickness" imparted by shelling will look more like a "width.")

If you need a cross section that is neither circular nor rectangular, try Rail Sweeping the profile along the path and then fiddle with Twist Angle. You might wind up with something acceptable, and this approach is a lot easier than the alternative: Lofting a whole bunchof profiles painstakingly emplaced and oriented.

Henry H

Henry,

Would the shape created by revolving a rectangle and adding a pitch be the same as that created when following your procedure?

Thanks,

JoeM

Henry Hubich

Quote from: JoeM on February 24, 2010, 04:59:15 AM
Quote from: Henry Hubich on February 23, 2010, 01:25:43 PM
Quote from: aborbon2120 on February 23, 2010, 11:17:45 AM
Thanks Henry, that is exactly what I need. Now, how did you do the ramp, using the extrude comand in TurboCad Pro 16?

Start with a Helix or 3D Polyline or 3D Spline for the path. Unfortunately Jeffin's straightforward approach of sweeping a profile along such a path often fails because the profile twists as it follows the path. Sometimes you can compensate for this by adjusting the Twist Angle of the Sweep, but usually it is impossible to maintain a constant orientation of the profile along the entire path. (If the profile is a circle, then of course the problem doesn't exist.)

The way to make such an object, provided you want a rectangular cross section, is to extrude the path itself and then shell the result. The path will extrude in the Z direction of the Workplane which was active when it was created, even though it's a 3D object. The extrusion will be a sheet object with zero thickness. Shelling will impart a thickness. If the object doesn't want to extrude, try enabling "Use compound profile."

(Note that if the default World WP was active when the path was drawn, it will extrude upward and the "Thickness" imparted by shelling will look more like a "width.")

If you need a cross section that is neither circular nor rectangular, try Rail Sweeping the profile along the path and then fiddle with Twist Angle. You might wind up with something acceptable, and this approach is a lot easier than the alternative: Lofting a whole bunchof profiles painstakingly emplaced and oriented.

Henry H

Henry,

Would the shape created by revolving a rectangle and adding a pitch be the same as that created when following your procedure?

Thanks,

JoeM

Yes, Joe, it certainly would if the path is a helix. Thanks for pointing that out. Don't know why I didn't think of it. Revolve obviously isn't applicable with a "free form" path.

Henry H

JoeM

Quote from: Henry Hubich on February 24, 2010, 07:58:21 AM
Quote from: JoeM on February 24, 2010, 04:59:15 AM
Quote from: Henry Hubich on February 23, 2010, 01:25:43 PM
Quote from: aborbon2120 on February 23, 2010, 11:17:45 AM
Thanks Henry, that is exactly what I need. Now, how did you do the ramp, using the extrude comand in TurboCad Pro 16?

Start with a Helix or 3D Polyline or 3D Spline for the path. Unfortunately Jeffin's straightforward approach of sweeping a profile along such a path often fails because the profile twists as it follows the path. Sometimes you can compensate for this by adjusting the Twist Angle of the Sweep, but usually it is impossible to maintain a constant orientation of the profile along the entire path. (If the profile is a circle, then of course the problem doesn't exist.)

The way to make such an object, provided you want a rectangular cross section, is to extrude the path itself and then shell the result. The path will extrude in the Z direction of the Workplane which was active when it was created, even though it's a 3D object. The extrusion will be a sheet object with zero thickness. Shelling will impart a thickness. If the object doesn't want to extrude, try enabling "Use compound profile."

(Note that if the default World WP was active when the path was drawn, it will extrude upward and the "Thickness" imparted by shelling will look more like a "width.")

If you need a cross section that is neither circular nor rectangular, try Rail Sweeping the profile along the path and then fiddle with Twist Angle. You might wind up with something acceptable, and this approach is a lot easier than the alternative: Lofting a whole bunchof profiles painstakingly emplaced and oriented.

Henry H

Henry,

Would the shape created by revolving a rectangle and adding a pitch be the same as that created when following your procedure?

Thanks,

JoeM

Yes, Joe, it certainly would if the path is a helix. Thanks for pointing that out. Don't know why I didn't think of it. Revolve obviously isn't applicable with a "free form" path.

Henry H

Thanks Henry,

JoeM

Shai Peretz

i wontwd to ask henry how did you did the sunlight in the first render?

Henry Hubich

Quote from: Shai Tc - IL on March 01, 2010, 04:48:47 AM
i wontwd to ask henry how did you did the sunlight in the first render?

Only illumination is one Ambient light, one Headlight, and one Directional light.

Henry H