mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Add thickness dimension to profile name
This commit is contained in:
@@ -703,7 +703,7 @@ class AddElement(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
default_thickness = 0.005
|
default_thickness = 0.005
|
||||||
default_inner_fillet_radius = 0.005
|
default_inner_fillet_radius = 0.005
|
||||||
default_outer_fillet_radius = 0.005
|
default_outer_fillet_radius = 0.005
|
||||||
profile_name = f"{props.ifc_class}-{default_x_dim*1000}x{default_y_dim*1000}"
|
profile_name = f"{props.ifc_class}-{default_x_dim*1000}x{default_y_dim*1000}x{default_thickness*1000}"
|
||||||
profile = tool.Ifc.get().create_entity(
|
profile = tool.Ifc.get().create_entity(
|
||||||
"IfcRectangleHollowProfileDef",
|
"IfcRectangleHollowProfileDef",
|
||||||
ProfileName=profile_name,
|
ProfileName=profile_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user