Denvi / Candle

GRBL controller application with G-Code visualizer written in Qt.
GNU General Public License v3.0
1.35k stars 548 forks source link

heightmap #585

Closed kusacius closed 1 year ago

kusacius commented 1 year ago

Versions

PC info

Describe the bug when checking "use heightmap", g-code is breaking.

To Reproduce Steps to reproduce the behavior:

  1. Open g-code "1_skyles.ngc" or "Panele4Test_viskas_be_borderio.ngc"
  2. Open heightmap file "panele.map"
  3. Click on 'use heghtmap'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem. original with_heightmap original1 with_heightmap1

Example files Add G-code files that cause problems. test.zip

Additional context strange interpreting arcs in g-code tested on same other candle versions, problem the same. test1.zip

mar0x commented 1 year ago

Hello,

  1. Could you please share the heightmap file (when in heightmap "Edit mode", choose "File"->"Save");
  2. I'm unable to reproduce the issue with my heightmap on the Candle version I'm currently using: https://github.com/mar0x/Candle/releases/tag/v1.1.9 - please try;
kusacius commented 1 year ago

test1.zip thank you for quick response, and sorry for my english, i am from not existing ussr, and my russian is better. i send wrong zip file this one is right. and i worked on my problem, and solved with correcting gcode syntax. my gcode is generated from altium dxf file to gcode with dxf2gcode utility, i corrected converted gcode files, and attacihng them in next message. i dont know, without heighmap these files are working. so syntax may be is normal. but i maked changes in these files, and they now is working with heigtmap

kusacius commented 1 year ago

test2.zip there are my changed previous files, and now they working. so i dont know where the problem, in candle heightmap or in dxf2gcode syntax. i solved my problem, but may be another man get this problem in future. i am not specialist, i specialist of electronics, but this forum have a lot of specialists, may be this is bug is the candle heightmap, may be bug is dxf2gcode.... you can see the difference from test1.zip (not working with heightgmap) files and test2.zip changed (and working) files.