science_jubilee.tools.SyringeExtruder#

Module Contents#

Classes#

SyringeExtruder

A class representation of a syringe for extrusion 3D printing.

class science_jubilee.tools.SyringeExtruder.SyringeExtruder(index, name, config)#

Bases: science_jubilee.tools.Tool.Tool

A class representation of a syringe for extrusion 3D printing.

Parameters:

Tool (Tool) – The base tool class

load_config(config)#

Loads the confirguration file for the syringe tool

Parameters:

config (str) – Name of the config file for your syringe. Expects the file to be in /tools/configs

post_load()#

Query the object model after loading the tool to find the extruder number of this syringe.

check_bounds(pos)#

Disallow commands outside of the syringe’s configured range

Parameters:

pos (float) – The E position to check

make_e(x, y, z)#
dist(start, end)#
wipe_nozzle(x=285, y=250, z=0.2)#
wipe_tower(x=285, y=250, z=0.2)#
move_extrude(x=None, y=None, z=None, s=180, multiplier=1, e=None)#
_aspirate(vol: float, s: int = 2000)#

Aspirate a certain volume in milliliters. Used only to move the syringe; to aspirate from a particular well, see aspirate()

Parameters:
  • vol (float) – Volume to aspirate, in milliliters

  • s (int, optional) – Speed at which to aspirate in mm/min, defaults to 2000

_dispense(vol, s: int = 2000)#

Dispense a certain volume in milliliters. Used only to move the syringe; to dispense into a particular well, see dispense()

Parameters:
  • vol (float) – Volume to dispense, in milliliters

  • s (int, optional) – Speed at which to dispense in mm/min, defaults to 2000

aspirate(vol: float, location: science_jubilee.labware.Labware.Well | Tuple | science_jubilee.labware.Labware.Location, s: int = 2000)#

Aspirate a certain volume from a given well.

Parameters:
  • vol (float) – Volume to aspirate, in milliliters

  • location (Union[Well, Tuple, Location]) – The location (e.g. a Well object) from where to aspirate the liquid from.

  • s (int, optional) – Speed at which to aspirate in mm/min, defaults to 2000

dispense(vol: float, location: science_jubilee.labware.Labware.Well | Tuple | science_jubilee.labware.Labware.Location, s: int = 2000)#

Dispense a certain volume into a given well.

Parameters:
  • vol (float) – Volume to dispense, in milliliters

  • location (Union[Well, Tuple, Location]) – The location to dispense the liquid into.

  • s (int, optional) – Speed at which to dispense in mm/min, defaults to 2000