@jess-yan Hello, the point selection is made with an external tool, Openscad Simple Polygon Editor. I modified it so that I could use it along with OpenJSCAD. But it was with a very old version and with v2 I don't see how to do the same.
@z3dev Hello, I didn't open an issue because it's V1, but I will do it so we could keep track of the solution I used. Yesterday I tried my little html5 app on my android tablet with Firefox and it works perfectly
even the PDF creation part
Thank you. I will try something similar, it just needs to add a parameter to choose a design number, if the table of random values doesn't have values for this number they are randomly feeded, else they are used for the rendering. Such "mechanism" could be handy for designs using both random values and more than one viewing mode.
The simple solutions are always the best. Taking a super thin slice is a great idea, and maybe even the best.
The core library will be for core functions, as we expect others (like you) to contribute some really nice high level functionality, such as slicing. If we get the core library rock solid then anything is possible.
Projections on to arbitrary planes is on the wish list, but not there yet.
@kaosat-dev At first I tried to use a 10K triangles model but as it didn't render I downscaled to 5K, 3K, 2K then 1K. And after, I made another model with 2x more slices that this script was unable to render even with a 1K model, so I changed the script to make it render chunks of slices, and it was ok. I suppose it could work with higher resolutions models.
0_1564473765365_Capture d’écran de 2019-07-30 10-02-14.png
My code (obj2jscad) only reads a very simple OBJ file (only triangular without normals or textures) and take use of its facets materials groups. Materials are described into another file that I don't use but it could be done to read colors as materials simplest expression can be colors. True OBJ format is much more complex than that.