Welcome! Log In Create A New Profile

Advanced

stljs, a fast library for reading, writing, and rendering STL files

Posted by iamwil 
stljs, a fast library for reading, writing, and rendering STL files
September 05, 2013 02:34PM
Hi all,

I wrote a library to read and write binary and ASCII STL files. It can also render the STL files to PNG by leveraging imagemagick. I introduced the library on the Cubehero blog a couple months back. If you find it at all useful, lemme know or want to contribute changes, feel free to do so!



Wil
Cubehero.com
Re: stljs, a fast library for reading, writing, and rendering STL files
September 05, 2013 08:34PM
I wrote something about 4 years back that just converted the vertex data into line segments. it was a hollow 3d modeler, but it is easy enough to do.

you have x y z data, and some way to manipulate the data in 3d space. i used a 45 degree angle and had x and y scale to a porportion based on the debth of z . crude but effective.

Edited 1 time(s). Last edit at 09/05/2013 09:01PM by jamesdanielv.
Sorry, only registered users may post in this forum.

Click here to login