feat: initial commit for cable normalizer blender addon
This commit is contained in:
24
properties.py
Normal file
24
properties.py
Normal file
@@ -0,0 +1,24 @@
|
||||
import bpy
|
||||
|
||||
|
||||
class CableNormalizerSettings(bpy.types.PropertyGroup):
|
||||
target_diameter: bpy.props.FloatProperty(
|
||||
name="Target Diameter",
|
||||
description="Target cable diameter in meters",
|
||||
default=0.030, min=0.001, max=1.0, subtype='DISTANCE', unit='LENGTH',
|
||||
)
|
||||
target_length: bpy.props.FloatProperty(
|
||||
name="Target Length",
|
||||
description="Target cable length in meters",
|
||||
default=1.0, min=0.01, max=100.0, subtype='DISTANCE', unit='LENGTH',
|
||||
)
|
||||
target_font_size: bpy.props.FloatProperty(
|
||||
name="Font Size",
|
||||
description="Label font size",
|
||||
default=200.0, min=1.0, max=10000.0,
|
||||
)
|
||||
target_aspect_ratio: bpy.props.FloatProperty(
|
||||
name="Aspect Ratio",
|
||||
description="Label aspect ratio (width:height)",
|
||||
default=4.0, min=0.1, max=20.0,
|
||||
)
|
||||
Reference in New Issue
Block a user