Skip to content

Commit

Permalink
Fix for physical member load/defl plots
Browse files Browse the repository at this point in the history
  • Loading branch information
JWock82 authored and JWock82 committed Nov 9, 2024
1 parent f10a97c commit 637d56a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PyNite/Member3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ def shear_array(self, Direction, n_points: int, combo_name='Combo 1', x_array=No
return self._extract_vector_results(self.SegmentsZ, x_array, 'shear')

else:
raise ValueError(f"Direction must be 'My' or 'Mz'. {Direction} was given.")
raise ValueError(f"Direction must be 'Fy' or 'Fz'. {Direction} was given.")

#%%
def moment(self, Direction, x, combo_name='Combo 1'):
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ Here's a list of projects that use PyNite:
* Phaenotyp (https://github.com/bewegende-Architektur/Phaenotyp) (https://youtu.be/shloSw9HjVI)

# What's New?
v0.0.97
v0.0.97 (in progress)
* Fixed physical member load and deflection diagrams. Physical members are a newer feature. Member internal results were being reported correctly, but the diagrams for these members had not been revised to plot correctly. The old method for plain members was still being used. Physical members were not considering that a physical member was made from multiple submembers, and results for each span needed to be combined to get the whole plot.
* Switched some commonly used python libraries to be installed by default with `Pynite`. Most `Pynite` users will want these libraries installed for full-featured use of `Pynite`. These libraries help with `Pynite` visualizations, plotting, the sparse solver, and `Jupyter Lab` functionality. This is just easier for new python users. I was getting a lot of questions about how to set up libraries, and this takes the guesswork away. This is part of `Pynite's` objective to stay easy to use.

v0.0.96
Expand Down

0 comments on commit 637d56a

Please sign in to comment.