MCPcopy Create free account
hub / github.com/FullControlXYZ/fullcontrol / f_gcode

Method f_gcode

lab/fullcontrol/multiaxis/gcode/XYZB/printer.py:15–19  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

13 b_offset_z: Optional[float] = None
14
15 def f_gcode(self, state):
16 if self.speed_changed == True:
17 return f'F{self.print_speed if state.extruder.on else self.travel_speed:.1f}'.rstrip('0').rstrip('.') + ' '
18 else:
19 return ''
20
21 def gcode(self, state):
22 'process this instance in a list of steps supplied by the designer to generate and return a line of gcode'

Callers 1

gcodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected