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.

Sweeping Problem

Started by colinreid, September 30, 2019, 08:51:47 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

colinreid

I may be stretching the limits of the programme but....

In the attached drawing is the line if what I want to become a rope on a large ship.  The sweep path is the bezier with a star point next to the circle (entity) shown in the attachment (one has to zoom in a lot to see the star as shown in the attachment.  Also attached is the resulting error message on sweeping which is so clear I have no idea what it means and how to prevent it.

I also tried a Rail Sweep but it did not like a compound profile.

Anybody got any idea what I am doing wrong?
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

sauerkraut2018

#1
Hello,

see picture "self-intersection.jpg"

Edit: Lost the "o" in Hello.  :o
#-----
Very low knowledge of English - I ask for indulgence - Thanks
Currently installed
TurboCAD Professional 32-bit V.17.2.77.1
TurboCAD 2016 ProPlatinum 64-bit V23.2-61.2 engl.
TurboCAD 2021 Platinum 64-bit V28.0 B.82.3 de.
#-----

colinreid

Thanks for the JPG.  But given that the red line was plotted as a Bezier in one go and is (perhaps) too long, I cannot find anything like your description.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Torfinn

Surkål's :) pic show you what the warning is about.
In the sweep menu, try to check for Rigid, it did work at my place.

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

Jeff_in_90620

If you can re-define the Reference Point so that the swept object is always on the outside of the sweep path, do that.

Alternatively, you can break up the sweep path into shorter segments, sweep each of those segments and then do a Face2Face Loft of the end facets.  This works for me when the corners are too sharp and there is no suitable reference point to use for the object being swept on the desired path.


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)

colinreid

Torfinn - while waiting for responses I did try Rigid sweeping and it did work once.  I saved that file and tried it elsewhere and it did not work.  Mystified but used the one successful attempt.

Jeffin - I have never seen the Reference Point has to be outside the sweep path and will try it next time.  I will also try the idea of shorter segments and Face2Face lofting.  Never occured to me before.

Thanks for the help
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Torfinn

When it work it work, i did never test it 2 times :)
And like Jeff say, try to set refpoint of circle to Q on the side that will be on the outer side of the path maybe.

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

Jeff_in_90620

Quote from: colinreid on October 02, 2019, 04:21:46 AM
Jeffin - I have never seen the Reference Point has to be outside the sweep path and will try it next time.  I will also try the idea of shorter segments and Face2Face lofting.  Never occured to me before.

Colin - No, the swept object must be outside the sweep path to keep it from being folded over on itself.  This means that the Reference Point must be closest to the curved sweep path's center.

The example images are for the Rail Sweep function; you will get the same results for the Sweep function if you re-position the swept object so that it is on the sweep path.  The first two show the results with the default Reference Point; the last two show the results when the Reference Point is placed so that all of the swept object is outside the curves.


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)

colinreid

Are you absolutely sure about that as I have managed to repeat a sweep where the blue line below the star on my screen capture above is a circle.  If I move it outside the sweep path I get the error message about self intersecting again.

I tried a Rail Sweep but get bogged down with reference points and then get a error message I cannot sweep a compound profile.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

Quote from: colinreid on October 03, 2019, 04:59:54 AM
Are you absolutely sure about that as I have managed to repeat a sweep where the blue line below the star on my screen capture above is a circle.  If I move it outside the sweep path I get the error message about self intersecting again.

I tried a Rail Sweep but get bogged down with reference points and then get a error message I cannot sweep a compound profile.

Hi Colin,
try the attached > done in TC 2018
> use a rail sweep with use compound profile enabled
> activate the rail sweep tool
> select the circle
> select the point in the center of the circle
> select the bezier as sweep path
> finish selecting
Give it time to complete the 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

colinreid

Dean - and it looks so easy but...  I downloaded your TCW and followed the steps above and got the dreaded self intersecting error again.  If it works for you, what is wrong with my setup?
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

#11
Quote from: colinreid on October 04, 2019, 05:33:56 AM
Dean - and it looks so easy but...  I downloaded your TCW and followed the steps above and got the dreaded self intersecting error again.  If it works for you, what is wrong with my setup?

I don't know, Colin.
Works every time for me.
Maybe someone else can try it.
> Did you change anything after opening the drawing?
> Open the drawing I posted then take a pic of your ACIS settings.
"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

colinreid

No changes to the drawing.  ACIS settings attached
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

#13
Quote from: colinreid on October 04, 2019, 09:04:49 AM
No changes to the drawing.  ACIS settings attached

looks like you changed the view and ACIS settings.
Remember to give it some time to finish. It took about 1 min. after selecting the path then about 2 mins after finish selecting.

see attached
"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

#14
I played around with this in my version-20ProPlatinum.  I didn't use Colin's file, as I don't have a recent enough version to open it.
________
Couldn't we start with a simpler Bezier or Spline (even a 3D Spline), then do the Sweep or Rail Sweep.  Then edit the nodes of that sweep's path Curve as desired.
We'll still get Warning/no-can-do dialogues when we create something self-intersecting, but at least we have something to start with and look at while modifying.  And, when the Warning Dialogue comes up while were editing the path's nodes/knots, we get immediate feedback of what in the path is going to cause an issue.

It works for me in V20PP.
And I like using a 3D Curve object for the sweep path, so I can edit the nodes up and down the Z.
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)

John R

Worked okay here.

  • Activated the Rail Sweep tool.
  • Turned on "Use Compound Profile" in Local Menu.
  • Selected the Circle, then the Point object, then the Bezier curve.
  • Waited a minute or two.
  • Done. Circle was swept along the curve.
John R.

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

Jeff_in_90620

Quote from: Dean on October 03, 2019, 06:15:22 AM
try the attached > done in TC 2018
> use a rail sweep with use compound profile enabled
> activate the rail sweep tool
> select the circle
> select the point in the center of the circle
> select the bezier as sweep path
> finish selecting
Give it time to complete the sweep.

Didn't have to do the step in blue; the function was off and running after I selected the path.  I'm using 2019.

Interesting results at one end, though.


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)

colinreid

Alvin - Just in case you are interested I have attached my original file in TC20 format.  I managed to get to Sweep in 2018.  But I am intrigued about the comments about the Bezier.  I did it in simple form because the Bezier is all at the same level.  I found in the past that trying to edit nodes in 3D spline can be a pain in the arse.  Is suspect there are to many nodes in my original (I forget why this is so).  Part of the fun with TC is to get it do what I want rather than just accept the hopeless manual or unintelligible error messages.  I will play more.

Jeffin - it is the same as the Finish Selecting is also disabled in 2018 as Sweeping started on selecting the path.  as you say, interesting end though.  I does not happen a simple sweep.

Dean - All my templates switch Degenerative Faceting off so I did not look at the capture.  It gets really weird because when I opened your file again,DF was turned off  and how it switched on,   I know not.  I tried a rail sweep with it off and after just under a minute, I got the self intersecting error again.

John - good to hear.  I must try harder.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

Quote from: colinreid on October 05, 2019, 06:43:56 AM

Dean - All my templates switch Degenerative Faceting off so I did not look at the capture.  It gets really weird because when I opened your file again,DF was turned off  and how it switched on,   I know not.  I tried a rail sweep with it off and after just under a minute, I got the self intersecting error again.


Colin, the plot thickens  ;D
If you have version 21 try the attached > open the file and don't change anything, perform a rail sweep use compound profile and make sure you're NOT doing a rigid sweep. My test in V21 it sweeps without the end error, So it appears there's a bug in version 2018. :P maybe in 2019 > I haven't checked.
So, so far > in V2018
I can sweep it but there's an error at the end.
John R can sweep it.
Jeff can sweep it  but there's an error at the end > good catch,Jeff  :)
Colin can't sweep it. > maybe try deleting the built-in folder  ;D make sure "you follow instructions" if you decide to do that.

"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

colinreid

Dean - I saved my drawing in TC20 format for Alvin in 2017 which I reinstalled as 2018 only goes as far back as TC21.  However, when I returned to working in 2018, got error messages during copying I had never seen before.  As the only thing that had changed was that 2017 reinstall.  So I uninstalled again and the error messages in 2018 stopped.  Who knew that would happen? 

As 2018 seems to be working (except rail sweep), I am reluctant to lose the built in folder.

A bug in 2018, surely not.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose

#20
Colin

I had a quick look at the first file you attached and inspecting the circle something is wrong/iffy with the circle's centre.... Once I zero'd the x and y and repositioned it it swept okay in TC2019. see attached.
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Alvin Gregorio

Quote from: colinreid on October 07, 2019, 03:45:09 AM
Dean - I saved my drawing in TC20 format for Alvin in 2017 which I reinstalled...

Thanks for doing that Colin.  You guys don't have to go through that much trouble to accommodate me; I'll just follow along on the stuff that involves too-recent versions.
________
Enlightened and inspired by Darrel's Reply #21, I got the Rail Sweep to work for me in version-20PP, using the "Drawing20.tcw" file Colin provided in Reply #18.

It was pretty simple (with Selector in 3D mode):
>Placed the Circle on the World Workplane (for good measure);
>Re-positioned the Circle to the nearest endpoint (or is that "starting point") of the Bezier (for good measure);
>Rotated the Circle about the Z axis, then the X axis, to be "normal" to the Bezier sweep path (for good measure);
>Invoked a 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)

Alvin Gregorio

Another thing that worked even more quickly and successfully for me:

Simply placed both the profile entity (the Circle) and the sweep path (the Bezier) on the same Workplane.

I selected both the Circle and the Bezier; invoked a Workplane by Entity, selecting the Circle as the entity; invoked a Place on Workplane; invoked a Rail Sweep, selecting the Circle and the Bezier as profile and path, and fairly quickly on my old dying low-end computer, the Rail Sweep worked, with the result being the profile swept normal to the path-- albeit it, with some "joints" at the Bezier's nodes.
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)

colinreid

Darrel - I had not noticed that the circle was a tad off the bezier.  Gave it a nudge, added a point at the circle centre on the bezier and the rail sweep worked fine and much faster than a sweep.  A relief!

Alvin - Do not worry about accommodating you as one of the delights of this forum is that plenty of people pile and help to solve problems better than any other forum I have used.  I tried moving the circle to the end of the bezier and using a SEKE V to place the circle square to the bezier.  Added a point to that V and rail sweep successfully.  I tried your other method but got a self intersecting error.  Having got a working solution I progressed no further.

Thanks all for your help.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Dean

Colin, Yay! glad you got it working. BUT
See attached video.
Now I'm really confused ;D All I did was > open your original drawing and...
>Place the point on the circle workplane
> Rail sweep
I didn't have to do what Daz said. ???
If you have it in ya try it :)
Another day with Turbocad,eh  ;D
"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

colinreid

Dean - oh yes a longish post but with a successful conclusion.  Thanks for the video as it replicates what I now do.  On reflection my problem was getting point in the right place.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video