Getting ready for deploy

This commit is contained in:
Stefan Cepko
2026-06-04 03:49:56 -04:00
parent 61e8889354
commit c3936955ea
12 changed files with 1085 additions and 420 deletions
+19 -13
View File
@@ -71,8 +71,9 @@ def _rand_apply_choice(gen, item, prop: str, choices: list) -> None:
# ---------------------------------------------------------------------------
class KNOT_OT_Add(bpy.types.Operator):
bl_idname = "knot.add_item"
bl_label = "Add Knot"
bl_idname = "knot.add_item"
bl_label = "Add Knot"
bl_description = "Add a new knot entry to the end of the playlist"
def execute(self, context):
item = context.scene.knot_list.add()
@@ -85,8 +86,9 @@ class KNOT_OT_Add(bpy.types.Operator):
class KNOT_OT_Remove(bpy.types.Operator):
bl_idname = "knot.remove_item"
bl_label = "Remove Knot"
bl_idname = "knot.remove_item"
bl_label = "Remove Knot"
bl_description = "Remove the selected knot entry from the playlist"
def execute(self, context):
idx = context.scene.knot_list_index
@@ -99,9 +101,10 @@ class KNOT_OT_Remove(bpy.types.Operator):
class KNOT_OT_Move(bpy.types.Operator):
bl_idname = "knot.move_item"
bl_label = "Move Knot"
direction: bpy.props.EnumProperty(items=[('UP', 'Up', ''), ('DOWN', 'Down', '')])
bl_idname = "knot.move_item"
bl_label = "Move Knot"
bl_description = "Move the selected knot up or down in the playlist order"
direction: bpy.props.EnumProperty(items=[('UP', 'Up', 'Move knot earlier in the playlist'), ('DOWN', 'Down', 'Move knot later in the playlist')])
def execute(self, context):
idx = context.scene.knot_list_index
@@ -114,8 +117,9 @@ class KNOT_OT_Move(bpy.types.Operator):
class KNOT_OT_Populate(bpy.types.Operator):
bl_idname = "knot.populate"
bl_label = "Populate Default List"
bl_idname = "knot.populate"
bl_label = "Populate Default List"
bl_description = "Clear the playlist and load the 10 built-in example knots (trefoil, cinquefoil, Möbius, Lissajous, and more)"
def execute(self, context):
context.scene.knot_list.clear()
@@ -134,8 +138,9 @@ class KNOT_OT_Populate(bpy.types.Operator):
class KNOT_OT_BakePreview(bpy.types.Operator):
bl_idname = "knot.bake_preview"
bl_label = "Update Preview"
bl_idname = "knot.bake_preview"
bl_label = "Update Preview"
bl_description = "Immediately regenerate the viewport knot using the currently selected playlist entry's settings, without waiting for a frame change"
def execute(self, context):
idx = context.scene.knot_list_index
@@ -196,8 +201,9 @@ class KNOT_OT_SyncGeneratorMaterials(bpy.types.Operator):
class KNOT_OT_GenerateRandom(bpy.types.Operator):
bl_idname = "knot.generate_random"
bl_label = "Generate Playlist"
bl_idname = "knot.generate_random"
bl_label = "Generate Playlist"
bl_description = "Clear the playlist and fill it with randomly configured knots using the ranges and toggles set in the Randomise Toggles section below"
def execute(self, context):
scene = context.scene