view main.json @ 8:ac8f2ecb6c18

latch: block style, middle knuckle share, middle-width plate Add latch_style with a new block latch: a solid piece in the middle slot with the profile of the body knuckles, extended below the hook by latch_grip. Between knuckle and hook only the knuckle ring and the front wall remain; below the bar the opening follows the hook tip line to the back face. A notch at the bottom of the back face takes a fingernail. Add latch_middle_ratio for the share of the latch width taken by the middle knuckle, clamped with a warning so no slot is narrower than two extrusions. Add latch_plate_full. Without it the plate is only as wide as the middle slot, and the latch exports standing on its side with the plate thickness rounded up to whole extrusions. The block also prints on its side. The latch file name gets the style, and all names get the middle share when it is not .33. Extrude slabs with convexity 4 so the preview shows the block profile correctly. README updated.
author ark
date 2026-11-17 12:32 +0100
parents 1933892bab51
children a7a1b12fd6bf
line wrap: on
line source

{
    "fileFormatVersion": "1",
    "parameterSets": {
        "cardbox 45": {
            "body_ratio": "0.89000000000000001",
            "chamfer_layers": "3",
            "clearance": "0.10000000000000001",
            "content_depth": "100",
            "content_height": "100",
            "content_width": "88",
            "edge_radius": "2",
            "filament_diameter": "1.8500000000000001",
            "floor_layers": "6",
            "hinge_knuckles": "5",
            "hinge_lines": "2",
            "inner_depth": "45",
            "inner_height": "45",
            "inner_width": "90",
            "latch_detent": "0.29999999999999999",
            "latch_grip": "5",
            "latch_hook_lines": "2",
            "latch_layers": "8",
            "latch_width": "20",
            "layer_height": "0.20000000000000001",
            "line_width": "0.40000000000000002",
            "lip_layers": "4",
            "lip_lines": "2",
            "part": "all",
            "preview_content": "false",
            "preview_cut": "false",
            "preview_hardware": "false",
            "preview_latch_angle": "0",
            "preview_lid_angle": "0",
            "wall_lines": "4"
        },
        "calling cards box": {
            "body_ratio": "0.98999999999999999",
            "chamfer_layers": "3",
            "clearance": "0.10000000000000001",
            "content_depth": "55",
            "content_height": "85",
            "content_width": "10",
            "edge_radius": "2",
            "filament_diameter": "1.8500000000000001",
            "floor_layers": "6",
            "hinge_knuckles": "5",
            "hinge_lines": "2",
            "inner_depth": "56",
            "inner_height": "86",
            "inner_width": "12",
            "latch_detent": "0.29999999999999999",
            "latch_grip": "5",
            "latch_hook_lines": "2",
            "latch_layers": "8",
            "latch_width": "10",
            "layer_height": "0.20000000000000001",
            "line_width": "0.40000000000000002",
            "lip_layers": "4",
            "lip_lines": "2",
            "part": "all",
            "preview_content": "true",
            "preview_cut": "false",
            "preview_hardware": "true",
            "preview_latch_angle": "55",
            "preview_lid_angle": "8",
            "wall_lines": "3"
        },
        "contract bridge cards": {
            "body_ratio": "0.90000000000000002",
            "chamfer_layers": "3",
            "clearance": "0.10000000000000001",
            "content_depth": "57",
            "content_height": "88",
            "content_width": "16",
            "edge_radius": "2",
            "filament_diameter": "1.8500000000000001",
            "floor_layers": "6",
            "hinge_knuckles": "5",
            "hinge_lines": "2",
            "inner_depth": "58",
            "inner_height": "89",
            "inner_width": "18",
            "latch_detent": "0.29999999999999999",
            "latch_grip": "3.5",
            "latch_hook_lines": "2",
            "latch_layers": "8",
            "latch_width": "16",
            "layer_height": "0.20000000000000001",
            "line_width": "0.40000000000000002",
            "lip_layers": "4",
            "lip_lines": "2",
            "part": "all",
            "preview_content": "true",
            "preview_cut": "false",
            "preview_hardware": "true",
            "preview_latch_angle": "45",
            "preview_lid_angle": "30",
            "wall_lines": "3"
        },
        "uno cards": {
            "body_ratio": "0.92000000000000004",
            "chamfer_layers": "3",
            "clearance": "0.10000000000000001",
            "content_depth": "62",
            "content_height": "100",
            "content_width": "11",
            "edge_radius": "2",
            "filament_diameter": "1.8500000000000001",
            "floor_layers": "6",
            "hinge_knuckles": "5",
            "hinge_lines": "2",
            "inner_depth": "64",
            "inner_height": "102",
            "inner_width": "13",
            "latch_detent": "0.29999999999999999",
            "latch_grip": "3.5",
            "latch_hook_lines": "3",
            "latch_layers": "8",
            "latch_width": "12",
            "layer_height": "0.20000000000000001",
            "line_width": "0.40000000000000002",
            "lip_layers": "4",
            "lip_lines": "2",
            "part": "all",
            "preview_content": "true",
            "preview_cut": "false",
            "preview_hardware": "true",
            "preview_latch_angle": "45",
            "preview_lid_angle": "30",
            "wall_lines": "3"
        },
        "18650x10 battery box": {
            "body_ratio": "0.90000000000000002",
            "chamfer_layers": "3",
            "clearance": "0.10000000000000001",
            "columns": "5",
            "content_depth": "18.5",
            "content_height": "65",
            "content_width": "18.5",
            "divider_lines": "2",
            "edge_radius": "10",
            "filament_diameter": "1.85",
            "floor_layers": "6",
            "hinge_knuckles": "5",
            "hinge_lines": "3",
            "inner_depth": "18.800000000000001",
            "inner_height": "67",
            "inner_width": "18.800000000000001",
            "latch_detent": "0.29999999999999999",
            "latch_grip": "5",
            "latch_hook_lines": "3",
            "latch_layers": "8",
            "latch_width": "30",
            "layer_height": "0.20000000000000001",
            "line_width": "0.40000000000000002",
            "lip_layers": "4",
            "lip_lines": "2",
            "part": "all",
            "preview_content": "false",
            "preview_cut": "false",
            "preview_hardware": "true",
            "preview_latch_angle": "45",
            "preview_lid_angle": "45",
            "rows": "2",
            "wall_lines": "4"
        }
    }
}