News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

3D polyline editing, trimming, etc

Started by SAJ, April 07, 2011, 01:49:23 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

SAJ

I read on a posting that you cannot modify 3D polylines. That is exactly my problem right now as I am trying to reduce the size of a contour file made up of very large 3D Polylines.

Is there a work around or any new features?  I have Turbocad 18 platinum with surface modelling

John R

Have you tried "Tools / TC Surface Simplification". I don't know if that would work in this situation. In Help, it's under "TC Mesh Simplification".
John R.

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

Henry Hubich

Quote from: SAJ on April 07, 2011, 01:49:23 PM
I read on a posting that you cannot modify 3D polylines. That is exactly my problem right now as I am trying to reduce the size of a contour file made up of very large 3D Polylines.

Is there a work around or any new features?  I have Turbocad 18 platinum with surface modelling

You CAN modify 3D polylines, but you can't do as many different things to them as you can to 2D polylines. What kind of modification do you need to make?

Henry H

SAJ

That is great news!  Specifically I'm trying to trim them right now.  My ultimate goal is to use the surface modeling plug in to draw a profile of water main 6.5 ft under the ground surface.  My contour file of 3D polylines is so big I need to limit the triangle generation to a narrow corridor my pipe runs in.

If I can't get surface modeler to work, I was planning on creating a new 3D polyline to represent my pipe by snapping to the contour polylines. Then I would like to unfold the polyline to get accurate distance measurements if I moved it to an x-y graph of distance vs elevation.

Any ideas for me?  Thanks!

Henry Hubich

Quote from: SAJ on April 10, 2011, 08:16:54 PM
Specifically I'm trying to trim them right now. 

You can't trim a 3D Polyline, unless it lies entirely in a plane. What you can do, however, is add a node at the point where you want to cut it, then delete all the nodes between there and the end. But AFAIK you can't cut a piece out of the middle.

Quote from: SAJ on April 10, 2011, 08:16:54 PM


If I can't get surface modeler to work, I was planning on creating a new 3D polyline to represent my pipe by snapping to the contour polylines. Then I would like to unfold the polyline to get accurate distance measurements if I moved it to an x-y graph of distance vs elevation.


You can read the overall length of a 3D Polyline in the Selection Info palette. You can also read the coordinates of the vertices, which will allow you to calculate the length of any segment.

Henry H

SAJ

Thanks again for the response. So I'm back to putting it on the wish list.  I have probably 2000 contours to trim.  And to get a middle cut, that would make 4000.   Bummer on using the node idea. But, I'll keep it in mind for smaller applications.

Question.  Is there a way to decrease the number of nodes in an imported polyline with a jillion nodes per line.  Automated, because I have so many polylines.  Thanks.  Similar to the TC Mesh tool mentioned in this post.

Henry Hubich

Quote from: SAJ on April 11, 2011, 09:56:45 AM
Thanks again for the response. So I'm back to putting it on the wish list.  I have probably 2000 contours to trim.  And to get a middle cut, that would make 4000.   Bummer on using the node idea. But, I'll keep it in mind for smaller applications.



There is another possibility: Explode the 3D Polyline; delete the fragments you don't want; weld the remainder back together with Join Polyline.

Henry H

murray dickinson

Quote from: SAJ on April 11, 2011, 09:56:45 AM
Question.  Is there a way to decrease the number of nodes in an imported polyline with a jillion nodes per line.  Automated, because I have so many polylines. 

There used to be.  Tom Snape wrote a VBA script called Nodecleaner which is still hosted on his site, http://throsn.tripod.com/tcadmain.html.  It can probably be adjusted to work through the macro recorder pallet or some other scripting mechanism.  In my own case, I use PolyCAD, www.polycad.co.uk, which also does it, but differently to Tom's.  Tom's takes out each 2nd, or 3rd, or whateverfth, node, and the polyline rubberbands.  PolyCAD has some other nuances, declaring the polyline should have no more than X vertices, keeping segment lengths similar and trying to maintain the shape as much as possible.