science_jubilee.tools.SyringeExtruder#

Classes#

SyringeExtruder

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

Module Contents#

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

Bases: science_jubilee.tools.Tool.Tool

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

Parameters:

Tool (Tool) – The base tool class

min_range = 0[source]#
max_range = None[source]#
mm_to_ml = None[source]#
e_drive = 'E1'[source]#
nozzle_diameter = 0.898[source]#
syringe_diameter = 14[source]#
load_config(config)[source]#

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()[source]#

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

check_bounds(pos)[source]#

Disallow commands outside of the syringe’s configured range

Parameters:

pos (float) – The E position to check

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

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)[source]#

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)[source]#

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)[source]#

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