diff main.json @ 10:a7a1b12fd6bf

latch: latches on any side, back latch for a removable lid Add back_side to put the hinge or a latch on the back, and latch_front, latch_left and latch_right checkboxes. The latch hardware is modelled in a face frame and placed on each latched side. All latches share one width, clamped to the narrowest latched face; the console lists the latched sides and the number of latches to print. A layout other than front latch with back hinge adds an l token with the side letters to the file name. Replace preview_lid_angle with preview_lid_open in percent: with the hinge 100 turns the lid by 180 degrees, without it lifts the lid by one body height. Presets converted. README updated.
author ark
date 2026-11-17 12:53 +0100
parents 1933892bab51
children 7bef1d0cb914
line wrap: on
line diff
--- a/main.json	Tue Nov 17 12:37:14 2026 +0100
+++ b/main.json	Tue Nov 17 12:53:33 2026 +0100
@@ -30,7 +30,7 @@
             "preview_cut": "false",
             "preview_hardware": "false",
             "preview_latch_angle": "0",
-            "preview_lid_angle": "0",
+            "preview_lid_open": "0",
             "wall_lines": "4"
         },
         "calling cards box": {
@@ -62,7 +62,7 @@
             "preview_cut": "false",
             "preview_hardware": "true",
             "preview_latch_angle": "55",
-            "preview_lid_angle": "8",
+            "preview_lid_open": "4",
             "wall_lines": "3"
         },
         "contract bridge cards": {
@@ -94,7 +94,7 @@
             "preview_cut": "false",
             "preview_hardware": "true",
             "preview_latch_angle": "45",
-            "preview_lid_angle": "30",
+            "preview_lid_open": "17",
             "wall_lines": "3"
         },
         "uno cards": {
@@ -126,7 +126,7 @@
             "preview_cut": "false",
             "preview_hardware": "true",
             "preview_latch_angle": "45",
-            "preview_lid_angle": "30",
+            "preview_lid_open": "17",
             "wall_lines": "3"
         },
         "18650x10 battery box": {
@@ -160,7 +160,7 @@
             "preview_cut": "false",
             "preview_hardware": "true",
             "preview_latch_angle": "45",
-            "preview_lid_angle": "45",
+            "preview_lid_open": "25",
             "rows": "2",
             "wall_lines": "4"
         }