sectionproperties
v3
#321
robbievanleeuwen
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
⭐ Highlights
get()
methods, see an example here.sectionproperties
API now has full typing coverage.poetry
andnox
.💥 Breaking Changes
get()
methods behaviour as per Composite results changes #287 to circumvent confusion surrounding material weighted properties. An analysis without material properties uses theget_{property}()
syntax, while an analysis with material properties typically uses theget_e{property}()
syntax with the added option of retrieving transformed section properties. See here for a list of the newget()
methods and here for a discussion surrounding this issue.plot_stress()
orplot_stress_vector()
methods that belong to theStressPost
object.get_stress_at_point()
method removed, use the more versatileget_stress_at_points()
method instead.get_As()
becomesget_as()
for retrieving shear areas, moments and shears change fromMxx
andVx
tomxx
andvx
.🚀 Features
__init__.py
files, e.g.from sectionproperties.pre.library.primitive_sections import rectangular_section
becomesfrom sectionproperties.pre.library import rectangular_section
.dxf
files (Expose spline dxf import options #292), thanks to @ccaprani.🐛 Fixes
🚨 Testing
nox
&nox-poetry
for testing.test_plastic_centroid()
totest_plastic.py
.👷 Continuous Integration
poetry
integration and detailed contributor guidelines.📚 Documentation
sphinx.ext.autodoc
.matplotlib
plot directive.nbsphinx
.intersphinx
mappings.💄 Style
flake8
linter to pre-commit.darglint
docstring linter to pre-commit.isort
to pre-commit.pyupgrade
to pre-commit.section.py
:PlasticSection
->plastic_section.py
,StressPost
andStressResult
->stress_post.py
,SectionProperties
->post.py
.list[float]
to atuple(float, float)
.Other
src
folder.Beta Was this translation helpful? Give feedback.
All reactions