Mesh/Polyhedron Test Script

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Mesh/Polyhedron Test Script

NateTG
Here's a first cut at some mesh inspection functions:

meshtest.scad <http://forum.openscad.org/file/t2140/meshtest.scad>  

I'm curious whether other people think this is something to pursue further.
I'd also like suggestions about how to present the test reports more
clearly.





--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Mesh/Polyhedron Test Script

Parkinbot
You can't query the mesh data of a design in OpenSCAD. The footprint of the
affine approach is too small (it has no Boolean operations) to produce
problematic meshes. I would be a great progress to get at least hands on the
mesh data of STL imports (or other input formats), but nope. So to be
honest, I don't see much sense in implementing a meshtester or meshrepairing
in OpenSCAD. OK you could use some STL2SCAD converter, but no way to do
something useful with OpenSCAD in that field.

Better use a full blown (procedural) programming language like C/C++/C#, VB,
Python, Matlab ..., which lets you read/write and parse ASCII and binary STL
files. Your code will be fast, stack size will be no problem, you can write
structured programs with abstract data types and you have direct element
write access ...




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Mesh/Polyhedron Test Script

NateTG
> You can't query the mesh data of a design in OpenSCAD. The footprint of the
affine approach is too small (it has no Boolean operations) to produce
problematic meshes ...

Sure, but we do regularly see people who have issues with polyhedron() and
questionable data.

https://github.com/openscad/openscad/issues/2301

http://forum.openscad.org/Renders-fine-but-fails-validity-check-td23037.html

https://github.com/openscad/openscad/issues/2090

https://github.com/openscad/openscad/issues/1957





--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org