mojo8997 Posted February 27, 2010 Posted February 27, 2010 got another question, i want to draw pline from 0,0,0 but override the angles as i go, any tips? this is what i was trying an it dosent work, trying to make a box to start off (defun c:cline () (command "PLINE" "0,0,0" "<0" "1" "<90" "1" "<180" "1" "c") ) I just tried (vl-load-com) (defun c:cline () (vl-cmdf "PLINE" "0,0,0" "1<0" "1<90" "1<180" "c") ) still no luck Quote
BearDyugin Posted February 27, 2010 Posted February 27, 2010 I at first would calculate vertex in the Lisp (setq t1 '(0 0) t2 (polar t1 0 1) t3 (polar t2 (/ pi 2) 1) t4 (polar t3 pi 1) ) Then (vl-cmdf "_pline" "_non" t1 "_non" t2 "_non" t3 "_non" t4 "_c");_non - there is no snap And with a tracing angle, likely it not to turn out, after all tracing on an angle works in two parties and how it without the user will choose one? 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.