gempy-project / gempy

GemPy is an open-source, Python-based 3-D structural geological modeling software, which allows the implicit (i.e. automatic) creation of complex geological models from interface and orientation data. It also offers support for stochastic modeling to address parameter and model uncertainties.
https://gempy.org
European Union Public License 1.2
988 stars 235 forks source link

Export possibilities of a gempy modell: #928

Closed Sebadita closed 3 months ago

Sebadita commented 3 months ago

Hi everyone!

I have created some surface and i would like to export them but not as a xyz file, but as other format where the color of each layer can be saved, like .dxf.

Is that possible?

Thank u in advance!

VG

Sebadita

javoha commented 3 months ago

Hi, there is no function at the moment to directly export all of this in a specific format. You can however, similar to exporting the xyz data, access and save the colors and everything else.

geo_model.structural_frame.elements_colors

If you ever feel like writing a convenience function specifically to export certain formats, we are happy to get your pull request and add it to the gempy addons package.

Cheers, jan

javoha commented 3 months ago

Hope this is answered, feel free to reopen if you have additional questions.