Skip to content

Commit

Permalink
added default value brep to geometry type
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkasirer committed Aug 25, 2023
1 parent 38a3a2c commit cd8dd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compas_timber/parts/beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Beam(Part):
"brep": _create_brep_shape,
}

def __init__(self, frame, length, width, height, geometry_type, **kwargs):
def __init__(self, frame, length, width, height, geometry_type="brep", **kwargs):
super(Beam, self).__init__(frame=frame)
# TODO: add setter so that only that makes sure the frame is orthonormal --> needed for comparisons
self.frame = frame
Expand Down

0 comments on commit cd8dd25

Please sign in to comment.