Can you think of a way to do this using Lisp?
please message me : )
jo...@acudatasystems.com
Inquire further via e-mail if you're interested.
--
Live long and prosper :)
Vlad
http://www.netvision.net.il/php/vnestr/
Joe Kleinschmidt wrote:
>
> I'm trying to come up with a function which will tell me the angle at one
> point in a multi-segmented Pline (including arcs)
>
> Can you think of a way to do this using Lisp?
>
> please message me : )
> jo...@acudatasystems.com
--
/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* Member of the OpenDWG Alliance */
/* Co-Author of Maximizing AutoCAD R13 and */
/* Maximizing AutoLISP for AutoCAD R13/R14 */
/* ----------------------------------------------------- */
/* tony.t...@worldnet.att.net */
/* http://ourworld.compuserve.com/homepages/tonyt */
/*********************************************************/
Terry Hickman
Star Building Systems
(setq segs (pline-segs polyline-entity)); => list of (bulge p1 p2)
(angle (nth n segs) (nth (1+ n) segs)) ; invalid for the last segment
if you have just a point and no segment get the index of the starting
vertex with a helper function from Owen Wengerd: findvrtx.arx
somewhere at http://www.manusoft.com or another copy at
http://xarch.tu-graz.ac.at/autocad/lsp_tools/findvrtx.zip
or solve it by yourself in lisp. quite easy once you've got the
segments.
Joe Kleinschmidt wrote:
>
> I'm trying to come up with a function which will tell me the angle at one
> point in a multi-segmented Pline (including arcs)
>
> Can you think of a way to do this using Lisp?
>
> please message me : )
--
Reini Urban http://xarch.tu-graz.ac.at/~rurban/
AutoLISP FAQ http://xarch.tu-graz.ac.at/autocad/
Please don't send technical questions directly to me, post them to
newsgroups.