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 'add_mesh_extra_objects/add_mesh_round_brilliant.py')
-rw-r--r--add_mesh_extra_objects/add_mesh_round_brilliant.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/add_mesh_extra_objects/add_mesh_round_brilliant.py b/add_mesh_extra_objects/add_mesh_round_brilliant.py
index d8310c42..b5c0f869 100644
--- a/add_mesh_extra_objects/add_mesh_round_brilliant.py
+++ b/add_mesh_extra_objects/add_mesh_round_brilliant.py
@@ -305,7 +305,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
# set user options
- s = IntProperty(
+ s: IntProperty(
name="Segments",
description="Longitudial segmentation",
step=1,
@@ -314,7 +314,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
default=16,
subtype='FACTOR'
)
- table_w = FloatProperty(
+ table_w: FloatProperty(
name="Table width",
description="Width of table",
min=0.001,
@@ -322,7 +322,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
default=0.53,
subtype='PERCENTAGE'
)
- crown_h = FloatProperty(
+ crown_h: FloatProperty(
name="Crown height",
description="Height of crown",
min=0.0,
@@ -330,7 +330,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
default=0.162,
subtype='PERCENTAGE'
)
- girdle_t = FloatProperty(
+ girdle_t: FloatProperty(
name="Girdle height",
description="Height of girdle",
min=0.0,
@@ -338,17 +338,17 @@ class MESH_OT_primitive_brilliant_add(Operator):
default=0.017,
subtype='PERCENTAGE'
)
- girdle_real = BoolProperty(
+ girdle_real: BoolProperty(
name="Real girdle",
description="More beautiful girdle; has more polygons",
default=True
)
- g_real_smooth = BoolProperty(
+ g_real_smooth: BoolProperty(
name="Smooth girdle",
description="smooth shading for girdle, only available for real girdle",
default=False
)
- pavi_d = FloatProperty(
+ pavi_d: FloatProperty(
name="Pavilion depth",
description="Height of pavilion",
min=0.0,
@@ -356,7 +356,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
default=0.431,
subtype='PERCENTAGE'
)
- bezel_f = FloatProperty(
+ bezel_f: FloatProperty(
name="Upper facet factor",
description="Determines the form of bezel and upper girdle facets",
min=0.0,
@@ -364,7 +364,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
default=0.250,
subtype='PERCENTAGE'
)
- pavi_f = FloatProperty(
+ pavi_f: FloatProperty(
name="Lower facet factor",
description="Determines the form of pavilion and lower girdle facets",
min=0.001,
@@ -372,7 +372,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
default=0.400,
subtype='PERCENTAGE'
)
- culet = FloatProperty(
+ culet: FloatProperty(
name="Culet size",
description="0: no culet (default)",
min=0.0,
@@ -380,7 +380,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
default=0.0,
subtype='PERCENTAGE'
)
- keep_lga = BoolProperty(
+ keep_lga: BoolProperty(
name="Retain lower angle",
description="If culet > 0, retains angle of pavilion facets",
default=False