Open PFvanBeerendonk opened 2 months ago
I did some testing, seems that polygons.edges_to_polygons
in trimesh.intersections.slice_mesh_plane
ignores vertices that are on the same line.
i.e. given edges:
[
[0,0],
[1,1],
[2,2]
]
it seems to ignore [1,1]. Thus the cap misses such coordinates.
Edit:
It seems that the result p
of polygons.edges_to_polygons
has an (unexpected to me) interior
Edit2:
for dfs in graph.traversals(edges, mode="dfs"):
in edges_to_polygons
in trimesh.paht.polygons
actually produces 2 sets (would expect 1), resulting in above noted interior
Reproducable issue
Given the following code
here: 'path\to\part' refers to tue_logo__by_pieter.zip
The mesh
s
is non-manifold (I exported it an checked it in blender, the cap is broken). As a consequences.split()
returns[]