• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

control > mirror <

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
Hello everyone,
is it possible to define an element obtained by the > mirror < ?
Thank you.
 
Code:
(defun fnspecchio (/ sel nuovasel pt1 pt2 c)
(princ "\nspecchio: "
(setq sel (ssget))
(setq pt1 (getpoint "\nprimo point per mirror: ")
(setq pt2 (getpoint pt1 "\nsecond point per mirror: ")
(setq c 0)
(Sectq newsel (ssadd))
(repeat (sslength sel)
(setq n (ssname sel c))
(command "_mirror" n" pt1 pt2 "_n")
(setq newsel (ssadd (entlast) newsel))
(setq c (1+ c))
)
new
)
to get the selection group of objects you have to mirror them individually and add them to the new group
in practice: (Sectq miasel)
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top