process this instance in a list of steps supplied by the designer to generate and return a line of gcode
(self, state)
| 17 | return '' |
| 18 | |
| 19 | def gcode(self, state): |
| 20 | 'process this instance in a list of steps supplied by the designer to generate and return a line of gcode' |
| 21 | # update all attributes of the tracking instance with the new instance (self) |
| 22 | state.printer.update_from(self) |
| 23 | if self.print_speed != None \ |
| 24 | or self.travel_speed != None: |
| 25 | state.printer.speed_changed = True |
| 26 | if self.new_command != None: |
| 27 | state.printer.command_list = {**state.printer.command_list, **self.new_command} |
nothing calls this directly
no test coverage detected