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.

Using Rail Sweep

Started by jmwright1058, November 08, 2017, 11:13:35 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

jmwright1058

I'm using the Rail Sweep tool with some success, however, I'm not getting repeatable results.
I'm having trouble understanding the constraints.

I'm getting the error "The resultant object of ACIS Solid type is selfintersecting or invalid. The correct object can't be created. ACIS message: Top and bottom profiles of sweep would intersect."
What's confusing to me is that I play around with the Reference Point of the profile, the path and the orientation of the path and eventually I get it to produce what I want.
However, this process is painfully slow. If I knew why the error is being reported, and how to avoid it, I would be much happier.
This idea of the profile intersecting itself as it follows the path makes sense to me, It just seems very arbitrary why it sometimes succeeds, even though I have not altered the profile and only slightly altered the path.
(jmwright1058 - Note - I modified the previous sentence...I previously said 'the path intersecting itself makes sense to me")

My profile is a moderately simple polyline. My path (the simplest one that fails) consists of a straight line connected to an arc that traverses 90 degrees (1/4th of a circle).

murray dickinson

#1
It's not the path intersecting itself, it's that the orientation of the profile to the curvature of the path means that the end caps of the sweep will overlap.  Complete guesswork without your example, but that's usually why *ACIS* throws it up.
Leave a gap in the profile and see how it turns out.  Open sweeps can self-intersect.   

jmwright1058

#2
Thanks Murray,

I will try your idea if I need to.

I think now, one cause I need to eliminate first is to not violate a basic requirement of the sweep tools, which is to always start the path 'touching' (in contact with) the profile. I was getting away with this on many sweeps, so I didn't believe it was necessary, however, a video created by Paul Tracy indicates this is required.
Since I began adhering to this rule I've been much more successful.

Jeff_in_90620

It's not always the ends of the Rail Sweep that cause the problem.  When it happens to me, it is most often because the item being swept encounters a corner in the path that results in a portion of the object being folded back upon itself.

My solution is to change the Reference Point for the swept object such that all of the object is on the "outside" of the curves.  If that is not feasible, then I split the path and sweep portions of it (to be 3D Added later).


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)

jmwright1058

Yes, Jeffin90620,

This is a good solution; that is, breaking the sweep into multiple paths, doing 2 sweeps, then connecting the 3D solids. This enables you to change the reference point between sweeps, since the reference point has direct bearing on whether the profile folds back on itself.

A good example is a path (in a single plane) that is first straight for a distance, then turns 90 degrees to the right (then straight for a distance), then turns 90 degrees to the left (then straight for a distance). Depending on where the start of path is placed on the profile, either the first 90 degree turn will cause the profile to fold onto itself, or the 2nd 90 degree turn will fold on itself.

My results were really wacko when I didn't connect the path to the profile. There was no rhyme or reason why it failed one time and succeeded the next.

jmwright1058