Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tobychui/slicera
A web based STL to Gcode slicer for ArozOS
https://github.com/tobychui/slicera
3dprint aroz-online cloud gco gcode gcode-generation go golang printfarm slicer stl
Last synced: about 2 months ago
JSON representation
A web based STL to Gcode slicer for ArozOS
- Host: GitHub
- URL: https://github.com/tobychui/slicera
- Owner: tobychui
- License: apache-2.0
- Created: 2021-04-18T04:58:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-04T04:17:13.000Z (almost 3 years ago)
- Last Synced: 2023-03-10T08:17:14.894Z (almost 2 years ago)
- Topics: 3dprint, aroz-online, cloud, gco, gcode, gcode-generation, go, golang, printfarm, slicer, stl
- Language: JavaScript
- Homepage:
- Size: 24.8 MB
- Stars: 15
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![](img/banner.png)
# SlicerA
A self hosted, web based STL to Gcode slicer
## Installation
### Requirement
- Go 1.15 or above
- Debian Buster on ARM, x64 or Windows on x64 platforms (Yes, it works on Raspberry Pi)
- [ArozOS](https://github.com/tobychui/arozos) v1.111 or above (Optional)### Build
1. 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
```2. Build the SlicerA subservice using the build.sh bash script
```
./build.sh
# Optional, depends on your permission settings
sudo chmod 755 -R ./
```3. Restart arozos using systemctl
```
sudo systemctl restart arozos
```
### Update GoSlice binary
To update GoSlice binary, use the ```update.sh``` script located inside ```goslice/```.
You will also need to clone to [GoSlice](https://github.com/aligator/GoSlice) repo into the ```goslice/``` folder inorder for the update script to work.## Usage
### Use as ArozOS Subservice
To use SlicerA, you can first upload some STL files to your ArozOS cloud desktop and follow the steps below
1. Load STL Model using the top right hand corner button or the "1. Load STL Model " button
2. Click "Slice to Gcode". Wait until it complete and check the finished gcode for any issues in slicing
3. Click "Save to File" if the gcode file looks good.### Use as standalone web application
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
```## Screenshots
![](img/1.png)
![](img/2.png)
![](img/3.png)
![](img/4.png)
And after export, you can see your gcode file in the location you selected.
![](img/6.png)
Interface under standalone mode
![](img/standalone.png)
![](img/gcv.png)
## License
Please see the LICENSE file
### Special Thanks
This project is powered by the amazing Golang written STL to Gcode slicer named [GoSlice](https://github.com/aligator/GoSlice)
The STL Viewer in standalone mode is powered by [viewstl](https://github.com/omrips/viewstl) licensed under MIT. See web/script/viewstl/LICENSE for more information.
The gcode viewer is powered by the [gcode-viewer](https://github.com/aligator/gcode-viewer) library which is also licensed under MIT.