I am attempting to write a dxf library that exports arcs and ellipses, and so I am trying to figure out how to get the data from the line, arc, and ellipse functions. Is there a way to gather this data (the points and angles) from these commands as the code is run? I am imagining that there should be a way to put all this data into an array, which could then be used to write the text/dxf file.
(The core DXF library is quite limited and a bit buggy.)