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
669 stars 177 forks source link

dxf line conversion #314

Closed lfmmd closed 1 year ago

lfmmd commented 1 year ago

I entered a dxf file dxf file, in the dxf file I used a dashed line when converting gcode he converted it to a solid [line]() image image

svenhb commented 1 year ago

Sorry it only works for straight lines

svenhb commented 1 year ago

I will try to fix that, perhaps you can upload your DXF file?

lfmmd commented 1 year ago

@svenhb thank you for your support I uploaded my dxf file and the reason I speculate is: in dxf the dashed line type is a Line description, and some display parameters have been added
1.zip

svenhb commented 1 year ago

The problem is up to now: I apply the dash pattern to one line segment. If the line segment is shorter than dash-pattern, no pattern is visible. Arcs and circles are converted to many short line segements. My solution I'm working on: continue the dash pattern over many line-segments.

svenhb commented 1 year ago

Try latest release: https://github.com/svenhb/GRBL-Plotter/releases