leonucadomi Posted July 20, 2022 Posted July 20, 2022 good day people: I want to improve this routine can you help me? It is very simple I seek to make a selection of objects to make a mirror and delete them but I search once selected the objects and the two points for the axis of symmetry with enter you will be switching between the original objects and their mirror this routine i made does it but it doesn't show the axis when i need to see it (defun C:|f (/ ss pt1 pt2) (setq ss (ssget)) (setq pt1 (getpoint)) (setq pt2 (getpoint)) (grdraw pt1 pt2 -1 1) (repeat 100 (setq gira (getreal "\nMirror <1>: ")) (if (equal gira nil)(setq gira 1)) (if (= gira 1) (command "_mirror" ss "" pt1 pt2 "y" "" ) (command "_regenall") ) );repeat (princ) ) Quote
mhupp Posted July 20, 2022 Posted July 20, 2022 (setq pt2 (getpoint)) change (setq pt2 (getpoint p1)) 1 Quote
BIGAL Posted July 21, 2022 Posted July 21, 2022 Just me (setq pt1 (getpoint "\nPick 1st point ")) (setq pt2 (getpoint pt1 "\nPick 2nd point ")) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.