mecamira / dxf2gcode

Automatically exported from code.google.com/p/dxf2gcode
0 stars 0 forks source link

Gouging error in LinuxCNC #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
* What steps will reproduce the problem?
1. Load attached DXF
2. Enable only the "mill" layer and select it
2.1 At any time when dxf2gcode resets selection, disable other layers again,
    it will happen after changing some settings.
3. Set Auto Cutter Compensation to on.
4. Set Compensation to the right on all elements on mill layer.
5. Set tool to 3 (diam. 1.2 mm) (config file attached).
6. Export (export only, without optimization). Export only the "mill" layer.
3. Load in LinuxCNC - it shows error about possible gouging.

* What is the expected output? What do you see instead?

As all corners have been rounded to 0.6 mm radius (at least) and tool diameter 
is set to 1.2 mm,
I expect that LinuxCNC didn't yell about gouging errors.

* What version of the product are you using? On what operating system?

Arch Linux, SVN version 524.

* Please provide any additional information below.

DXF was exported from LibreCad. Is it possible that the radius is less than 0.6 
or some rounding errors are to blame? I tried with radius 0.65 and it didn't 
help. I noticed that on _some_ files, when I export with path optimization, I 
get the gouging error, but I don't get it when I don't optimize path. 
Unfortunately it seems that for this particular DXF the optimization is always 
performed, since I see the tool path vectors upon selecting the Export menu 
item.

I assume it's a dxf2gcode error, but I'm not 100% sure. If you think it's 
rather a bug in LinuxCNC, I'll open it there.

Original issue reported on code.google.com by mcvs...@gmail.com on 9 Sep 2014 at 6:11

Attachments:

GoogleCodeExporter commented 9 years ago
Forgot to add: the gouging error reported by LinuxCNC is on line 240.

Original comment by mcvs...@gmail.com on 9 Sep 2014 at 6:20

GoogleCodeExporter commented 9 years ago
This is a Problem of LinuxCNC. I also saw that already. Please try to open it 
there, i think dxf2gcode cannot do anything about it.

Original comment by christian.kohloeffel on 11 Sep 2014 at 8:26

GoogleCodeExporter commented 9 years ago
Right. I've checked G-code (after consulting manual) and it seems that if the 
tool diam is 1 mm and arc radius is 0.5 mm, then sometimes LinuxCNC complains. 
I changed tool diameter to 0.999 mm in LinuxCNC settings and it worked. :|

Original comment by mcvs...@gmail.com on 13 Sep 2014 at 10:10