Giter VIP home page Giter VIP logo

slicera's Introduction

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 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 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

And after export, you can see your gcode file in the location you selected.

Interface under standalone mode

License

Please see the LICENSE file

Special Thanks

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.

slicera's People

Contributors

tobychui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

slicera's Issues

GoSlice as lib to avoid extra binary

Hi,

is there a specific reason you did not use GoSlice as lib? As you licensed SlicerA also AGPL it shouldn't be a problem, as long as you don't ship it directly with aroz and just provide it as extra, downloadable module.

This would make the handling of SlicerA more easy. It would also fix the permission problem I faced.

If it's ok from your side, I would create a PR for it.

New GCode viewer lib

Hi,

my GCode viewer experiment is quite usable now. aligator/dev#3
Currently I am working on being able to show only parts of the gcode.
For now it supports only basic gcode commands which I also use in GoSlice.

I will export it into an extra js lib. (most likely MIT license)
Then we can use it here.

GoSlice has new License

Hi,

just wanted to let you know that I changed the License of GoSlice to Apache-2.0 License which AFAIK is fully compatible with GPL v3.
So you could ship SlicerA including GoSlice with ArozOS directly if you want to.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.