On 29. des. 2016 16:12, jon wrote:
My thought is to locate an edge triangle, and use recursion to go
through all of the other triangles.
I admire the self-flagellation of trying something like that using
OpenSCAD. If you even manage the coding and encounter an STL with tens
or even hundreds of thousands of triangles, recursion will probably not
work.
Carsten Arnholm
On 29. des. 2016 15:41, Parkinbot wrote:
A (masochistic) purist could also augment a pair of string quotes at the
beginning and the end of the STL and then try to parse the file with
OpenSCAD using an import like this:
a = include
<augmented.stl>
;
Try it with a binary STL :-)
Carsten Arnholm
I am writing all of this in Delphi Pascal; as to the 10K or 100K
triangles, it will have to work on 500 before I can try to crash it
with big models!
:)
On 12/29/2016 1:51 PM, Carsten Arnholm wrote:
On 29. des. 2016 16:12, jon wrote:
My thought is to locate an edge triangle, and use recursion to go
through all of the other triangles.
I admire the self-flagellation of trying something like that using
OpenSCAD. If you even manage the coding and encounter an STL with tens
or even hundreds of thousands of triangles, recursion will probably
not work.
Carsten Arnholm