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 DropletC1;Activate UVC2;Turn off UVC3:<T>;Delay for T msC4:<T>;Set delay for T ms between all commandsC5:<Solver>;Change to specific solver. Should be one of "IB", "WGS", "GSPAT", "NAIVE"C6:<N>;Set number of iterations for the solverC7;Set to two board setupC8;Set to top board setupC9;Set to bottom board setupC10;Update BEM to use layer at last z positionC11:<Frame-rate>;Set the framerate of the levitator deviceC12:<Extruder>;Set a new extruder positionC13:<z>;Use a reflector and set the positionO0;End of dropletfunction F<x> ... enddefine 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'''