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

Multi line joining

Started by edbardet, April 27, 2012, 07:42:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edbardet

I do a lot of lofting from objects (boat frames) that are developed using Beziers and straight lines. The straight line segments are snapped to the vertexes of the splines so they share the same point. The way I have found to do this is to complete the frame and then draw over it, making it into one spline, using the handles to make the straight lines. It works and is not too bad once you get used to it. The rub shows up when you have to do several hundred of them :D

What I would like to see is a tool ( in 2D) that would join the multiple lines and curves that all share the same set of junctions into one object.

Ed
2020 platinum

Marek

Have you tried "Modify/Chain Polyline (bezier) or Modify/Join Polyline.
Marek

TC Pro 2016, TC Pro 2018, TC Plat 2019,TC Plat 2020,TC Plat 2021,TC Plat 2022,TC Plat 2023,TC Plat 2024, TC Plat 2025
Laptop Asus i7 6500U, dual-core 2,50GHz, NVIDIA GeForce GTX 950M, RAM 12 GB, SSD 480GB
Windows 10 64 bit

Darrel Durose

#2
Yes, Modify/Join Polyline works....not much feedback on this tool. Just click on the a line and all objects on the same workplane/node points become one!  ;D

"Auto joining: Automatically selects all objects connected to the selected object. This option must be active before selecting any segments. You can select any object in the chain, not only the first or last object. If more than one segment branches from an endpoint, the chain will stop."

All the details and help are here: http://www3.turbocadcommunity.com/tiki-index.php?page=Join+Polyline
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.

edbardet

2020 platinum

John R

And when you're done using Join Polyline, you may want to try the "Format / Convert to curve" tool to turn it back into a curve object again.
John R.

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

Henry Hubich

One drawback to joining everything is that the number of nodes tends to increase. This can slow down the lofting operation and, in some cases, make lofting impossible.

Henry H

John R

re: One drawback to joining everything is that the number of nodes tends to increase.

That's why I suggested the Convert to Curve tool. I believe the default tolerance value is 0.01. I changed it to 0.1 and there's hardly any difference between the original 3 objects and the converted curve (Bezier).
John R.

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

edbardet

You guys are unreal - I thought I had an answer earlier and you keep making it better ::)

Ed

PS Now we need a convert to curve where you can specify the number of nodes!
2020 platinum

Darrel Durose

As John has already mentioned...

Convert to curve sorts out the node count..... I increased the tolerance from 0.01mm to 1mm  ;D

This graphic contained a line an arc and a bezier curve before joining...
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.

Henry Hubich

You'll probably want to consider how these options affect the smoothness of the resulting 3D object.

Henry H

Darrel Durose

Henry

I am surprised at the faceting of the convert to curve..... what tolerance did you use? also what are your space units, metric or imperial?

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.

colinreid

Never ceases to amaze me the breadth and quality of reponses and the value of trawling these forums regularily.

It also never ceases to amaze the variations in confugrations or where people think functions reside.  On mt TC19x64, the convert to curve is not under the format menu but is the last item on my curves toolbar.

In answer to the convert curve turning the polyline to a bezier.  I then select the bezier, Ctrl+F and change the curve to a spline with 5 segments for consistency with other curves I use.

All my lofts would have the same smoothness (henry's point that I will test out) but a question for Henry.  How would one loft a your left hand shape if it is in two parts of different types or doesn't it matter as I have been struggling with a lofting problem where the line type differ.
regards
Colin Reid
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

Henry Hubich

Quote from: Darrel Carl Durose on April 28, 2012, 01:13:49 AM
Henry

I am surprised at the faceting of the convert to curve..... what tolerance did you use? also what are your space units, metric or imperial?



Here's something even more surprising, IMO. The attached screenshot shows the result of converting the same Polyline to a Curve, using three different Tolerance Values.

Henry H

Henry Hubich

Quote from: colinreid on April 28, 2012, 06:55:31 AM

All my lofts would have the same smoothness (henry's point that I will test out) but a question for Henry.  How would one loft a your left hand shape if it is in two parts of different types or doesn't it matter as I have been struggling with a lofting problem where the line type differ.
regards
Colin Reid

Turn on "Use compound profile" before lofting. Be sure the components of each compound profile lie on the same Workplane and touch end-to-end, with no gaps or overlaps.

Henry H

colinreid

Henry

AS always, thanks.  Most useful.

regards
Colin Reid
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

dstjohn

This is topic is old, but for the sake of other's having this problem:  I've found that if I group lines, rotate them, explode (i.e., ungroup) them and then try to join them as a polyline with other lines that are unrotated or rotated by another amount, it won't work.  I have to select them all and use Format->Place On Workplane to join them together, even though they were all in the same plane.  In general, if join polyline is being rejected for a particular group of lines, try using Place On Workplane on all of them, even if they are already all positioned in the same plane which is coincident with the workplane.

P. S. these verification images are too hard to make out, unless you're trying to prevent the humans from posting too!

Jeff_in_90620

I did not find the Convert to Curve function in TurboCAD 2015 64-bit until I loaded the tc_1024x768pro_pre Workspace.  Whether available or not, it is not listed in All Commands.

The same is true for the 32-bit version.

My preferred Workspace is a customized version very similar to V15's default (I prefer to use the <Alt> key to quickly maneuver through the drop-down menus instead of using the mouse to select functions and didn't want to spend the time finding the new menu locations) and it seems I cannot make use of this function in my preferred user interface.

If it isn't obvious to everyone, this is VERY ANNOYING.


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)

Jeff_in_90620

And while I am still VERY ANNOYED that I can't find every command in my preferred Workspace, I am also disappointed that the Convert to Curve function only works for 2D objects.   :-[


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)

John R

re: …Whether available or not, it is not listed in All Commands.

You need to look for the "To Bezier" tool or the "To Arcs Polyline" tool in the All Commands list. Also found under the "Format / Convert to Curve" category. Convert to Curve in the Wiki.
John R.

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

Jeff_in_90620

If the function is called "Convert to Curve", its Help Entry should also be "Convert to Curve", not "To Bezier" or anything else.

This is not rocket science, people.


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)

Dean

Quote from: Jeffin90620 on February 01, 2016, 01:02:51 PM
If the function is called "Convert to Curve", its Help Entry should also be "Convert to Curve", not "To Bezier" or anything else.

This is not rocket science, people.


Jeff

Jeff,
As  John says, It's a "category". how can it be listed as a single command. I have it in the modify menu.
"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

Jeff_in_90620

Convert to Curve is not a 'category', it is a function command that brings up a prompt.


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)

Dean

#22
Quote from: Jeffin90620 on February 01, 2016, 05:12:24 PM
Convert to Curve is not a 'category', it is a function command that brings up a prompt.


Jeff

Lol,  :) there are so many ways to set it up, Jeff, BUT it is listed in the engine as a "catagory" with two commands. The one that you chose is the bezier.(maybe it should say that, convert to bezier)
You can drag either of the two commands out into a toolbar or set up seke's.
I switched to the "Default' workspace.
"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

John R

There is a gremlin in the company who likes to change names on tools to suit their needs, but ultimately it causes problems like we have here now. The tool you see as "Convert to Curve" is actually the "To Bezier" tool. When the customize dialog is open, if you right-click on "Convert to Curve" and choose "Reset", it goes back to its original state as "To Bezier".
John R.

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