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. |
0 replies
|
Ok, thanks. I thought so already. Do you have any suggestions on how to calculate Unions of predefined meshes? I have three ideas:
|
0 replies
|
Hi, |
0 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.
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.Meshit is super straight forward to create the meshes of these objects. But I cannot pass them topygalmesh.Union. Is there a way to usepygalmesh.Unionon these meshes or how would you proceed? Or ispygalmesh.Uniononly 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
pygalmeshis not the correct choice for this, do you know any other package that can do something like this?All reactions