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