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.

Splitting 3D Polyline

Started by IanC, January 02, 2023, 08:54:31 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

IanC

Is there a way to do this? I can node edit, and join. So seems very odd not to be able to split/trim.

I generally use v17.2 Pro, but also have 2019 Pro.
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

John R

From what I see, a 3D Polyline has to be "flat" (Flatten tool — "Format / Others / Flatten" command) before it can be "Split" or "Trimmed".
John R.

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

IanC

Thanks John, I hadn't seen that command before (it's in 2019, not 17.2). Useful for some things, but I don't wish to flatten the 3D line.

One other slightly related question:  What's the best way to find the closest to an intersection of two 3D polylines (or polyline segments)? Or put another way, draw the shortest 3D polyline to connect them?

It's something I need when doing 3D surveying triangulations, usually end up visually judging and trial-and-error, but I feel sure there's a better way!
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

John R

If two 3D Polylines actually intersect, the "Intersect" SNAP (I) should work.

I think the Near SNAP (N) may be the only option, as "H" (Opposite) & "J" (Projection) snap to the current workplane, which is probably not where the 3D Polyline segment is located.
John R.

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

IanC

Thanks John, yes I was trying to avoid N-snap if possible.

Not sure how much (if any) input you have as a Beta-tester, but I think both of my points in this post are overdue inclusion! Especially the first.
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

murray dickinson

#5
I "split" 3D polylines by copying them in place, then deleting the respective unwanted nodes of the complementary copies with the node edit tool.  If the two polylines will loft the surface between them will give you a quick visual representation of the 3D distance between them.

Jeff_in_90620

#6
Quote from: IanC on January 02, 2023, 11:27:05 AMThanks John, yes I was trying to avoid N-snap if possible.

There is Apparent Intersection; this will depend on the active Workplane (which you can set using the Plane by Active View command).  You can turn this on as an active snap under Drawing Aids.


Turns out, that is wrong.  It's sort of what works with the Intersection snap, 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)

IanC

Thanks Murray, I considered that, but it's a pain with long lines, maybe 50 nodes.

Jeff, I don't think that will do it unless the lines really will intersect. Which in the real world (surveyed lines) is highly unlikely in 3D.
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !

murray dickinson

#8
Ian, you can box select all the unwanted nodes and use the check option at bottom on the context menu bar to delete them all at once, individual node selection isn't the only option.

IanC

Quote from: murray dickinson on January 03, 2023, 03:37:24 PMIan, you can box select all the unwanted nodes and use the check option at bottom on the context menu bar to delete them all at once, individual node selection isn't the only option.

Something I've never noticed, very useful, thanks!
Currently installed v17.2 Pro (with VBA) and 2019 Pro Platinum on Windows 10.   I started with TC v2 !