mathematical formulation of lines an plines

Discussion in 'AutoCAD' started by p-element, Nov 20, 2003.

  1. p-element

    p-element Guest

    Starting from a dwg file containing a line (a line composed of arcs,
    clothoids etc) I would like to obtain the mathematical formulation of the
    line (example: the line x goes from point x to point y, the clothoid goes
    from point to point and its parameters are .... or something like that)

    Do you know if something similar exists, if it doesn't exist can you tell me
    where to start from to write such a program?

    thanks
     
    p-element, Nov 20, 2003
    #1
  2. p-element

    BR Guest

    Find a good book on AutoLISP....
     
    BR, Nov 22, 2003
    #2
  3. p-element

    Glen Appleby Guest

    I'm not sure exactly what you are looking for nor why, but I
    *suspect* that if you joined the lines and arcs into a polyline
    (PLINE), and looked into the DXF codes, you would find what you
    are looking for.
     
    Glen Appleby, Nov 23, 2003
    #3
  4. p-element

    p-element Guest

    thanks, that's another good solution, I will try it
     
    p-element, Nov 23, 2003
    #4
  5. p-element

    p-element Guest

    Thanks for your clarification about the correct terminology. I need to
    obtain the mathematical formulation of a pline, so I think that I will need
    a lisp that will analize the drawing and give me these informations: from
    the point A to point B there is a line, then there is an arc that goes from
    point B to point C, its radius is Y and so on....

    a clothoid is a kind of curved line

    http://javier.jimenezshaw.com/clothos/

    thanks
     
    p-element, Nov 23, 2003
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.