vlisp Posted July 28, 2016 Share Posted July 28, 2016 (edited) Hello to all, I have two polylines - first big "source" and second cutting polyline. I want to find points list of section for these two polylines. One list with one part of first polyline and second with another part of same polyline. I can find cross points between them , but after that....... I do not want to use hatch or any tools to find the point List. May be union of two point lists with "White" polyline and "red" polyline. thank you Edited July 28, 2016 by vlisp attach image Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted July 28, 2016 Share Posted July 28, 2016 And why is this important to you - I mean 2 point lists... BPOLY command is doing the same thing and I suppose based on very similar algorithm, so why not use it? Quote Link to comment Share on other sites More sharing options...
vlisp Posted July 28, 2016 Author Share Posted July 28, 2016 (edited) And why is this important to you - I mean 2 point lists... BPOLY command is doing the same thing and I suppose based on very similar algorithm, so why not use it? Because i did not know for the command. It is very important to be qiuck method because it is repeat many times in second. I have looked for Weiler–Atherton clipping algorithm.is it posible to implemate? Edited July 28, 2016 by vlisp Add name of algorithm Quote Link to comment Share on other sites More sharing options...
vlisp Posted July 28, 2016 Author Share Posted July 28, 2016 (edited) Now i saw bpoly command. It is not good for this case. I have to find let say 'section between two points lists'. Edited July 28, 2016 by vlisp Quote Link to comment Share on other sites More sharing options...
troggarf Posted July 28, 2016 Share Posted July 28, 2016 maybe one of these: https://autocadtips1.com/2012/02/28/autolisp-subract-objects-from-a-closed-polyline/ https://autocadtips1.com/2012/02/28/autolisp-polyline-outline-of-objects/ https://autocadtips1.com/2012/02/28/autolisp-interior-intersections-of-closed-polylines/ Quote Link to comment Share on other sites More sharing options...
vlisp Posted July 29, 2016 Author Share Posted July 29, 2016 (edited) Yes I readed this link before,but they used internal autocad command. I am looking for pure mathematical way to solve the problem. Edited July 29, 2016 by vlisp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.