Store a reference to the gcode class in self.code. Obtain the z_offset once and use for both the oldval and newval calculation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
3.2 KiB
3.2 KiB