ansys / pydpf-core

Data Processing Framework - Python Core
http://dpf.docs.pyansys.com/
MIT License
67 stars 24 forks source link

Please add option for parallel views #1532

Closed ZanePC closed 4 months ago

ZanePC commented 4 months ago

Description of the feature

At present, models can only be displayed in perspective view in ansys-dpf, but in most cases parallel view is better (because it prevents the model from being deformed due to viewing). There is already a parameter "parallel_projection" in the pyvista.plot() function, but it does not work if the parameter is specified as True in ansys-dpf.

Steps for implementing the feature

No response

Useful links and references

No response

PProfizi commented 4 months ago

Hi @ZanePC, I just made a small PR so that our plotting methods all take into account parallel_projection=True as kwarg. Let me know if this is sufficient.

ZanePC commented 4 months ago

Thank you very much for your quick response. I will try it immediately after v0.12.1 is released. Best wishes.