News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

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.

Rail sweep, profile gets reversed?

Started by RetEng, January 19, 2019, 09:34:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RetEng

Struggling with 3d modeling using TurboCad 2018 Deluxe.

I'm trying to do a rail sweep with rectangular profile along a curved path.  Instead of the reference point tracking along the path, the rectangular profile gets flipped onto the opposite side of the line and then swept along the curve!  What's happening and why?  How do I get the result I['m trying for?

Any advice appreciated!

Thanks in advance.
Robert Holmes
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

Torfinn

Just rotate the object before sweep one more time.
Andy had a very explanation on this behavier not so long time ago, but i dont remember the tread anymore

I'm bored of that behavior and just use sweep ;)

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

Andy H

#2
Sorry for a long post,  but I don't know your existing experience with TC.

A little explanation.  What Torfinn says about using sweep (which I term 'Normal sweep' in Pro) is great advice. Unfortunately, your using deluxe which possibly does not have this option (I don't have 2018 so I checked in 2017 deluxe, and I assume 2018 does not have it neither).

Anyway.  Rail sweep automatically orientates the profile onto the Start node of the path,  what this means in your drawing is that you probably started drawing the spline path from coordinates X = 125, Y = 175, and continued from there to the end point. (I say probably because there are other factors which can affect this).  Back to your drawing.  Your profile is actually sitting on the end of the spline not the start.  Rail sweep is taking your profile and moving the profile and reference point to 125, 175, and then it rotates the profile, so Z direction can sweep along the path.  This is not an error, its the way rail sweep works in both deluxe and pro.

When using rail sweep one sometimes has to be aware of where the first 'Start' node is when drawing the path.  Obviously with things like circles, it doesn't make any difference, but other shapes it does.   Torfinn has provided an good solution. But just to see the value of knowing where the start node is, try this example. 

As your path only has 4 nodes, One way would be.  select the curve and put it on a new layer, whilst still selected, in the selection palette / properties - curve, turn on 'Show frame'.  In world plan view, working on layer '0', and with 'auto workplane by face' Off.  select workplane by entity and click the frame.  draw a new spline snapping the first point (node) to the end closest the profile, approximate coordinates X = 180, Y = 85.  Snap two other points to the vertices of the frame (Note - you are snapping to the frame not the spline), then snap the last point to the vertex furthest from the profile.  All we have basically done is drawn the path from the opposite direction.  This is more accurate than trying to snap to the spline.

Turn off the layer with the old spline on it, and try the rail sweep on the new path.  Because the profile is already at the new Start node, and 'Z' is already in the direction of the part,  it should sweep correctly.  But add this extra step.  Look at the start of the sweep, and if you are using default settings, the start will be quite angled when compared with the profile.  The reason for this is down to TCSurface Options.   One can use the sweep properties, but instead, click the sweep, and look in selection palette / properties - sweep.  change the 'number of approximation lines' to something like 48,  (Max is 90), and press return key.  You should see the start of the sweep change as TC recreates the sweep with the new setting. This simply means a closer match to the required shape,.  The actual value depends on how accurately you want TC to try and display the curve surfaces. On long curves a high number may be required.   

## Edit ##  Note, one of the corners of your profile is square not filleted, if this is deliberate, then just rotating the profile, without paying attention to where this square corner is located,  may not produce the desired result.  ## End Edit ##

Henry Hubich

I find Rail Sweep to be an unfriendly tool, especially in Deluxe. Try various orientations of the profile, rotating by 90° or 180° about various axes in the profile's own Workplane.

Henry H

RetEng

Thanks everyone!  I really appreciate the comments!

It helps tremendously to know it's quirks in the tool.  I can figure out how to deal with that, if I know it's not something I'm doing wrong!
TC-2024 Platinum
Dell XPS9320
Bambu H2C 3d printer

Ruedi

I've the same problem. What I want to have is partially shown in the attached drawing. I'd like to draw a profile following the inner side of the red line (path). I've made the example with a simple extrude.

I'm unable to find out how to draw the profile to be used for rail sweep to create a profile, that runs on the inner side of the line with the cutout in the profile directing to the inner side of the sweeped profile.

I'll tried different profile orientations with different "control" points so far (set before sweeping by using D, and V). The result delivered by rail sweep is always the same: The profile runs along the outside of the path, and the cutout in the profile always points to the outside of the profile as well. And this is not what I want to have.

It seems to me, taht this function needs more explanation that ca be found in the manual.

I'm using Pro Platinum 2023, newest release.

What I'm looking for is a working example where I can see how it can be done.

Thanx.

Dean

Rudei,
Use "Sweep" not rail sweep.
Pease read the online help for "Sweep" and "Rail Sweep"
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Alvin Gregorio

Quote from: Ruedi on December 06, 2023, 01:43:34 AMWhat I'm looking for is a working example where I can see how it can be done



Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Ruedi

Der Dean,
thank you.
That's what I've done before asking ;). The descriptions in the manual are rather short. Unfortunately I've not found enough info there to understand why my profile flips over, and why it is drawn not vertically, but horizontally. Do you know why this is the case, and how it can be denied?

And yes, I was able to draw the desired sweep now by positioning the profile vertically and adjacent to the sweep path, and by using "sweep" instead of "rail sweep" then.
Thank you for the tip :-).

Dear Alvin,
thank you.
I've seen these videos already. The video for rail sweep shows a symmetric profile, not an asymmetric one. So I can't see a potential flip of the profile. What do you think?

Alvin Gregorio

Quote from: Ruedi on December 07, 2023, 06:38:59 PMThe video for rail sweep shows a symmetric profile, not an asymmetric one. So I can't see a potential flip of the profile. What do you think?
Sweep will keep your profile oriented along the sweep path much better than Rail Sweep.

Hence-- a Circle is the perfect entity to Rail Sweep.

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Ruedi

Lavin,

thank you, and yes, I fully agree.

And yes, sweep delivered the result I wanted to have.

Your kind help is highly appreciated.

Ruedi

alvin, I'm really sorry for mistyping your name

It's still the same:

What I do in a hurry, I will be able to regret in peace

Wish you a wonderful day, Ruedi

Dean

#12
Quote from: Ruedi on December 07, 2023, 06:38:59 PMDer Dean,
thank you.
That's what I've done before asking ;). The descriptions in the manual are rather short. Unfortunately I've not found enough info there to understand why my profile flips over, and why it is drawn not vertically, but horizontally. Do you know why this is the case, and how it can be denied?

And yes, I was able to draw the desired sweep now by positioning the profile vertically and adjacent to the sweep path, and by using "sweep" instead of "rail sweep" then.
Thank you for the tip :-).

Dear Alvin,
thank you.
I've seen these videos already. The video for rail sweep shows a symmetric profile, not an asymmetric one. So I can't see a potential flip of the profile. What do you think?

Ruedi,
Rail sweep has a purpose, through study and pratice you'll understand what is normal to it's path.

Try the attached drawing.
Can you guess why is the rail sweep flipped on the Blue polyline?

Open the attached drawing
the benefits of using rail sweep...
click on the 2d profile click on the blue polyline
click on the 2d profile click on the red polyline
click on the 2d profile click on the green polyline
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Alvin Gregorio

Quote from: Dean on December 08, 2023, 04:12:12 AMRail sweep has a purpose, through study and pratice you'll understand what is normal to it's path.

Try the attached drawing.
Can you guess why is the rail sweep flipped on the Blue polyline?

Rail Sweep 2023.tcw
201 KB

I could use some education on this Dean.
Can you Save As 2022 and post please.

I will reply with questions, if I can't figure it out myself.
Or-- If you care to expound before we explore your drawing...
  -Alvin

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)