You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few of us (@openhardwarecoza @lautr3k) have been working on a browser based 3D Printing suite. Just the basic but necessary: drag in some STL files, display in a ThreeJS based viewer for plating, drag, resize, rotate. Then slice, get gcode back, display it, and send off to machine to print.
Right now I run Slic3r as a cloud service in Windows Azure that allows for HTTP POST with the 'master stl' of the bed layout and a json string of slicing parameters. It then sends gcode back as a string. It's really slow though and we have a lot of issues with CORS since the service in on a different domain.
Anyways, what I really like about MatterSlice is how neatly it is written: there are only 3 things that really seem to happen: variables, math, and Clipper: all of which we can do in JavaScript with only differences in syntax! So I'd like to take a shot at making a javascript implementation for browser based slicing without having to make any server calls.
I've been reading thru this code in depth, but could use some direction.
What can I start with for proof of concept? Is Slicer/Slicer.cs self sufficient to run a basic job?
Where is the entry point to pass in the input STL file? I can't seem to find this. We store everything as ThreeJS geometry inside an Object3D, but we already traverse it to create the 'master stl' for Slic3r, so we can pass an ASCII stl as a string to this. Maybe switch over to more 'raw' arrays of triangles later for better performance.
Similarly, how and where do we capture the output? Just need gcode in the form of a string.
Thanks guys. Looking forward to making this a reality.
The text was updated successfully, but these errors were encountered:
A few of us (@openhardwarecoza @lautr3k) have been working on a browser based 3D Printing suite. Just the basic but necessary: drag in some STL files, display in a ThreeJS based viewer for plating, drag, resize, rotate. Then slice, get gcode back, display it, and send off to machine to print.
Right now I run Slic3r as a cloud service in Windows Azure that allows for HTTP POST with the 'master stl' of the bed layout and a json string of slicing parameters. It then sends gcode back as a string. It's really slow though and we have a lot of issues with CORS since the service in on a different domain.
Anyways, what I really like about MatterSlice is how neatly it is written: there are only 3 things that really seem to happen: variables, math, and Clipper: all of which we can do in JavaScript with only differences in syntax! So I'd like to take a shot at making a javascript implementation for browser based slicing without having to make any server calls.
I've been reading thru this code in depth, but could use some direction.
Thanks guys. Looking forward to making this a reality.
The text was updated successfully, but these errors were encountered: