From 09b60b758835b76b6336a1b6751c3566a51154f9 Mon Sep 17 00:00:00 2001 From: Aldo Ruiz Luna Date: Fri, 2 Oct 2026 15:21:55 -0600 Subject: [PATCH] fix(custom-msh): align assembly stack_along_y default with manifest assembly.scad fell back to stack_along_y = 0 while the manifest, every assembly/box preset and box.scad itself use 1. Because assembly pulls the box in with `use `, a bare render built a Y-stacked box around X-stacked racks. The top-level literal now states the manifest default, so a render that injects no parameters builds what Studio shows (GOC-1 default-drift). docs/README.md listed the default as "No"; it now says "Yes" like the manifest and the root README. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Aldo Ruiz Luna --- custom-msh/assembly.scad | 2 +- custom-msh/docs/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom-msh/assembly.scad b/custom-msh/assembly.scad index 2099ccbc..7b6a824b 100644 --- a/custom-msh/assembly.scad +++ b/custom-msh/assembly.scad @@ -34,7 +34,7 @@ render_mode = -1; show_base = (assembly_level >= 2); show_lid = (assembly_level >= 3); -stack_along_y = 0; // If 1, expand box along the Y-axis instead of the X-axis +stack_along_y = 1; // If 1, expand box along the Y-axis instead of the X-axis // --- Physical Dimensions --- // Note: We redefine the core measurements here so that our assembly math perfectly diff --git a/custom-msh/docs/README.md b/custom-msh/docs/README.md index 7d75fced..d2952a9a 100644 --- a/custom-msh/docs/README.md +++ b/custom-msh/docs/README.md @@ -31,7 +31,7 @@ Official Visualizer and Configurator: Yantra4D | `assembly_level` | slider | 3 | 1-3 | (hidden) | Assembly detail level (1=rack+slides, 2=+box, 3=+lid) | | `substrate_length` | slider | 25.4 | 15.0-76.0 (step 0.1) | all | Substrate length along rack Y-axis (mm). AOCL square: 25.4 mm; standard slide: 76 mm | | `substrate_width` | slider | 25.4 | 15.0-52.0 (step 0.1) | all | Substrate width along rack Z-axis (mm). AOCL square: 25.4 mm; standard slide: 26 mm | -| `stack_along_y` | checkbox | No | | box, assembly, base, lid | Stack racks along Y-axis instead of X-axis | +| `stack_along_y` | checkbox | Yes | | box, assembly, base, lid | Stack racks along Y-axis instead of X-axis | | `tolerance_xy` | slider | 0.4 | 0.1-0.8 (step 0.05) | all | Horizontal clearance for FDM shrinkage compensation | | `tolerance_z` | slider | 0.2 | 0.05-0.5 (step 0.05) | rack, multi_rack, assembly | Slot width clearance over substrate thickness | | `wall_thickness` | slider | 2.0 | 1.2-4.0 (step 0.2) | all | Outer wall and pillar thickness |