mesh_explode command
See original GitHub issueDescribe the bug mesh_explode in compas seems that it doesnt behave as rhino explode command when exploding a closed mesh (boxy sort of typology). mesh is exported as stl from rhino (i tried also to export it as obj).
I am not sure if that is a bug or a feature request.
To Reproduce Steps to reproduce the behavior:
import os
from compas.datastructures import Mesh, mesh_explode
HERE = os.path.dirname(__file__)
file_mesh = os.path.join(HERE, 'boxyMesh.stl')
mesh = Mesh.from_stl(file_mesh)
mesh_parts = mesh_explode(mesh)
print(len(mesh_parts))
Expected behavior in Rhino it returns 8 meshes and in compas it returns a list of only 1 element.
Screenshots
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Explode | Rhino 3-D modeling
Mesh parts and mesh faces based on unwelded edges. If a mesh is completely unwelded, then it will explode to its individual faces....
Read more >Exploding Meshes | Babylon.js Documentation
MeshExploder explode function takes a number parameter to multiply the distance of explosion. Negative numbers implode. Zero resets meshes to original ...
Read more >Explode mesh in Rhinoceros - Guillaume Meunier
It's impossible with the _explode command or ungroup here is the solution : First _unweld with a 0 angle. then you can _explode....
Read more >Explode Mesh Tool - YouTube
When working with complex mesh models, it may be difficult to work on a specific part or area. The Explode Mesh function allows...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Rhino explodes a mesh along components separated by naked edges (i.e. into disconnected components).
the problem is that the STL reader automatically merges identical vertices. this means that the mesh no longer has disconnected components en therefore cannot be exploded…
haha