Visual LISP, AutoLISP and General Customization

## Visual LISP, AutoLISP and General Customization

*S., Dagfinn
Message 1 of 3 (165 Views)

# Polyline from ellipse

165 Views, 2 Replies
11-27-2000 04:05 PM
I have to convert a part from an ellipse to a polyline. Can anyone
give me a lisp-routine who calculate points on this ellipse ?
*Togores, R.
Message 2 of 3 (165 Views)

# Re: Polyline from ellipse

11-28-2000 09:22 PM in reply to: *S., Dagfinn
If it is a single case, you could well export it in R12 format, then
reinsert it.
Or directly draw it in A2K taking care of setting the PELLIPSE system var to
1.

When PELLIPSE is set to 0, a true ellipse is drawn. Setting PELLIPSE to 1
draws a polyline representation of an ellipse.
The polyline version is not a true ellipse, because it does not use the
equation for drawing ellipses.
Although the long and short axes are the correct length, the arcs do not

If you care for programming it, you can use the VLISP vlax-curve functions.
I believe Vlad Nesterovsky has developed a program for doing something like
this.
You can get in touch with him at: vnestr@netvision.net.il
Hope this helps,
--
Reinaldo Togores
University of Cantabria
http://personales.unican.es/togoresr/

Dagfinn S. escribió en el mensaje de noticias
3a236591.61828514@discussion.autodesk.com...
> I have to convert a part from an ellipse to a polyline. Can anyone
> give me a lisp-routine who calculate points on this ellipse ?
*Schamenek, Alex
Message 3 of 3 (165 Views)

# Re: Polyline from ellipse

12-07-2000 03:24 AM in reply to: *S., Dagfinn
I got this from Hot tip Harry's "New and Improved AutoLisp Routines". Very
awesome Book. Lots of VERY useful routines. Many I can't live without, now
that I know about them. I don't want to get into trouble so I can't post
them all, but maybe if I give you this one as a taste and give you a link to
the book on Amazon, I won't get into trouble.

http://www.amazon.com/exec/obidos/ASIN/0929870530/qid=976217272/sr=1-1/106-1
869499-5785210

"Dagfinn S." wrote in message
news:3a236591.61828514@discussion.autodesk.com...
> I have to convert a part from an ellipse to a polyline. Can anyone
> give me a lisp-routine who calculate points on this ellipse ?
Post to the Community