mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
Ensure positive extrusion depth
This prevents an error and mesh corruption when trying to input a negative extrusion depth
This commit is contained in:
@@ -99,7 +99,7 @@ class BIMModelProperties(PropertyGroup):
|
|||||||
)
|
)
|
||||||
occurrence_name_function: bpy.props.StringProperty(name="Occurrence Name Function")
|
occurrence_name_function: bpy.props.StringProperty(name="Occurrence Name Function")
|
||||||
getter_enum = {"ifc_class": get_ifc_class, "relating_type": get_relating_type_id}
|
getter_enum = {"ifc_class": get_ifc_class, "relating_type": get_relating_type_id}
|
||||||
extrusion_depth: bpy.props.FloatProperty(default=42.0, subtype="DISTANCE")
|
extrusion_depth: bpy.props.FloatProperty(min=0.001, default=42.0, subtype="DISTANCE")
|
||||||
cardinal_point: bpy.props.EnumProperty(
|
cardinal_point: bpy.props.EnumProperty(
|
||||||
items=(
|
items=(
|
||||||
# TODO: complain to buildingSMART
|
# TODO: complain to buildingSMART
|
||||||
|
|||||||
Reference in New Issue
Block a user