-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Export 3D-Model as XZY file #922
Comments
Hi Sebadita, firstly, you have to export your gempy model as VTK format: p.surface_poly['rock1'].save('rock1.vtk') # Save the vtk file for formation 1
p.surface_poly['rock2'].save('rock2.vtk') # Save the vtk file for formation 2
p.orientations_mesh.save('orientations.vtk') # Save the vtk file for the orientations
p.surface_points_mesh.save('surface_points.vtk') # Save the vtk file for the surface points
box = p.regular_grid_actor.GetMapper().GetInput() # Get the vtk file for the regular grid
box.save('box.vtk') then, you can get the vertices of mesh surface in VTK like this:
finally you can convert pandas dataframe to an XYZ file:
|
@Sebadita this issue relates to #898 please also see this code that should allow you to export the meshes. Here the code to export the meshes with their true XYZ coordinates
|
Answered. Please feel free to reopen if you have additional questions. |
Hi everyone!
How can I export an interpolated mesh surface as XZY. file? I have created a model, which consist only of a 3D surface, and i want to use in other software.
The text was updated successfully, but these errors were encountered: