src.acoustools.Fabrication

Lcode Specification

Commands

  • L0:<X> <Y> <Z>; Create Focal Point at (X,Y,Z)
  • L1:<X> <Y> <Z>; Create Trap Point at (X,Y,Z)
  • L2:<X> <Y> <Z>; Create Twin Trap Point at (X,Y,Z)
  • L3:<X> <Y> <Z>; Create Vortex Trap Point at (X,Y,Z)
  • L4; Turn off Transducers
  • C0;Dispense Droplet
  • C1; Activate UV
  • C2; Turn off UV
  • C3:<T>; Delay for T ms
  • C4:<T>; Set delay for T ms between all commands
  • C5:<Solver>; Change to specific solver. Should be one of "IB", "WGS", "GSPAT", "NAIVE"
  • C6:<N>; Set number of iterations for the solver
  • C7; Set to two board setup
  • C8; Set to top board setup
  • C9; Set to bottom board setup
  • C10; Update BEM to use layer at last z position
  • C11:<Frame-rate>; Set the framerate of the levitator device
  • C12:<Extruder>; Set a new extruder position
  • C13:<z>; Use a reflector and set the position

  • O0; End of droplet

  • function F<x> ... end define a function that can latter be called by name

 1'''
 2Lcode Specification \n
 3Commands
 4* `L0:<X> <Y> <Z>;` Create Focal Point at (X,Y,Z)
 5* `L1:<X> <Y> <Z>;` Create Trap Point at (X,Y,Z)
 6* `L2:<X> <Y> <Z>;` Create Twin Trap Point at (X,Y,Z)
 7* `L3:<X> <Y> <Z>;` Create Vortex Trap Point at (X,Y,Z)
 8* `L4;` Turn off Transducers
 9
10* `C0;`Dispense Droplet
11* `C1;` Activate UV
12* `C2;` Turn off UV
13* `C3:<T>;` Delay for T ms
14* `C4:<T>;` Set delay for T ms between all commands
15* `C5:<Solver>;` Change to specific solver. Should be one of "IB", "WGS", "GSPAT", "NAIVE"
16* `C6:<N>;` Set number of iterations for the solver
17* `C7;` Set to two board setup
18* `C8;` Set to top board setup
19* `C9;` Set to bottom board setup
20* `C10;` Update BEM to use layer at last z position 
21* `C11:<Frame-rate>;` Set the framerate of the levitator device
22* `C12:<Extruder>;` Set a new extruder position
23* `C13:<z>;` Use a reflector and set the position
24
25* `O0;` End of droplet
26
27* `function F<x>
28...
29end` define a function that can latter be called by name
30'''