Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separate CAD definition and meshing #48

Closed
simbilod opened this issue Jan 17, 2024 · 4 comments · Fixed by #107
Closed

separate CAD definition and meshing #48

simbilod opened this issue Jan 17, 2024 · 4 comments · Fixed by #107

Comments

@simbilod
Copy link
Owner

this would be useful if we wanted to generate multiple different meshes from the same resulting CAD, since sometimes the booleans take a while

@HelgeGehring
Copy link
Collaborator

Sounds great! Would it be possible to export that intermediate step? I.e. that we would have a two-level cache in the end?

@simbilod
Copy link
Owner Author

Yes, we would have to find a way to serialize the gmsh model itself

@simbilod
Copy link
Owner Author

simbilod commented Oct 30, 2024

The XAO format in 4.13.0 version should allow this https://gitlab.onelab.info/gmsh/gmsh/-/issues/2218

@simbilod
Copy link
Owner Author

simbilod commented Nov 4, 2024

first attempt in #83 ; ideally we would have separate methods for model.cad() and model.mesh(), but currently both CAD and mesh are tied through the entity_list entities. We need to think of a way to separate them (which defeats the simple interface) or higher-level serialization beyond the .xao file.

@simbilod simbilod linked a pull request Jan 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants