File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
src/sectionproperties_tools Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ authors = [
77]
88requires-python = " >=3.11"
99dependencies = [
10- " pydantic>=2.11.7" ,
10+ " pydantic_core==2.27.2" ,
11+ " pydantic==2.10.6" ,
1112 " sectionproperties>=3.9.0" ,
1213]
1314
Original file line number Diff line number Diff line change 22sectionproperties_tools
33"""
44
5- __version__ = "0.3.1 "
5+ __version__ = "0.3.2 "
66
77from .extraction import (extract_properties , envelope_stress_results )
88from .serialize import (
Original file line number Diff line number Diff line change 66
77def extract_properties (
88 analysis_section : Section ,
9- subset_to_extract : Optional [str ] = None ,
9+ subset_to_extract : Optional [list [ str ] ] = None ,
1010) -> dict [str , float ]:
1111 """
1212 Extracts the properties from the solved 'analysis_section'.
1313
1414 'analysis_section': a solved Section from sectionproperties.
15- 'subset_to_extract': One of {"geometric", "warping", "plastic"}
16- The results extracted will be from one of these sets
17- of properties. If None, then all results will be extracted.
18- 'properties_to_extract': If provided, will extract only the
19- properties from the provided list. If None, will extract
20- all sectionproperties.
21-
15+ 'subset_to_extract': A list of properties to extract from
16+ the analysis_section. The names of properties in the
17+ solved section will depend on whether or not a non-
18+ default material was assigned.
19+ If None, then all results will be extracted.
2220
2321 The following properties can be specified when materials
2422 are _not_ added to the section (i.e. a geometric analysis):
You can’t perform that action at this time.
0 commit comments