News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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.

Subtracting Rail Sweep Doesn't Cut Through

Started by minuteman64, May 30, 2022, 07:06:31 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

minuteman64

Using TC 2021 Deluxe.  Trying to make a rail sweep to create a rounded edge at the top of object(s).  After 3d subtract can see the rounded profile but the top edge of the object did not cut away.

Had this problem before and have been able to work through it, usually by making sure the profile that created the sweep completely overlapped the top edge of the object.  This time I even tried raising the sweep path 0.1mm above the top of the object (saw that as a tip somewhere in here).  Still get the same result.

See drawing.  View shown is object(s) after 3d subtract and projile that was used to create rail sweep. 

Any ideas what I'm doing wrong?  Note:  I sliced one of the objects to try and get a better look at what was going on.

Alvin Gregorio

I'm having a bit difficult time deciphering where you went "wrong", minuteman.  It's just a bit messy up there, where the Sweep profile & path and top edges of the Box are.

I can more easily do an example in Deluxe, if you provide us the dimensions:
  1) Width (X), Length (Y), Height (Z) of the Box, before filleting the side or top edges
  2) Radius of the side edges' fillets
  3) Radius of the top edges's fillets
  4) Please confirm:  On the top fillets-- Do you only want three edges, as depicted in your drawing?
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)

minuteman64

Here are a couple of .png files that show (1) the dimensions of the 2d figures that were extruded 15 mm to make the 2 objects; and, (2) the dimensions of the profile I used for the top sweeps.

The sweep lines were made by coping the 2d figures that were used for the extrudes and positioning them 0.1mm above the top of the extruded objects (see original message).

The object that only has 3 sides rounded (or attempted round) was sliced in half so I could get a better look at what had happened with the 3d subtract of my sweep profile.

The kind of odd-ball dimensions are a result of scaling my original objects for a product that would work better.

Alvin Gregorio

#3
In Deluxe, sometimes we just have to grind.  And grind, and grind, and grind.

Attached is what I came up with.  The final edition is #5.  I did it in version-2019_Deluxe
The "Rounded Corners"-- as Platinum editions refer to it... the compound fillets where 3 edges meet-- are actually not a concentric arc.  It's sort of or is an elliptical arc.

Had to get creative.  Very tough to explain my process via typing.  Just grind, and grind, and grind.  Stay sharp, and keep your thinking cap on.

Mine is definitely not the only way to go about it, in Deluxe; I can already think of a better, more efficient, way.
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)

minuteman64

Engrossed in the "grinding" phase :).  Did a proof-of-concept test, starting from scratch.  See .png attachment.  Filleted 2d rectangle was extruded, giving cube with vertical edges rounded.  Then used profile and rail sweep to round top edges.  It works.  Now need to sort of "reverse engineer" the original drawing to see if I can get a similar result.

Problem with original drawing may be with the rounding profile.  On the test shown I made the rounding profile radius exactly the same as the 2d fillet radii.  Not the case with my original drawing.  Also, while doing the test encountered some workplane issues that in one instance resulted in the reference point for what was supposed to be a 2d profile being hung out on the Z axis - that sweep/subtract was a fail.  Going to re-do the 2d rail sweep profile on the original drawing to see if that fixes things.

Alvin Gregorio

Quote from: minuteman64 on June 03, 2022, 11:25:23 AM...
  Going to re-do the 2d rail sweep profile on the original drawing to see if that fixes things.

Me too!
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

Quote from: Alvin Gregorio on June 03, 2022, 01:54:16 PM
Quote from: minuteman64 on June 03, 2022, 11:25:23 AM...
  Going to re-do the 2d rail sweep profile on the original drawing to see if that fixes things.

Me too!

I couldn't get it to work. In version 2019 Deluxe.
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)

minuteman64

Quote from: Alvin Gregorio on June 03, 2022, 04:58:03 PM
Quote from: Alvin Gregorio on June 03, 2022, 01:54:16 PM
Quote from: minuteman64 on June 03, 2022, 11:25:23 AM...
  Going to re-do the 2d rail sweep profile on the original drawing to see if that fixes things.

Me too!

I couldn't get it to work. In version 2019 Deluxe.

And ...... likewise  >:(

So, I can start from scratch, take a series of steps and get the desired result.  But when I go through the same series of steps in an existing drawing I get a fail.  Does TC incidentally imbed some random command in a drawing that has been worked over for a few iterations that would cause this fail?  Kind of like when you have to close, then re-open a drawing to get certain functions to work?  Or sometimes even shut-down and re-start TC to get a stubborn function to work?

Next "grinding" step:  I'll try and create the exact target object in a new drawing, then import it into my current drawing.

Alvin Gregorio

We'll get it...

We'll get it to work in Deluxe to where it will seem second nature to us.
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

#9
Can anyone figure out how to create the attached as a (little-s)"solid"?  In Deluxe.

[pardon my file naming-- I got my minutemans and knutes confused]
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)

minuteman64

I am now convinced that TurboCad is messing with my brain.  I did a totally new drawing with a 2" x 2" rectangle with filleted corners.  Extruded that 2" and then did a rail sweep around the top.  See post above - got exactly what I was seeking.  So, did a totally new drawing to create the object for the part I'm making - used exact same procedure and got ........ fail.  Only difference was the size of the base rectangles and that one drawing (the successful one) was in inches and the fail was in mm.  Is TC fighting the metric system  :)  :)

Oh well.  Have another idea to try.  Back to work.

Alvin Gregorio

Quote from: minuteman64 on June 05, 2022, 06:52:56 PMI am now convinced that TurboCad is messing with my brain.  I did a totally new drawing with a 2" x 2" rectangle with filleted corners.  Extruded that 2" and then did a rail sweep around the top.  See post above - got exactly what I was seeking.  So, did a totally new drawing to create the object for the part I'm making - used exact same procedure and got ........ fail.  Only difference was the size of the base rectangles and that one drawing (the successful one) was in inches and the fail was in mm.  Is TC fighting the metric system  :)  :)

Oh well.  Have another idea to try.  Back to work.


Hi minuteman--
I thought the (main) difference was that you were using different radii for the vertical edges fillets versus the top/horizontal edges fillets.*

Please clarify.
_______________
*This is the issue I am experiencing, in Deluxe.  Differing fillet radii results in that top rounded-corner being an elliptical compound-curve sort of thing.  Which Deluxe can't make on its own.  Hence-- I am trying to figure out, with a request for assistance by other Forum members, how to model that rounded corner as a little-s"solid" TC_Surface object in Deluxe; once that's figured out; one can create the inverse of it to use as a subtrahend for the filleting rounded-corner result.
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

Quote from: Alvin Gregorio on June 05, 2022, 01:12:26 PMCan anyone figure out how to create the attached as a (little-s)"solid"?  In Deluxe.

[pardon my file naming-- I got my minutemans and knutes confused]

Quote from: Alvin Gregorio on June 06, 2022, 03:18:42 AMHi minuteman--
I thought the (main) difference was that you were using different radii for the vertical edges fillets versus the top/horizontal edges fillets.*

Please clarify.
_______________
*This is the issue I am experiencing, in Deluxe.  Differing fillet radii results in that top rounded-corner being an elliptical compound-curve sort of thing.  Which Deluxe can't make on its own.  Hence-- I am trying to figure out, with a request for assistance by other Forum members, how to model that rounded corner as a little-s"solid" TC_Surface object in Deluxe; once that's figured out; one can create the inverse of it to use as a subtrahend for the filleting rounded-corner result.

Attached is what I came up with, in Deluxe.  Using the Prism Tool, as I typically do for something like this.
In Hidden Line presentation, the segmentation would show; I'm okay with that-- Deluxe, using TC_Surface, is segmented/faceted in actuality, anyway.
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)

minuteman64

Quote from: Alvin Gregorio on June 06, 2022, 03:18:42 AMHi minuteman--
I thought the (main) difference was that you were using different radii for the vertical edges fillets versus the top/horizontal edges fillets.*

Please clarify.


My very first attempt had different radii for vertical and horizontal fillets.  This was inadvertent - the result of setting a radius for the vertical fillets and then using the extruded object as a "pattern" to custom fit the profile for the top fillet.  I am now using the same radius for the horizontal and vertical fillets - and still having the same problem.

Alvin Gregorio

Quote from: minuteman64 on June 06, 2022, 08:07:48 AM
Quote from: Alvin Gregorio on June 06, 2022, 03:18:42 AMHi minuteman--
I thought the (main) difference was that you were using different radii for the vertical edges fillets versus the top/horizontal edges fillets.*

Please clarify.


My very first attempt had different radii for vertical and horizontal fillets.  This was inadvertent - the result of setting a radius for the vertical fillets and then using the extruded object as a "pattern" to custom fit the profile for the top fillet.  I am now using the same radius for the horizontal and vertical fillets - and still having the same problem.

What are the new requested Dimensions?-- X value, Y value, Z value, all_four_vertical edges fillet radii, all_four_top_horizontal edges fillet radii
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)

minuteman64

It is a 12mm x 33mm x 15mm high cube.  0.5mm fillets on vertical edges and a 0.5mm round on top edges.  The actual part will have two of these - but hopefully I'll be able to make the second one by copying.

minuteman64

A minor breakthrough.  I made the extrusion without fillets.  Used a profile with a 0.5mm round to sweep/subtract the top edge.  Then used the same profile, rotated, to do sweeps on the vertical edge.  See attached .png - the two vertical edges in the foreground have had vertical sweeps subtracted.

The transitions between the vertical sweeps and the top sweep are not exactly works of art - but this works for my project.  Still a mystery to me why I could make a 2" x 2" x 2" cube with 0.25" fillets on the vertical corners and successfully subtract a sweep with a 0.25" round on the top edges - yet could not get the similar results with this object using the exact same techniques.

I'll be interested in playing with the corner prisms to find out if that provides an easier/more artistic :) result.

Alvin Gregorio

I went a different way:  3D_Add, rather than Subtract.
Attached
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)

minuteman64

Quote from: Alvin Gregorio on June 06, 2022, 08:15:45 PMI went a different way:  3D_Add, rather than Subtract.
Attached

I'm sorta following what you did - but not fully.  Can you provide a brief description of your steps?

Henry Hubich

#19
Quote from: Alvin Gregorio on June 06, 2022, 08:15:45 PMI went a different way:  3D_Add, rather than Subtract.
Attached

I thought of that, too. (Shoulda known you'd beat me to it.) I added the Boxes, Extrusions, and Sphere in the attached screenshot together and then Mirror Copied. Might not be easier, but it's virtually guaranteed to make all adjoining faces tangent.

Henry H

Alvin Gregorio

Quote from: minuteman64 on June 07, 2022, 08:38:52 AM
Quote from: Alvin Gregorio on June 06, 2022, 08:15:45 PMI went a different way:  3D_Add, rather than Subtract.
Attached

I'm sorta following what you did - but not fully.  Can you provide a brief description of your steps?

What Henry said.  In the post between yours, quoted above, and this one.
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)

Jeff_in_90620

#21
I did it differently, with the result being all edges of the box being rounded.

1. Created a rectangle with rounded corners (0.55mm, from what I could see of the original).
2. Because I was going to add a radius to the top and bottom, I subtracted 1.1mm from the original box's height for the Simple Extrude.
3. Created an arc with a radius of 0.55mm from 0° to 90°, set its Reference Point to the bottom and placed it at the corner of the top surface of the box.
4. Rail Sweep around the perimeter.
5. Add a rectangle between the 4 corners of the swept arc (not shown here).
6. Select the swept arc and rectangle, adjust their (temporary) Reference Point to the center of the box.
7. Invoke Make Copy and rotate the swept arc and rectangle 180° around the X axis.

[NOTE: I did this and it works]  I suppose you could make the arc a wedge and the rectangle a box, then 3D Add everything, but the important thing is that you have a box with every edge and every corner rounded.


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)

Alvin Gregorio

I think it would be good exercise-- in Deluxe-- to keep trying to accomplish this rounded corners thing using 3D_Subtract.  Including with differing vertical and horizontal edge fillet radii.

Until the comprehension of doing such in Deluxe becomes fairly simple to the user and second nature.
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)

murray dickinson

Since deluxe does polyhedral curved-surface approximations, I did this with a 90° revolve of a section of a polygon.  If the "number of segments per revolution" matches the number of vertices in the polygonal faux arc, the vertices neatly coincide on corners however the quadrants are oriented.

minuteman64

Quote from: Jeffin90620 on June 08, 2022, 02:25:31 AMI did it differently, with the result being all edges of the box being rounded.

1. Created a rectangle with rounded corners (0.55mm, from what I could see of the original).
2. Because I was going to add a radius to the top and bottom, I subtracted 1.1mm from the original box's height for the Simple Extrude.
3. Created an arc with a radius of 0.55mm from 0° to 90°, set its Reference Point to the bottom and placed it at the corner of the top surface of the box.
4. Rail Sweep around the perimeter.
5. Add a rectangle between the 4 corners of the swept arc (not shown here).
6. Select the swept arc and rectangle, adjust their (temporary) Reference Point to the center of the box.
7. Invoke Make Copy and rotate the swept arc and rectangle 180° around the X axis.

[NOTE: I did this and it works]  I suppose you could make the arc a wedge and the rectangle a box, then 3D Add everything, but the important thing is that you have a box with every edge and every corner rounded.


Jeff



I used a similar approach (don't need bottom edges rounded) and it worked.  Now I'm looking around trying to figure out how to attach a .png file to show the product.  Oh well, I'll do a separate post.

minuteman64

Here's the .png of my most recent effort.  This will work for me.You cannot view this attachment.

minuteman64

Quote from: Alvin Gregorio on June 08, 2022, 05:00:00 AMI think it would be good exercise-- in Deluxe-- to keep trying to accomplish this rounded corners thing using 3D_Subtract.  Including with differing vertical and horizontal edge fillet radii.

Until the comprehension of doing such in Deluxe becomes fairly simple to the user and second nature.

I thought I had cracked the nut (see Post #4 above).  However, I tried to recreate that object (accidently deleted original drawing) last night and got the fail - the rounding sweep did not cut away the base object.  I did have a semi-success when I forgot to properly set the reference point on the profile.  As a result, the sweep was offset from the upper edge of the cube and created more of a chamfer than a round.  My other success was when the sweep path was not filleted.

My conclusion at this time is that TC (Deluxe?) does not like working with 3d subtract involving a rail sweep with a filleted sweep path and a filleted object.  3d add seems to be no problem.

Alvin Gregorio

Quote from: Alvin Gregorio on June 08, 2022, 05:00:00 AMI think it would be good exercise-- in Deluxe-- to keep trying to accomplish this rounded corners thing using 3D_Subtract.  Including with differing vertical and horizontal edge fillet radii.

Until the comprehension of doing such in Deluxe becomes fairly simple to the user and second nature.

I like this method.
Attached.
The box with the #1 on it takes the process up to ready to 3D_Subtract.
The box with the #2 on it is a Make Copy of that #1 box; a 3D_Subtract of 5 subtrahend objects done on it.

Note that some Layers are currently set to Invisible; make them Visible if you want to get an idea of my process.

It is currently in Perspective visual style.
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)