From c71c49078f30f6c0fd61170a3848ae2ea4950cbf Mon Sep 17 00:00:00 2001 From: mlgitdev Date: Tue, 24 Nov 2026 01:30:08 +0200 Subject: [PATCH] feat(skills): add corrugated wavy-bottom CAD shell pattern & multi-color prime-tower/plate parity --- .../references/fdm-design-principles.md | 5 +++++ .agents/skills/bambu-studio-ai/SKILL.md | 5 +++++ .agents/skills/bambuforge-repo-sync/SKILL.md | 5 ++++- .../bambuforge-repo-sync/scripts/sync_to_bambuforge.py | 9 ++++++++- VERSION | 2 +- 5 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.agents/skills/3d-print-modeling/references/fdm-design-principles.md b/.agents/skills/3d-print-modeling/references/fdm-design-principles.md index 15d484e..212b3b7 100644 --- a/.agents/skills/3d-print-modeling/references/fdm-design-principles.md +++ b/.agents/skills/3d-print-modeling/references/fdm-design-principles.md @@ -187,3 +187,8 @@ When engineering enclosures, faceplates, signage, or flush multi-color inlays ac - In `0° → 180°` folding travel cases, keep playing surfaces unobstructed and house loose pieces in **removable contoured cassettes with flush-nesting snap-on captive lids** plus stepped hold-down bridges (`<= 0.55 mm` gap) so inverting the closed case cannot dislodge components. - When companion models mate across separate projects, lock exact outer/inner envelope contracts (`±0.05 mm`) upfront and verify **`0.000000 mm³` collision** via an automated cross-suite `.step`-to-B-Rep boolean intersection test before release. +6. **Support-Free Corrugated Wavy-Bottom Shells & Localized Interlock Piers:** + - For wide wavy/ribbed trays or cradles (`>= 25 mm` crest height), never leave a solid flat `Z = 0` prism beneath every ridge. Generate a backward-swept corrugated underside `z_bot(u)` enforcing `z_bot[i] <= max(0, z_bot[i+1] - tan(47°) * du)` and minimum wall thickness `>= 3.2 mm`. + - This leaves flat `13–16 mm` `Z = 0` stability feet under every valley trough while rising at `47°` from horizontal (`43°` overhang → strictly `<= 45°`, `0.00%` overhangs) to pointed cathedral arches beneath each crest and thin curved outer wings—typically cutting solid volume by **`~55–60%`** and real sliced filament by **`~28–40%`**. + - Place compact vertical-walled `Z = 0` piers ONLY where mechanical interlocks require backing (corner sockets, dovetail ends, bow-tie bosses, short spine piers), allowing the open `47°` wavy underside tunnel itself to double as the drop-in loading bay for underside locking keys. + diff --git a/.agents/skills/bambu-studio-ai/SKILL.md b/.agents/skills/bambu-studio-ai/SKILL.md index 63fcc63..e8559da 100644 --- a/.agents/skills/bambu-studio-ai/SKILL.md +++ b/.agents/skills/bambu-studio-ai/SKILL.md @@ -97,6 +97,11 @@ Whenever packing multiple trays/modules and multi-color AMS sub-parts into a sin 11. **Non-Destructive `.3mf` Iteration & Parallel CLI Retry Guardrail:** * When revising an existing model's `.3mf`, always preserve the prior file and emit a versioned sibling (e.g., `_v2_p2s_multiplate.3mf`) instead of overwriting in place, so the user can compare plates or keep a verified print profile intact. * When multiple CAD subagents invoke `bambu-studio.exe --export-3mf` concurrently on Windows, shared cache/lock collisions can cause transient non-zero exit codes. Always wrap CLI calls in a **`3×` retry loop with `3 s` backoff** and verify the output `.3mf` exists and is non-empty before proceeding. +12. **Bambu Studio & Cloud-Slicer Multi-Color Prime Tower / Bed-Plate Parity:** + * Every multi-plate `.3mf` should pass local Bambu Studio CLI slicing (`bambu-studio.exe --slice ` returning `rc = 0` on every plate) before distribution. + * Verify `curr_bed_type` has non-zero bed temperature for every filament slot (e.g., `"Textured PEI Plate"` for PETG/PLA/ASA — never `"Cool Plate"` with PETG HF, which fails slicing with `Filaments are not compatible with the plate type`). + * On large parts (`>= 235 mm` on a `256 mm` bed), explicitly set `brim_type = "no_brim"`, `brim_width = "0"`, and `skirt_loops = "0"` so G-code never exceeds `[0, 256]`. + * On **multi-color plates**, keep `enable_prime_tower = "1"`, shift large multi-color objects to open a `>= 55 mm` collision-free strip (e.g., `Y = 100 mm` for a `190 mm` deep model), and position `wipe_tower_x/y` cleanly inside that open strip (e.g., `(185, 205)` with `prime_tower_width = "35"`) so strict cloud/local slicers never report prime-tower collisions. --- diff --git a/.agents/skills/bambuforge-repo-sync/SKILL.md b/.agents/skills/bambuforge-repo-sync/SKILL.md index 2b78e3f..ae37aad 100644 --- a/.agents/skills/bambuforge-repo-sync/SKILL.md +++ b/.agents/skills/bambuforge-repo-sync/SKILL.md @@ -77,5 +77,8 @@ python ".agents\skills\bambuforge-repo-sync\scripts\sync_to_bambuforge.py" --bum ### Pull Request & Governance Rules - All changes submitted to `BambuForge` must target `main` via PR. -- PR titles must follow Conventional Commits (e.g., `feat(cad): ...`, `fix(slicer): ...`). +- PR titles must follow Conventional Commits with a **single scope** (no commas — e.g., `feat(skills): ...`, `fix(slicer): ...`; NOT `feat(cad,skills): ...` which fails `pr-validator.yml`). +- Pass PR descriptions via **`--body-file `** on Windows PowerShell (avoids backtick mangling) and include all 5 required template headings: `## Summary`, `## Motivation / Context`, `## Changes`, `## Verification & Testing`, `## Checklist`. +- Verify zero-PII audit passes with `0` personal paths, usernames, personal model specs, or numeric Bambu Studio cloud user IDs (``). - Only **`@mlgitdev`** can approve, merge, or force merge (`gh pr merge --admin --squash`). +- **Post-Release Notes Polish:** After `release.yml` publishes `vX.Y.Z` archives (`.zip` / `.tar.gz`), update the GitHub Release body via `gh release edit vX.Y.Z --notes-file ` so real changelog highlights replace the static workflow boilerplate. diff --git a/.agents/skills/bambuforge-repo-sync/scripts/sync_to_bambuforge.py b/.agents/skills/bambuforge-repo-sync/scripts/sync_to_bambuforge.py index 5bec79c..df119b9 100644 --- a/.agents/skills/bambuforge-repo-sync/scripts/sync_to_bambuforge.py +++ b/.agents/skills/bambuforge-repo-sync/scripts/sync_to_bambuforge.py @@ -22,6 +22,7 @@ # Split strings to prevent self-detection during audit _PRJ_KEYWORD = "Antigravity" + "Projects" _USER_KEYWORD = "mike" + "v" +_MW_PUB_KEYWORD = "makerworld" + "-publisher" # Default paths (configurable via CLI or environment) _BASE_DIR = Path("E:/") / _PRJ_KEYWORD / "3dModeling" @@ -48,6 +49,7 @@ re.compile(rf"{_PRJ_KEYWORD}", re.IGNORECASE), re.compile(r"BambuStudio[\\/]user[\\/]\d{6,}", re.IGNORECASE), re.compile(r"user_id\s*=\s*\d{6,}", re.IGNORECASE), + re.compile(rf"{_MW_PUB_KEYWORD}", re.IGNORECASE), re.compile(r"gho_[A-Za-z0-9_]{20,}"), re.compile(r"ghp_[A-Za-z0-9_]{20,}"), ] @@ -79,7 +81,12 @@ def sanitize_public_agents_md(text: str) -> str: idx = text.find(marker) if idx == -1: return text - header_part = text[:idx].rstrip() + "\n\n" + # Also strip private MakerWorld publishing lines from Section 1 workspace architecture + header_lines = [ + ln for ln in text[:idx].splitlines() + if not re.search(rf"{_MW_PUB_KEYWORD}|\bmakerworld/|\bphotos/.*MakerWorld", ln, re.IGNORECASE) + ] + header_part = "\n".join(header_lines).rstrip() + "\n\n" public_tail = ( "## 7. Learned User Preferences (Auto-Updated)\n\n" "> *This section is automatically populated by the `self-learning-cad` skill as you calibrate " diff --git a/VERSION b/VERSION index 9084fa2..26aaba0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.0 +1.2.0