Skip to content

Commit

Permalink
Merge pull request #278 from specklesystems/gergo/structural_shape_type
Browse files Browse the repository at this point in the history
fix(structural-properties): add missing ShapeType member
  • Loading branch information
gjedlicska authored May 30, 2023
2 parents 99e9f77 + 44336ad commit fbf1942
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/specklepy/objects/structural/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class ShapeType(int, Enum):
Box = 7
Catalogue = 8
Explicit = 9
Undefined = 10


class PropertyTypeSpring(int, Enum):
Expand All @@ -90,7 +91,9 @@ class Property(Base, speckle_type=STRUCTURAL_PROPERTY):
name: Optional[str] = None


class SectionProfile(Base, speckle_type=STRUCTURAL_PROPERTY + ".Profiles.SectionProfile"):
class SectionProfile(
Base, speckle_type=STRUCTURAL_PROPERTY + ".Profiles.SectionProfile"
):
name: Optional[str] = None
shapeType: Optional[ShapeType] = None
area: float = 0.0
Expand Down

0 comments on commit fbf1942

Please sign in to comment.