Hello.
@Steven P
You are/was rigth and my Memory failed, saying that It gave me the same error.
It's correct
(Estraz_vertici a)
And works in the while loop that i made.
Also thank you for teaching how to pass a defun result to' another and i ask you how to give more same defun results to another one and different defuns sigle result to another One.
Thank you again for tour patience and attention
I see that your code doesn't identify the segment selected on the screen.
Therefore, I think you should do that little bit of work first (using vlax-curve functions)
Hi Nikon
The side to offset can be defined by the angle between the first and second points of the segment (+1/2π for the left side or -1/2π for the right side).
Therefore, you can obtain the offset point by doing the following: (polar p1 (+/- (angle p1 p2)) (/ PI 2.0)) 1)
You mentioned nothing about nested blocks.
It worked on your example drawing and mine.
I forgot you want 2 tangent lines, I only use a single, maybe I can modify that as an option.
I'll look into nested blocks, but I don't think that's going to be easy. Maybe replacing ClipIt with Cookiecutter.