This one is a big one. I had to make a few changes here and there to get the functions running.
I also made some quality of life adjustments to avoid confusing errors.
It might be worth confirming that the test suite runs on your computer, before merging...
The following significant changes were made:
plot_model functions:
Error handling has been improved with a try/except block. This can avoid confusing crashes if no ODB or no model is found.
Function now uses standardized viewport setting _setStandardViewport
Plot_deformedshape:
We read the closest time step instead of the exact time step. This avoids confusing crashes that can occur if the user specifies a time step not in the analysis
We return a warning if the input time step is greater than the final time step.
Scale is now 1 by default
Function now uses standardized viewport setting _setStandardViewport
plot_modeshape:
Fixed some types
Function now uses standardized viewport setting _setStandardViewport
_initializeFig:
Made a quality of life change that Allows the initial viewport to be sized based on displacement
animate_fiberResponse2D/plot_fiberResponse2D:
Big quality of life changes.
Functions read from output database.
Tests:
Added the dev_ tag to summarize manual tests meant for developers.
(Several tests are out of date in this category)
Added tests for functions using the ODB
Added a pytest suite for functions using the ODB.
Added a readme summarizing all features explicitly tested. (All main functions from "Get_Rendering are tested")
This one is a big one. I had to make a few changes here and there to get the functions running. I also made some quality of life adjustments to avoid confusing errors.
It might be worth confirming that the test suite runs on your computer, before merging...
The following significant changes were made:
plot_model functions:
Plot_deformedshape:
plot_modeshape:
_initializeFig:
animate_fiberResponse2D/plot_fiberResponse2D:
Tests: