Diast Posted January 21, 2011 Posted January 21, 2011 In 2010 C3D, is there a way to rotate a line without first changing the minutes/seconds to a decimal, or redrawing the line ? Fictional line at 32d 45' 17" to say; 28d. Thanks, Diast Quote
lpseifert Posted January 21, 2011 Posted January 21, 2011 Pull out your calculator Command: ROTATE Current positive angle in UCS: ANGDIR=counterclockwise ANGBASE=0 Select objects: 1 found Select objects: Specify base point: END of Specify rotation angle or [Copy/Reference] <0>: -4d45'17" Quote
Diast Posted January 21, 2011 Author Posted January 21, 2011 Excellent. If I see you at the pub tonight I'll buy you a pint. Diast Quote
BIGAL Posted January 24, 2011 Posted January 24, 2011 Always found entering bearings -4d45'17" as a pain hence drawing lines was done via a lisp where brgs are 4.4517 and translated to correct minutes and seconds. Just a question rotate pick line pick end (brg) 4.4517 line rotates bit like a cal command ? but not a lisp that calls rotate, reactor ? had a play this worked use 'bbb (defun c:bbb ()(command (/ (getreal "enter num") 2.0))) just need to add the convert brg stuff Quote
BIGAL Posted January 24, 2011 Posted January 24, 2011 had another go (defun c:ang () (command (setq angle (getreal "\nenter angle")) (setq deg (fix angle)) (setq rem (* (- angle deg) 100.0)) (setq mins (fix rem)) (setq rem (* (- rem mins) 100.0)) (strcat deg "d" mins (chr 34) rem (chr 39)) ) ) when asked for angle just enter 'ang can shorten maybe '1 Quote
rkent Posted January 24, 2011 Posted January 24, 2011 Rotate the UCS, Z, 28. Then use rotate with the reference option, Ortho on. 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.