I am parsing a DXF (Autocad) file. In this file there are several entities with an extrusion vector different from the "default" (0, 0, 1)
. I am having a lot of trouble parsing these entities because their coordinates have to be mapped in order to be represented in a 2D plane.
So, if for example I have a line entity with the following properties:
x1 = 10
y1 = 10
x2 = 20
y2 = 30
And with an extrusion vector of (-0.1, 0.1, 0.5)
what will be the real line coordinates once it is representes in a 2D plane?