View Full Version : [HELP] AutoLisp newbie here, need help with rotation of points
Trixtan
01-17-2005, 03:40 AM
Hi all,
I am new in AutoLisp.
I have to write a function that take all the points in the drawing and
rotate them in the YZ plane. I have learned how to select the points,
but can you give me some suggestions about rotation? Thank you very
much.
Trixtan
Michael Bulatovich
01-17-2005, 05:20 AM
If you are going to use a COMMAND call to ROTATE,
you will probably first have to adjust your UCS to make that possible.
The rotation has to happen in the plane of the USC.
--
MichaelB
www.michaelbulatovich.com
"Trixtan" <trixtan2002@yahoo.it> wrote in message
news:dfe09545.0501170340.2c7b218b@posting.google.com... Hi all, I am new in AutoLisp. I have to write a function that take all the points in the drawing and rotate them in the YZ plane. I have learned how to select the points, but can you give me some suggestions about rotation? Thank you very much. Trixtan
There is ROTATE3D you could use also but in AutoCAD 2000 I had problems with
it not being as accurate as rotating the UCS and things that should have
been parallel or perpendicular were off by some rounding factor. Using
ROTATE3D was actually easier than rotating the UCS and rotating, but the
errors it created weren't worth my time.
Corey
"Michael Bulatovich" <Please@dont.try> wrote in message
news:u_OGd.6407$K03.281141@news20.bellglobal.com... If you are going to use a COMMAND call to ROTATE, you will probably first have to adjust your UCS to make that possible. The rotation has to happen in the plane of the USC. -- MichaelB www.michaelbulatovich.com "Trixtan" <trixtan2002@yahoo.it> wrote in message news:dfe09545.0501170340.2c7b218b@posting.google.com... Hi all, I am new in AutoLisp. I have to write a function that take all the points in the drawing and rotate them in the YZ plane. I have learned how to select the points, but can you give me some suggestions about rotation? Thank you very much. Trixtan
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.