IFC Array - option to use local space instead of global (#2905)

This commit is contained in:
Andrej730
2023-03-28 15:39:18 +05:00
parent f6ca12d3b8
commit 75f56462b5
4 changed files with 45 additions and 28 deletions
@@ -249,11 +249,18 @@ class BIMModelProperties(PropertyGroup):
class BIMArrayProperties(PropertyGroup):
is_editing: bpy.props.IntProperty(default=-1)
is_editing: bpy.props.IntProperty(
default=-1, description="Currently edited array index. -1 if not in array editing mode."
)
count: bpy.props.IntProperty(name="Count", default=0)
x: bpy.props.FloatProperty(name="X", default=0)
y: bpy.props.FloatProperty(name="Y", default=0)
z: bpy.props.FloatProperty(name="Z", default=0)
use_local_space: bpy.props.BoolProperty(
name="Use Local Space",
description="Use local space for array items offset instead of world space",
default=True,
)
class BIMStairProperties(PropertyGroup):