process this instance in a list of steps supplied by the designer to generate and return a line of gcode
(self, state)
| 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' |
| 23 | # update all attributes of the tracking instance with the new instance (self) |
| 24 | state.printer.update_from(self) |
| 25 | if self.print_speed != None \ |
| 26 | or self.travel_speed != None: |
| 27 | state.printer.speed_changed = True |
| 28 | if self.new_command != None: |
| 29 | state.printer.command_list = { |
| 30 | **state.printer.command_list, **self.new_command} |
nothing calls this directly
no test coverage detected