-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Model dimensions are not correct #978
Comments
Hi Alex, Edit: Yes, in fact in my case the mc meshes work. Let me know if you need the code for that. |
Yes, I can confirm that the lith_block covers the entire area. If you have the code for the marching cubes at hand, I gladly take it. |
Of course! This gets all the mc_meshes from the lithology block of a gempy model. Just note that it does not include faults. You would need to get them the same way from the corresponding fault blocks,
And the plotting part, the loop here hacked to loop over the number of elements (without faults)
|
I am trying to make my way around that now. The idea is to create multiple models and combine the meshes afterwards. Actually, since we are extracting the meshes using marching cubes from the lith blocks, we could combine the lith_blocks first and then extract the meshes from the lith_blocks. However, some formations may not be present in one submodel, therefore, we have to filter the interface points and orientations for each submodel and automatically create the mapping object and fault_group. We must also ensure that all elements that are present in the big model in one block are also present in the small blocks. This is i.e. the case for a fault that crops out in one block and is located in another block at a greater depth..... This sounds more like hierarchical modeling again..... |
Describe the bug
I am creating a simple model with the extent [0, 1000, 0, 1000, -600, 0]. When looking at the PyVista plots, I noticed that the model is smaller than the extent, see screenshot.
The behavior becomes more apparent, when you want to calculate smaller submodels with a higher resolution and merge them later on. See second screenshot and the gaps between the models.
To Reproduce
Provide detailed steps to reproduce the behavior:
Building a model with the shown extent
Expected behavior
The meshes stretch all the way to the provided extent.
Screenshots

The text was updated successfully, but these errors were encountered: