-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.0 #277
Merged
Merged
v3.0 #277
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add cache, improve performance
When the geometries resulting from an operation result in a MultiPolygon that only touch at points, a hole is not recognized in shapely but it is "recognized" by humans. To fix this problem, the hole needs to be recognized by shapely as part of a Polygon. One solution to fix this would be to buffer the geometry by a very small amount to force this switch from MultiPolygon to Polygon.
More improvement
Plugin fibre section
…vent writing files
…ndex.rst; update contributing guide
Add python 3.11 support, drop python 3.8
Proposed fix for non-recognized holes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
sectionproperties
v3.0💥 Breaking Changes
get()
methods behaviour as per Unexpected behavior calculating 2nd Moments of Area (.get_ic) with Material #272. The behaviour is unchanged for analyses without material properties, however composite analyses now require material specific get methods to be used.get_ic()
will raise an error telling the user to instead useget_eic()
.StressPost.plot_stress()
method, with a string determining the type of stress to plot. The previous implementation had a separate method for each different type of stress plot which was very repetitive.get_stress_at_point()
method removed, user can use 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.from sectionproperties.pre.library.primitive_sections import rectangular_section
becomesfrom sectionproperties.pre.library import rectangular_section
andfrom sectionproperties.analysis.section import Section
becomesfrom sectionproperties.analysis import Section
(note not a breaking feature as previous imports still work).🐛 Fixes
🚨 Testing
test_plastic_centroid()
totest_plastic.py
.👷 Continuous Integration
📚 Documentation
💄 Style
section.py
:PlasticSection
->plastic_section.py
,StressPost
andStressResult
->stress_post.py
,SectionProperties
->post.py
.list[float]
to atuple[float, float]
.Other
src
folder.