DXF is a messy format and pretty hard to handle. If you design your Graphics e.g. in Blender, then you might end up with something like this: DXF export in Blender is messy, so better export it to STL ...
Contribute to fablab-neckar-alb/stl-to-dxf-convert development by creating an account on GitHub.