v2.0.0
·
989 commits
to master
since this release
sectionproperties v2 incorporates significant changes to the pre-processor, which now uses the Shapely package to power advanced geometry creation and manipulation, and vastly improves the performance and robustness of the plastic section property algorithm. v2.x.x introduces many breaking changes from v1.x.x when creating and manipulating Geometry, refer to the documentation for more information.
Pre-Processor:
A special mention to @connorferster for a majority of these fantastic additions!
sections.pyrenamed togeometry.py- All
Geometryobjects are defined by a shapelyPolygon - Addition of new geometry manipulation methods and geometry set operators
- Added .dxf import, thanks to @aegis1980
- Added .3dm import, thanks to @normanrichardson
- Introduction of a
CompoundGeometryclass for geometries with multiple regions Geometryobjects are assigned aMaterialproperty object,CompoundGeometryobjects can contain multipleGeometryobjects (each with their ownMaterialobject) enabling composite analysisGeometryandCompoundGeometryobjects contain mesh information and meshing must be performed before initialising aSectionobject- Improved
.offset_perimeter()logic - Meshing is now performed by triangle, meshpy is no longer a dependency
Materialclass now requires a.densityparameter- The section library (
sectionproperties.pre.library) now contains the built-in sectionproperties geometries - Added
triangular_section()andtriangular_radius_section()to theprimitive_sectionslibrary - Added
concrete_sectionslibrary - containsconcrete_rectangular_section(),concrete_tee_section()andconcrete_circular_section() - Added
bridge_sectionlibrary, thanks to @ccaprani - containssuper_t_girder_section()andi_girder_section()
Analysis:
cross_section.pyrenamed tosection.pyCrossSectionobject renamed toSectionand is now initialised with only aGeometryorCompoundGeometryobject- Added calculation of cross-section mass
- Added calculation of weighted material properties - E_eff, G_eff, nu_eff
- The plastic algorithm is now performed by shapely, improving performance and robustness
- Added calculation of principal stresses, thanks to @ccaprani
- Shape factors are no longer calculated for composite sections (irrelevant property)
Post-Processor:
- Added the
plotting_context()manager, allowing easily saving files, passing kwargs topyplot.subplots()and much more! Many thanks to @Spectre5 - Improved contour plotting behaviour
- Added plotting of Mohr's circle of stresses for any given point, thanks to @ccaprani
.display_results()now reports E.J and E.Iw instead of G.J and G.Iw.display_results()now reports modulus weighted shear areas for composite sections
Misc.:
- Many spelling and code style fixes, thanks to @Spectre5
- Updated documentation to include theoretical background
- Updated examples to be performed by sphinx-gallery, thanks to @normanrichardson and @Spectre5