@leekennewell wrote:
I need a LISP that converts curves into multi-faceted straight lines. ....
All the suggestions so far are about Polyline arc segments and in some cases Circles and Arcs. But since you use the word "curves" without restriction, which could also include Ellipses and Splines, I will suggest the attached WobblyPline.lsp routine, with its WPL command. [It's around in this Forum already, but in older versions.] Read the comments at the top of the file.
It makes any kind of finite AutoCAD (vlax-curve)-class object [Line, Arc, Circle, any kind of Polyline, Ellipse or Spline, open or closed] into a Polyline of line segments only, divided up into as many segments as you choose. You tell it how much "wobble" you want, that is, how randomized the vertex locations should be relative to the path of the object you're wobblyizing. When it asks for "Maximum displacement as percentage of average segment length:" give it zero, and the resulting Polyline vertices will all lie exactly on the source object's path, evenly spaced along it.
The main benefit it has is that you can use it to make a Wipeout-basis Polyline from even a Spline or Ellipse, as well as from the "usual suspects" already covered in this topic. The drawback, if it is one, is that it must divide up the total length of the source object equally, which means that with a Polyline containing line segments, even those, however long, can be subdivided with intermediate vertices [depending on lengths relative to your specified number of segments].
Another benefit is that you don't need to have a Wipeout-boundary object already drawn to convert. You can draw it inside the WPL command. See the first options prompt. If you do have something already drawn, use the EXisting option and select it.
You also get the choice of whether to keep or delete the source path object, so you can make a Wipeout from the Polyline it makes and still have the outline of it as its original object, when that's wanted.
Kent Cooper, AIA