Replies: 3 comments
-
pygalmesh's Union only works on domains (the geometry, e.g., sphere centered at X with radius R), not meshes. If you already have your mesh, you're out of pygalmesh's domain. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks. I thought so already. Do you have any suggestions on how to calculate Unions of predefined meshes? I have three ideas:
|
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi,
I hope it is okay to ask for help here. Additionally, I am unsure if this is a replicate of #131
I want to calculate the union of two 3d closed objects defined by triangles. With
meshio.Mesh
it is super straight forward to create the meshes of these objects. But I cannot pass them topygalmesh.Union
. Is there a way to usepygalmesh.Union
on these meshes or how would you proceed? Or ispygalmesh.Union
only available for primitive objects like Spheres, etc. (i.e., things that can be represented with_pygalmesh.DomainBase
)?I would like to use this pseudo code:
This code results in this error message:
If
pygalmesh
is not the correct choice for this, do you know any other package that can do something like this?Beta Was this translation helpful? Give feedback.
All reactions