News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

Self Intersecting Sweeps

Started by bigjimslade, May 20, 2009, 08:22:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bigjimslade

It seems that any time you do a sweep along an inside curve you get a self intersecting error -- unless you select rigid.

Is there any way to avoid this?

Problem -- need non-rigid sweep along sigmoid ("S") curve. ???

-- Here is a sample file. I created for this and comes up with a second error. Try to sweep the yellow along the black. Says
1) It does not intersect the profile path -- looks to me like it does.
2) Self intersecting

[attachment deleted by admin]

Winston Mitchell

I took a look at your file. It looks like it should self-intersect but a closer inspection reveals that the curve is far from smooth and so the sweep probably does self-intersect. I replaced your curve with a smooth one and performed the sweep with no problems.

In the attachment, the red curve is mine.

[attachment deleted by admin]
Hardware: 2.67GHz Core I7-920, 18GB 1333 DDR3, Nvidia Gforce GT 220
OS: 64 Bit Windows 10 Home
Software: TC 2020_19.6_x64
Setup: UI: Classic, Editing History: Off, Use Choice: Off, Native Draw: GDI

bigjimslade

The curve here is generated by TC itself from an insert intersection.

murray dickinson

#3
Enable the curve frame and look for reverse curvature, where the frame crosses the curve, which causes the selfintersection.  The pic shows the inversions, the red curve has had some control points deleted, causing some small changes in profile.  It will sweep.

[attachment deleted by admin]

John R

Quote from: murray dickinson on May 25, 2009, 07:31:03 PM
Enable the curve frame and look for reverse curvature, where the frame crosses the curve, which causes the selfintersection.  The pic shows the inversions, the red curve has had some control points deleted, causing some small changes in profile.  It will sweep.

Beautiful obsevation.

John R.

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

bigjimslade

Interesting in that the curve in question was created using INSERT->INTERSECTION.

Bob H

This is a valuable discussion for me.  I don't know about "enable curve frame".  What is it and how do you do it? 

John R

re: about "enable curve frame".  What is it and how do you do it?

In the Properties dialog for Curve, on the Curve page, checkmark "Show Frame".
In Selection Info, check "Show Frame" in the Curve section.

As you draw your curve, it places a polyline between the points.

As stated in Help:
Show Frame: If checked, a polyline frame will be displayed
connecting the curve's control points. This provides visual
feedback about how the curve is drawn.


John R.

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Bob H

Thanks for the elucidation.  Of course, properties makes sense.  I was looking for some other global setting.

It appears that sweep works for curves which are not monotonic.  I tried sweeping along beziers that curved in two directions, the curve crossed the frame, and it worked.

Is crossing the frame the actual problem or is it the tightness of the curve relative to the size of the swept profile?