TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: jitupnair on June 23, 2010, 09:03:43 AM

Title: {Help needed} looking for a Lisp to change bulge to lines in polygon
Post by: jitupnair on June 23, 2010, 09:03:43 AM
I have a situation to change all the bulges to line colsed polygons. Its very difficult to explain the requirements so please refer attached Drawing. Its a challenging job.

If anyone can make a lisp program for me, Its a great help.

Thanks in Advance.

Thanks & regards

Jithesh
Title: {Help needed} looking for a Lisp to change bulge to lines in polygon
Post by: jitupnair on June 27, 2010, 12:41:44 AM
I found one program in this Link http://forums.augi.com/showthread.php?t=111361.
I will apriciate if some one can modify this to suit my requirement.

Ragards

Jithesh
Title: Re: {Help needed} looking for a Lisp to change bulge to lines in polygon
Post by: Kerry on June 27, 2010, 01:02:46 AM

Sorry, I can't understand what you require.
Can you provide a better explanation.
Title: Re: {Help needed} looking for a Lisp to change bulge to lines in polygon
Post by: jitupnair on June 27, 2010, 01:39:17 AM
Hi Kerry. Thanks for your helpful mind.

I will put it simple. I have two parallel arcs.

1. A line to be drawn from the start of the inner arc to crown of the inner arc (say line A)
    and from end of inner arc to the crown of inner arc (say line B)
2. These lines will intersect with the outer arc at some point.
3.  From that intersection of line A. a new line to be drawn tangent to the inner arc but
    extending towards the outer arc.
4. This will repeat till the new line will intersect with the line B.

I know its bit difficult to understand. Please refer the attached image for better understanding.

Green lines in the image are line A & Line B

Thanks

Jithesh