I want to know if is it possible to generate with a PHP library or C/C++ or an another language a 3D object printable. Like the .stl files.
You can easily write your own .stl ASCII files: http://en.wikipedia.org/wiki/STL_(file_format)#ASCII_STL
.stl files will always begin and end with a solid tag containing any number of facets.
Each facet will have a normal property and contain an outer loop tag which will hold your vertexs.
The facet's normal property and the vertexs use space separated floats.
All this is easily accomplished in C++, C, or PHP.
You can see an example of a simple cube here: http://people.sc.fsu.edu/~jburkardt/data/stla/stla.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With