A self hosted, web based STL to Gcode slicer
- Go 1.15 or above
- Debian Buster on ARM, x64 or Windows on x64 platforms (Yes, it works on Raspberry Pi)
- ArozOS v1.111 or above (Optional)
-
Clone this repo into your ArozOS subservice directory (usually can be found under ~/arozos/subservice).
cd ~/arozos/subservice/ git clone https://github.com/tobychui/SlicerA cd SlicerA
-
Build the SlicerA subservice using the build.sh bash script
./build.sh # Optional, depends on your permission settings sudo chmod 755 -R ./
-
Restart arozos using systemctl
sudo systemctl restart arozos
To update GoSlice binary, use the update.sh
script located inside goslice/
.
You will also need to clone to GoSlice repo into the goslice/
folder inorder for the update script to work.
To use SlicerA, you can first upload some STL files to your ArozOS cloud desktop and follow the steps below
- Load STL Model using the top right hand corner button or the "1. Load STL Model " button
- Click "Slice to Gcode". Wait until it complete and check the finished gcode for any issues in slicing
- Click "Save to File" if the gcode file looks good.
To use SlicerA without ArozOS, build the application with standard go building procedures.
cd ./SlicerA
go build
Next, setup the permission for to goslice binaries and start the application with the following command
sudo chmod 755 -R ./goslice
./SlicerA
>> SlicerA started. Listening on :80
Then, navigate to http://localhost for using the standalone web slicer interface.
You can also change the port where it listen to using - port flag as follows
./SlicerA -port :8080
And after export, you can see your gcode file in the location you selected.
Interface under standalone mode
Please see the LICENSE file
This project is powered by the amazing Golang written STL to Gcode slicer named GoSlice
The STL Viewer in standalone mode is powered by viewstl licensed under MIT. See web/script/viewstl/LICENSE for more information.
The gcode viewer is powered by the gcode-viewer library which is also licensed under MIT.