How can I export a model diagram with stress analysis as an OBJ model file? #2871
-
result = mapdl.result
result.plot_principal_nodal_stress(0, 'seqv', background='w', show_edges=True, text_color='k', add_text=True) The following code for exporting obj can only export the basic model, and I want to export the model with stress analysis to obj format pl = mapdl.vplot(quality=5, return_plotter=True)
pl.export_obj("C:/Software/Qt_Project/demo6/ansys_module/new_model") |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi.. I'm not sure if pyvista plotter can store these results in the |
Beta Was this translation helpful? Give feedback.
-
Hi @COOLEST-GET is there some restriction that you must use obj format? It does not seem to include generic field data like stress at each vertex: https://en.wikipedia.org/wiki/Wavefront_.obj_file Mike |
Beta Was this translation helpful? Give feedback.
Hi.. I'm not sure if pyvista plotter can store these results in the
obj
file. Please do ask in their repository https://github.com/pyvista/pyvista