A trimesh face coloring study #785
villares
started this conversation in
Show and tell
Replies: 1 comment 2 replies
Yes, I hate that also. It's a confusing feature of the library that won't likely be changed because it would likely break people's code that has adapted to this. I like how you approached this here by setting the face colors with |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I always struggle with the trimesh documentation... Also it can be confusing that the "facets" describe a group of planar triangular mesh face elements (triangles), but the mesh.facets attribute does not contain single face/triangle regions...
So here a small sketch to demo setting a random color to planar regions, we would in common language call "faces" of a solid.
All reactions