I’ve been using Cura as a slicer for my Anycubic Kobra since I got it a few months ago. After a few weeks I discovered octoprint which was amazing as it let me start and monitor print jobs whilst out and about.
Cura has been great for me but I’m growing tired of needing to copy my print profiles from machine to machine on different OSes to slice my STL files. Is anyone aware of any self hosted web based slicers I could use to sidestep this problem?
I would be willing to live without an octoprint plugin and manually download and upload the gcode files to my printer if needed, I just want to be able to slice from wherever I am and kick off the print from wherever I am.
Any advice would be greatly appreciated.
Commenting so I’ll be able to find my way back here to post my docker compose for this when I’m back at my computer.
version: "3.0" networks: web: external: true services: prusaslicer: image: keyglitch/prusaslicer volumes: - share:/home/slic3r/share:z - ./slic3r:/home/slic3r depends_on: - novnc environment: DISPLAY: novnc:0.0 WIDTH: 1920 HEIGHT: 1080 entrypoint: "" command: - /bin/sh - -c - /bin/sleep 3 && /Slic3r/slic3r-dist/prusa-slicer novnc: image: theasp/novnc:latest networks: web: default: environment: RUN_XTERM: "yes" RUN_FLUXBOX: "yes" DISPLAY_WIDTH: 1920 DISPLAY_HEIGHT: 1080 labels: traefik.enable: true traefik.docker.network: web traefik.http.routers.slicer.rule: Host(`slicer.myurl.com`) traefik.http.routers.slicer.tls.certResolver: le traefik.http.routers.slicer.middlewares: auth@file
You’ll have to add something to be able to transfer files to the
share
volume separately. I usemachines/filestash
anddperson/samba
.Thanks for that, I’ll give it a tweak and a bash as I don’t use traefik, but that’s a great starting point that gets me a chunk of the way there
You should be able to just expose port 8080 from
novnc
and be good to go, I guess. And then you don’t need thenetworks
stuff either.Pinging @nimmo@lem.nimmog.uk so you see I have replied with a compose file… Maybe, not sure how lemmy works yet…