Closed stansmolders closed 1 month ago
Are you aware of the ezdxf drawing add-on? Have you compared your implementation with that to see where the logic differs?
Are you aware of the ezdxf drawing add-on? Have you compared your implementation with that to see where the logic differs?
Could you provide a link to what you mean? I basically only need to plot dxf files correctly for this part, so if this already available somewhere, other logic would be fine as well.
Hi, I am trying to plot simple dxf files with a variety of shapes. For some reason (when dxf files contain the entities arcs or circles), some entities seem to be plotted wrong. For some dxf files this behaviour seems to be quite random as e.g. in the same plot, some arcs can be plotted correctly on the positive plane, while others seem to be mirrored (x=-x). Adding x=-x however would mess up the correctly plotted entities, so this would not be a solution. Also, when plotting some dxf files, there is no problem at all. The problem seems to occur due to the use of dxf.center. Is this a known problem or am I using it wrong? I added screenshots of this behaviour below and the code i use for this part is as follows: