If running Duet Software Framework (SBC) then version 3.5-beta4 or greater is required
This is a RepRapFirmware plugin that enables the RepRapFirmware-based 3D printers to connect to Obico.
Obico is a community-built, open-source smart 3D printing platform used by makers, enthusiasts, and tinkerers around the world.
RepRapFirmware RepRapFirmware is a comprehensive motion control firmware intended primarily for controlling 3D printers, but with applications in laser engraving/cutting and CNC too
While this plugin runs on a Raspberry Pi it does not require Duet Software Framework (SBC Mode) to function. You can set this up on a pi and point to the standalone printers IP address in the configuration.
cd ~
git clone https://github.com/sindarius/reprapfirmware-obico.git
cd reprapfirmware-obico
./install.sh
pip install virtualenv
sudo nano ~/.profile
PATH="$PATH:$HOME/.local/bin"
cd ~
git clone https://github.com/mainsail-crew/crowsnest.git
cd ~/crowsnest
sudo make install
cd ~
git clone --depth=1 https://github.com/pikvm/ustreamer
cd ustreamer
sudo apt install libevent-dev libjpeg9-dev libbsd-dev libasound2-dev libspeex-dev libspeexdsp-dev libopus-dev
sudo make install
sudo useradd -r ustreamer
sudo usermod -a -G video ustreamer
sudo nano /etc/systemd/system/ustreamer.service
You may need to update /dev/video0 to match camera device
[Unit]
Description=uStreamer service
After=network.target
[Service]
User=ustreamer
ExecStart=/usr/local/bin/ustreamer --log-level 0 --device /dev/video0 --desired-fps=25 --host=0.0.0.0 --port=8080
[Install]
WantedBy=multi-user.target
sudo systemctl enable ustreamer.service
sudo systemctl start ustreamer.service
cd ~/reprapfirmware-obico
./install.sh -U
sudo systemctl stop reprapfirmware-obico.service
sudo systemctl disable reprapfirmware-obico.service
sudo rm /etc/systemd/system/reprapfirmware-obico.service
sudo systemctl daemon-reload
sudo systemctl reset-failed
rm -rf ~/reprapfirmware-obico
rm -rf ~/reprapfirmware-obico-env
cd ~
git clone https://github.com/sindarius/reprapfirmware-obico.git
cd reprapfirmware-obico
virtualenv -p /usr/bin/python3 --system-site-packages ~/reprapfirmware-obico-env
source ~/reprapfirmware-obico-env/bin/activate
pip3 install -r requirements.txt
# fill in essential configuration
cp reprapfirmware-obico.cfg.sample reprapfirmware-obico.cfg
# link printer (grab Obico auth token)
python3 -m reprapfirmware_obico.link -c reprapfirmware-obico.cfg
# start app
python3 -m reprapfirmware_obico.app -c reprapfirmware-obico.cfg
You may have to use sudo raspi-config
to enable the raspberry pi camera.
Configuration files are located in ~/printer_data/config