Skip to content

Commit

Permalink
Merge pull request #76 from machineagency/pose-changes
Browse files Browse the repository at this point in the history
Pass over unconfigured tools in syringe extruder
  • Loading branch information
bsubbaraman authored Apr 23, 2024
2 parents 8c8a2b8 + a8bb537 commit 15ae2c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions science_jubilee/tools/SyringeExtruder.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def post_load(self):
# Query the object model to find this
tool_info = json.loads(self._machine.gcode('M409 K"tools[]"'))["result"]
for tool in tool_info:
if tool is None:
continue
if tool["number"] == self.index:
self.e_drive = f"E{tool['extruders'][0]}" # Syringe tool has only 1 extruder
else:
Expand Down

0 comments on commit 15ae2c8

Please sign in to comment.