svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
684 stars 176 forks source link

Dxf file problem #80

Closed lianzaozi closed 4 years ago

lianzaozi commented 4 years ago

I tried the parsing function of the dxf file. The spline and ellipse in the current dxf file cannot be parsed. In addition, the moving path display function can be made to move the path display area by pressing the middle mouse button to move the mouse.

svenhb commented 4 years ago

You may have an example for me? I just work with LibreCAD, and had no problems...

lianzaozi commented 4 years ago

Spline ellipse.zip

I just tested it with this dxf file.

svenhb commented 4 years ago

I can't get your ellipse information out of the library I use (https://github.com/mkernel/DXFLib) So I can't fix it - sorry. You should try to use arc instead...

svenhb commented 4 years ago

With a repaired DXFLib.dll I can get the Ellipse information, now I need to implement the ellipse

lianzaozi commented 4 years ago

You can try using netdxf.dll to read dxf files(https://github.com/haplokuon/netDxf)

svenhb commented 4 years ago

Now I get the ellipse information, but I need to implement the transform to g-code

svenhb commented 4 years ago

Should be fixed in Version 1.3.2.3