diff --git a/src/blenderbim/blenderbim/bim/module/model/mep.py b/src/blenderbim/blenderbim/bim/module/model/mep.py index 540cbf0e43..7eceb0d574 100644 --- a/src/blenderbim/blenderbim/bim/module/model/mep.py +++ b/src/blenderbim/blenderbim/bim/module/model/mep.py @@ -1121,6 +1121,7 @@ class MEPAddBend(bpy.types.Operator, tool.Ifc.Operator): "end_length": self.end_length / si_conversion, "radius": self.radius / si_conversion, "angle": degrees(angle), + "main_profile_dimension": profile_dim[lateral_axis] / si_conversion, } # find the compatible fitting type fitting_data = MEPGenerator().get_compatible_fitting_type( diff --git a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py index def232d795..ccedb3f107 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py +++ b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py @@ -1454,5 +1454,6 @@ class ShapeBuilder: "lateral_axis": lateral_axis, "lateral_sign": lateral_sign, "flip_z_axis": flip_z_axis, + "main_profile_dimension": profile_dim[lateral_axis], } return rep, bend_data