how to trim a arc..?

how to trim a arc..?

Anonymous
Not applicable
241 Views
1 Reply
Message 1 of 2

how to trim a arc..?

Anonymous
Not applicable
I have a cricle and i draw a arc at the top
of the circle .
How can i trim the arc..?
0 Likes
242 Views
1 Reply
Reply (1)
Message 2 of 2

sanganaksakha
Advocate
Advocate
Hello LHGO,


Assuming that the circle is stored in a variable ‘c’ and the arc in ‘a’,
1) Find the startpoint (‘as’), endpoint(‘ae’) and the midpoint(‘am’) of the arc using the entity list data of the arc.

2) Assuming that you want to trim the portion of the arc lying inside the circle find out which of the three points fall inside the circle. If the two endpoints ‘as’ and ‘ae’ fall inside the circle, use the following to trim the arc:


(command “trim” c “” (nentselp as) (nentselp ae) “”)

(Important: Osnaps should be disabled).



Hope this helps.


With best regards,

Sanjay Kulkarni
(sanganaksakha@freelance-worker.com)
0 Likes