Attachment drawing file having the irregular polygon.
Can any one help how can I get the offset that polygon to inside using lisp.
I prepared a lisp routene for that but it is working when that polygon starting point at lower left of that polygon only.
Please guide me.
A successful routine to do such task may need includes following features:
1. It is able to find the maximum offset distance for a given closed polyline.
2. It is able to verify whether a given point is inside or outside the polyline.
Then you can generate the new polyline with a certain distance offset from the given polyline.
Search this Forum and I think you'll find something. [I'm at a painfully slow computer right now, or I'd look myself.] One approach I think I recall is a routine to Offset the Polyline in both directions [using (vla-offset) with positive and negative values], compare the areas of the two resulting Polylines, and keep only the smaller one.
@Kent1Cooper wrote:
Search this Forum and I think you'll find something. ....
For instance, this thread.