Jump to content

Inter section point of a line and a polyline


Recommended Posts

Posted (edited)
(setq line (car (entsel "\nSelect the  line 1")))
(setq pline (car (entsel "\nSelect the  pline")))

I need to find out the inter section point of a line object and a polyline object. 

Please help me

Polyline is not a straight line. It has a lot of intermediate points.

Edited by Dayananda
Posted (edited)

Lee's answer is excellent as usual, be aware that if you have  a pline or say a circle you may get more than 1 point as an example,

 

(1437.56 682.493 0.0 1400.17 717.17 0.0) a pline crossing a line twice.

Edited by BIGAL

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...