On Nov 23, 2016, at 17:38, nop head nop.head@gmail.com wrote:
Degenerate faces would not be a problem if OpenSCAD recognised it had created them in the conversion to float and removed them. Or if it tweaked vertices by minute amounts to ensure the topology was not broken. Probably easier said than done but other programs can do this, Netfabb for instance, so it isn't impossible. It's probably the biggest bug in OpenSCAD at the moment.
This is not trivial, but I’m working smth. which may yield a “80% solution”, see https://github.com/openscad/openscad/issues/1580
(the issue title says import, but this can be applied to exports as well)
If anyone wants to help by submitting minimal test cases, that would be appreciated :)
I wasn’t aware that Netfabb fixes this. Is there a freely available version of Netfabb which could be used to test this?
-Marius
On Nov 23, 2016, at 06:05, nop head nop.head@gmail.com wrote:
I imported three very high resolution STL files and unioned them together. The result was still manifold and I could, for example, union it with a unit cube. If I wrapped it in render() then I could no longer union it with a unit cube, it gave the usual CGAL construction errors.
I’d be interested in a minimal example of such behavior.
By minimal I’m hoping for < 100 polygons per mesh.
I know that takes time - I’ve spend countless hours in Blender stitching together minimal examples for test cases, hours which could be better spent fixing bugs :/
-Marius
I wasn’t aware that Netfabb fixes this. Is there a freely available
version of Netfabb which could be used to test this?
The free version of Netfabb I have can fix degenerate triangles and holes
but I don't think it is still available now that Netfabb as been taken over
by Autodesk.
On 24 November 2016 at 03:37, Marius Kintel marius@kintel.net wrote:
On Nov 23, 2016, at 17:38, nop head nop.head@gmail.com wrote:
Degenerate faces would not be a problem if OpenSCAD recognised it had
created them in the conversion to float and removed them. Or if it tweaked
vertices by minute amounts to ensure the topology was not broken. Probably
easier said than done but other programs can do this, Netfabb for instance,
so it isn't impossible. It's probably the biggest bug in OpenSCAD at the
moment.
This is not trivial, but I’m working smth. which may yield a “80%
solution”, see https://github.com/openscad/openscad/issues/1580
(the issue title says import, but this can be applied to exports as well)
If anyone wants to help by submitting minimal test cases, that would be
appreciated :)
I wasn’t aware that Netfabb fixes this. Is there a freely available
version of Netfabb which could be used to test this?
-Marius
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
On 24.11.2016 10:55, nop head wrote:
I wasn’t aware that Netfabb fixes this. Is there a freely available
version of Netfabb which could be used to test this?
The free version of Netfabb I have can fix degenerate triangles and
holes but I don't think it is still available now that Netfabb as been
taken over by Autodesk.
It still is, although I do not know if intentionally or not.
Have a look at Thomas Sanladerers 'Guide: How to get the new, free
Autodesk "Netfabb Basic"!' at
https://youtu.be/2QRvS9xdNzw
Warning: There only is a windows version, if it runs under wine is
unknown for now.
Regards
Stefan Peter
--
There is no system but GNU, and Linux is one of its kernels.