BOSL2 icon indicating copy to clipboard operation
BOSL2 copied to clipboard

Duplicate Vertices in VNFs not allowed with Manifold

Open adrianVmariano opened this issue 1 month ago • 2 comments

From https://github.com/openscad/openscad/issues/5134

"What changed in OpenSCAD lately is that we moved away from using "polygon soups" as an internal format, and we now use indexed polygon meshes. Each topological vertex must be specified at one unique index. If you specify the same vertex position twice, it's treated as two separate vertices, and you must hence construct a mesh to account for that."

This seems like it will affect a lot of the nontrivial closed VNF constructions in BOSL2. It's not clear how we can address this without a massive slowdown from constantly running vnf_merge_points().

Like have VNFs also carry an edge list to reduce the number of vertices that need to be checked when joining VNFs?

adrianVmariano avatar May 14 '24 16:05 adrianVmariano