diff options
Diffstat (limited to 'archimesh/achm_column_maker.py')
-rw-r--r-- | archimesh/achm_column_maker.py | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/archimesh/achm_column_maker.py b/archimesh/achm_column_maker.py index 6bae7efa..e9b66639 100644 --- a/archimesh/achm_column_maker.py +++ b/archimesh/achm_column_maker.py @@ -41,7 +41,7 @@ class AchmColumn(bpy.types.Operator): bl_options = {'REGISTER', 'UNDO'} # Define properties - model = bpy.props.EnumProperty( + model: bpy.props.EnumProperty( name="Model", items=( ('1', "Circular", ""), @@ -49,185 +49,185 @@ class AchmColumn(bpy.types.Operator): ), description="Type of column", ) - keep_size = bpy.props.BoolProperty( + keep_size: bpy.props.BoolProperty( name="Keep radius equal", description="Keep all radius (top, mid and bottom) to the same size", default=True, ) - rad_top = bpy.props.FloatProperty( + rad_top: bpy.props.FloatProperty( name='Top radius', min=0.001, max=10, default=0.15, precision=3, description='Radius of the column in the top', ) - rad_mid = bpy.props.FloatProperty( + rad_mid: bpy.props.FloatProperty( name='Middle radius', min=0.001, max=10, default=0.15, precision=3, description='Radius of the column in the middle', ) - shift = bpy.props.FloatProperty( + shift: bpy.props.FloatProperty( name='', min=-1, max=1, default=0, precision=3, description='Middle displacement', ) - rad_bottom = bpy.props.FloatProperty( + rad_bottom: bpy.props.FloatProperty( name='Bottom radius', min=0.001, max=10, default=0.15, precision=3, description='Radius of the column in the bottom', ) - col_height = bpy.props.FloatProperty( + col_height: bpy.props.FloatProperty( name='Total height', min=0.001, max=10, default=2.4, precision=3, description='Total height of column, including bases and tops', ) - col_sx = bpy.props.FloatProperty( + col_sx: bpy.props.FloatProperty( name='X size', min=0.001, max=10, default=0.30, precision=3, description='Column size for x axis', ) - col_sy = bpy.props.FloatProperty( + col_sy: bpy.props.FloatProperty( name='Y size', min=0.001, max=10, default=0.30, precision=3, description='Column size for y axis', ) - cir_base = bpy.props.BoolProperty( + cir_base: bpy.props.BoolProperty( name="Include circular base", description="Include a base with circular form", default=False, ) - cir_base_r = bpy.props.FloatProperty( + cir_base_r: bpy.props.FloatProperty( name='Radio', min=0.001, max=10, default=0.08, precision=3, description='Rise up radio of base', ) - cir_base_z = bpy.props.FloatProperty( + cir_base_z: bpy.props.FloatProperty( name='Height', min=0.001, max=10, default=0.05, precision=3, description='Size for z axis', ) - cir_top = bpy.props.BoolProperty( + cir_top: bpy.props.BoolProperty( name="Include circular top", description="Include a top with circular form", default=False, ) - cir_top_r = bpy.props.FloatProperty( + cir_top_r: bpy.props.FloatProperty( name='Radio', min=0.001, max=10, default=0.08, precision=3, description='Rise up radio of top', ) - cir_top_z = bpy.props.FloatProperty( + cir_top_z: bpy.props.FloatProperty( name='Height', min=0.001, max=10, default=0.05, precision=3, description='Size for z axis', ) - box_base = bpy.props.BoolProperty( + box_base: bpy.props.BoolProperty( name="Include rectangular base", description="Include a base with rectangular form", default=True, ) - box_base_x = bpy.props.FloatProperty( + box_base_x: bpy.props.FloatProperty( name='X size', min=0.001, max=10, default=0.40, precision=3, description='Size for x axis', ) - box_base_y = bpy.props.FloatProperty( + box_base_y: bpy.props.FloatProperty( name='Y size', min=0.001, max=10, default=0.40, precision=3, description='Size for y axis', ) - box_base_z = bpy.props.FloatProperty( + box_base_z: bpy.props.FloatProperty( name='Height', min=0.001, max=10, default=0.05, precision=3, description='Size for z axis', ) - box_top = bpy.props.BoolProperty( + box_top: bpy.props.BoolProperty( name="Include rectangular top", description="Include a top with rectangular form", default=True, ) - box_top_x = bpy.props.FloatProperty( + box_top_x: bpy.props.FloatProperty( name='X size', min=0.001, max=10, default=0.40, precision=3, description='Size for x axis', ) - box_top_y = bpy.props.FloatProperty( + box_top_y: bpy.props.FloatProperty( name='Y size', min=0.001, max=10, default=0.40, precision=3, description='Size for y axis', ) - box_top_z = bpy.props.FloatProperty( + box_top_z: bpy.props.FloatProperty( name='Height', min=0.001, max=10, default=0.05, precision=3, description='Size for z axis', ) - arc_top = bpy.props.BoolProperty( + arc_top: bpy.props.BoolProperty( name="Create top arch", description="Include an arch in the top of the column", default=False, ) - arc_radio = bpy.props.FloatProperty( + arc_radio: bpy.props.FloatProperty( name='Arc Radio', min=0.001, max=10, default=1, precision=1, description='Radio of the arch', ) - arc_width = bpy.props.FloatProperty( + arc_width: bpy.props.FloatProperty( name='Thickness', min=0.01, max=10, default=0.15, precision=2, description='Thickness of the arch wall', ) - arc_gap = bpy.props.FloatProperty( + arc_gap: bpy.props.FloatProperty( name='Arc gap', min=0.01, max=10, default=0.25, precision=2, description='Size of the gap in the arch sides', ) - crt_mat = bpy.props.BoolProperty( + crt_mat: bpy.props.BoolProperty( name="Create default Cycles materials", description="Create default materials for Cycles render", default=True, ) - crt_array = bpy.props.BoolProperty( + crt_array: bpy.props.BoolProperty( name="Create array of elements", description="Create a modifier array for all elemnst", default=False, ) - array_num_x = bpy.props.IntProperty( + array_num_x: bpy.props.IntProperty( name='Count X', min=0, max=100, default=3, description='Number of elements in array', ) - array_space_x = bpy.props.FloatProperty( + array_space_x: bpy.props.FloatProperty( name='Distance X', min=0.000, max=10, default=1, precision=3, description='Distance between elements (only arc disabled)', ) - array_num_y = bpy.props.IntProperty( + array_num_y: bpy.props.IntProperty( name='Count Y', min=0, max=100, default=0, description='Number of elements in array', ) - array_space_y = bpy.props.FloatProperty( + array_space_y: bpy.props.FloatProperty( name='Distance Y', min=0.000, max=10, default=1, precision=3, description='Distance between elements (only arc disabled)', ) - array_space_z = bpy.props.FloatProperty( + array_space_z: bpy.props.FloatProperty( name='Distance Z', min=-10, max=10, default=0, precision=3, description='Combined X/Z distance between elements (only arc disabled)', ) - ramp = bpy.props.BoolProperty( + ramp: bpy.props.BoolProperty( name="Deform", description="Deform top base with Z displacement", default=True, ) - array_space_factor = bpy.props.FloatProperty( + array_space_factor: bpy.props.FloatProperty( name='Move Y center', min=0.00, max=1, default=0.0, precision=3, description='Move the center of the arch in Y axis. (0 centered)', |