Jump to content

Recommended Posts

Posted

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

Posted

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?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...