This is the open source solution that I have used for the Giampilieri project. The interface is less than ideal, saving projects is confusing, it's fairly slow to process and needs CUDA for high density mesh calculations.
Also open source kit, but seems to be a collection of libraries for real time pipelines.
Tried this method which seems to go more smoothly than previous tries. The Cura printer definition file and the modified version of Marlin 1.1.9 can be found here. They seems to be working fine. I re-sliced the model using Cura 3.3.1 and that seems to work fine now.
The following script creates an array of cameras in position pos, looking at target, with a name prefix of dimensions dimwxdimh, with a distance between cameras specified by hdist and wdist.
import bpy
def  get_cameras(prefix):
    return [obj for obj in bpy.data.objects if( (obj.type =='CAMERA') and (prefix in obj.name) )]| class Flasher | |
| { | |
| int ledPin; // the number of the LED pin | |
| long OnTime; // milliseconds of on-time | |
| long OffTime; // milliseconds of off-time | |
| // These maintain the current state | |
| int ledState; // ledState used to set the LED | |
| unsigned long previousMillis; // will store last time LED was updated | 
| int sWAITING = 0; | |
| int sMOVING = 1; | |
| int sSAFETY = 3; | |
| int currentState = sWAITING; | |
| int eyeL = 0; | |
| int eyeR = 0; | |
| int pinLeftEye = 8; | 
| class MovingStats: | |
| def __init__(self, alphaOrN): | |
| self.mean = 0 | |
| self.var = 0 | |
| self.started = False | |
| if (alphaOrN > 1): | |
| self.alpha = 2 / (alphaOrN - 1) | |
| else: | |
| self.alpha = alphaOrN | 
You will need an Arduino library, this one will work and the page behind this link also explains how to install it in your Arduino programming environment.
- Open your Arduino programming environment (IDE).
- In the menu go to Sketch > Include Library > Library Manager...
- Search for a library called Arduino MIDI and install it
Here's the link to the library:
| // install the Arduino SC Quarks | |
| Quarks.update("arduino"); | |
| Quarks.install("arduino"); | |
| Quarks.gui; | |
| // create an Arduino instance | |
| ( | |
| p = ArduinoSMS("/dev/tty.wchusbserial1420", 9600); | |
| ) | 
