Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi i need to draw arc to endpoints of angular lines , how can i get that ? =================== (defun dtr (a) (* pi (/ a 180.0))) (defun rtd (a) (/ (* a 180.0) pi)) (DEFUN C:PRC () (setq IP (getpoint "\nSTART POINT: ")) (setq TBN 51) (setq TRY (getdist "\nWIDTH: ")) (setq aci1 (getdist "\nANGLE: ")) (setq aci3 (/ aci1 2)) (setq aci2 (* aci3 -1)) ;========================================= (setq P1 (polar IP (DTR 0.0) (/ TBN 2)) P3 (polar IP (DTR 180.0) (/ TBN 2)) P4 (polar P3 (DTR 90.0) TRY ) P5 (polar P1 (DTR 90.0) TRY) );setq ;========================================= (command "line" IP P1 "") (setq obb1 (entlast)) (command "line" IP P3 "") (setq obb2 (entlast)) (command "line" P3 P4 "") (setq obb4 (entlast)) (command "line" P1 P5 "") (setq obb5 (entlast)) (command "rotate" obb4 "" P3 ACI3 ) (command "rotate" obb5 "" P1 ACI2 ) (princ)) ============== thank you
Solved! Go to Solution.