Angelo2449
Guest
Hello everyone,
I wrote this code:
the result consists of 2 lines springing from point1 to point2 and point3 and a circle with origin in point1 and radius = distance.
I would like to delete the part of the circle placed outside of line1 - line2 leaving the inner one.
Alternatively, perhaps better, you could trace an arc between the average line1 with radius = distance up to line2.
the last line of code not by mistake but it does not work well.
Thank you.
I wrote this code:
Code:
(seq distance (/ (distance point1 point2) 2))
(command "_line" point1 point2")
(setq line1 "_last")
(command "_line" point1 point3")
(setq line2 "_last")
(command "_circle" point1 distance")
(setq circle "_last")
(command "_trim" circle "" line1 line2 "")
I would like to delete the part of the circle placed outside of line1 - line2 leaving the inner one.
Alternatively, perhaps better, you could trace an arc between the average line1 with radius = distance up to line2.
the last line of code not by mistake but it does not work well.
Thank you.