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.

Sweep along 3D Polyline

Started by pfisher, January 10, 2013, 05:32:14 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

pfisher

I have created a bent bracket for a project i am working on. The bracket is created from a 3D polyline and then a 5.5mm dia circle is swept along using rail sweep.
However when i draft render i get circular rings on all the bends which look terrible. Does anyone know how to stop these showing up. I have attached TC file.
Paul

TC19.2 Pro
Windows 7
8Gb
Fujitsu celsius i7-2600@3.4GHz
Firepro V3800

Torfinn

If you don't need it to be Solid, change to surface

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

bigjimslade

I think you want to use a 3D spline rather than a 3D Polyline.

Your 3D polyline is not smooth so you get a ring at each location that has a transition.

pfisher

I made a mistake in my post. I should have said Hidden line not draft render.

1) Changing to surface still results in rings on the bend for hidden line
2) Creating this bracket shape using a 3D spline might be difficult to produce as this bracket is being bent on a manual jig i am producing.See attachment.

Regards Paul
Paul

TC19.2 Pro
Windows 7
8Gb
Fujitsu celsius i7-2600@3.4GHz
Firepro V3800

Andy H

creating it using 3D polyline will leave circles as the circles are the vertices on each line segment, unlike the 2D polyline tool which can consist of lines and arcs, 3D polylines are just lines, one can fillet a 3D polyline but even this is limited as - for me - the sweep doesn't work on a filleted 3D polyline.

using 3D Splines as Jim suggests should work if you draw it as 3D polyline and trace over using a spline, an alternative could be to create as multiple objects, i.e. 2D polyline/arcs for most part, and the last bent part seperately using 2D or 3D as necessary, lastly use 3D add after the 2 or 3 sweeps have been created (3D spline should bea easier).

Andy

Andy H

HI WD, Pauls profile is bent in multiple axis (3D), using 'to bezier' will straighten out the polyline to a 2D object, just wondered if I have missunderstood your thoughts.

Andy

wd

Yup Andy your right didn't factor that in I deleted my entry
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

Henry Hubich

One approach...

Trace the Plan view with a 2D Polyline; trace the LH Side view with another 2D Polyline; extrude both and apply the Intersection tool (NOT "3D Intersect"); Rail Sweep a circle along the resulting path; render in HL mode with "Suppress hidden tangency lines" enabled.

Henry H

pfisher

As usual Henry does it again! Thanks Henry the result you show looks good. Now for the hard bit. I have no experience on the tracing side of Turbocad and I am not even sure I understand the extrude process you mention. Can you give me some more pointers.

Regards Paul
Paul

TC19.2 Pro
Windows 7
8Gb
Fujitsu celsius i7-2600@3.4GHz
Firepro V3800

Andy H

my atempt (not as good as Henry's method though), I do tend to use a lot of 2D setup to check if things look right before using the 2D polyline/arc tool (most probably unneccesary but its the way I do it).

pfisher

Andy

Having another go with adding the two sections together after applying two separate sweeps. Still not sure I understand Henry's approach but will post my try when done
Paul

TC19.2 Pro
Windows 7
8Gb
Fujitsu celsius i7-2600@3.4GHz
Firepro V3800

Henry Hubich

#11
Quote from: pfisher on January 10, 2013, 11:09:36 AM
As usual Henry does it again! Thanks Henry the result you show looks good. Now for the hard bit. I have no experience on the tracing side of Turbocad and I am not even sure I understand the extrude process you mention. Can you give me some more pointers.

Regards Paul

I did the "tracing" manually. The gentle curve at the top of the object (white in the attached screenshot) was made with "Arc Start/End/Included," vertex-snapping to the two ends and near-point snapping to the middle. Straight portions (yellow) were made with Lines, vertex-snapping to the endpoints of those straight regions. I used the 2D Fillet tool to make the red arcs. To determine the correct radii, I first applied the "Arc Start/End/Included" tool to the fillets in your 3D Polyline and read the radii from the Selection Info palette. Then I deleted these arcs and used 2D Fillet.

Switched to LH Side view, Workplane by View, and repeated the process.

Used the Simple Extrude tool on the each of these tracings, enabling "Two sided extrude" to assure that the two extrusions would intersect.

Activated Insert>Intersection, then clicked on the two extrusions. Result of this operation is a set of lines, arcs, 3D Polylines, and elliptical arcs -- which is disappointingly complex but still contains a lot fewer nodes than your own 3D Polyline.

Rail-swept a circular profile along the compound path. Since both sides of this path contain the downward bend that exists only on the left side of your 3D object, I cut off the right-hand downward bend on the right side of my Sweep and then used Quick Pull to lengthen it. The one circular ring visible in my rendering is where I made the cut. EDIT: Revisiting this drawing, I found that if the Facet Editor is used to lengthen the cut-off leg, instead of Quick Pull, that circular ring does not appear.

Henry H

pfisher

Well I seemed to have cracked the problem with the help of you all. See attached TC file. Many thanks all
Paul

TC19.2 Pro
Windows 7
8Gb
Fujitsu celsius i7-2600@3.4GHz
Firepro V3800

pfisher

Paul

TC19.2 Pro
Windows 7
8Gb
Fujitsu celsius i7-2600@3.4GHz
Firepro V3800