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 on 3d object

Started by rtaylor, April 13, 2024, 12:57:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rtaylor

Hello, I want to put a routered edge on a 3d object. I have successfully been able to do a sweep on just the polyline but then the center is open. There must be a way to follow the edge on my extrusion to achieve this. I could not find anything under search so here I am. Also what is the difference between rail sweep and sweep?

You cannot view this attachment.
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Alvin Gregorio

#1
Quote from: rtaylor on April 13, 2024, 12:57:08 PMHello, I want to put a routered edge on a 3d object. I have successfully been able to do a sweep on just the polyline but then the center is open. There must be a way to follow the edge on my extrusion to achieve this. I could not find anything under search so here I am. Also what is the difference between rail sweep and sweep?


Kind of a 3-answer question you have there.

1)  Since you have Platinum, it has a 3D_Fillet Tool.  Also known as Blend.  It's what you want to use.
2)  To go the method you've been trying, you'd want to do it like those without the Platinum edition would.  Sweep or Rail-Sweep a profile that is shaped similar to your router-bit along the path at the edge.  That path probably being the same or a copy as that which you used to do the extrusion that created the object-- placed at the plane (such as the top plane) you want the Blends to be.  Then 3D Boolean Subtract that resultant sweep object from the plane perimeter edges of the object.
You made need to get creative at the corners, if you want them tangentially rounded also.
3)  I'll let someone more knowledgeable than me explain the differences between Sweep and 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)

rtaylor

I don't get it...following instructions for rail sweep. Cannot get it to work??
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

murray dickinson

#3
Your object has straight edges, using simple extrude where the sweep/extrusion is normal to the profile is the least complicated way to do this.  Sweep has the profile following a path with the algorithm trying to keep the profile sort-of normal to it, minimising compression and stretching in the resultant solid.  Rail sweep can use multiple paths to guide corners and edges of the profile to vary the orientation of the profile along the way, overruling ACIS' control of stretch and compression and allowing some scaling of the profile where the separation of the rails indicates it.  Rail sweep is more hands-on, but results can diverge wildly from what you think you're telling the tool to do..
If your sweep is a surface not solid, check that the ends of the segments coincide, no gap or overlap, ie that the profile's closed.  There's no direct way to use the edge of an object as a rail or path, there are workarounds, but why hammer a screw?

Alvin Gregorio

#4
Quote from: rtaylor on April 13, 2024, 04:30:46 PMI don't get it...following instructions for rail sweep. Cannot get it to work??
Hmm... it works.
In my attached example, I had to be mindful that the 2D profile being swept is on a Workplane such that its Z orientation was going in the intended direction for the Rail Sweep and subsequent 3D_Subtraction.
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)

Andy H

OK one last comment.  Rail sweep is sometimes awkward to get working,  Its an automatic function, where TC aligns the profile with the path based on the reference point position of the profile. However if it fails, it doesn't always tell the user why it failed. 

Note - Path in you case would be a 2D polyline drawn on the top or bottom perimeter of the object. so the user does not have to manually align the profile.  Profile is the 2D shape of the router bit.

With Sweep on the other hand.  The user needs to align the profile to the path, with the Z direction of the profile facing the direction of the path.  Sweep is in my view, superior to Rail sweep.  It may be a little more work, but the results are often more predictable.  Example,  grab the profile by the reference point as normal for moving it.  snap it to the path, rotate the profile using the handles attached to the reference ppoint, so that Z is in line with the path.

Once a sweep profile is correctly aligned with the path,  the last thing to worry about is 'Self Intersection' errors. 

You could get self intersection, if the profile is too large for the two filleted corners on the inside of the cut out bit.  Whilst Rail sweep sometimes does not warn of self intersection, it just fails.  Sweep itself tends to always warn if a sweep fails due to self intersection.  This tells the user, that the user needs to tweak the profile or reference point, in order to get the sweep to function correctly.

There are ways to overcome most problems caused by self intersection, which work a majority of the time in my experience.  But If one receives self intersection error. it really needs the drawing (including profile and path) posting. in order for someone to provide the best cure. 

Things that can go wrong.

Self intersection has already been mention.  This is where the profile going round a curved section, and the curve is too tight. The profile essentially bashes into itself at the start and end of the curve. (ACIS Solids).  TC surfaces are more forgiving than ACIS in this respect.

Sweep not in correct position. - This can happen with some profiles, as the reference point of the profile may not be in the ideal position.  It is sometimes necessary to manually place the reference point to a particular part of the profile. (Press D to pick up the ref point, and snap where it is needed).

Sweep upside down etc.  This can happen with rail sweep, because when TC automatically aligns the profile with the start location of the path.  is rotates the profile if necessary to line up the Z direction.  Because its an auto process, TC doesn't really know what the correct alignment should be. It just goes of the reference point of the profile, and the axes of the path.  So sometimes things get flipped. The user can compensate my manually altering the profile.  But this is the main reason why I consider Sweep superior to Rail sweep.  I like to manually place the profile, so I know its orientated correctly and TC won't flip it.

OK that's all.  Time for bed (02:30 in the UK).   

Alvin Gregorio

Quote from: rtaylor on April 13, 2024, 12:57:08 PMHello, I want to put a routered edge on a 3d object. I have successfully been able to do a sweep on just the polyline but then the center is open. There must be a way to follow the edge on my extrusion to achieve this. I could not find anything under search so here I am. Also what is the difference between rail sweep and sweep?


My previous posts weren't taking into consideration that you are not wanting a simple round-over edging on your workpiece.
I see from your little object in the foreground that you are looking for a routed shape that has a little step in it-- somewhat of an Ogee bit shape.

You still want to use 3D_Boolean_Subtract, ultimately.  Just as a router-bit would be subtracting from the workpiece.  Your little 2D profile object is the opposite of that.

Study the attached.  See if that gets you started in the right direction.
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)

rtaylor

Thank all of you for helping out with this. I am working out plans for a clock and many edges will need to be routed. I like the overall visual of it so I can change the look if need be. I have many routed edges to go in my plan so your help on this matter is greatly appreciated. I ended up using sweep on the 2D outline with a larger width on the profile and then used add to fill in the center of the part. I did not have success with the 3D edge?? I am achieving my drawing goals however, probably the hard way.
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

rtaylor

You cannot view this attachment.

I am getting this rendering. I have not noticed this before. Is this problematic going forward?
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Jeff_in_90620

Quote from: rtaylor on April 14, 2024, 09:12:15 AMI am getting this rendering. I have not noticed this before. Is this problematic going forward?

This is probably due to your ACIS setting being too low.  It is also possible that it is just an artifact of the display mode you have selected.

Change them to see what it does to the display.


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)

murray dickinson

Those pictures look like a fillet above a ledge, which is also easy to do in TC: fillet the edge chain, then offset the edge faces below the fillet faces.  If your clock's parts all have this edge treatment, fillet and offset will be much quicker than profile, path and booleans. 

rtaylor

Something seems off with TCP 2023. I used sweep with a router bit profile all the time with TCP a few years back. No issues at all. I tried some of my old files with 2023 and sometimes it worked most times not. This should not be difficult. This software is to pricy to be so difficult on such an easy task. One should be able to draw a profile and run it on a path and be done with it. Technical support is lacking also. Its crickets when one tries to contact them.
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

rtaylor

How can it be that one can draw a sports car or an airplane but can not put a simple edge on an extrusion? There must be a way...............
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

AussieBloke

#13
Like Murray said, try 3D filleting that edge instead, rather than subtracting a profile.

Opppss: Just saw the router bit profile from "rtaylor post".

Alvin Gregorio

Quote from: Darryl W on April 20, 2024, 01:01:35 PMLike Murray said, try 3D filleting that edge instead, rather than subtracting a profile.
What if the router bit profile isn't a singular curve.
Like this one, for example


Quote from: rtaylor on April 20, 2024, 12:33:21 PMHow can it be that one can draw a sports car or an airplane but can not put a simple edge on an extrusion? There must be a way...............
It can be done.  Fairly simply.
How are you going about doing it?

In the attached, I created a blank countertop with square (non-routed) edges.
Created a 2D profile to replicate the half-profile of a router-bit.
Used the Sweep (not Rail Sweep) tool to sweep this profile about a path (duplicate Polyline of the countertop shape).
3D_Subracted that Sweep result from the countertop workpiece.
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)

rtaylor

It is the issue with the tight corners and small extruded shapes not large ones. Sweep works fine with something like this. I cannot make it work on like a 7/16 thick extrude with a notch it it using a 1/2 cove.
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Alvin Gregorio

Quote from: rtaylor on April 21, 2024, 11:08:32 AMIt is the issue with the tight corners and small extruded shapes not large ones. Sweep works fine with something like this. I cannot make it work on like a 7/16 thick extrude with a notch it it using a 1/2 cove.
Okay.
Please post your .tcw Drawing file for our review and suggestions.

Please Save As... the earliest TurboCAD version your TurboCAD allows (in the Save As-- Type drop-down field box).
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)

rtaylor

You cannot view this attachment.

Here it is in 2022 format....Im trying to draw it in 2024??
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Alvin Gregorio

Quote from: rtaylor on April 23, 2024, 02:06:30 PMHere it is in 2022 format....Im trying to draw it in 2024??
Please see if the red object in the attached is what you are trying to achieve.
I have some Layers I set to Invisible; set them to Visible to see some of my work.

I could have done this in v2024 Platinum.  Version isn't the issue.
__
note:  my red object still needs to be 3D_Added to your initial 3D object
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)

rtaylor

Yes thats the idea. My construction is in layers to achieve the style I want. That is why there are two components. There are some more layers, as I build up the base of the project. You must have encountered the same issues with a simple sweep. By sweeping a circle I too was able to accomplish what I wanted (sort of) using subtract. I did have to do it in pieces though because the notch in front was still querky. If you look at the top view there are still some small defects where the sweep did not complete. Seems like a lot of hastle for such a simple thing, don't you think?? I am a little disappointed about the program for this. Thanks for looking into this for me. I greatly appreciate it. The odd thing is several years back I did some routered layers like this on another project and it worked fine. That was with windows 10 many windows updates back and older TC versions??? It sure is a problem now though. For example with the latest windows update..RedSDK does not function as it should...????. Thanks again for your help
 
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Alvin Gregorio

#20
Quote from: rtaylor on April 24, 2024, 09:12:42 AMYou must have encountered the same issues with a simple sweep. By sweeping a circle I too was able to accomplish what I wanted (sort of) using subtract.
I tend to model things as I would fabricate them in the real-world.
In the real world, I would be starting with square-edged blank (wood) stock.
Then I would router the edges.

So-- In TurboCAD, it makes sense to me to start with simple edges, then 3D_Subtract (aka: router) out the edges per my router-bit profile.
I think the way you're going about it-- trying to sweep the resultant routered-edge object-- is somewhat counterintuitive, from a woodworker's perspective.  And ACIS can struggle with it-- it can sometimes result in the intended swept object doubling-back (intersecting) upon itself.  Just not how a real-world object would be done.  Even if we say we're going to cast the object in the real-world, the form for that casting would have to be created; and to me, that again goes back to routering or otherwise removing material at the edges of a simple stock object.

Quote from: rtaylor on April 24, 2024, 09:12:42 AMthe notch in front was still querky. If you look at the top view there are still some small defects where the sweep did not complete
See above.
All I can say is... I am certain I could do it in any version of TurboCAD, version-10--version-2024.  And not have any "querkies" or "defects".

Quote from: rtaylor on April 24, 2024, 09:12:42 AMI did some routered layers like this on another project and it worked fine.
I think the key phrase there is "like this".  Not exactly this.  There are limitations.  Our task as TurboCADers is to learn them and learn the program's accepted methods of turbo-ly completing the desired task.

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)

rtaylor

You cannot view this attachment.

None of these sweeps work now....It was so simple for me to do this drawing. Pretty sure this is very similar to the one I am doing now.
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

rtaylor

Something is definitely wrong with later versions of TC it was very straight forward and simple before. It should not matter if it is a different drawing. I don't mean to be argumentive but isn't this what a CAD program is supposed to do? You shouldn't have to strategize the order of cuts and shapes to draw something. That's counterproductive I think. BTW I am a woodworker...drawing plans and building from them is what I do a lot of.
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Alvin Gregorio

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)

Alvin Gregorio

#24
Quote from: rtaylor on April 24, 2024, 01:31:04 PMYou cannot view this attachment.

None of these sweeps work now....It was so simple for me to do this drawing. Pretty sure this is very similar to the one I am doing now.
Can you Save As... TurboCAD version-2022 please.  And upload that.  You don't have to .zip it; the Forum allows .tcw file extension uploads.
________________________
I downloaded a trial of 2024 yesterday; haven't installed it yet.  Don't want my 15 days trial clock to start counting down until I am ready and able to get into it and explore it.
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)

rtaylor

You cannot view this attachment. TC2022
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Alvin Gregorio

#26
Quote from: rtaylor on April 24, 2024, 02:51:22 PMYou cannot view this attachment. TC2022
That looks really good.
Are you trying to replicate that?
Or is that your current work in progress?

If it's your work in progress, I don't see the problem.  You're doing a good job with it.
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)

rtaylor

That is what I am saying.....I did all of these sweeps with profiles several years ago. No problems. Now none of the sweeps I try now work. I just sweep the profile and then add to fill in the center. that seems to be not working now. That is what is so frustrating. Something has changed since this project
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Alvin Gregorio

Quote from: rtaylor on April 24, 2024, 07:10:02 PMThat is what I am saying.....I did all of these sweeps with profiles several years ago. No problems. Now none of the sweeps I try now work. I just sweep the profile and then add to fill in the center. that seems to be not working now. That is what is so frustrating. Something has changed since this project
What version was this nice clock case made in?
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)

Alvin Gregorio

Next time you can't sweep something, please provide us a .tcw Drawing file with just the intended sweep profile and path.

To do that, select those, and Save As... and choose Selection in that Save window.

Save As... v2022 would be appreciated.
If I can get it to work, I'll then try in v2024 at a later date.
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)

rtaylor

Try any of the the sweeps in the drawing I just sent... they do not sweep anymore. Yet that is how this drawing was put together.
Pro Platinum 2025 / Windows 11 Pro / NVIDIA 20 GB RTX A4500 / AMD Ryzen Threadripper PRO 7945WX 12 Cores / 32 GB RAM

Alvin Gregorio

Quote from: rtaylor on April 25, 2024, 07:25:54 AMTry any of the the sweeps in the drawing I just sent... they do not sweep anymore. Yet that is how this drawing was put together.
Will do.

Moving forward-- if you are working on something you think you might want help with, perhaps activate "Create Editing History (Part Tree)" in Options|Drawing_Setup|ACIS.

So we can more easily and accurately follow your process(es).
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)