0 Members and 1 Guest are viewing this topic.
Make sure the variable OSNAPHATCH=1
Temporarily explode hatch, find intersection points between each pair of lines and finally do undo - before explode...It shouldn't be so hard - look for LeeMac's intersection sub functions...
There is HB.lsp hatch boundary which makes a boundary pline of the hatch. Is this what you want ?
You could create a copy of the hatch, explode the copy, and iterate over the objects generated from the explode operation using entnext, detecting intersections between such objects.
For example of a lisp that iterates objects and finds intersections, see CAB's break lisp. This is the latest version I could find:http://www.theswamp.org/index.php?topic=10370.msg594917#msg594917