Jump to content

Extend and trim 3D polyline although keep z value constant


Organic

Recommended Posts

I figure the above is possible although I'm not sure ho to do it.

 

Say I have a 3D line (actually I have many, but lets keep it simple). X1, Y1, Z1 = 0, 0, 0; X2, Y2, Z2 = 10, 10, 10

 

I am in plan view looking down at a 2D representation of the 3D line. I decide I want to trim (or extend) the polyline. I draw a crossing line and trim the line, so that X1, Y1, Z1 = 0, 0, 0, and X2, Y2, Z2 now = 5, 5, 5

 

How can I maintain the original z value at the extended or trimmed location? E.g. I want my trimmed line to have X2, Y2, Z2 values of 5, 5, 10?

 

Let me know if I have explained it so badly that no one understands :P

Link to comment
Share on other sites

For your simple example you could, grip edit the end of the 3Dpoly using .Z point filter and Apparent Intersection OSnap.

 

If it's something you do regularly, you could automate the procedure with a macro/lisp

Link to comment
Share on other sites

A suggestion for a lisp when you pick the line you do so near to one end this then imply's which Z is to be maintained you can do a quick check for end picked trim line then update the Z.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...