Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 2.04 KB

README.md

File metadata and controls

15 lines (9 loc) · 2.04 KB

About

Polyslice is an FDM slicer designed specifically for three.js and inspired by the discussion on this three.js issue. The idea is to be able to go straight from a mesh in a three.js scene to a machine usable G-code, thus eliminating the need for intermediary file formats and 3rd party slicing software.

Currently, if you want to print something you have designed in three.js you need to first export it to an STL or OBJ file, slice that file with another software like Cura and then transfer the resulting G-code to your 3D printer. Ideally, you should be able to use a three.js plugin to slice the meshes in your scene and send the G-code directly to your 3D printer via Web Serial API.

With this approach the design, slicing and printing process becomes much more seamless! No download or installation is required, the entire process can happen without leaving a web browser. Intermediary file formats become obsolete and G-codes become invisible for the average user.

Tools

To assist in designing and testing this slicer I developed a simple mini app called 'Web G-code Sender' for experimenting with G-code and writing/reading printer data via Web Serial API. I recommend taking a look at it if you want to learn G-code or how to remotely control a 3D printer from a web browser.