Sign inSign up

vkhurana/docker-prusaslicer

By vkhurana

•Updated over 2 years ago

Monitors a folder for .stl files and uses Prusa Slicer to create .gcode files.

Image
Internet of things
0

1.1K

vkhurana/docker-prusaslicer repository overview

⁠Docker Prusaslicer

Monitors a folder for .stl files and uses Prusa Slicer to create .gcode files to send to the printer.

This is a docker image on Ubuntu with Python and Prusa Slicer, and uses watchdog to monitor the directory.

⁠Usage

  1. The container exposes two mount points /configs/ and /prints/. Use /configs to place .ini files exported from Prusa Slicer GUI. The container will monitor /prints as the folder for inputs (and generating .gcode files from the .stls)
  2. In the /prints folder create a subfolder with the .stl files you want to slice (ex: /prints/project1/)
  3. To get the slicer to merge all the .stl files and create a .gcode: create a empty file with the name of the config you want to use (from the /configs/ folder) and ending in /slice (ex: touch /prints/project1/pla-supports.slice)
  4. A new .gcode file is created based on the config specified and can be sent to the printer

⁠License

GitHub License

⁠Build Status

Code and Pipline is on GitHub⁠:
GitHub Last Commit
GitHub Workflow Status

⁠Container Images

Docker container images are published on Docker Hub⁠.
Images are tagged using latest

Docker Pulls
Docker Image Version

⁠Docker Commands

Sample usage with ephemeral container:
Interactive:
docker run --name="docker-slicer-inst" -v /home/vivek/code/tmp/slicer-tst/configs/:/configs -v /home/vivek/code/tmp/slicer-tst/prints/:/prints -it --rm docker-slicer

Detached:
docker run --name="docker-slicer-inst" -v /home/vivek/code/tmp/slicer-tst/configs/:/configs -v /home/vivek/code/tmp/slicer-tst/prints/:/prints -d --rm docker-slicer

⁠Docker Build

docker build -t docker-slicer .

⁠Background Info

This is a stateless container.

⁠Notes

  • Runs on Python 3
  • Pulls Pusa Slicer from Github and OpenScad from APT

Tag summary

Content type

Image

Digest

sha256:e74a741e9…

Size

538.7 MB

Last updated

over 2 years ago

docker pull vkhurana/docker-prusaslicer