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.

  • woefkardoes@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    There are some plugins you can try in octoprint.

    Personally I would probably install cura engine or PrusaSlicer on the pi SSH in and use the CLI to slice the stl and upload the gcode. You can probably write a script that monitors a folder and runs a script to do it all when a stl is dropped as well.

  • pixxelkick@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

    AFAIK it should be possible to just automatically share the profile file (its just a text file IIRC) over your network, so if you modify it on machine A you automatically get the changes on machine B, though you may need to close and re-open cura

  • morbidcactus@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Superslicer and prusaslicer let you upload and print directly to a networked printer, I have my prusa on octoprint and voron on mainsail, keep my profiles on my network share to keep in sync between devices

  • thomasloven@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    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.

    • thomasloven@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago
      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 use machines/filestash and dperson/samba.

      • Nimmo@lem.nimmog.ukOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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

        • thomasloven@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          You should be able to just expose port 8080 from novnc and be good to go, I guess. And then you don’t need the networks stuff either.

    • KairuByte@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      The only thing I find lacking in OctoPrint is SLA support. Made the move from FDM a year or so back and haven’t been able to find anything that works.

      One potential was an OctoPrint plugin, but it doesn’t support recent firmware versions of a reality firmware.

  • dmention7@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I don’t have specific advice, but I am genuinely curious about what your circumstance is that you:

    • are yourself away from the printer so often,
    • have ready access to the STLs you need,
    • have access to a machine with slicing software,
    • and cannot start the print when you return

    Legit question, because knowing the situation might prompt better feedback. Or if this is a case of “it would be cool to do so, just because I can…” then carry on and ignore my post lol!

    • Nimmo@lem.nimmog.ukOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Very fair question and I’ll admit that a part of it genuinely is “because I can!” But that’s not all of the reason. I work across several machines and soon due to reasons that at the same time both make sense and are somewhat frustrating some of the machines I use most frequently are about to be locked down and my ability to instal software removed, so that is part of it. Web apps allow me to sidestep this issue. I’m a bit of a forgetful person that has to act when inspiration hits me or I forget to deal with it. Sometimes that’s probably for the best but other times a moment of inspiration has turned into something wonderful (both in the 3D printing scenario and wider life) Most of my homelab setup is web-based already and I have most of my files synchronised around to allow me easy access no matter where I am or what device I’m on, I also work long days away from home now and then and like the idea of having an idea, processing the stl file and then kicking off a print job so it’s complete by the time I get back home. In the end I guess my big motivator here is due to my own personal failings, I’m an impatient and forgetful person that would rather just get stuff done than improve my memory and patience ;)