CauldronDevelopmentLLC / CAMotics

Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
Other
602 stars 138 forks source link

Gcode export from 1.2.0 has less precision than expected #360

Open cbiffle opened 2 years ago

cbiffle commented 2 years ago

From the source code, it looks like the gcode exporter is trying to force three decimal places for metric output, but in practice I'm seeing two consistently:

G1 X5.85 Y75.08

That Y coordinate should be 75.0825 from the input, or 75.083 if you're rounding up. So far I've found no coordinates in gcode output that have more than two fractional places.