feat: initial commit for cable normalizer blender addon

This commit is contained in:
2026-06-02 22:48:54 +02:00
commit 7f677335c4
10 changed files with 1317 additions and 0 deletions

24
properties.py Normal file
View 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,
)