Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'archimesh/achm_window_maker.py')
-rw-r--r--archimesh/achm_window_maker.py50
1 files changed, 25 insertions, 25 deletions
diff --git a/archimesh/achm_window_maker.py b/archimesh/achm_window_maker.py
index 1e43c792..a026232a 100644
--- a/archimesh/achm_window_maker.py
+++ b/archimesh/achm_window_maker.py
@@ -242,40 +242,40 @@ def shape_mesh_and_create_children(mainobject, tmp_mesh, update=False):
# Define property group class to create or modify
# ------------------------------------------------------------------
class ObjectProperties(PropertyGroup):
- width = FloatProperty(
+ width: FloatProperty(
name='Width',
min=0.20, max=50,
default=1.20, precision=3,
description='window width',
update=update_object,
)
- depth = FloatProperty(
+ depth: FloatProperty(
name='Depth',
min=0.07, max=1,
default=0.10, precision=3,
description='window depth',
update=update_object,
)
- height = FloatProperty(
+ height: FloatProperty(
name='Height',
min=0.20, max=50,
default=1, precision=3,
description='window height',
update=update_object,
)
- r = FloatProperty(
+ r: FloatProperty(
name='Rotation', min=0, max=360, default=0, precision=1,
description='Window rotation',
update=update_object,
)
- external = BoolProperty(
+ external: BoolProperty(
name="External frame",
description="Create an external front frame",
default=True,
update=update_object,
)
- frame = FloatProperty(
+ frame: FloatProperty(
name='External Frame',
min=0.001, max=1,
default=0.01, precision=3,
@@ -283,21 +283,21 @@ class ObjectProperties(PropertyGroup):
update=update_object,
)
- frame_L = FloatProperty(
+ frame_L: FloatProperty(
name='Frame',
min=0.02, max=1,
default=0.06, precision=3,
description='Frame size',
update=update_object,
)
- wf = FloatProperty(
+ wf: FloatProperty(
name='WinFrame',
min=0.001, max=1,
default=0.05, precision=3,
description='Window Frame size',
update=update_object,
)
- leafratio = FloatProperty(
+ leafratio: FloatProperty(
name='Leaf ratio',
min=0.001, max=0.999,
default=0.50,
@@ -305,7 +305,7 @@ class ObjectProperties(PropertyGroup):
description='Leaf thickness ratio',
update=update_object,
)
- opentype = EnumProperty(
+ opentype: EnumProperty(
items=(
('1', "Rail window", ""),
('2', "Two leaf", ""),
@@ -315,34 +315,34 @@ class ObjectProperties(PropertyGroup):
description="Defines type of window",
update=update_object,
)
- handle = BoolProperty(
+ handle: BoolProperty(
name="Create handles",
description="Create default handle to the leaf",
default=True,
update=update_object,
)
- sill = BoolProperty(
+ sill: BoolProperty(
name="Sill",
description="Add sill to window",
default=True,
update=update_object,
)
- sill_thickness = FloatProperty(
+ sill_thickness: FloatProperty(
name='Thickness',
min=0, max=50,
default=0.01, precision=3,
description='Sill thickness',
update=update_object,
)
- sill_back = FloatProperty(
+ sill_back: FloatProperty(
name='Back',
min=0, max=10,
default=0.0, precision=3,
description='Extrusion in back side',
update=update_object,
)
- sill_front = FloatProperty(
+ sill_front: FloatProperty(
name='Front',
min=0, max=10,
default=0.12, precision=3,
@@ -350,39 +350,39 @@ class ObjectProperties(PropertyGroup):
update=update_object,
)
- blind = BoolProperty(
+ blind: BoolProperty(
name="Blind",
description="Create an external blind",
default=False,
update=update_object,
)
- blind_box = BoolProperty(
+ blind_box: BoolProperty(
name="Blind box", description="Create a box over frame for blind",
default=True,
update=update_object,
)
- blind_height = FloatProperty(
+ blind_height: FloatProperty(
name='Height',
min=0.001, max=10,
default=0.12, precision=3,
description='Blind box height',
update=update_object,
)
- blind_back = FloatProperty(
+ blind_back: FloatProperty(
name='Back',
min=0.001, max=10,
default=0.002, precision=3,
description='Extrusion in back side',
update=update_object,
)
- blind_rail = FloatProperty(
+ blind_rail: FloatProperty(
name='Separation',
min=0.001, max=10,
default=0.10, precision=3,
description='Separation from frame',
update=update_object,
)
- blind_ratio = IntProperty(
+ blind_ratio: IntProperty(
name='Extend',
min=0, max=100,
default=20,
@@ -391,24 +391,24 @@ class ObjectProperties(PropertyGroup):
)
# Materials
- crt_mat = BoolProperty(
+ crt_mat: BoolProperty(
name="Create default Cycles materials",
description="Create default materials for Cycles render",
default=True,
update=update_object,
)
# opengl internal data
- glpoint_a = FloatVectorProperty(
+ glpoint_a: FloatVectorProperty(
name="glpointa",
description="Hidden property for opengl",
default=(0, 0, 0),
)
- glpoint_b = FloatVectorProperty(
+ glpoint_b: FloatVectorProperty(
name="glpointb",
description="Hidden property for opengl",
default=(0, 0, 0),
)
- glpoint_c = FloatVectorProperty(
+ glpoint_c: FloatVectorProperty(
name="glpointc",
description="Hidden property for opengl",
default=(0, 0, 0),