• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

lisp to determine whether a polyline is designed clockwise or anticlockwise

  • Thread starter Thread starter wind_skin
  • Start date Start date
the discussion continues here:
http://www.cad3d.it/forum1/showthread.php?37307was divided as this was the origin of the development of another utility dedicated to quotation of armored irons of the c.a., to which it was better to dedicate a special thread.
some arguments on the clock and anti-clockwise direction were later developed to be integrated into the utility of the quotation of the irons.
 
once so much that I remember the (vl-load-com), I forget the brackets, bah...
Thank you for making this very useful lisp available. have passed several years, but I try to ask you programming experts if it is possible following this rutine ask if to orientate all the polylines in a specific sense.
 
it works on all lwpoly, although, as already mentioned by confutatis in post #20, it would be perhaps more logical to reason on the "senso" of the closed polylines.
 

Attachments

it works on all lwpoly, although, as already mentioned by confutatis in post #20, it would be perhaps more logical to reason on the "senso" of the closed polylines.
Very good. works almost on all entities. I have a design where he can't handle them all. in fact after using "senso" I used "plor" and in fact identifies some pl still anticlockwise. If you're interested, I can send you the dwg.
 
"maybe it would be more logical to think about the "senso" of closed polylinese"
In fact, if a polylinea has a s trend does not have a single direction of rotation, it has one in the initial and opposite phase in the final phase. Am I wrong?
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top