From ca208174f4212458b85a0f38364483481646ae68 Mon Sep 17 00:00:00 2001 From: mlgitdev Date: Mon, 23 Nov 2026 19:54:06 +0200 Subject: [PATCH] feat(cad,skills): add universal FDM patterns, filament drying profiles & clean public sync --- .../references/fdm-design-principles.md | 28 ++ .agents/skills/bambu-studio-ai/SKILL.md | 3 + .../references/filament-profiles.md | 6 +- .../scripts/sync_to_bambuforge.py | 77 +++++- .../references/feedback-log.jsonl | 4 - .../references/learned-preferences.md | 140 +--------- AGENTS.md | 246 +----------------- FILAMENTS.md | 61 ++++- SPEED_TUNING_GUIDE.md | 55 ++-- VERSION | 2 +- profiles/0.08mm_Frucindra_PETG_atBBL_P2S.json | 68 +++++ ...0.08mm_Vertexfil_PETG_Basic_atBBL_P2S.json | 68 +++++ profiles/0.12mm_Frucindra_PETG_atBBL_P2S.json | 68 +++++ ...0.12mm_Vertexfil_PETG_Basic_atBBL_P2S.json | 68 +++++ profiles/0.16mm_Frucindra_PETG_atBBL_P2S.json | 68 +++++ ...0.16mm_Vertexfil_PETG_Basic_atBBL_P2S.json | 68 +++++ profiles/0.20mm_Frucindra_PETG_atBBL_P2S.json | 68 +++++ ...0.20mm_Vertexfil_PETG_Basic_atBBL_P2S.json | 68 +++++ profiles/0.24mm_Frucindra_PETG_atBBL_P2S.json | 68 +++++ ...0.24mm_Vertexfil_PETG_Basic_atBBL_P2S.json | 68 +++++ profiles/0.28mm_Frucindra_PETG_atBBL_P2S.json | 71 +++++ ...0.28mm_Vertexfil_PETG_Basic_atBBL_P2S.json | 71 +++++ profiles/Frucindra_PETG_0.4.json | 105 ++++++++ profiles/Vertexfil_PETG_Basic_0.4.json | 105 ++++++++ .../generate_all_custom_matrix_profiles.py | 22 +- ...erate_all_filament_and_process_profiles.py | 73 +++++- 26 files changed, 1333 insertions(+), 416 deletions(-) delete mode 100644 .agents/skills/self-learning-cad/references/feedback-log.jsonl create mode 100644 profiles/0.08mm_Frucindra_PETG_atBBL_P2S.json create mode 100644 profiles/0.08mm_Vertexfil_PETG_Basic_atBBL_P2S.json create mode 100644 profiles/0.12mm_Frucindra_PETG_atBBL_P2S.json create mode 100644 profiles/0.12mm_Vertexfil_PETG_Basic_atBBL_P2S.json create mode 100644 profiles/0.16mm_Frucindra_PETG_atBBL_P2S.json create mode 100644 profiles/0.16mm_Vertexfil_PETG_Basic_atBBL_P2S.json create mode 100644 profiles/0.20mm_Frucindra_PETG_atBBL_P2S.json create mode 100644 profiles/0.20mm_Vertexfil_PETG_Basic_atBBL_P2S.json create mode 100644 profiles/0.24mm_Frucindra_PETG_atBBL_P2S.json create mode 100644 profiles/0.24mm_Vertexfil_PETG_Basic_atBBL_P2S.json create mode 100644 profiles/0.28mm_Frucindra_PETG_atBBL_P2S.json create mode 100644 profiles/0.28mm_Vertexfil_PETG_Basic_atBBL_P2S.json create mode 100644 profiles/Frucindra_PETG_0.4.json create mode 100644 profiles/Vertexfil_PETG_Basic_0.4.json 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 c60c412..15d484e 100644 --- a/.agents/skills/3d-print-modeling/references/fdm-design-principles.md +++ b/.agents/skills/3d-print-modeling/references/fdm-design-principles.md @@ -159,3 +159,31 @@ When engineering enclosures, faceplates, signage, or flush multi-color inlays ac - Keep the blind shutter pocket roof beneath the funnel floor (`-2.0°` slope toward the tilted bed side + `4.5°` wall draft on opposing pocket walls) so `46°` tilted printing yields `0.0 g` internal support. - Build multi-vertex ruled lofts directly via `Face(Wire.make_polygon([Vector(x, y, z) for ...]))` and `loft([f_bot, f_top], ruled=True)` to prevent `BuildSketch` vertex re-indexing twists. +--- + +## 10. Universal Zero-Waste Multi-Color, Engraving, Print-Flat Strength & Texture Patterns + +1. **Zero-Waste Single-Color Clip-Together Multi-Color Architecture (`0` Filament Swaps, Zero Glue):** + - For multi-color flat boards, panels, and inlays without AMS purge waste (or for single-extruder printers), avoid gluing dozens of tiny loose tiles. + - **2-Piece Flush Interlocking Lattice:** Split a checkered/grid face into (a) a single-color **Raised-Island Base Plate** and (b) a contrasting single-color **Window Lattice Frame** that drops over the raised islands inside a `45°` tapered shell window so both colors sit `100%` flush (`0.18 mm` clearance). + - **Comb-Linked Multi-Element Strips:** Join repeated color shapes (e.g. triangles, stripes, accents) along a thin concealed perimeter rail with staggered Z-heights (`>= 0.60 mm` vertical separation between colors) and lock all strips flush beneath a single **Snap-In Perimeter Retaining Frame**. Every color prints on its own zero-swap single-color plate. + +2. **Single-Color Paint-Fillable Engravings & Flat-Printed Snap-Slide Lids:** + - For decorative single-color enclosures meant to be accent-painted with a fine brush (acrylic / model paint + wipe-off), print primary artwork faces flat in XY (`0.85–1.00 mm` deep, `>= 1.15 mm` stroke width) so paint pools crisply inside the grooves. + - On vertical side walls, use **`42°` V-chased or `42°`-roofed grooves (`0.65–0.80 mm` deep)** so overhangs remain `0.00% > 45°`. + - For two-part card/tool cases with zero-fall-off lids, pair a flat-printed dock with a flat-printed sliding cover captured by **`43.6°` dovetail rails** on three edges plus **twin `38.7°` octahedral snap-detents** (`0.12 mm`/side preload) and a `45°` U-shaped top finger pull-out scoop. + +3. **Print-Flat Axial Strength (Rods, Handles & Zero-Hardware Clamps):** + - Never print thin high-stress rods, poles, or blade-clamping studs upright along Z where interlayer delamination causes snapping. + - Print solid rods and handles **flat along X/Y on `Z = 0`** using a narrow planar bed strip (`~2.0–2.4 mm`) transitioning via `45°` lower bevels into the rounded/octagonal crown so filament strands run continuously along the load axis. + - Slice structural rods at **`40–50%` `gyroid` infill** (rather than brittle `100%` solid or weak hollow shells) for optimal flex ductility and impact resistance. + - For zero-hardware clamping (e.g. replaceable blades or tool inserts), lock parts via **twin `45°` sliding dovetails blocked by a 360° knurled sliding collar** or a **`45°` 3-wing bayonet twist-lock**, shielding sharp edges in a snap-detent scabbard (`>= 1.3 mm` internal edge clearance). + +4. **Upward-Facing Heightfield Texture Lofting (`n_z > 0` → `0.00%` Overhangs) & Support-Free Inverted Collars:** + - When adding continuous woven/rope/fluted textures across concave troughs and steep rising walls, compute the surface modulation strictly as a single-valued heightfield `z(x, y) = z_base(y) + Δz(x, y)` sampled uniformly in trough arc length `s` and lofted via explicit `Face(Wire.make_polygon(...))` sections. Because `n_z > 0` mathematically everywhere on a heightfield, overhangs `> 45°` stay strictly **`0.00%`**. + - Replace support-heavy curved stacking collars (downward fillets at `Z = 0`) with **inverted `42°–43°` beveled domes + `44°` self-centering nesting cradles**, and sculpt horizontal decorative wall coils with `<= 42.5°` beveled undersides transitioning into rounded crests (`0.00%` overhangs). + +5. **Cross-Suite Interface Locking & Flip-Proof Captive Travel Storage:** + - 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. + diff --git a/.agents/skills/bambu-studio-ai/SKILL.md b/.agents/skills/bambu-studio-ai/SKILL.md index bf058d6..63fcc63 100644 --- a/.agents/skills/bambu-studio-ai/SKILL.md +++ b/.agents/skills/bambu-studio-ai/SKILL.md @@ -94,6 +94,9 @@ Whenever packing multiple trays/modules and multi-color AMS sub-parts into a sin 10. **Bambu Studio 2.6 `"include"` G-Code Resolution, Native Presets & `"gyroid"` Infill:** * Always use **`"gyroid"`** for `sparse_infill_pattern` (never `"rectilinear"`, which Bambu Studio 2.6 rejects for sparse infill with a warning popup). * Resolve both `"inherits"` and `"include"` JSON templates inside `_flatten_bambu_json()` (`p2s_cad_helpers.py`) before generating the `.3mf` via `bambu-studio.exe --load-settings ";" --load-filaments "" --export-3mf`. Verify programmatically that `printer_settings_id == "Bambu Lab P2S 0.4 nozzle"`, `curr_bed_type == "Textured PEI Plate"`, `filament_settings_id == ["Bambu PLA Basic @BBL P2S"]` (or the requested installed filament), `print_settings_id` matches an installed process preset (never a made-up unnamed profile), and `different_settings_to_system[1..2] == ["", ""]` so zero G-code security popups or `(filename)` preset renames occur. +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. --- diff --git a/.agents/skills/bambu-studio-ai/references/filament-profiles.md b/.agents/skills/bambu-studio-ai/references/filament-profiles.md index 0069b55..2faff46 100644 --- a/.agents/skills/bambu-studio-ai/references/filament-profiles.md +++ b/.agents/skills/bambu-studio-ai/references/filament-profiles.md @@ -110,9 +110,9 @@ This profile tunes **UJOYBIO / EjoyBio Elite PLA+** for **ultra-fine miniature r ## 4. Installed Locations & Programmatic Usage 1. **Live Bambu Studio User Directory (Installed & Ready in Slicer Dropdown):** - - `\AppData\Roaming\BambuStudio\user\944859351\process\0.20mm Precision @BBL P2S - Ujoy PLA+.json` - - `\AppData\Roaming\BambuStudio\user\944859351\process\0.16mm Precision @BBL P2S - Ujoy PLA+.json` - - `\AppData\Roaming\BambuStudio\user\944859351\process\0.24mm Standard @BBL P2S - Ujoy PLA+.json` + - `\AppData\Roaming\BambuStudio\user\\process\0.20mm Precision @BBL P2S - Ujoy PLA+.json` + - `\AppData\Roaming\BambuStudio\user\\process\0.16mm Precision @BBL P2S - Ujoy PLA+.json` + - `\AppData\Roaming\BambuStudio\user\\process\0.24mm Standard @BBL P2S - Ujoy PLA+.json` 2. **Workspace Profiles Resource Directory:** - `.agents/skills/bambu-studio-ai/resources/profiles/ujoybio_pla_plus_020mm_precision_project_settings.json` - `.agents/skills/bambu-studio-ai/resources/profiles/ujoybio_pla_plus_016mm_precision_project_settings.json` 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 c7cd035..5bec79c 100644 --- a/.agents/skills/bambuforge-repo-sync/scripts/sync_to_bambuforge.py +++ b/.agents/skills/bambuforge-repo-sync/scripts/sync_to_bambuforge.py @@ -38,12 +38,16 @@ (rf"C:(\\\\|[\\/])Users(\\\\|[\\/]){_USER_KEYWORD}", ""), (rf"[Cc]:/[Uu]sers/{_USER_KEYWORD}", ""), (rf"{_USER_KEYWORD}", "mlgitdev"), # Public GitHub handle + (r"(BambuStudio[\\/]+user[\\/]+)\d{6,}", r"\1"), + (r"(user_id\s*=\s*)\d{6,}", r"\1"), ] # Strict forbidden patterns that will abort the sync if detected in synced files FORBIDDEN_PATTERNS = [ re.compile(rf"C:[\\/]Users[\\/]{_USER_KEYWORD}", re.IGNORECASE), 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(r"gho_[A-Za-z0-9_]{20,}"), re.compile(r"ghp_[A-Za-z0-9_]{20,}"), ] @@ -64,6 +68,64 @@ ] +def sanitize_public_agents_md(text: str) -> str: + """ + Keeps BambuForge's public AGENTS.md general-purpose for all users by preserving + Sections 0..6 (Onboarding, Architecture, Hardware, Support-Free Rules, Tolerances, + Worktree Protocol, Self-Learning Loop) and replacing personal Section 7 & Section 8 + (user-specific project preferences & private Model Registry) with clean starter templates. + """ + marker = "## 7. Learned User Preferences" + idx = text.find(marker) + if idx == -1: + return text + header_part = text[:idx].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 " + "your specific printer, filaments, and design preferences. Universal FDM engineering patterns " + "live in [`.agents/skills/3d-print-modeling/references/fdm-design-principles.md`]" + "(.agents/skills/3d-print-modeling/references/fdm-design-principles.md).*\n\n" + "* **Printer:** Configure via First-Run Onboarding (Section 0).\n" + "* **Default Slicing Philosophy:** Support-free (`<= 45°` overhangs, `Z = 0` chamfers), " + "`gyroid` sparse infill, native `.step` + `.3mf` multi-plate exports, and non-destructive " + "versioned `.3mf` iterations.\n" + "* **Multi-Color Strategy:** Offer both flush AMS inlay (`1.60–2.00 mm` depth) and zero-waste " + "single-color clip-together lattice/comb assemblies (`0` filament swaps) when appropriate.\n\n" + "---\n\n" + "## 8. Model Registry\n\n" + "| Date | Model Folder | Description | Status | Print Feedback / Notes |\n" + "| :--- | :--- | :--- | :--- | :--- |\n" + "| *(auto)* | `models//` | *New models generated in this workspace are indexed here automatically.* | — | — |\n" + ) + return header_part + public_tail + + +PUBLIC_LEARNED_PREFS_TEMPLATE = ( + "# Learned User Preferences & Calibrated CAD Rules\n\n" + "> **Purpose:** This file is the living memory of your personal 3D modeling workspace. " + "As you provide fit feedback, dimensional tweaks, or aesthetic preferences, the `self-learning-cad` " + "skill appends your personal rules here so the agent never repeats a mistake.\n>\n" + "> **Universal FDM Rules:** General-purpose, community-applicable design standards live in " + "[`fdm-design-principles.md`](../../3d-print-modeling/references/fdm-design-principles.md).\n\n" + "---\n\n" + "## 1. Core Baseline Preferences\n\n" + "* **Primary CAD Engine:** `build123d` (Python OpenCascade B-Rep) + FreeCAD-compatible `.step` / `.3mf` / `.stl`.\n" + "* **Support-Free Priority:** High (`<= 45°` overhangs, `Z = 0` chamfers, teardrop horizontal holes `> 5 mm`).\n" + "* **Infill Default:** `gyroid` sparse infill (`40–50%` for print-flat structural rods).\n\n" + "---\n\n" + "## 2. Personal Fine-Tuning Rules Log\n\n" + "| Date | Category | Model | Gap Identified | Permanent Rule Adopted |\n" + "| :--- | :--- | :--- | :--- | :--- |\n" +) + + +# Files inside synced directories that store personal workspace history and should be generalized/skipped in public BambuForge +SKIP_IN_PUBLIC = { + "feedback-log.jsonl", +} + + def sanitize_text(text: str) -> str: """Applies privacy replacements to file contents.""" sanitized = text @@ -111,6 +173,8 @@ def copy_and_sanitize(src: Path, dst: Path, dry_run: bool = False, memory_violat else: text = src.read_text(encoding="utf-8", errors="ignore") sanitized = sanitize_text(text) + if src.name == "AGENTS.md": + sanitized = sanitize_public_agents_md(sanitized) if memory_violations is not None: memory_violations.extend(audit_text_for_pii(sanitized, src.name)) if not dry_run: @@ -128,6 +192,12 @@ def copy_and_sanitize(src: Path, dst: Path, dry_run: bool = False, memory_violat src_file = Path(root) / file_name dst_file = target_root / file_name + if file_name in SKIP_IN_PUBLIC: + if not dry_run and dst_file.exists(): + dst_file.unlink() + skipped_count += 1 + continue + if not dry_run: target_root.mkdir(parents=True, exist_ok=True) @@ -136,8 +206,11 @@ def copy_and_sanitize(src: Path, dst: Path, dry_run: bool = False, memory_violat shutil.copy2(src_file, dst_file) copied_count += 1 else: - text = src_file.read_text(encoding="utf-8", errors="ignore") - sanitized = sanitize_text(text) + if file_name == "learned-preferences.md": + sanitized = PUBLIC_LEARNED_PREFS_TEMPLATE + else: + text = src_file.read_text(encoding="utf-8", errors="ignore") + sanitized = sanitize_text(text) if memory_violations is not None: memory_violations.extend(audit_text_for_pii(sanitized, str(rel_root / file_name))) if not dry_run: diff --git a/.agents/skills/self-learning-cad/references/feedback-log.jsonl b/.agents/skills/self-learning-cad/references/feedback-log.jsonl deleted file mode 100644 index c910f08..0000000 --- a/.agents/skills/self-learning-cad/references/feedback-log.jsonl +++ /dev/null @@ -1,4 +0,0 @@ -{"timestamp": "2026-10-26T20:10:02", "date": "2026-10-26", "category": "workflow_organization", "model": "04-self-watering-sip-wicking-planter", "gap": "Bulky objects like planters defaulted to 0.20mm layer height without offering 0.28mm draft speed option, causing unnecessarily long print times when fine precision is not critical.", "rule": "For bulky structural designs (planters, trays, bins), proactively clarify layer height preference (0.20mm Standard vs 0.28mm Extra Draft) during intake; ensure vertical Z-steps and sacrificial bridges are compatible with 0.28mm, and document draft speed print estimates."} -{"timestamp": "2026-11-07T13:38:19", "date": "2026-11-07", "category": "workflow_organization", "model": "melitta-coffee-bean-dispenser", "gap": "Bambu Studio 2.6 rejected sparse_infill_pattern=rectilinear with a warning popup, showed a Customized Preset G-code security popup when machine include gcode templates were omitted, renamed dropdown presets to (filename), and rejected dangling 3D/_rels/ entries on Stage-2 CLI round-trips.", "rule": "Always use gyroid for sparse_infill_pattern; recursively resolve both inherits and include JSON templates in _flatten_bambu_json() before CLI 3MF generation with native Bambu Lab P2S 0.4 nozzle (Textured PEI Plate), Bambu PLA Basic @BBL P2S, and installed user fine-print presets (e.g. 0.16mm Precision @BBL P2S - Ujoy PLA+) so different_settings_to_system[1..2] stay empty; and strip 3D/_rels/ alongside 3D/Objects/ before Stage-2 CLI round-trips."} -{"timestamp": "2026-11-07T13:38:19", "date": "2026-11-07", "category": "support_free_geometry", "model": "melitta-coffee-bean-dispenser", "gap": "Hopper slopes had vertical cut-off steps on Front and Left walls, lacked Back slope coverage around the circular slider housing guide contour, and BuildSketch Polygon ruled lofts could twist vertex order.", "rule": "Preserve an unbroken circular slider guide contour (R_guide = R_blade + 0.85 mm clearance) around rotary quarter-circle shutters, sweep Front, Left, and Back slopes continuously down to R_guide with zero cut-off cliffs, keep blind shutter pockets beneath the slope floor (-2 deg ceiling pitch + 4.5 deg wall draft for 0.0 g internal support at 46 deg tilt), verify 0.000000 mm3 collision across multi-angle rotation and 3D insertion paths, and build multi-vertex lofts directly from explicit Face(Wire.make_polygon(...)) wires."} -{"timestamp": "2026-11-07T15:35:31", "date": "2026-11-07", "category": "workflow_organization", "model": "workspace", "gap": "sync_to_bambuforge.py only committed inside ../BambuForge while 3D-Automation lacked a mandatory local commit rule, and worktree.ps1 remove did not delete temporary agent branches.", "rule": "Always record an atomic local git commit on main in 3D-Automation after every completed task (or pass --commit-source to sync_to_bambuforge.py; never push un-sanitized 3D-Automation commits to public origin), and always finish temporary worktrees via 'scripts/worktree.ps1 finish main' so no agent-created branches remain behind (never delete user-created branches)."} diff --git a/.agents/skills/self-learning-cad/references/learned-preferences.md b/.agents/skills/self-learning-cad/references/learned-preferences.md index 8e575ff..712e84a 100644 --- a/.agents/skills/self-learning-cad/references/learned-preferences.md +++ b/.agents/skills/self-learning-cad/references/learned-preferences.md @@ -1,144 +1,20 @@ # Learned User Preferences & Calibrated CAD Rules -> **Purpose:** This file is the living memory of our 3D modeling partnership. Before designing any new model, the agent reads this file to apply all accumulated lessons from past conversations and prints. +> **Purpose:** This file is the living memory of your personal 3D modeling workspace. As you provide fit feedback, dimensional tweaks, or aesthetic preferences, the `self-learning-cad` skill appends your personal rules here so the agent never repeats a mistake. +> +> **Universal FDM Rules:** General-purpose, community-applicable design standards live in [`fdm-design-principles.md`](../../3d-print-modeling/references/fdm-design-principles.md). --- -## 1. Core Baseline Preferences (Established 2026-10-24) +## 1. Core Baseline Preferences -* **Target Printer:** Bambu Lab P2S (`256 × 256 × 256 mm` build volume). -* **Primary CAD Engine:** **`build123d` (Python OpenCascade B-Rep CAD)** & **FreeCAD Python API** compatibility (exporting native `.step`, `.3mf`, and `.stl`). Do **not** use legacy OpenSCAD (`2021.01`). -* **Target Slicer:** Bambu Studio (`.step` for true `G2`/`G3` circular arc slicing + `.3mf` and `.stl` exports). -* **Support-Free Priority:** **High.** Always design angles (`<= 45°` from vertical), bottom chamfers (`45°`), teardrop horizontal holes (`> 5 mm`), and sacrificial 1-layer counterbore bridges (`0.20 mm`) so models slice in Bambu Studio with **Support = OFF**. -* **Project Structure:** Every requested model gets its own folder under `models//` with `exports/` and `previews/` subdirectories, and is tracked in `AGENTS.md`. -* **Parametric Transparency:** Keep key dimensions in a clean `@dataclass` block at the top of each `.py` model file so fine-tuning is instantaneous. +* **Primary CAD Engine:** `build123d` (Python OpenCascade B-Rep) + FreeCAD-compatible `.step` / `.3mf` / `.stl`. +* **Support-Free Priority:** High (`<= 45°` overhangs, `Z = 0` chamfers, teardrop horizontal holes `> 5 mm`). +* **Infill Default:** `gyroid` sparse infill (`40–50%` for print-flat structural rods). --- -## 2. Learned Fine-Tuning Rules Log +## 2. Personal Fine-Tuning Rules Log | Date | Category | Model | Gap Identified | Permanent Rule Adopted | | :--- | :--- | :--- | :--- | :--- | -| `2026-10-24` | `support_free_geometry` | *Baseline* | User prefers minimal/zero supports on P2S prints | Default all overhangs to `<= 45°`, use `45°` bottom chamfers (`1.0 mm`), and use `make_teardrop_cylinder()` on horizontal bores `> 5 mm`. | -| `2026-10-24` | `workflow_organization` | *Toolchain* | OpenSCAD stable release is >5 years old and lacks modern B-Rep features | Replaced OpenSCAD with **`build123d` (OpenCascade 8.0 B-Rep)** + FreeCAD-compatible `.step`/`.3mf`/`.stl` exports inside `.venv`. | -| `2026-10-24` | `workflow_organization` | `cherry-tomato-modular-planter` | User prefers multi-part modular sets saved in a single `.3mf` file across separate trays (build plates) | Always use `export_bambu_multiplate_3mf()` (`bambu-studio --arrange 1 --export-3mf`) with the P2S `0.4 mm` profile to pack multi-module assemblies onto separate trays in one `.3mf` project. | -| `2026-10-24` | `support_free_geometry` | `cherry-tomato-modular-planter` | Extension riser needs integrated printed rods to lock into the 4 base holes without supports | Model 4 hollow male alignment rods on the riser and **invert print orientation (`180°` on flat top rim at `Z = 0`)** so the 4 locking rods print pointing straight up (`+Z`) with zero supports. | -| `2026-10-24` | `ergonomics_aesthetics` | *All Planter Models* | User wants multi-color AMS segmentation: 6 color zones on Base Planter, 1 color on Drip Saucer, 4 color zones on Extension Riser | Export multi-body `Compound` `.step` assemblies where each structural layer, connecting strip/belt, rim, and corner edge column is a distinct sub-part for 1-click multi-color assignment in Bambu Studio. | -| `2026-10-24` | `workflow_organization` | *All Multi-Plate `.3mf` Exports* | Plate 3 was empty in `.3mf` when placed at `X=742.4, Y=128.0` because Bambu Studio uses a 2-column grid for 3+ plates | Always place Plate `N` using `col = (N-1) % 2`, `row = (N-1) // 2` (`Plate 3 = 128.0, -179.2`), pass 6 flattened filament JSONs via `--load-filaments`, and round-trip through `bambu-studio.exe --export-3mf` to verify all plates and generate OpenGL thumbnails. | -| `2026-10-24` | `workflow_organization` | *Environment / Installers* | Large installer download via Python `urllib` hung for an hour | Never use unmonitored single-stream `urllib` for large installers; prefer existing user installations (`FreeCAD 1.1`, `CADCraft`) or native package managers with strict timeouts. | -| `2026-11-06` | `slicing_profiles` | `EjoyBio / UjoyBio Elite PLA+` | Needed dedicated 0.20mm and 0.16mm precision profiles adjusted for tighter tolerances, sharp debossing, and smooth perimeters | Created and installed `0.20mm Precision @BBL P2S - Ujoy PLA+` (`GP155`, 80 mm/s outer wall, 3000 mm/s² accel, precise_outer_wall=1) and `0.16mm Precision @BBL P2S - Ujoy PLA+` (`GP209`, 60 mm/s outer wall, 2000 mm/s² accel, 0.20mm initial layer) in Bambu Studio user profiles and `p2s_cad_helpers.py`. | -| `2026-10-24` | `workflow_organization` | `melitta-coffee-bean-dispenser` | `imports/` folder should only be used as read-only input, and imported objects in `.3mf` need clean descriptive names | Treat `imports/` as strictly read-only input; generate all outputs in `models//`, and always rename imported `.3mf` objects and plates in `Metadata/model_settings.config` to descriptive names. | -| `2026-10-24` | `workflow_organization` | *All Models* | Multi-part models and functional accessories (like the sub-soil arch straw) need visual assembly & usage instructions | Always generate an illustrated `ASSEMBLY_GUIDE.md` with rendered 3D exploded/cutaway assembly images (`previews/*_assembly_guide.png`) inside every `models//` directory. | -| `2026-10-26` | `workflow_organization` | `04-self-watering-sip-wicking-planter` | Bulky objects like planters defaulted to 0.20mm layer height without offering 0.28mm draft speed option, causing unnecessarily long print times when fine precision is not critical. | For bulky structural designs (planters, trays, bins), proactively clarify layer height preference (0.20mm Standard vs 0.28mm Extra Draft) during intake; ensure vertical Z-steps and sacrificial bridges are compatible with 0.28mm, and document draft speed print estimates. | -| `2026-10-27` | `fit_tolerance_mechanics` | `01-oval-stadium-planter` | Stacking riser had conical column taper meeting flat base planter rim, blocking mating (+8.4mm air gap) and requiring sanding | Male locking rods must protrude from a flat planar landing shoulder; never use full-width conical taper without matching socket counterbore. Provide small root fillet ($\le 0.8\text{ mm}$) nesting in socket lead-in chamfer ($\ge 1.4\text{ mm}$), ensuring 100% flush planar contact with zero sanding. | -| `2026-10-27` | `toolchain_automation` | *All CAD Requests* | Raster graphics (PNG, JPG) in `imports/` needed manual tracing for CAD embossing & modifier integration | Developed `png_to_svg.py` with alpha/luminance isolation, Rust-accelerated `vtracer` sub-pixel spline fitting, mm physical scaling, origin centering, and direct `build123d.import_svg` integration. | -| `2026-10-27` | `fit_tolerance_mechanics` | `All Modular Stacking Models` | Stackable male parts had male skirt and Lego registration boss, but receiving bottom module was flat with no female receiving pockets | **Modular Stacking Snap-Fit Verification Rule:** Whenever designing stackable male parts (with male skirt and circular Lego boss), always design matching female receiving features (skirt pocket + circular Lego socket) in the receiving part with +0.5mm vertical clearance and +0.35mm lateral clearance. Before finalizing, execute a simulated boolean snapping test in `build123d` proving `0.000000 mm³` collision volume and generate a cross-section illustration showing zero seam gap. | -| `2026-10-27` | `workflow_organization` | `multi-part-enclosure` | In Bambu Studio, legacy 3MF part matrices caused parts to overlap on plate, and parts without `` tags (e.g. hinge pin rod) were hidden from plate preview | In Bambu Studio multi-part projects: 1) Assign distinct, non-overlapping coordinates (>25 mm clearance) to every object on the bed; 2) Explicitly declare every printable part via a `` tag inside `` in `Metadata/model_settings.config` so it renders and slices; 3) Orient front latches with horizontal pivot axis and base containers upright ($Z = 0.00$ floor). | -| `2026-10-27` | `workflow_organization` | *All Future Models* | Previews previously diverged from 3MF exports (different coordinates, inverted parts, missing plate instances), burning conversation turns and tokens | **Interactive Exploded Viewer & Mandatory 1:1 Preview-to-3MF Correlation Invariant:** Standardized offline Three.js viewer with 0–100% Exploded Slider, AMS component toggles, camera presets, auto-spin strictly OFF by default. Programmatic audit (`audit_3mf_correlation`) must run before handoff, asserting 1:1 match with 3MF plate instances, zero bed collisions, and correct print orientations. | -| `2026-10-27` | `multi_part_slicing_orientation` | *All Multi-Part Sets* | Toolhead exclusion bubble collisions in "by object" mode; mirrored exterior text on face-down prints; missing auxiliary hardware in 3MF exports | **Tiered Plate Layout & Embedded Hardware Invariant:** Separate main enclosures (front tier: $Y \approx 65\text{ mm}$) and accessories (rear tier: $Y \approx 195\text{ mm}$) with $\ge 100\text{ mm}$ spacing in Y to prevent exclusion zone overlaps. Align all mating features along identical directional axes. Verify face-down text reads left-to-right from exterior. Embed auxiliary 3D hardware directly into primary recognized sub-models (e.g. `object_24.model`) with explicit `` tags in config. | -| `2026-11-07` | `support_free_geometry` | `melitta-coffee-bean-dispenser` | Flat `0°` printing of monolithic blind horizontal pockets (`~4,800 mm²` ceiling) caused Bambu Studio to fill the `3.8 mm` shutter slot with unremovable internal support material | **Monolithic Blind Pocket Tilted Print Orientation & Un-Engraved Support-Side Rule (`45°–47°` Tilt + `support_on_build_plate_only = 1`):** Whenever an enclosed monolithic pocket has a wide `0°` horizontal roof that would require trapped internal supports when printed flat, pre-orient the body tilted `45°–47°` onto an **un-engraved exterior wall** (with a `2.0 mm` bed-stabilization chamfer), flare internal pocket/slot roofs (`+5°..+17°`) and draft opposing inner walls (`5°`) so 100% of internal surfaces sit `> 45°` from horizontal (`0.0 g` internal support), and enforce `support_type = tree(auto)` + `support_on_build_plate_only = 1` so exterior supports touch only the plain un-engraved side while all branded/text faces stay vertical or skyward. | -| `2026-11-07` | `fit_tolerance_mechanics` | `melitta-coffee-bean-dispenser` | 1-piece rotary shutter + exterior thumb handle was physically blocked from entering the monolithic enclosed pocket during assembly | **Enclosed Mechanism 3D Kinematic Insertion Trajectory Audit & Dual-Lock Snap-Handle Rule:** Never design a 1-piece internal slider + external handle for an enclosed monolithic pocket without verifying assembly kinematics. Split trapped mechanisms into: (1) a slide-in internal member with a planar XY elastic C-jaw snap socket (`0.35 mm`/side deflection, `< 1.5%` strain), (2) a keyed external handle pushed straight through the housing slot (`Snap Lock #1`), and (3) a coaxial pivot pin passing through both housing and handle eye (`Positive Pin Lock #2`). Mandatory pre-handoff check: run a continuous multi-step 3D B-Rep insertion trajectory simulation asserting `0.000000 mm³` collision from outside the housing to the seated position. | - -* **Planter Drip Saucer Clearance & Full Corner Column Coverage Rule:** - - Water collection saucers and drip plates must fully cover both the planter's nominal body profile AND any reinforced corner columns or architectural pilasters. - - Clearance must be generous: **$\ge 4.5 - 5.0\text{ mm}$ per side** ($9.0 - 10.0\text{ mm}$ total gap), never razor-thin or "millimeter-to-millimeter" ($\le 1.0\text{ mm}$), ensuring effortless drop-in and lift-out without binding, jamming, or surface-tension sticking. - - For oval / stadium planters, calibrate the saucer corner radius ($R \approx 50.0\text{ mm}$) so the corner does not aggressively cut into the diagonal corner columns, maintaining a uniform $4.8\text{ mm}$ clearance all around. - - Outer dimensions must remain $\le 250\text{ mm}$ (e.g. $248 \times 198\text{ mm}$) to stay safely within the Bambu Lab P2S $256 \times 256\text{ mm}$ build envelope. - - Internal raised aeration rails ($3.6\text{ mm}$ height) must elevate the planter above standing runoff water for root health. - -* **Planter Sub-Soil Irrigation Straw Geometry & Round Floor Hole Invariant:** - - **Nominal Floor Hole Profile:** Planter drainage and sub-irrigation floor holes are round cylinders (nominal $\varnothing 8.00\text{ mm}$). - - **True Round Circular Plug Cross-Section ($\varnothing 7.20\text{ mm}$):** Irrigation arch straws and bottom insertion plugs must be true round cylinders with a continuous circular cross-section ($\varnothing 7.20\text{ mm}$ outer diameter with continuous hollow $\varnothing 5.00\text{ mm}$ capillary wicking bore). - - **Zero Oblong/Oval Distortion:** **NEVER** stretch, taper, or sweep a straw plug with unequal X/Z dimensions (e.g. $7.4 \times 10.6\text{ mm}$) to meet the bed, as this turns the plug into an oblong oval that physically jams and cannot enter the $\varnothing 8.00\text{ mm}$ round hole. - - **Support-Free Planar Bed Contact Strip:** To ensure 100% support-free bed adhesion when printed lying flat on $Z = 0$, keep the straw circular and add a small planar bed flat facet ($0.30\text{ mm}$) along the underside, providing a continuous $2.8\text{ mm}$ wide bed contact strip without altering the circular insertion profile. - - **Wide Landing Collar Stop ($14.0\text{ mm}$):** Provide a wide ($14.0\text{ mm}$) horizontal landing collar stop at the floor insertion line ($Y = 16.0\text{ mm}$) so the straw rests firmly on the planter floor with zero wobble, and add a $1.5\text{ mm}$ $45^\circ$ self-centering lead-in tip chamfer for smooth slide-in fit. - - **Provide Standalone Single-Straw STL:** Alongside the 2-straw multi-plate tray (`tray4_irrigation_straws_2color.stl`), always export a standalone single-straw STL (`tray4_irrigation_straw_single.stl`) for convenient single replacement printing. - -* **Universal FDM Text & Inlay Orientation Law (Face-Down Bed Contact vs Face-Up Upright Surfaces):** - - **Case A: Face-Down Bed Contact ($Z = 0.00\text{ mm}$):** - * When printing lids, covers, or panels face-down directly on the build plate (textured PEI plate at $Z = 0$) for zero supports and a premium finish, the surface contacting the bed **is the exterior face of the finished part**. - * Looking at this exterior face (from underneath the bed in Bambu Studio via bottom camera $-Z$ looking up, or when picking up the finished print) mathematically inverts the horizontal screen projection: $\text{screen}_x = -X_{\text{cad}}$. - * **Mandatory Bed Mirror Rule ($X \to -X$):** In CAD, any 2D text, logo, or multi-color inlay placed on a $Z = 0$ face-down surface **MUST be mirrored across the X axis ($X_{\text{cad}} \to -X_{\text{cad}}$)**. - * When mirrored in CAD, the finished exterior face yields $\text{screen}_x = -(-X_{\text{svg}}) = +X_{\text{svg}}$: - - Latin/English text reads naturally **Left-to-Right**. - - Hebrew/Arabic script reads naturally **Right-to-Left** (e.g. *איגרוף תאילנדי* / *קפה*). - - Emblems and symbols (Star of David, crests, logos) are **100% un-mirrored**. - * Both the negative cavity in the lid shell and the positive multi-material inlay mesh MUST use the identical mirrored transform so they mate with $0.0000\text{ mm}$ zero drift. - - - **Case B: Face-Up Upright Surfaces ($Z > 0.00\text{ mm}$):** - * When printing upright parts (e.g. bottom basin floor, top surface of an upright container, standalone badge on its flat back), the exterior face faces skyward ($+Z$). - * The user views the part directly from above ($+Z$): $\text{screen}_x = +X_{\text{cad}}$. - * **No Mirroring ($X \to +X$):** In CAD, text and inlays on an upright face MUST NOT be mirrored ($X_{\text{cad}} \to +X_{\text{cad}}$). - - - **Language Independence Invariant:** - * Script direction (English L-to-R vs Hebrew R-to-L) is already encoded in SVG vector coordinates and font metrics. - * **The rule does NOT change between languages:** Face-down on bed ALWAYS requires CAD $X \to -X$ so that BOTH English and Hebrew read correctly on the finished exterior face. Face-up NEVER requires CAD $X \to -X$. - * Tested and verified in [`tests/test-text-inlay-orientation/`](../../../tests/test-text-inlay-orientation/README.md). - - - **Standalone Artwork STLs:** Standalone badges, collectible medallions, and logos must be exported upright on their flat back at $Z = 0$ facing $+Z$ so the user can import, scale, and reposition them freely in Bambu Studio. -* **Calibrated Snap Pin Dimensions for Ø3.00mm Knuckles:** - - Pin shaft diameter: **Ø2.75 mm** (total clearance $0.25\text{ mm}$ / $0.125\text{ mm}$ per side in Ø3.00mm knuckle), providing a snug, smooth sliding fit without wobble or relaxed slack. - - Split cantilever snap barb: **Ø3.05 mm** with $0.75\text{ mm}$ flex slot, $1.50\text{ mm}$ conical lead-in ramp, compressing effortlessly through Ø3.00mm hole. - - Snap retaining collar ring: **Ø4.80 mm OD x 1.80 mm height**, inner bore **Ø2.85 mm** with **Ø3.15 mm x 0.70 mm counterbore detent** that snaps permanently over the barb. - - Dual print orientations provided: Horizontal flat-bottom pin with $0.20\text{ mm}$ bed contact facet for 100% bed adhesion and zero supports (5x layer line strength), plus vertical concentric pin. -* **Retrofit Snap Adapter Coupler for Modular Planters:** - - For previously printed base planters that lack the 3-tier Lego interlocking rim, provide a compact $18.0\text{ mm}$ tall Retrofit Snap Adapter Coupler (`oval_planter_retrofit_snap_adapter.stl` & `.step`). - - Sits flat on $Z = 0$ for support-free printing. Bottom face glues flush to the old base planter rim. - - Top face features the standard 3-tier female receiving joint (female skirt pocket $7.5\text{ mm}$ deep, circular Lego boss sockets Ø15.7 x $3.5\text{ mm}$, through-bores Ø6.7mm). - - Includes 4 concentric locator dowels (Ø6.0 x $16.0\text{ mm}$) that drop into base corner holes for 100% concentric, foolproof alignment while adhesive cures. - - Enables new Extension Risers to snap onto old printed planters with **0.0 mm seam gap** and **0.000000 mm³ collision volume**! - - - **Flush Inlay & Engraving Depth Standard (`1.60 – 2.00 mm` / `8–10 Layers`):** Never make multi-color flush inlays, debossed recesses, or standalone decorative badges shallow (`0.60 mm` / 3 layers), as light filaments (Yellow, Gold, Orange, White) over dark shells (Black, Charcoal) suffer from optical color bleed-through and fragile geometry. Always design inlays, recesses, and standalone badges at **`1.60 – 2.00 mm` depth (`8–10 layers` at `0.20 mm`)** (e.g. `1.80 mm` on a `3.00 mm` lid leaving `1.20 mm` backing; `1.60 mm` on a `2.40 mm` floor leaving `0.80 mm` / 4 solid waterproof layers). - - **UJOYBIO Elite PLA+ (`1 kg` Spool, `195–220 °C`) @ `0.24 mm` Layer Height Master Profile (Local Only — Do Not Sync to `bambuforge` While Under Test):** - * **Filament Settings:** Nozzle First Layer = `210 °C`, Nozzle Other Layers = `215 °C` (extra heat for thick `0.24 mm` layers), Bed (Textured PEI Plate) = `60 °C` (zero warping), Max Volumetric Speed = `15 mm³/s` (high-speed safety cap), Filament Diameter = `1.75 mm`, Flow Ratio = `0.98`. - * **Process Speed Settings (`0.24 mm` Layer Height):** Initial Layer = `35 mm/s`, Initial Layer Infill = `75 mm/s`, Outer Wall = `150 mm/s`, Inner Wall = `250 mm/s`, Sparse Infill = `270 mm/s`, Internal Solid Infill = `200 mm/s`, Travel Speed = `300 – 500 mm/s`. - - **Bambu Lab P2S Native `0.24 mm` Layer Preset & `>4` Plate Grid Rule:** - * Bambu Studio does not ship a stock `0.28 mm` preset for the Bambu Lab P2S (`0.4 mm` nozzle); its native thick-layer preset is **`0.24mm Standard @BBL P2S.json`** (`setting_id = GP214`) paired with **`Bambu PLA Basic @BBL P2S.json`**. Design horizontal floors (`1.20 mm`), short drip ribs (`0.96 mm`), and vertical Z-steps as multiples of `0.24 mm`. - * For multi-plate `.3mf` files with `5..9` plates, Bambu Studio switches from `2` columns to **`3` columns** (`n_cols = max(2, math.ceil(math.sqrt(num_plates)))`, stride `307.2 mm`). Always strip cached `Metadata/plate_*.png` thumbnails from CLI skeleton `.3mf` files before staging real geometry. - - **Thin Material-Saving Drip Plates & Leak-Proof Modular Seam Roofing:** - * Keep drip trays lightweight (`1.20 mm` floor, `1.26–1.44 mm` walls, and **`0.96 mm` [`~1.0 mm`]** short raised ribs) to reduce material usage by `~60%`. - * Never put a wet floor seam inside a modular drip plate (`0.2 mm` capillary gap leaks). Use unbroken monolithic basins (`>= 4.3–4.5 mm` standing water depth), dry exterior dovetail lugs resting flat on `Z = 0.00 mm`, and roof the seam above water level via a **One-Piece `45°` Roof-Shingle Overlap Weir** or **Snap-Over Peaked Saddle Roof Cap**. - - **Conus (Conical) Storage-Stackable Planters & Anti-Jam Stacking Lugs:** - * Taper utility planters and drip saucers into a **Conus (truncated-cone) frustum** (`base_od < top_od`, e.g. `Ø125→103 mm` planter and `Ø128→118.4 mm` drip plate) so identical pots and plates nest compactly (`67–88%` depth) when stored. - * Always add narrow vertical **anti-jam stacking stop lugs** seated directly on the inner floor (`0.0%` overhang) so nested cones stop cleanly with **`+0.25 to +0.45 mm` radial wall clearance** (`0.000000 mm³` collision) and never friction-lock or vacuum-stick together. - - **Indoor Silk Showcase Planters & Deep Capillary Wicking Reservoir Architecture:** - * **Single-Color Silk 3D Relief Strings:** When optimizing sculptural planters for Silk PLA / Dual-Color Silk PLA in an indoor living-room setting, omit external irrigation ports for a clean architectural crown collar (`r = r_wall`). Increase string density (`24–28` strings) with narrow (`1.20–1.35 mm`) crests and deep (`3.60–4.20 mm`) radial projection to catch ambient room lighting and cast pronounced 3D luster ribbons without breaking. - * **Deep Twist-Lock Wicking Reservoir (`2.3×` Deeper + Tall Support Ribs):** Expand bottom reservoir depth to **`32.2 – 38.4 mm`** (`~340 – 690 mL` submerged capacity), and elevate the planter floor with **`13.44 – 16.80 mm` tall outer radial support ribs**. Keep the central basin completely rib-free as a **wide-open, snag-free central wicking pool (`Ø86 – Ø112 mm`)** directly beneath enlarged floor holes (`1× Ø12–14 mm` center + `4× Ø11–12 mm` inner ring) for threading capillary wicking cloth strips or cotton ropes with a craft wire needle. - * **Submergence Clearance Invariant (`z_str_start`):** When a planter base is submerged `~20 mm` inside a deep twist-lock reservoir, helical strings must NOT start near `Z = 0`. The lower submerged section (`Z = 0 .. z_str_start`, where `z_str_start = 19.2 – 21.6 mm`) must remain a smooth vertical cylinder of radius `r_wall` (`+7.46 mm` radial clearance from the plate wall), beginning the 3D Silk strings cleanly `~1.8 mm` above the reservoir rim to guarantee `0.000000 mm³` bayonet drop-in and lock collision. - * **Monolithic Multi-Section Star-Loft Invariant:** Never construct interwoven or multi-rib helical arrays by performing `N` intersecting 3D boolean solid unions (`fuse()`), which cause OpenCASCADE non-manifold topology failures (`vol: 0 solids: 0`). Construct all helical, diamond, and sinusoidal profiles monolithically as single multi-section star-polygon lofts (`Polygon(*_star_pts(z)) -> loft(ruled=True)`), yielding 100% manifold solids in `< 6 seconds` with exact `< 10°` support-free overhangs. -* **`2026-11-06` — Bambu Lab P2S Maximum Build Height (`250 mm`) Modular Planter Scaling Rule:** - * **Dual Height Profiles:** Provide both the standard balanced height profile (`168.0 mm`, `~2.3–2.7 L` soil per module) and a **Max-Height `250.0 mm` Profile** (`Z = 250.00 mm`, `~3.5–4.2 L` soil per module, **+52–55% extra root depth** for deep-rooting hot peppers like Habanero, Jalapeño, and Ghost Pepper). - * **Shared Drip Base Invariant (Zero Re-Prints):** Stackable drip plates and seam caps must remain the **exact same physical footprint and profile (`104 × 172 mm` pitch, `14.4 mm` height, `0.96 mm` short ribs)** so a grower can swap between 168 mm standard and 250 mm tall modules using the exact same drip plate base. - * **Horizontal Locking Key Bed Layout (`239.8 mm` Bowtie Keys):** Print full-height locking keys flat horizontally on the bed rotated `90°` around Z (`X = 128 mm`, `Y = 216` & `238 mm` in the rear tier). The `239.8 mm` length spans `X = [8.1, 247.9] mm`, leaving safe `8.1 mm` bed margins, zero supports (`11.9°` side angle), and continuous filament strands running along the entire `240 mm` wall seam. - * **Multi-Plate Packaging:** Provide both a **Master multi-plate `.3mf`** (containing both 168 mm and 250 mm sets) and a **Dedicated 250mm `.3mf`** (e.g. 6-plate for Model 08, 4-plate for Model 09) using `n_cols = max(2, math.ceil(math.sqrt(num_plates)))`. -* **`2026-11-06` — Granular Media Hopper Monolithic Slopes & Knife-Edge Anti-Pinching Rotary Shutter Rule:** - * **Monolithic Gravity Feed Slopes (Zero Loose Inserts, Zero Glue):** For coffee beans, dry pellets, and seed dispensers, eliminate separate glued ramp inserts. Integrate compound sloped floors directly into the monolithic solid (`9°–12°` front-to-back slope, `25°–30°` lateral wing slope). All internal slopes print layer-by-layer over solid/gyroid infill with **`100% support-free FDM printing`**. - * **Machine Recess Inbound & Lid Rebate Outbound Invariants:** - - Bottom machine intake step (`81.0 × 154.0 × 4.0 mm`) must be strictly preserved (`X = [-82, -1]`, `Y = [-94, 60]`) with a `0.8 mm` `45°` bottom chamfer for elephant-foot-free insertion into machine wells. - - Top lid rebate shelf (`81.0 × 154.0 × 5.0 mm`) shifts forward synchronously with any front body expansion (e.g. `+20 mm` forward to `Y = [-74, 80]`), leaving an exact matching solid closed deck at the rear (`Y = -96 .. -74 mm`, `22.0 mm`). - - **Preserved `2.0 mm` Internal Lid Contour Shelf:** At `Z = 45.0 mm` (`5.0 mm` below the top rim), an unbroken **`2.0 mm` wide flat horizontal contour ledge** (`77.0 × 150.0 mm` inner window) must run continuously along all 4 sides (Right, Left, Front, Rear). The original Melitta transparent lid drops into the 5.0 mm recess and **sits flat and securely on top of this contour shelf**, visible from within the model exactly as in the original and 60 mm models. Internal gravity slopes and cavity cutters must strictly respect this inner boundary so the contour shelf is never cut away. - * **Rotary Shutter Anti-Pinching & Low-Friction Mechanics:** - - **`30°` Leading Knife-Edge Bevel:** The leading blade edge sweeping across the drop chute must feature a `30°` bevel on the top face to push beans gently upward into the hopper rather than pinching, crunching, or wedging against the chute rim. - - **Low-Friction Radial Gliding Runners:** Add `3` thin radial runners (`0.35 mm` height, `1.2 mm` width) on the underside of the shutter blade to provide line contact, reducing surface contact area by `> 85%` and preventing binding from fine coffee dust. - - **Flush Snap Pivot Pin (`0.0 mm` Base Protrusion):** Bottom pivot pin features a flat head (`Ø7.8 mm × 1.1 mm`) counterbored flush inside `Z = 0.0 .. 1.3 mm` (`0.000 mm` protrusion beneath base), a `Ø3.90 mm` shaft (`0.30 mm` running clearance inside `Ø4.20 mm` shutter hole), and dual flexible cantilever snap barbs (`Ø4.4 mm` outer barb, `0.8 mm` flex slot) snapping captive into an internal retention cavity (`Z = 8.2 .. 11.2 mm`). Completely toolless, zero-glue, 5-second assembly, easily pressed out for hygienic cleaning. - * **Exterior Branding Deboss & Typography Standard:** - * Official vector script logos debossed `1.0 mm` deep into target walls (`clean=False`) with exact normal alignment (`z -> -Y` for front wall). - * Match typography style: For cursive / script brandmarks (such as Melitta), use matching formal cursive fonts (`Script MT Bold`, `C:\Windows\Fonts\SCRIPTBL.TTF`) scaled prominently ($\ge 11.0\text{ mm}$ font size). - * Exterior Viewer Orientation Invariant: Text must always read left-to-right when viewed from outside: - * Front Wall ($Y = +82.0\text{ mm}$, normal $+Y$): Looking in $-Y$, viewer's left is $+X$, right is $-X$. Use `rotate(Axis.Z, 180.0).rotate(Axis.X, -90.0)`. - * Right Wall ($X = -84.0\text{ mm}$, normal $-X$): Looking in $+X$, viewer's left is $+Y$, right is $-Y$. Use `rotate(Axis.Z, 270.0).rotate(Axis.Y, -90.0)`. Slogans spanning the right wall must be scaled prominently ($\ge 14.0 - 15.0\text{ mm}$ font size, bold) centered across the full length ($Y \approx -7.0\text{ mm}$, $\ge 130\text{ mm}$ span) with balanced margins, elevated safely above bottom slots ($Z \ge 12.0\text{ mm}$) and below lid shelves. - * **High-Resolution Visual Assembly Guide Standard (Zero Swiss-Cheese):** - * High-resolution visual assembly guides (`previews/_assembly_guide.png`) must feature true 3D shaded polygon meshes across all panels. - * Never downsample meshes with naive face slicing (`faces[::step]`), which deletes triangles and leaves open swiss-cheese holes. Always render the full mesh with directional key + fill lighting. - * For multi-part exploded assemblies, always compute the collective bounding box of all translated components (`np.concatenate([p.vertices for p in parts])`) so all parts remain framed with generous margin without zooming in on a tiny sub-pin. - * **Bambu Studio Plate 1 Aspect-Ratio Bed Calibration:** - * For long rectangular parts ($> 150\text{ mm}$ length), rotate the largest component $90^\circ$ around $Z$ on Plate 1 so the length aligns along $X$ ($X \in [39..217\text{ mm}]$), keeping $Y$ within $[18..118\text{ mm}]$. This leaves a generous rear zone ($Y \in [148..236\text{ mm}]$) for accessories and hardware with $> 30\text{ mm}$ clearance and $> 18\text{ mm}$ bed margins. - * Local mesh coordinates in `3D/3dmodel.model` must strictly normalize $Z_{\min} = 0.00\text{ mm}$ so parts sit 100% flush on the bed at $Z = 0.0\text{ mm}$. -| `2026-11-07` | `workflow_organization` | `melitta-coffee-bean-dispenser` | Bambu Studio 2.6 rejected sparse_infill_pattern=rectilinear with a warning popup, showed a Customized Preset G-code security popup when machine include gcode templates were omitted, renamed dropdown presets to (filename), and rejected dangling 3D/_rels/ entries on Stage-2 CLI round-trips. | Always use gyroid for sparse_infill_pattern; recursively resolve both inherits and include JSON templates in _flatten_bambu_json() before CLI 3MF generation with native Bambu Lab P2S 0.4 nozzle (Textured PEI Plate), Bambu PLA Basic @BBL P2S, and installed user fine-print presets (e.g. 0.16mm Precision @BBL P2S - Ujoy PLA+) so different_settings_to_system[1..2] stay empty; and strip 3D/_rels/ alongside 3D/Objects/ before Stage-2 CLI round-trips. | -| `2026-11-07` | `support_free_geometry` | `melitta-coffee-bean-dispenser` | Hopper slopes had vertical cut-off steps on Front and Left walls, lacked Back slope coverage around the circular slider housing guide contour, and BuildSketch Polygon ruled lofts could twist vertex order. | Preserve an unbroken circular slider guide contour (R_guide = R_blade + 0.85 mm clearance) around rotary quarter-circle shutters, sweep Front, Left, and Back slopes continuously down to R_guide with zero cut-off cliffs, keep blind shutter pockets beneath the slope floor (-2 deg ceiling pitch + 4.5 deg wall draft for 0.0 g internal support at 46 deg tilt), verify 0.000000 mm3 collision across multi-angle rotation and 3D insertion paths, and build multi-vertex lofts directly from explicit Face(Wire.make_polygon(...)) wires. | -| `2026-11-07` | `workflow_organization` | `workspace` | sync_to_bambuforge.py only committed inside ../BambuForge while 3D-Automation lacked a mandatory local commit rule, and worktree.ps1 remove did not delete temporary agent branches. | Always record an atomic local git commit on main in 3D-Automation after every completed task (or pass --commit-source to sync_to_bambuforge.py; never push un-sanitized 3D-Automation commits to public origin), and always finish temporary worktrees via 'scripts/worktree.ps1 finish main' so no agent-created branches remain behind (never delete user-created branches). | - -### Universal FDM Text & Inlay Orientation Law (Left-to-Right LTR vs Right-to-Left RTL Validation) -- **Face-Down ($Z = 0$ Bed Contact):** In CAD, always mirror across X ($X_{\text{cad}} \to -X_{\text{cad}}$). Looking from underneath the bed in Bambu Studio ($-Z$) and on the physical finished print, $\text{screen}_x = -(-X) = +X$, ensuring LTR text (Latin, Cyrillic) reads naturally Left-to-Right, RTL text (Hebrew, Arabic) reads naturally Right-to-Left, and brand logos/icons face their intended directions. -- **Normal Face-Up ($Z > 0$ Upright) & Angled Overhangs ($45^\circ$):** In CAD, never mirror ($X_{\text{cad}} \to +X_{\text{cad}}$). Slicer top view (+Z) and physical upright surface read un-mirrored. -- **Language Independence Invariant:** Applies universally to both LTR and RTL scripts. Typographic reading direction is handled by the font shaping engine, while the $X \to -X$ mirror compensates exclusively for the optical perspective inversion of face-down bed contact. diff --git a/AGENTS.md b/AGENTS.md index b762c55..11dada6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -172,230 +172,11 @@ Whenever the user requests a fine-tuning adjustment, reports a print fit issue, ## 7. Learned User Preferences (Auto-Updated) -* **Printer:** Bambu Lab P2S (`256 × 256 × 256 mm`). -* **CAD & Visual Toolchain:** - * **`build123d` (`0.13.0` / OpenCascade `8.0`)** in `.venv` for programmatic B-Rep solid generation, multi-color zone boolean partitioning, and `.step`/`.3mf`/`.stl` export. - * **FreeCAD 1.1 (`\AppData\Local\Programs\FreeCAD 1.1\bin\freecad.exe`):** Installed in user space for visual B-Rep `.step` / `.FCStd` CAD inspection and editing. - * **CADCraft (`C:\Program Files\CADCraft\cadcraft.exe` & `cadcraft-cli.exe`):** Pure-Rust AutoCAD-style 2D/drafting tool with built-in headless CLI (`cadcraft-cli run`), `.scr` scripting, and native MCP server (`cadcraft-cli mcp --launch`) for 2D `.dxf` profile drafting that `build123d` (`ezdxf`) can extrude into 3D models. - * **Bambu Studio (`C:\Program Files\Bambu Studio\bambu-studio.exe`):** Target slicer and multi-plate `.3mf` packager. -* **Slicer & Multi-Plate `.3mf` Workflow:** Always pack multi-module sets onto **separate build plates (trays)** inside a single `.3mf` project pre-configured for the **Bambu Lab P2S (`0.4 mm` nozzle, Supports = OFF)** using Bambu Studio's **2-column plate grid** (`Plate 1 = (128, 128)`, `Plate 2 = (435.2, 128)`, `Plate 3 = (128, -179.2)`), 6 flattened filament JSON profiles (`--load-filaments`), and a final `bambu-studio.exe --export-3mf` verification round-trip. -* **Multi-Agent Task Isolation & Worktree Rule:** Whenever another agent is running or when developing a new model/feature, always work inside an isolated worktree under `.worktrees/` created via `.\scripts\worktree.ps1 new `. Inherit the root `.venv` without duplicating dependencies, and treat the sibling `../BambuForge` folder as remote `bambuforge` and GitHub as `origin`. -* **Planter Drip Saucer Clearance & Full Corner Column Coverage Rule:** - - Water collection saucers and drip plates must fully cover both the planter's nominal body profile AND any reinforced corner columns or architectural pilasters. - - Clearance must be generous: **$\ge 4.5 - 5.0\text{ mm}$ per side** ($9.0 - 10.0\text{ mm}$ total gap), never razor-thin or "millimeter-to-millimeter" ($\le 1.0\text{ mm}$), ensuring effortless drop-in and lift-out without binding, jamming, or surface-tension sticking. - - For oval / stadium planters, calibrate the saucer corner radius ($R \approx 50.0\text{ mm}$) so the corner does not aggressively cut into the diagonal corner columns, maintaining a uniform $4.8\text{ mm}$ clearance all around. - - Outer dimensions must remain $\le 250\text{ mm}$ (e.g. $248 \times 198\text{ mm}$) to stay safely within the Bambu Lab P2S $256 \times 256\text{ mm}$ build envelope. - - Internal raised aeration rails ($3.6\text{ mm}$ height) must elevate the planter above standing runoff water for root health. - -* **Operational Guardrail:** Never run slow, unmonitored `urllib` downloads for large multi-hundred-MB installers; always check installed binaries first or use fast CLI tools with explicit timeouts. -* **Multi-Color AMS Segmentation Rule:** Partition planter models into distinct, non-overlapping B-Rep color sub-parts inside the `.3mf` and `.step` assemblies: - * **Base Planter (`6` Colors):** 3 structural wall layers + horizontal connecting strips/belts + top rim collar + 4 corner edge columns. - * **Drip Saucer Tray (`1` Color):** Monolithic watertight saucer. - * **Extension Riser (`4` Colors + Print-Orientation Optimization):** Lower wall layer + upper wall layer + connecting belt/rim + 4 corner columns with **integrated male locking rods**. Always orient the Extension Riser **inverted (`180°` on its flat top rim at `Z = 0`)** so the 4 integrated locking rods print pointing straight UP (`+Z`) with zero supports. -* **Project Organization & Read-Only `imports/` Rule:** - * Every requested or modified model must reside in its own dedicated subdirectory under `models//` and be indexed in Section 8 below. - * The `imports/` directory is **strictly read-only input** (for user-supplied MakerWorld / third-party `.3mf`, `.stl`, `.step` files). Never write output files back into `imports/`; always output modified models, previews, and `.3mf` packages to `models//exports/` and `previews/`. - * When importing/modifying third-party `.3mf` or `.stl` assemblies, always assign clean, descriptive human-readable **object names** (``) and **plate names** (``) inside `Metadata/model_settings.config`. - * **Mandatory Illustrated Assembly & Usage Guide (`ASSEMBLY_GUIDE.md`):** Every model folder under `models//` must include an `ASSEMBLY_GUIDE.md` accompanied by rendered 3D exploded/cutaway assembly diagrams in `previews/` explaining step-by-step how all parts fit together, their recommended slicing settings (`wall_loops`, `sparse_infill_density`, `sparse_infill_pattern`, and `100%` infill modifiers), filament material guidance, and how any functional accessories (like wicking straws, cloths/cords, or shutters) are used. Write all documentation in a **clean, general, public-shareable product manual tone** (no personal references, user timelines, or chat-specific remarks). -* **Bulky Structural Model Speed Rule (`0.28 mm` Draft vs `0.20 mm` Standard):** For large or bulky functional objects (planters, saucers, storage bins, structural frames) where miniature resolution is not required, precision is secondary to throughput. Proactively ask the user their speed/quality preference during intake: - - `0.20 mm Standard`: Fine surface finish. - - `0.28 mm Extra Draft`: **~35–45% print time reduction** with stronger interlayer bonding. Ensure vertical dimensions, Z-chamfers, and sacrificial bridges match `0.28 mm` when selected. Document both print time estimates in `ASSEMBLY_GUIDE.md`. -* **Stackable Modular Pin & Socket Joint Rule (Flush Planar Contact):** When designing male alignment dowels or stacking locking rods on stackable modular modules (e.g. Extension Risers, stackable bins, interlocking tiers): - - Male pins must always protrude directly from a **flat planar landing shoulder** that mates flush against the flat landing face of the receiving module. - - **NEVER** introduce a full-width conical taper between the column shoulder and the pin unless the mating female socket has an identical, matching conical counterbore recess. A conical taper colliding with a flat rim creates an air gap (e.g. 8.4mm) that prevents snapping down and forces the user to manually sand out the connection. - - Use only a small root stress-relief fillet or chamfer ($\le 0.8\text{ mm}$ 45°) that fits entirely inside the female socket's lead-in chamfer ($\ge 1.4\text{ mm}$ 45°). - - Provide $0.3\text{ mm}$ diametral clearance (e.g. $\varnothing 6.20\text{ mm}$ male rod into $\varnothing 6.50\text{ mm}$ socket) and a $1.2\text{ mm}$ 45° self-centering lead-in tip chamfer for effortless slide-in fit. -* **Automated Raster-to-Vector (PNG-to-SVG) CAD Transformation Capability:** - - Raster artwork (logos, silhouettes, emblems, scans) supplied in `imports/` or via chat must be vectorized into precision scalable SVGs using the integrated `png_to_svg.py` engine (`.agents/skills/3d-print-modeling/scripts/png_to_svg.py`). - - Supports automatic alpha mask isolation (`--channel alpha`), Otsu luminance thresholding (`--channel luminance`), and multi-color stacked vectorization (`--colormode color`). - - Scales coordinates directly to physical millimetres (`--width-mm`, `--height-mm`) and centers at origin (`--center`) so `build123d.import_svg(svg_path)` directly produces clean 2D `Face` objects ready for 3D extrusion, embossing, and boolean subtraction. +> *This section is automatically populated by the `self-learning-cad` skill as you calibrate your specific printer, filaments, and design preferences. Universal FDM engineering patterns live in [`.agents/skills/3d-print-modeling/references/fdm-design-principles.md`](.agents/skills/3d-print-modeling/references/fdm-design-principles.md).* ---- - -* **Modular Stacking Snap-Fit Verification Rule (Skirt & Lego Boss Interlock with 0.000 mm³ Collision Simulation):** - - **Male Skirt & Female Pocket:** The male alignment skirt (red contour) must extend into a matching receiving female pocket in the bottom module with $0.5 ext{ mm}$ vertical clearance ($7.5 ext{ mm}$ pocket vs $7.0 ext{ mm}$ skirt) and $0.35 ext{ mm}$ per-side clearance to ensure the skirt nests fully inside without bottoming out. - - **Lego Boss & Socket Registration:** The circular Lego boss (yellow contour, e.g. $ arnothing 15.0 ext{ mm} imes 3.0 ext{ mm}$) must nest into a matching female socket ($ arnothing 15.7 ext{ mm} imes 3.5 ext{ mm}$) with $0.35 ext{ mm}$ radial clearance to provide tactile Lego-like registration and eliminate rotational twisting. - - **Simulated Snapping Test:** Before finalizing any modular stacking design, the agent **MUST** run an automated boolean intersection test in `build123d` simulating the mated assembly. The collision volume must be exactly **`0.000000 mm³`** and the outer landing shoulders must meet with **`0.0 mm` air gap**. - - **Visual Cross-Section Illustration:** Render an annotated cross-section or cutaway diagram proving flush seam contact and zero internal interference, embedding it in `ASSEMBLY_GUIDE.md`. - ---- - -* **Bambu Studio Multi-Part Layout & Plate Visibility Rule:** - - **Zero Part Overlap:** In multi-part single-plate `.3mf` projects, never inherit arbitrary nested assembly translation matrices. Assign explicit, discrete bed coordinates to each component in `3D/3dmodel.model` with $> 25\text{ mm}$ safety spacing on the $256 \times 256\text{ mm}$ build plate. - - **Explicit Plate Model Instances:** Bambu Studio strictly requires an object to have an entry in `` (`3D/3dmodel.model`), an entry in `` (`Metadata/model_settings.config`), AND an explicit `` inside `` in `Metadata/model_settings.config`. If `` is omitted, Bambu Studio hides the object from the plate view and will not slice it. - - **Hinge & Latch Articulation Check:** Always orient latches with their pivot barrels aligned along the principal hinge axis (horizontal along X) and orient base containers upright with the solid floor at $Z = 0.00$ and open cavity facing $+Z$. - ---- - -* **Interactive Multi-Part Exploded 3D Viewer Standard & Mandatory 1:1 Preview-to-3MF Correlation Invariant:** - - **Standalone Interactive HTML Viewer:** Every multi-part model must generate an offline Three.js viewer (`previews/_viewer.html`) with: - 1. **0% to 100% Exploded View Slider:** Smooth linear kinematic separation showing how components mate and assemble. - 2. **Component Isolation Checkboxes:** Toggles with AMS filament color swatches to inspect interior basins and sub-components. - 3. **Camera Presets:** `Isometric`, `Top`, `Bottom`, `Front`, `Rear`, and `Interior/Cutaway`. - 4. **Auto-Spin Strictly OFF by Default:** User maintains full manual orbit/pan/zoom control. - 5. **Bambu Lab P2S Bed Cage:** Toggleable $256 \times 256 \times 256\text{ mm}$ build volume outline. - - **1:1 Preview-to-3MF Correlation Invariant (Zero-Mismatch Guardrail):** Previews must never diverge from 3MF exports. Before presenting any model to the user, the agent **MUST** run an automated programmatic audit (`audit_3mf_correlation` in `.agents/skills/bambu-studio-ai/scripts/generate_interactive_viewer.py`) asserting: - 1. Every component in the viewer is defined in `3D/3dmodel.model` and has an explicit `` tag in `` inside `Metadata/model_settings.config`. - 2. All bed-facing parts touch $Z = 0.00\text{ mm}$ and share the identical print orientation as the viewer. - 3. Discrete, collision-free plate positions ($> 25\text{ mm}$ clearance on the $256 \times 256\text{ mm}$ bed). - 4. Assembled components meet flush with $0.0\text{ mm}$ gap on mating shoulders and $0.000\text{ mm}^3$ unintended collision. - ---- - -* **Tiered Plate Layout & "By Object" Sequence Exclusion Rule:** - - **Toolhead Clearance Buffer ($\ge 100\text{ mm}$ $\Delta Y$):** When placing multiple components on a single Bambu Lab P2S build plate where "Print Sequence: By Object" may be active, arrange parts in discrete front/rear tiers: - - **Front Tier ($Y \approx 50 - 80\text{ mm}$):** Main structural enclosures (Bottom Box, Top Lid). - - **Rear Tier ($Y \approx 180 - 210\text{ mm}$):** Accessories and hardware (Drying Rack, Front Latch, Snap Hinge Pins). - - Maintaining $\ge 100\text{ mm}$ spacing in Y completely eliminates toolhead clearance exclusion bubble overlaps in Bambu Studio. - - **Face-Down Inlay Alignment & Non-Mirrored Exterior Text Invariant:** - - When printing covers face-down at $Z = 0.00\text{ mm}$, all mating features (rear hinge knuckles and front latches) must be oriented along the identical directional axis as the base enclosure (both hinges at $+Y$). - - The coordinate transformation must be engineered so that when looking directly at the exterior surface of the finished part (the face that contacted the bed), text reads left-to-right with zero mirroring. - - **Embedded Auxiliary Hardware in Recognized 3MF Sub-Models:** - - To guarantee auxiliary 3D printable hardware (snap hinge pins, collars, dowels) are never dropped by Bambu Studio, embed them directly as component objects inside primary recognized sub-models (e.g. `object_24.model`) with explicit `` tags in `Metadata/model_settings.config`. - ---- - -* **Planter Sub-Soil Irrigation Straw Geometry & Round Floor Hole Invariant:** - - **Nominal Floor Hole Profile:** Planter drainage and sub-irrigation floor holes are round cylinders (nominal $\varnothing 8.00\text{ mm}$). - - **True Round Circular Plug Cross-Section ($\varnothing 7.20\text{ mm}$):** Irrigation arch straws and bottom insertion plugs must be true round cylinders with a continuous circular cross-section ($\varnothing 7.20\text{ mm}$ outer diameter with continuous hollow $\varnothing 5.00\text{ mm}$ capillary wicking bore). - - **Zero Oblong/Oval Distortion:** **NEVER** stretch, taper, or sweep a straw plug with unequal X/Z dimensions (e.g. $7.4 \times 10.6\text{ mm}$) to meet the bed, as this turns the plug into an oblong oval that physically jams and cannot enter the $\varnothing 8.00\text{ mm}$ round hole. - - **Support-Free Planar Bed Contact Strip:** To ensure 100% support-free bed adhesion when printed lying flat on $Z = 0$, keep the straw circular and add a small planar bed flat facet ($0.30\text{ mm}$) along the underside, providing a continuous $2.8\text{ mm}$ wide bed contact strip without altering the circular insertion profile. - - **Wide Landing Collar Stop ($14.0\text{ mm}$):** Provide a wide ($14.0\text{ mm}$) horizontal landing collar stop at the floor insertion line ($Y = 16.0\text{ mm}$) so the straw rests firmly on the planter floor with zero wobble, and add a $1.5\text{ mm}$ $45^\circ$ self-centering lead-in tip chamfer for smooth slide-in fit. - - **Provide Standalone Single-Straw STL:** Alongside the 2-straw multi-plate tray (`tray4_irrigation_straws_2color.stl`), always export a standalone single-straw STL (`tray4_irrigation_straw_single.stl`) for convenient single replacement printing. - ---- - - -* **Universal FDM Text & Inlay Orientation Law (Left-to-Right LTR vs Right-to-Left RTL Script Validation):** - - **Case A: Face-Down Bed Contact ($Z = 0.00\text{ mm}$):** - * When printing lids, covers, or panels face-down directly on the build plate (textured PEI plate at $Z = 0$) for zero supports and a textured exterior finish, the surface contacting the bed **is the exterior face of the finished part**. - * Inspecting this exterior face (from underneath the bed in Bambu Studio via bottom camera $-Z$ looking up, or when holding the finished print after removing it from the plate) mathematically inverts the horizontal screen projection: $\text{screen}_x = -X_{\text{cad}}$. - * **Mandatory Bed Mirror Rule ($X \to -X$):** In CAD, any 2D text, typography, or multi-color inlay placed on a $Z = 0$ face-down surface **MUST be mirrored across the X axis ($X_{\text{cad}} \to -X_{\text{cad}}$)**. - * When mirrored in CAD, the physical bottom exterior face yields $\text{screen}_x = -(-X_{\text{svg}}) = +X_{\text{svg}}$: - - **Left-to-Right (LTR) Scripts:** Latin, Cyrillic, Greek (e.g. English `COFFEE`, `LABEL`) read naturally from **Left to Right**. - - **Right-to-Left (RTL) Scripts:** Semitic scripts like Hebrew and Arabic (e.g. Hebrew *קפה* / *שלום*, Arabic *سلام*) read naturally from **Right to Left** in their correct typographic progression. - - **Emblems & Graphics:** Asymmetrical icons, brand logos, and direction arrows are **100% un-mirrored**. - * **Identical Mating Transform:** The negative body cavity and the positive multi-material inlay mesh MUST use the identical mirrored transform so they mate with $0.0000\text{ mm}$ zero drift. - - - **Case B: Normal Face-Up Surfaces ($Z > 0.00\text{ mm}$):** - * When printing upright parts (e.g. container interior floor, top deck of an upright housing, standalone desk badge), the exterior face faces skyward ($+Z$). - * Viewed directly from above ($+Z$), $\text{screen}_x = +X_{\text{cad}}$. - * **No Mirroring ($X \to +X$):** In CAD, text and inlays on an upright face MUST NOT be mirrored. Both LTR and RTL scripts read naturally directly in CAD and slicer top views. - - - **Case C: Angled & Sloped Overhangs ($0^\circ < \theta < 90^\circ$, e.g. $45^\circ$):** - * When a branded or labeled face is sloped with a positive vertical normal component ($n_z > 0$), it faces upward and outward toward the viewer. - * **No Mirroring ($X \to +X$):** Like Face-Up surfaces, angled faces MUST NOT be mirrored ($X \to +X$). Slicer views looking perpendicular to the sloped face show un-mirrored LTR and RTL text. - - - **Universal Language Independence Invariant:** - * Typographic reading direction (LTR vs RTL) is entirely handled by the font shaping engine (HarfBuzz, FreeType BiDi). - * **The CAD transformation is purely optical/spatial:** Face-down on bed ALWAYS requires CAD $X \to -X$ so that BOTH LTR and RTL scripts read correctly on the finished exterior face. Face-up and angled overhangs NEVER require CAD $X \to -X$. - * Slicer top view (+Z) of a face-down part will always look mirrored in CAD coordinates; this is the mathematical prerequisite for the bed contact layer to print correctly. Validated via the 3-plate test matrix. - - - **Standalone Artwork STLs:** Standalone badges, collectible medallions, and logos must be exported upright on their flat back at $Z = 0$ facing $+Z$ so the user can import, scale, and reposition them freely in Bambu Studio. - -* **Calibrated Snap Hinge Pin Dimensions (Ø3.00mm Knuckles):** - - Pin shaft diameter: **Ø2.75 mm** (total clearance $0.25\text{ mm}$ / $0.125\text{ mm}$ per side in Ø3.00mm knuckle), delivering a snug, smooth sliding fit without wobble or relaxed slack. - - Split snap barb: **Ø3.05 mm** with $0.75\text{ mm}$ flex slot, compressing easily through Ø3.00mm knuckle. - - Retaining collar ring: **Ø4.80 mm OD x 1.80 mm height**, inner bore **Ø2.85 mm** with **Ø3.15 mm x 0.70 mm counterbore detent**. - - Flat-bottom lay-down orientation: $0.20\text{ mm}$ planar bed contact facet extends along underside for 100% bed adhesion and zero supports (5x layer line strength), plus vertical print option. -* **Retrofit Snap Adapter Coupler for Modular Planters:** - - For previously printed base planters lacking the female interlocking rim, provide a compact $18.0\text{ mm}$ tall transition adapter (`oval_planter_retrofit_snap_adapter.stl` & `.step`). - - Bottom face glues flush to the old base rim; top face provides the standard 3-tier Lego interlocking joint ($7.5\text{ mm}$ skirt pocket, Ø15.7 x $3.5\text{ mm}$ Lego boss sockets, Ø6.7mm through-bores). - - Includes 4 concentric locator dowels (Ø6.0 x $16.0\text{ mm}$) for 100% concentric alignment during gluing. - - Guaranteed **0.0 mm seam gap** and **0.000000 mm³ collision volume** against new Extension Risers! - - -* **Flush Inlay & Engraving Depth Standard (`1.60 – 2.00 mm` / `8–10 Layers`):** - - Never make multi-color flush inlays, debossed recesses, or standalone decorative badges shallow (`0.60 mm` / 3 layers), as light filaments (Yellow, Gold, Orange, White) over dark shells (Black, Charcoal) suffer from optical color bleed-through and fragile geometry. Always design inlays, recesses, and standalone badges at **`1.60 – 2.00 mm` depth (`8–10 layers` at `0.20 mm`)** (e.g. `1.80 mm` on a `3.00 mm` lid leaving `1.20 mm` backing; `1.60 mm` on a `2.40 mm` floor leaving `0.80 mm` / 4 solid waterproof layers). -* **UJOYBIO / EjoyBio Elite PLA+ (`1 kg` Spool, `195–220 °C`) Master Profiles (`0.24 mm`, `0.20 mm`, `0.16 mm`):** - - **Filament Settings Profile:** - - **Nozzle (First Layer):** `210 °C` - - **Nozzle (Other Layers):** `215 °C` *(Extra heat for thick `0.24 mm` layers)* - - **Bed (Textured PEI Plate):** `60 °C` *(Ensures zero warping)* - - **Max Volumetric Speed:** `15 mm³/s` *(High-speed safety cap)* - - **Filament Diameter:** `1.75 mm` - - **Flow Ratio:** `0.98` *(Standard generic starting point)* - - **Process Speed Settings Profile (`0.24 mm` Layer Height):** - - **Initial Layer:** `35 mm/s` *(Gives the thick line time to safely stick to the bed)* - - **Initial Layer Infill:** `75 mm/s` *(Fills the first layer quickly but safely)* - - **Outer Wall:** `150 mm/s` *(Caps visible walls to guarantee a beautiful surface finish)* - - **Inner Wall:** `250 mm/s` *(Speeds up hidden structural walls)* - - **Sparse Infill:** `270 mm/s` *(Maximizes high-speed printing inside the part)* - - **Internal Solid Infill:** `200 mm/s` *(Ensures strong, dense internal floors/ceilings)* - - **Travel Speed:** `300 – 500 mm/s` *(Default printer capability for non-printing moves)* - - **Calibrated Precision Profiles (`0.20 mm` & `0.16 mm`):** - - **`0.20mm Precision @BBL P2S - Ujoy PLA+` (`GP155`):** Outer wall `80 mm/s`, inner wall `160 mm/s`, outer wall accel `3000 mm/s²`, `precise_outer_wall = 1`, `infill_wall_overlap = 12%`, `3` walls (`1.25 mm`), `5` top / `4` bottom shells. Optimized for tight snap/slide mechanical fits, sharp debossing, and smooth perimeter finish. - - **`0.16mm Precision @BBL P2S - Ujoy PLA+` (`GP209`):** Outer wall `60 mm/s`, inner wall `120 mm/s`, outer wall accel `2000 mm/s²`, `precise_outer_wall = 1`, `infill_wall_overlap = 10%`, `3` walls (`1.25 mm`), `6` top / `5` bottom shells, `0.20 mm` initial layer for robust PEI adhesion. Optimized for fine miniature detail, shallow overhangs, fine cursive script, and precision threads. - - **Installed in Slicer:** Available directly in Bambu Studio Process dropdown (`%APPDATA%\BambuStudio\user\\process\`). - - **Reference & Code Integration:** Stored in [`.agents/skills/bambu-studio-ai/references/filament-profiles.md`](.agents/skills/bambu-studio-ai/references/filament-profiles.md) and [`apply_ujoybio_elite_pla_plus_profile()`](.agents/skills/3d-print-modeling/scripts/p2s_cad_helpers.py). -* **Bambu Lab P2S Stock `0.24 mm` Layer Preset & Multi-Plate Grid Scaling (`> 4` Plates):** - - **Native P2S Thick-Layer Preset:** Bambu Studio ships **`0.24mm Standard @BBL P2S.json`** (`setting_id = GP214`) as the official thick-layer preset for the Bambu Lab P2S `0.4 mm` nozzle (no stock `0.28 mm` P2S `0.4 mm` profile exists). Pair with **`Bambu PLA Basic @BBL P2S.json`** (`Supports = OFF`) unless a custom filament profile (such as `UJOYBIO Elite PLA+`) is requested. - - **Multi-Plate Column Formula:** Bambu Studio computes plate grid columns as `n_cols = max(2, math.ceil(math.sqrt(num_plates)))` (`2` columns for `2..4` plates; **`3` columns** for `5..9` plates, stride `307.2 mm`). Always strip cached `Metadata/plate_*.png`, `top_*.png`, and `pick_*.png` files from CLI skeleton `.3mf` archives before staging real models so Plate 1 thumbnails regenerate cleanly. -* **Material-Saving Thin Drip Plates & Leak-Proof Modular Drip-Tray Seam Architecture:** - - **Thin-Wall Material Economy (`~1.0 mm` Short Ribs):** Keep drip plates lightweight (`1.20 mm` floor, `1.26–1.44 mm` walls, and **`0.96 mm` [`~1.0 mm`]** short raised aeration ribs) to cut filament usage by `~60%` while maintaining full watertightness. - - **Zero Wet Floor Seams:** Never split a modular drip plate with a seam below water level (`0.2 mm` FDM capillary gaps leak onto indoor surfaces). Keep each tray an unbroken monolithic basin (`>= 4.3–4.5 mm` standing water depth), place dry sliding dovetail lugs strictly outside the wet perimeter resting flat on `Z = 0.00 mm`, and shield the inter-tray seam from above using either a **One-Piece `45°` Roof-Shingle Overlap Weir** (`Model 09`) or a **Snap-Over Peaked Saddle Roof Cap** (`Model 08`). -* **Conus (Conical) Storage-Stackable Planters & Anti-Jam Nesting Lug Rule:** - - When designing simple cylindrical/round planters and saucers for multi-pot gardening, taper the walls into a **Conus (truncated-cone) frustum** with the base smaller than the top (e.g. `Ø125 mm` top → `Ø103 mm` base on planters; `Ø128 mm` top → `Ø118.4 mm` base on saucers) so unused planters and drip plates nest deeply (`~67–88%`) for compact storage. - - **Mandatory Anti-Jam Floor Lugs:** Never allow nested smooth cones to wedge wall-on-wall (which causes friction/vacuum jamming). Always add narrow vertical anti-jam stacking stop lugs seated directly on the inner floor (`Z = floor_t`, `0.0%` overhang) calibrated to stop the upper pot with **`+0.25 to +0.45 mm` radial air gap** between the conical walls (`0.000000 mm³` boolean collision). - - -* **Indoor Silk Showcase Planters & Deep Capillary Wicking Reservoir Architecture:** - - **Single-Color Silk 3D Relief Strings:** When optimizing sculptural planters for Silk PLA / Dual-Color Silk PLA in an indoor living-room setting, omit external irrigation ports for a clean architectural crown collar (`r = r_wall`). Increase string density (`24–28` strings) with narrow (`1.20–1.35 mm`) crests and deep (`3.60–4.20 mm`) radial projection to catch ambient room lighting and cast pronounced 3D luster ribbons without breaking. - - **Deep Twist-Lock Wicking Reservoir (`2.3×` Deeper + Tall Support Ribs):** Expand bottom reservoir depth to **`32.2 – 38.4 mm`** (`~340 – 690 mL` submerged capacity), and elevate the planter floor with **`13.44 – 16.80 mm` tall outer radial support ribs**. Keep the central basin completely rib-free as a **wide-open, snag-free central wicking pool (`Ø86 – Ø112 mm`)** directly beneath enlarged floor holes (`1× Ø12–14 mm` center + `4× Ø11–12 mm` inner ring) for threading capillary wicking cloth strips or cotton ropes with a craft wire needle. - - **Submergence Clearance Invariant (`z_str_start`):** When a planter base is submerged `~20 mm` inside a deep twist-lock reservoir, helical strings must NOT start near `Z = 0`. The lower submerged section (`Z = 0 .. z_str_start`, where `z_str_start = 19.2 – 21.6 mm`) must remain a smooth vertical cylinder of radius `r_wall` (`+7.46 mm` radial clearance from the plate wall), beginning the 3D Silk strings cleanly `~1.8 mm` above the reservoir rim to guarantee `0.000000 mm³` bayonet drop-in and lock collision. - - **Monolithic Multi-Section Star-Loft Invariant:** Never construct interwoven or multi-rib helical arrays by performing `N` intersecting 3D boolean solid unions (`fuse()`), which cause OpenCASCADE non-manifold topology failures (`vol: 0 solids: 0`). Construct all helical, diamond, and sinusoidal profiles monolithically as single multi-section star-polygon lofts (`Polygon(*_star_pts(z)) -> loft(ruled=True)`), yielding 100% manifold solids in `< 6 seconds` with exact `< 10°` support-free overhangs. - -* **Granular Media Hopper Monolithic Slopes & Knife-Edge Anti-Pinching Rotary Shutter Rule:** - - **Monolithic Gravity Feed Slopes (Zero Loose Inserts, Zero Glue):** For coffee beans, dry pellets, and seed dispensers, eliminate separate glued ramp inserts. Integrate compound sloped floors directly into the monolithic solid (`9°–12°` front-to-back slope, `25°–30°` lateral wing slope). All internal slopes print layer-by-layer over solid/gyroid infill with **`100% support-free FDM printing`**. - - **Machine Recess Inbound & Lid Rebate Outbound Invariants:** - - Bottom machine intake step (`81.0 × 154.0 × 4.0 mm`) must be strictly preserved (`X = [-82, -1]`, `Y = [-94, 60]`) with a `0.8 mm` `45°` bottom chamfer for elephant-foot-free insertion into machine wells. - - Top lid rebate shelf (`81.0 × 154.0 × 5.0 mm`) shifts forward synchronously with any front body expansion (e.g. `+20 mm` forward to `Y = [-74, 80]`), leaving an exact matching solid closed deck at the rear (`Y = -96 .. -74 mm`, `22.0 mm`). - - **Preserved `2.0 mm` Internal Lid Contour Shelf:** At `Z = 45.0 mm` (`5.0 mm` below the top rim), an unbroken **`2.0 mm` wide flat horizontal contour ledge** (`77.0 × 150.0 mm` inner window) must run continuously along all 4 sides (Right, Left, Front, Rear). The original Melitta transparent lid drops into the 5.0 mm recess and **sits flat and securely on top of this contour shelf**, visible from within the model exactly as in the original and 60 mm models. Internal gravity slopes and cavity cutters must strictly respect this inner boundary so the contour shelf is never cut away. - - **Rotary Shutter Anti-Pinching & Low-Friction Mechanics:** - - **`30°` Leading Knife-Edge Bevel:** The leading blade edge sweeping across the drop chute must feature a `30°` bevel on the top face to push beans gently upward into the hopper rather than pinching, crunching, or wedging against the chute rim. - - **Low-Friction Radial Gliding Runners:** Add `3` thin radial runners (`0.35 mm` height, `1.2 mm` width) on the underside of the shutter blade to provide line contact, reducing surface contact area by `> 85%` and preventing binding from fine coffee dust. - - **Flush Snap Pivot Pin (`0.0 mm` Base Protrusion):** Bottom pivot pin features a flat head (`Ø7.8 mm × 1.1 mm`) counterbored flush inside `Z = 0.0 .. 1.3 mm` (`0.000 mm` protrusion beneath base), a `Ø3.90 mm` shaft (`0.30 mm` running clearance inside `Ø4.20 mm` shutter hole), and dual flexible cantilever snap barbs (`Ø4.4 mm` outer barb, `0.8 mm` flex slot) snapping captive into an internal retention cavity (`Z = 8.2 .. 11.2 mm`). Completely toolless, zero-glue, 5-second assembly, easily pressed out for hygienic cleaning. - - **Exterior Branding Deboss & Typography Standard:** - - Official vector script logos debossed `1.0 mm` deep into target walls (`clean=False`) with exact normal alignment (`z -> -Y` for front wall). - - Match typography style: For cursive / script brandmarks (such as Melitta), use matching formal cursive fonts (`Script MT Bold`, `C:\Windows\Fonts\SCRIPTBL.TTF`) scaled prominently ($\ge 11.0\text{ mm}$ font size). - - Exterior Viewer Orientation Invariant: Text must always read left-to-right when viewed from outside: - - Front Wall ($Y = +82.0\text{ mm}$, normal $+Y$): Looking in $-Y$, viewer's left is $+X$, right is $-X$. Use `rotate(Axis.Z, 180.0).rotate(Axis.X, -90.0)`. - - Right Wall ($X = -84.0\text{ mm}$, normal $-X$): Looking in $+X$, viewer's left is $+Y$, right is $-Y$. Use `rotate(Axis.Z, 270.0).rotate(Axis.Y, -90.0)`. Slogans spanning the right wall must be scaled prominently ($\ge 14.0 - 15.0\text{ mm}$ font size, bold) centered across the full length ($Y \approx -7.0\text{ mm}$, $\ge 130\text{ mm}$ span) with balanced margins, elevated safely above bottom slots ($Z \ge 12.0\text{ mm}$) and below lid shelves. - - **High-Resolution Visual Assembly Guide Standard (Zero Swiss-Cheese):** - - High-resolution visual assembly guides (`previews/_assembly_guide.png`) must feature true 3D shaded polygon meshes across all panels. - - Never downsample meshes with naive face slicing (`faces[::step]`), which deletes triangles and leaves open swiss-cheese holes. Always render the full mesh with directional key + fill lighting. - - For multi-part exploded assemblies, always compute the collective bounding box of all translated components (`np.concatenate([p.vertices for p in parts])`) so all parts remain framed with generous margin without zooming in on a tiny sub-pin. - - **Bambu Studio Plate 1 Aspect-Ratio Bed Calibration:** - - For long rectangular parts ($> 150\text{ mm}$ length), rotate the largest component $90^\circ$ around $Z$ on Plate 1 so the length aligns along $X$ ($X \in [39..217\text{ mm}]$), keeping $Y$ within $[18..118\text{ mm}]$. This leaves a generous rear zone ($Y \in [148..236\text{ mm}]$) for accessories and hardware with $> 30\text{ mm}$ clearance and $> 18\text{ mm}$ bed margins. - - Local mesh coordinates in `3D/3dmodel.model` must strictly normalize $Z_{\min} = 0.00\text{ mm}$ so parts sit 100% flush on the bed at $Z = 0.0\text{ mm}$. - -* **Bambu Lab P2S Maximum Build Height (`250 mm`) Modular Planter Scaling Rule:** - - **Dual Height Profiles:** Provide both the standard balanced height profile (`168.0 mm`, `~2.3–2.7 L` soil per module) and a **Max-Height `250.0 mm` Profile** (`Z = 250.00 mm`, `~3.5–4.2 L` soil per module, **+52–55% extra root depth** for deep-rooting hot peppers like Habanero, Jalapeño, and Ghost Pepper). - - **Shared Drip Base Invariant (Zero Re-Prints):** Stackable drip plates and seam caps must remain the **exact same physical footprint and profile (`104 × 172 mm` pitch, `14.4 mm` height, `0.96 mm` short ribs)** so a grower can swap between 168 mm standard and 250 mm tall modules using the exact same drip plate base. - - **Horizontal Locking Key Bed Layout (`239.8 mm` Bowtie Keys):** Print full-height locking keys flat horizontally on the bed rotated `90°` around Z (`X = 128 mm`, `Y = 216` & `238 mm` in the rear tier). The `239.8 mm` length spans `X = [8.1, 247.9] mm`, leaving safe `8.1 mm` bed margins, zero supports (`11.9°` side angle), and continuous filament strands running along the entire `240 mm` wall seam. - - **Multi-Plate Packaging:** Provide both a **Master multi-plate `.3mf`** (containing both 168 mm and 250 mm sets) and a **Dedicated 250mm `.3mf`** (e.g. 6-plate for Model 08, 4-plate for Model 09) using `n_cols = max(2, math.ceil(math.sqrt(num_plates)))`. - -* **Monolithic Blind Pocket Tilted Print Orientation & Un-Engraved Support-Side Rule (`45°–47°` Tilt + `support_on_build_plate_only = 1`):** - - When a monolithic enclosure contains a wide, shallow internal pocket (e.g. rotary shutter pocket beneath a sloped hopper floor) whose `0°` ceiling would trap unremovable internal supports when printed flat, **pre-orient the body tilted `45°–47°` onto an un-engraved exterior wall** (with a `2.0 mm` planar bed-stabilization chamfer at `Z = 0.00 mm`). - - Flare internal pocket/slot roofs (`+5°..+17°`) and draft opposing inner walls (`5°`) so **100% of internal surfaces sit `> 45°` from horizontal (`0.0 g` internal support)**. - - Enforce `"enable_support": "1"`, `"support_type": "tree(auto)"`, `"support_on_build_plate_only": "1"`, and `"support_threshold_angle": "45"` in `Metadata/project_settings.config` (with `` on flat companion parts) so exterior Tree Supports touch **only** the plain un-engraved side while all branded/customizable text faces remain vertical or skyward. -* **Enclosed Mechanism 3D Kinematic Insertion Trajectory Audit & Dual-Lock Snap-Handle Rule:** - - Never design a 1-piece internal slider + external handle for an enclosed monolithic pocket without verifying assembly kinematics. - - Decouple trapped mechanisms into: (1) a **slide-in internal member** with a planar XY elastic C-jaw female socket (`0.35 mm`/side jaw deflection, `< 1.5%` strain), (2) a **keyed external handle** pushed straight through the housing slot (`Snap Lock #1`), and (3) a **coaxial flush snap pivot pin** passing through both the housing bore and the handle's coaxial eye (`Positive Pin Lock #2`). - - **Mandatory Pre-Handoff Trajectory Audit:** Simulate a continuous multi-step 6-DOF B-Rep insertion path (`20+` interpolated poses from outside the housing to the seated position) asserting **`0.000000 mm³` boolean collision** with the housing at every step. - -* **Bambu Studio 2.6 `"include"` G-Code Template Resolution, Native Presets & `"gyroid"` Infill Rule:** - - **Valid Infill Enum (`"gyroid"`):** Never write `"rectilinear"` to `sparse_infill_pattern` in Bambu Studio `.3mf` configs (Bambu Studio 2.6 rejects `"rectilinear"` for sparse infill with a replacement popup to `"cubic"`). Always use **`"gyroid"`** as the default structural sparse infill pattern. - - **Recursive `"inherits"` + `"include"` Flattening (Zero G-Code Security Popup):** Bambu Studio 2.6 machine profiles (e.g. `Bambu Lab P2S 0.4 nozzle.json`) pull their full `machine_start_gcode` and `machine_end_gcode` from `"include"` array templates (such as `fdm_bbl_3dp_001_common_gcode.json`), not just `"inherits"`. `_flatten_bambu_json()` must recursively resolve both `"inherits"` and `"include"` templates before invoking `bambu-studio.exe --load-settings ";" --load-filaments "" --export-3mf` so `different_settings_to_system[1..2]` remain empty (`""`), eliminating `"Customized Preset"` G-code security dialogs and preserving clean system dropdown names (`Bambu Lab P2S 0.4 nozzle`, `Textured PEI Plate`, `Bambu PLA Basic @BBL P2S`, and installed user fine-print process presets such as `0.16mm Precision @BBL P2S - Ujoy PLA+`). - -* **360° Contour-Guided Hopper Funnel, Sub-Slope Pocket Ceiling (`-2°`), & Untwisted Explicit `Face(Wire.make_polygon)` Loft Rule:** - - **Continuous 360° Slopes Around Circular Slider Guide Contour:** When a granular hopper feeds a quarter-circle rotary shutter (`R_blade`), preserve an unbroken circular slider housing guide contour (`R_guide = R_blade + 0.85 mm`) around the shutter arc and sweep **Front, Left, and Back** slopes continuously down to that guide contour (`Z_guide`) with zero vertical cut-off steps or protruding internal pivot chimneys. - - **Sub-Slope Blind Pocket Ceiling (`0.0 g` Internal Support at `46°` Tilt):** Keep internal shutter pockets strictly beneath the sloped hopper floor (`>= 1.6 mm` solid roof web) with a slight downward `-2.0°` ceiling pitch toward the bed-tilted side and `4.5°` wall draft on opposing pocket walls so `100%` of internal surfaces exceed `45°` when tilted `46°` (`0.0 g` internal support). - - **Untwisted Multi-Vertex Polygon Lofting:** Never pass arbitrary 2D `Polygon(*pts)` sketches through `BuildSketch` into `loft(ruled=True)`, as `BuildSketch` can re-index starting vertices between sections and twist the loft into vertical cliff cuts. Construct `Face(Wire.make_polygon([Vector(x, y, z) for ...]))` wires directly with identical vertex ordering and call `loft([f_bot, f_top], ruled=True)`. - -* **Atomic Local Git Commits & Zero Leftover Agent Branches Rule:** - - **Dual-Repo Commit Discipline:** Synchronizing to `BambuForge` commits only inside `../BambuForge`; the agent **MUST ALSO** record an atomic local `git commit` on `main` in the `3D-Automation` workspace after every completed task (or pass `--commit-source` to `sync_to_bambuforge.py`), while never pushing raw `3D-Automation` commits directly to public `origin`. - - **Clean Branch Table (`main` Only Unless User-Created):** Whenever an agent creates a temporary branch/worktree (`model/*`, `feat/*`, `fix/*`, `sub/*`, `docs/*`), it must merge into `main`, remove `.worktrees/`, and delete the temporary branch (`.\scripts\worktree.ps1 finish main`). Never leave agent-created branches behind, and never delete branches created by the user. +* **Printer:** Configure via First-Run Onboarding (Section 0). +* **Default Slicing Philosophy:** Support-free (`<= 45°` overhangs, `Z = 0` chamfers), `gyroid` sparse infill, native `.step` + `.3mf` multi-plate exports, and non-destructive versioned `.3mf` iterations. +* **Multi-Color Strategy:** Offer both flush AMS inlay (`1.60–2.00 mm` depth) and zero-waste single-color clip-together lattice/comb assemblies (`0` filament swaps) when appropriate. --- @@ -403,21 +184,4 @@ Whenever the user requests a fine-tuning adjustment, reports a print fit issue, | Date | Model Folder | Description | Status | Print Feedback / Notes | | :--- | :--- | :--- | :--- | :--- | -| `2026-10-24` | [`models/p2s-support-free-calibration/`](models/p2s-support-free-calibration/) | Support-free P2S calibration & tool dock (`build123d` B-Rep `.step`/`.3mf`/`.stl`) | Verified & Exported | Ready to slice (Supports = OFF) | -| `2026-10-24` | [`models/cherry-tomato-modular-planter/`](models/cherry-tomato-modular-planter/) | **Style 0: Classic Rectangular Modular Planter** (4 Trays: 6-Color Base + 1-Color Saucer + 4-Color Inverted Riser + 2-Color Sub-Soil Irrigation Arch Straws) | Verified & Exported | 4-Tray Multi-Color `.3mf` | -| `2026-10-24` | [`models/01-oval-stadium-planter/`](models/01-oval-stadium-planter/) | **Style 1: Oval / Stadium Track Modular Planter** (4 Trays: 6-Color Base + 1-Color Saucer + 4-Color Inverted Riser + 2-Color Sub-Soil Irrigation Arch Straws) | Verified & Exported | Active physical print test; calibrated 0.28mm Extra Draft option for bulky planter speedups | -| `2026-10-24` | [`models/02-roman-fluted-column-planter/`](models/02-roman-fluted-column-planter/) | **Style 2: Roman Fluted Architectural Column Planter** (4 Trays: 6/1/4/2 Colors incl. Sub-Soil Irrigation Arch Straws) | Verified & Exported | 4-Tray Multi-Color `.3mf` | -| `2026-10-24` | [`models/03-origami-faceted-prism-planter/`](models/03-origami-faceted-prism-planter/) | **Style 3: Origami Geometric Faceted Prism Planter** (4 Trays: 6/1/4/2 Colors incl. Sub-Soil Irrigation Arch Straws) | Verified & Exported | 4-Tray Multi-Color `.3mf` | -| `2026-10-24` | [`models/04-self-watering-sip-wicking-planter/`](models/04-self-watering-sip-wicking-planter/) | **Style 4: Sub-Irrigated Self-Watering (SIP) Wicking Planter** (4 Trays: 6/1/4/2 Colors incl. Sub-Soil Irrigation Arch Straws) | Verified & Exported | 4-Tray Multi-Color `.3mf` | -| `2026-10-24` | [`models/05-hexagonal-honeycomb-tessellation-planter/`](models/05-hexagonal-honeycomb-tessellation-planter/) | **Style 5: Modular Elongated Hexagonal Honeycomb Planter** (3 Trays: 6/1/4 Colors, no arch straws per user request) | Verified & Exported | 3-Tray Multi-Color `.3mf` | -| `2026-10-24` | [`models/06-zen-stepped-pagoda-wave-planter/`](models/06-zen-stepped-pagoda-wave-planter/) | **Style 6: Zen Stepped-Terrace Pagoda Planter** (4 Trays: 6/1/4/2 Colors incl. Sub-Soil Irrigation Arch Straws) | Verified & Exported | 4-Tray Multi-Color `.3mf` | -| `2026-10-24` | [`models/melitta-coffee-bean-dispenser/`](models/melitta-coffee-bean-dispenser/) | **Melitta Caffeo Solo Coffee Bean Dispenser (`60 mm` Hopper + Geared Rotary Shutter)** — Mid-section `60 mm` height mod + `Ø30.00 mm` 17-tooth geared rotary shutter + named objects in 1-Plate & 3-Tray `.3mf` | Verified & Exported | Read from `imports/`, exported to `models/melitta-coffee-bean-dispenser/exports/` | -| `2026-11-06` | [`models/melitta-coffee-bean-dispenser/`](models/melitta-coffee-bean-dispenser/) | **Melitta Caffeo Solo 50mm Wide Bean Dispenser (Monolithic Slopes + Debossed Logo + Upgraded Shutter)** — `50.0 mm` height, `100.0 mm` width (`+15 mm` left wing), `178.0 mm` length (`+20 mm` front extension), preserved machine step (`81 × 154 × 4 mm`) & lid rebate (`81 × 154 × 5 mm` with unbroken `2.0 mm` internal contour shelf), monolithic gravity-feed slopes (`9.3°` front, `29.2°` left), debossed official "Melitta" script logotype + "Uliel Family" (`Script MT Bold`, `11.0 mm`), prominent 2-row full-wall slogan (*"It's Coffee Time / While AI is working"*, `15.0 mm` bold font, spanning `136.0 mm` across the right wall), upgraded shutter with `30°` knife-edge + `3` gliding runners + thumb tab, and flush bottom snap pivot pin (`0.0 mm` protrusion) | Verified & Exported | Master 1-Plate & 3-Tray `.3mf` (`0.24mm Standard @BBL P2S`, `0.000000 mm³` collision, 1:1 correlation PASS, interactive 3D HTML viewer & 4-panel guide with real 3D shaded polygon meshes) | -| `2026-10-26` | [`models/muay-thai-boxer-lamp/`](models/muay-thai-boxer-lamp/) | **Muay Thai Boxer E27 Desk Lamp (Option A — 1:1 Photo Match)** — Monolithic single-plate print ($123.2 \times 123.0 \times 223.9\text{ mm}$): Flared pedestal with E27 housing + Voronoi mesh globe + photo-matched fighter with high-guard left glove, forward punch right fist, tousled wet fringe, and hollow optical light chimney beaming through eyes | Verified & Exported | Ready to slice (`.step`, `.3mf`, `.stl` in `exports/`, 4 views in `previews/`) | -| `2026-10-27` | [`models/mouthguard-box-pegasus/`](models/mouthguard-box-pegasus/) | **Mouthguard / Aligner Travel Case (Pegasus Muay Thai Edition)** — Deep `1.80 mm` / `1.60 mm` flush multi-color emblem inlays & debossing, custom 3D-printable snap hinge pin, and 4-Plate `.3mf` | Verified & Exported | Preserved user plates + full `.3mf` in `exports/` | -| `2026-11-05` | [`models/simple-cylindrical-planter/`](models/simple-cylindrical-planter/) | **Simple Conus Stackable Planter + Conus Thin Stackable Drip Plates (`66–70%` Material Saved)** — 4-Plate Bambu `.3mf` (`UJOYBIO Elite PLA+ @ 0.24 mm`), remade Conus profile (`Ø125→103 mm` `100%` & `Ø100→82.4 mm` `80%`) + anti-jam storage-stacking lugs (`87.5%` nesting, `0.000 mm³` collision) + matching Conus stackable thin drip plates | Verified & Exported | 4-Plate `.3mf` (`24.7 g` `100%` / `12.6 g` `80%` drip plates, `0.0%` overhang) | -| `2026-11-05` | [`models/07-helical-string-self-drip-planter/`](models/07-helical-string-self-drip-planter/) | **Style 7: Large Hot-Pepper (`7.6 L`) Helical-String Self-Dripping Planter** — Thin `1.26 mm` shell reinforced by `8` sparse steep (`~67°`, `90°`-swivel) diagonal strings + `4`-way `12 mm` diamond top drip-hose ports + twist-lock self-dripping bottom plate (`0.96 mm` short ribs) | Verified & Exported | 2-Plate `.3mf` (`0.24mm Standard @BBL P2S`, `0.000 mm³` collision, Support-Free PASS) | -| `2026-11-05` | [`models/08-modular-dovetail-pin-expandable-planter/`](models/08-modular-dovetail-pin-expandable-planter/) | **Style 8: Expandable Side-by-Side Rectangular Planter (`6` Dovetail + Blind Pin Joins)** — `168 mm` Standard (`~2.7 L`/mod) and **Max-Height `250 mm` Profile** (`~4.2 L`/mod, +55% root depth) + `100%` identical `180°`-symmetric Left/Right Ends + `$N$` stackable Middles + Solid/Slotted dividers + `4`-way `12 mm` ports + Saddle-Cap `0.96 mm`-rib drip plates (shared 1:1) | Verified & Exported | Master 10-Plate & Dedicated 6-Plate `.3mf` (`0.24mm Standard @BBL P2S`, `0.000000 mm³` collision, 1:1 correlation PASS) | -| `2026-11-05` | [`models/09-modular-wedge-rail-spillway-planter/`](models/09-modular-wedge-rail-spillway-planter/) | **Style 9: Researched Expandable Closed-Cell Planter (Top-Drop Bowtie Keys + One-Piece Roof-Shingle Drip Plates)** — `168 mm` Standard (`~2.3 L`/cell) and **Max-Height `250 mm` Profile** (`~3.5 L`/cell, +52% root depth) + live-swappable `4`-wall diagonal-string cells + `161 mm` & `240 mm` horizontal-printed bowtie rail keys + zero-loose-part shingle-weir `0.96 mm`-rib drip plates (shared 1:1) | Verified & Exported | Master 6-Plate & Dedicated 4-Plate `.3mf` (`0.24mm Standard @BBL P2S`, `0.000000 mm³` collision, 1:1 correlation PASS) | -| `2026-11-06` | [`models/10-indoor-silk-helical-wicking-planter/`](models/10-indoor-silk-helical-wicking-planter/) | **Style 10: Indoor Living-Room Silk Helical Planter & Deep Twist-Lock Wicking Reservoir** — 3 distinct Silk styles (Type A Swirl, Type B Diamond Helix, Type C S-Wave) in 3 separate 4-Plate `.3mf` projects (`0.24mm Standard @BBL P2S`) across Large (`~7.4 L`) and Medium (`~3.3 L`) + deep self-watering reservoir (`38.4 / 32.2 mm`, `~690 / ~340 mL`) with `16.8 / 13.4 mm` tall ribs, wide-open central wicking pool (`Ø112 / Ø86 mm`), and `Ø14 / Ø12 mm` cord-threading holes | Verified & Exported | 3 Dedicated 4-Plate `.3mf` projects (`0.000000 mm³` collision, `100%` Support-Free PASS, interactive 3D HTML viewer & 4-panel guide) | -| `2026-11-07` | [`models/melitta-coffee-bean-dispenser/`](models/melitta-coffee-bean-dispenser/) | **Melitta Caffeo Solo 50mm Wide Bean Dispenser (v3 — 360° Front+Left+Back Hopper Slopes + `R = 72.85 mm` Circular Slider Guide Contour + `46°` Left-Side Tilt + Native P2S/Gyroid `.3mf`)** — Continuous 360° Front, Left, and Back slopes wrapping smoothly around an unbroken `R = 72.85 mm` (`0.85 mm` clearance) circular slider housing guide contour with zero cut-off cliffs; `46.0°` Left-Side Tilt (`0.0 g` internal pocket support, `support_on_build_plate_only = 1`); 2-piece slide-in `R = 72.0 mm` Quarter Blade + Snap-In Geared Thumb Handle + coaxial Flush Snap Pivot Pin; native `Bambu Lab P2S 0.4 nozzle` + `Bambu PLA Basic @BBL P2S` + `0.16mm Precision @BBL P2S - Ujoy PLA+` (`gyroid` infill, zero G-code popup) | Verified & Exported | 1-Plate & 4-Trays `.3mf` (`0.16mm Precision Ujoy PLA+`, `gyroid`, `0.000000 mm³` mated & 3D trajectory collision, `audit_3mf_correlation` PASS, 6-panel shaded PNG guide & interactive 3D HTML viewer) | +| *(auto)* | `models//` | *New models generated in this workspace are indexed here automatically.* | — | — | diff --git a/FILAMENTS.md b/FILAMENTS.md index b20a2e7..43a5f63 100644 --- a/FILAMENTS.md +++ b/FILAMENTS.md @@ -10,19 +10,23 @@ ## 1. Master Filament Specification Catalog -| Filament Brand & Name | Category / Chemistry | Spool Rated Temp | 1st Layer Nozzle / Bed | Print Nozzle / Bed | Flow Ratio | Max Volumetric Flow ($V_{max}$) | Max Outer Wall Speed | Primary Application | -| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | -| **UJOYBIO Elite PLA+** *(EjoyBio)* | Toughened PLA Pro (High-Speed) | `195 – 220 °C` | **`204 °C` / `60 °C`** | **`212 – 218 °C` / `55 °C`** | **`0.98`** | **`17.0 mm³/s`** | `80 – 120 mm/s` | Mechanical snap fits, planters, dispensers, high impact | -| **Kingroon PLA Basic** | Standard Rapid Prototyping PLA | `190 – 220 °C` | **`215 °C` / `60 °C`** | **`220 – 225 °C` / `55 °C`** | **`0.98`** | **`16.0 mm³/s`** | `100 – 140 mm/s` | General rapid prototypes, brackets, decorative parts | -| **Kingroon PLA Matte** | Mineral-Dulled Low-Gloss PLA | `190 – 220 °C` | **`208 °C` / `60 °C`** | **`215 – 220 °C` / `55 °C`** | **`0.98`** | **`13.5 mm³/s`** | `70 – 90 mm/s` | Zero-glare satin parts; hides layer lines naturally | -| **Inslogic Tri-Color Silk PLA**| Co-Extruded 3-Color High-Luster | `200 – 230 °C` | **`210 °C` / `60 °C`** | **`218 – 225 °C` / `55 °C`** | **`0.97`** | **`12.0 mm³/s`** | **`40 – 55 mm/s`** *(Strict)* | Living room showcase planters, architectural silk models | -| **Kingroon Silk PLA** | High-Luster Modified Silk PLA | `195 – 230 °C` | **`210 °C` / `60 °C`** | **`215 – 222 °C` / `55 °C`** | **`0.97`** | **`11.0 mm³/s`** | **`35 – 50 mm/s`** *(Strict)* | Metallic sheen figurines, cosmetic accents | -| **Bambu PETG HF** | High-Flow Polyethylene Terephthalate | `230 – 260 °C` | **`250 °C` / `70 °C`** | **`255 °C` / `70 °C`** | **`0.95`** | **`16.0 mm³/s`** | `80 – 120 mm/s` | Watertight irrigation saucers, chemical/UV resistance | -| **Bambu ASA** | Acrylonitrile Styrene Acrylate | `240 – 270 °C` | **`260 °C` / `90 °C`** | **`265 °C` / `90 °C`** | **`0.96`** | **`12.0 mm³/s`** | `60 – 90 mm/s` | Direct outdoor sun, high heat resistance (`> 95 °C`) | +| Filament Brand & Name | Category / Chemistry | Spool Rated Temp | Drying Temp & Time | 1st Layer Nozzle / Bed | Print Nozzle / Bed | Flow Ratio | Max Volumetric Flow ($V_{max}$) | Max Outer Wall Speed | Primary Application | +| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | +| **UJOYBIO Elite PLA+** *(EjoyBio)* | Toughened PLA Pro (High-Speed) | `195 – 220 °C` | `45 °C / 4–6 h` *(AMS `12 h`)* | **`204 °C` / `60 °C`** | **`212 – 218 °C` / `55 °C`** | **`0.98`** | **`17.0 mm³/s`** | `80 – 120 mm/s` | Mechanical snap fits, planters, dispensers, high impact | +| **Kingroon PLA Basic** | Standard Rapid Prototyping PLA | `190 – 220 °C` | `45 °C / 4–6 h` *(AMS `12 h`)* | **`215 °C` / `60 °C`** | **`220 – 225 °C` / `55 °C`** | **`0.98`** | **`16.0 mm³/s`** | `100 – 140 mm/s` | General rapid prototypes, brackets, decorative parts | +| **Kingroon PLA Matte** | Mineral-Dulled Low-Gloss PLA | `190 – 220 °C` | `45 °C / 4–6 h` *(AMS `12 h`)* | **`208 °C` / `60 °C`** | **`215 – 220 °C` / `55 °C`** | **`0.98`** | **`13.5 mm³/s`** | `70 – 90 mm/s` | Zero-glare satin parts; hides layer lines naturally | +| **Inslogic Tri-Color Silk PLA**| Co-Extruded 3-Color High-Luster | `200 – 230 °C` | `40–45 °C / 4–6 h` | **`210 °C` / `60 °C`** | **`218 – 225 °C` / `55 °C`** | **`0.97`** | **`12.0 mm³/s`** | **`40 – 55 mm/s`** *(Strict)* | Living room showcase planters, architectural silk models | +| **Kingroon Silk PLA** | High-Luster Modified Silk PLA | `195 – 230 °C` | `40–45 °C / 4–6 h` | **`210 °C` / `60 °C`** | **`215 – 222 °C` / `55 °C`** | **`0.97`** | **`11.0 mm³/s`** | **`35 – 50 mm/s`** *(Strict)* | Metallic sheen figurines, cosmetic accents | +| **Frucindra PETG** *(Black, 1 kg)* | Standard / Neat PETG (`1.75 ± 0.02 mm`) | `220 – 250 °C` / Bed `60 – 100 °C` | **`50–60 °C / 4–6 h`** *(Manual spec)* | **`235 °C` / `80 °C`** | **`242 °C` / `75 °C`** | **`0.95`** | **`13.0 mm³/s`** | `45 – 80 mm/s` | Watertight planters, drip saucers, protective cases, brackets | +| **Vertexfil PETG Basic** *(Black, 1 kg)* | High-Flow PETG (`1.75 ± 0.02 mm`, ≤200 mm/s*) | `245 – 255 °C` / Bed `75 – 85 °C` | **`55–65 °C / 4–6 h`** *(`8–12 h` wet)* | **`245 °C` / `80 °C`** | **`250 °C` / `80 °C`** | **`0.95`** | **`16.0 mm³/s`** | `55 – 95 mm/s` | Fast mechanical housings, latches, sturdy outdoor cages | +| **Bambu PETG HF** | High-Flow Polyethylene Terephthalate | `230 – 260 °C` | `65 °C / 8–12 h` | **`250 °C` / `70 °C`** | **`255 °C` / `70 °C`** | **`0.95`** | **`16.0 mm³/s`** | `80 – 120 mm/s` | Watertight irrigation saucers, chemical/UV resistance | +| **Bambu ASA** | Acrylonitrile Styrene Acrylate | `240 – 270 °C` | `80 °C / 8–12 h` | **`260 °C` / `90 °C`** | **`265 °C` / `90 °C`** | **`0.96`** | **`12.0 mm³/s`** | `60 – 90 mm/s` | Direct outdoor sun, high heat resistance (`> 95 °C`) | + +> **Dryer Note (Mild Moisture vs. Saturated Spools):** Frucindra's printed manual specifies `PLA: 40 °C / 4–6 h`, `PETG: 50–60 °C / 4–6 h`, `ASA: 60–65 °C / 6–8 h`, and `TPU: 55–60 °C / 4–6 h` for mild moisture in a filament dryer. For Bambu AMS/P2S drying cycles, `fdm_filament_pet` / `Bambu PETG HF` default up to `55–65 °C / 12 h`. PETG is strongly hygroscopic—always dry if you hear popping at the nozzle or see stringing/rough matte walls. --- -## 2. Dedicated Process Profile Matrix (5 Filaments × 6 Layer Heights = 30 Profiles) +## 2. Dedicated Process Profile Matrix (7 Filaments × 6 Layer Heights = 42 Profiles) Every profile is formatted as **` @BBL P2S`**, pre-configured with speeds, accelerations, and shell thicknesses calibrated for that specific filament chemistry and layer resolution: @@ -58,6 +62,18 @@ Every profile is formatted as **` @BBL P2S`**, pre- | **`0.20mm Kingroon Silk PLA @BBL P2S`** | `0.20 mm` | `45 mm/s` | `130 mm/s` | `190 mm/s` | `160 mm/s` | `90 mm/s` | `2,000 mm/s²` | `7,000 mm/s²` | `5` / `4` | Sculptural decorative planters | | **`0.24mm Kingroon Silk PLA @BBL P2S`** | `0.24 mm` | `50 mm/s` | `150 mm/s` | `210 mm/s` | `175 mm/s` | `100 mm/s` | `2,200 mm/s²` | `7,000 mm/s²` | `4` / `3` | Fast silk basins and saucers | | **`0.28mm Kingroon Silk PLA @BBL P2S`** | `0.28 mm` | `50 mm/s` | `140 mm/s` | `180 mm/s` | `150 mm/s` | `100 mm/s` | `2,200 mm/s²` | `7,000 mm/s²` | `4` / `3` | High-volume shiny planters | +| **`0.08mm Frucindra PETG @BBL P2S`** | `0.08 mm` | `45 mm/s` | `90 mm/s` | `140 mm/s` | `110 mm/s` | `40 mm/s` | `1,800 mm/s²` | `5,000 mm/s²` | `9` / `7` | Fine-detail PETG threads, micro clips | +| **`0.12mm Frucindra PETG @BBL P2S`** | `0.12 mm` | `55 mm/s` | `115 mm/s` | `165 mm/s` | `130 mm/s` | `60 mm/s` | `2,200 mm/s²` | `6,000 mm/s²` | `7` / `5` | Smooth housings, embossed PETG labels | +| **`0.16mm Frucindra PETG @BBL P2S`** | `0.16 mm` | `65 mm/s` | `135 mm/s` | `170 mm/s` | `145 mm/s` | `80 mm/s` | `2,500 mm/s²` | `7,000 mm/s²` | `6` / `5` | Mechanical latches, hinges, snap caps | +| **`0.20mm Frucindra PETG @BBL P2S`** | `0.20 mm` | `75 mm/s` | `140 mm/s` | `145 mm/s` | `135 mm/s` | `90 mm/s` | `2,800 mm/s²` | `8,000 mm/s²` | `5` / `4` | Functional brackets, protective cases | +| **`0.24mm Frucindra PETG @BBL P2S`** | `0.24 mm` | `80 mm/s` | `120 mm/s` | `120 mm/s` | `120 mm/s` | `100 mm/s` | `3,000 mm/s²` | `8,000 mm/s²` | `4` / `3` | Watertight saucers, trays, plant stakes | +| **`0.28mm Frucindra PETG @BBL P2S`** | `0.28 mm` | `75 mm/s` | `105 mm/s` | `105 mm/s` | `100 mm/s` | `100 mm/s` | `3,000 mm/s²` | `8,000 mm/s²` | `4` / `3` | **Max Throughput:** Bulky PETG bins/pots | +| **`0.08mm Vertexfil PETG Basic @BBL P2S`** | `0.08 mm` | `55 mm/s` | `110 mm/s` | `165 mm/s` | `125 mm/s` | `40 mm/s` | `2,200 mm/s²` | `6,000 mm/s²` | `9` / `7` | Fine-detail high-strength PETG prints | +| **`0.12mm Vertexfil PETG Basic @BBL P2S`** | `0.12 mm` | `65 mm/s` | `135 mm/s` | `185 mm/s` | `145 mm/s` | `60 mm/s` | `2,500 mm/s²` | `7,000 mm/s²` | `7` / `5` | Precision hinges, interlocking panels | +| **`0.16mm Vertexfil PETG Basic @BBL P2S`** | `0.16 mm` | `80 mm/s` | `155 mm/s` | `195 mm/s` | `160 mm/s` | `80 mm/s` | `3,000 mm/s²` | `8,000 mm/s²` | `6` / `5` | High-flow brackets, Catan/storage frames | +| **`0.20mm Vertexfil PETG Basic @BBL P2S`** | `0.20 mm` | `90 mm/s` | `165 mm/s` | `180 mm/s` | `160 mm/s` | `90 mm/s` | `3,500 mm/s²` | `9,000 mm/s²` | `5` / `4` | Everyday fast PETG structural parts | +| **`0.24mm Vertexfil PETG Basic @BBL P2S`** | `0.24 mm` | `95 mm/s` | `145 mm/s` | `150 mm/s` | `140 mm/s` | `100 mm/s` | `3,500 mm/s²` | `9,000 mm/s²` | `4` / `3` | Fast planters, structural trellis cages | +| **`0.28mm Vertexfil PETG Basic @BBL P2S`** | `0.28 mm` | `85 mm/s` | `125 mm/s` | `130 mm/s` | `120 mm/s` | `100 mm/s` | `3,500 mm/s²` | `9,000 mm/s²` | `4` / `3` | **Max Throughput:** Heavy trays & pots | --- @@ -117,4 +133,29 @@ Every profile is formatted as **` @BBL P2S`**, pre- * **Other Layers:** `218 – 222 °C` nozzle, `55 °C` bed. * **Outer Wall Speed:** Strictly `35 – 50 mm/s`. * **Volumetric Flow ($V_{max}$):** `11.0 mm³/s`. +* **Drying:** `40 – 45 °C` for `4 – 6 h` (keep `<= 45 °C` to preserve silk additives). * **Installed Filament Preset:** `Kingroon Silk PLA 0.4` + +### F. Frucindra PETG *(Black, 1 kg, `NEAT VERSION`, `±0.02 mm`)* +* **Chemistry & Packaging:** Polyethylene Terephthalate Glycol (`1.75 ± 0.02 mm`, Lot `H0731PR6D18`), ISO 9001 / RoHS / REACH certified. +* **Spool & Box Ratings:** + * **Spool Label:** Print Temp `220 – 250 °C`, Bed Temp `60 – 100 °C`. + * **Box Parameter Table:** `75 – 85 °C` heated bed without glue (glue required if printed unheated). +* **Drying & Preparation (Printed Manual):** + * Dry at **`50 – 60 °C` for `4 – 6 h`** for mild moisture *(Manual chart also lists `PLA: 40 °C / 4–6 h`, `ASA: 60–65 °C / 6–8 h`, `TPU: 55–60 °C / 4–6 h`)*. + * Cut filament tip at a **sharp `45°` angle** prior to loading; promptly store unused spools in a sealed bag with desiccant. +* **Thermal & Cooling Sweet Spot (Bambu Lab P2S, `0.4 mm` Textured PEI):** + * **First Layer:** `235 °C` nozzle, `80 °C` bed, Cooling Fan `OFF` (layers 1–3). + * **Other Layers:** `242 °C` nozzle, `75 °C` bed, Cooling `30 – 60%`, Overhang Fan `60%`, Retraction `0.4 mm` w/ Wipe `ON`. +* **Volumetric Flow ($V_{max}$):** `13.0 mm³/s`, Flow Ratio `0.95`. +* **Installed Filament Preset:** `Frucindra PETG 0.4` + +### G. Vertexfil PETG Basic *(Black, 1 kg, `±0.02 mm`)* +* **Chemistry & Spool Specs (`1.75 ± 0.02 mm`):** High-melt-flow `PETG Basic` rated directly on the spool sticker for **`245 – 255 °C` nozzle**, **`75 – 85 °C` bed**, and **`≤ 200 mm/s*` print speed**. +* **Published Datasheet Metrics (`vertexfil.com` TDS):** Density `1.27 g/cm³`, Melt Flow Index (MFI) `28 g/10 min` (`250 °C / 2.16 kg`), HDT `73.8 °C`, Tensile `68.41 MPa`, Flexural `100.2 MPa`. *(Note: Vertexfil's generic overview table lists `210–235 °C` / `40–65 °C` / `30–60 mm/s` for low-speed general PETG; always follow this spool's `PETG Basic` high-speed label `245–255 °C` & `75–85 °C` on the P2S).* +* **Drying:** Dry at **`55 – 65 °C` for `4 – 6 h`** (`8 – 12 h` if saturated / exposed to humidity). +* **Thermal & Cooling Sweet Spot (Bambu Lab P2S, `0.4 mm` Textured PEI):** + * **First Layer:** `245 °C` nozzle, `80 °C` bed, Cooling Fan `OFF` (layers 1–3). + * **Other Layers:** `250 °C` nozzle, `80 °C` bed, Cooling `25 – 55%`, Overhang Fan `60%`, Retraction `0.4 mm` w/ Wipe `ON`. +* **Volumetric Flow ($V_{max}$):** `16.0 mm³/s`, Flow Ratio `0.95` *(keeps `0.20 mm` printing within `~178–190 mm/s`, cleanly inside the `≤ 200 mm/s*` rating)*. +* **Installed Filament Preset:** `Vertexfil PETG Basic 0.4` diff --git a/SPEED_TUNING_GUIDE.md b/SPEED_TUNING_GUIDE.md index 03d6fe8..be9923e 100644 --- a/SPEED_TUNING_GUIDE.md +++ b/SPEED_TUNING_GUIDE.md @@ -2,7 +2,7 @@ > **Target Printer:** Bambu Lab P2S (`0.4 mm` Hardened Steel Nozzle) > **Slicer:** Bambu Studio / OrcaSlicer -> **Filaments Covered:** UJOYBIO Elite PLA+, Kingroon PLA Basic, Kingroon PLA Matte, Inslogic Tri-Color Silk PLA, Kingroon Silk PLA. +> **Filaments Covered:** UJOYBIO Elite PLA+, Kingroon PLA Basic, Kingroon PLA Matte, Inslogic Tri-Color Silk PLA, Kingroon Silk PLA, Frucindra PETG, Vertexfil PETG Basic. > **Purpose:** Progressive speed calibration matrix with interactive test logging columns for post-print evaluation, failure diagnosis, and permanent profile optimization. --- @@ -10,8 +10,8 @@ ## 1. Physical Speed Governors & Safety Rules Before increasing speeds, keep these 3 inviolable rules in mind: -1. **Never Touch the First Layer:** Keep Initial Layer Speed at `50 mm/s`, Infill at `105 mm/s`, Bed at `60 °C`, and Fan `OFF` for layers 1–3. -2. **Initial Layer Nozzle Temp (Prime Line Snap):** Set Initial Layer Nozzle Temp to **`202 – 205 °C`** (even if other layers run at `215 – 220 °C`). This prevents the prime line from dragging an elastic ooze string across the plate. +1. **Never Touch the First Layer:** Keep Initial Layer Speed at `50 mm/s`, Infill at `105 mm/s`, Bed at `60 °C` (`75–80 °C` for PETG), and Fan `OFF` for layers 1–3. +2. **Initial Layer Nozzle Temp (Prime Line Snap):** Set Initial Layer Nozzle Temp slightly cooler — **`202 – 205 °C` for PLA** (`235 – 245 °C` for PETG) — even if upper layers run hotter. This prevents the prime line from dragging an elastic ooze string across the plate. 3. **The Volumetric Flow Ceiling ($V_{max}$):** $$\text{Actual Linear Speed (mm/s)} = \min\left(\text{Target Speed}, \frac{V_{max}}{\text{Layer Height} \times \text{Line Width}}\right)$$ If $V_{max} = 15\text{ mm}^3/\text{s}$, at `0.20 mm` height and `0.42 mm` width, your maximum physical speed is **`178.5 mm/s`**. To print infill at `270 mm/s`, you must ensure $V_{max} \ge 23\text{ mm}^3/\text{s}$ and increase nozzle temperature so the hotend can melt plastic fast enough. @@ -49,17 +49,17 @@ Use this table to record settings and results as you dial in your printer. ## 3. Dedicated Process Profile Matrix (Installed in Bambu Studio) -You can select any of the **30 custom-calibrated process profiles** directly from Bambu Studio's **Process** dropdown. They follow the naming pattern: +You can select any of the **42 custom-calibrated process profiles** directly from Bambu Studio's **Process** dropdown. They follow the naming pattern: `" @BBL P2S"` -| Layer Height | UjoyBio PLA Plus | Kingroon PLA Basic | Kingroon PLA Matte | Inslogic Tri-Color Silk | Kingroon Silk PLA | -| :--- | :--- | :--- | :--- | :--- | :--- | -| **0.08 mm** | `0.08mm UjoyBio PLA Plus @BBL P2S` | `0.08mm Kingroon PLA Basic @BBL P2S` | `0.08mm Kingroon PLA Matte @BBL P2S` | `0.08mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.08mm Kingroon Silk PLA @BBL P2S` | -| **0.12 mm** | `0.12mm UjoyBio PLA Plus @BBL P2S` | `0.12mm Kingroon PLA Basic @BBL P2S` | `0.12mm Kingroon PLA Matte @BBL P2S` | `0.12mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.12mm Kingroon Silk PLA @BBL P2S` | -| **0.16 mm** | `0.16mm UjoyBio PLA Plus @BBL P2S` | `0.16mm Kingroon PLA Basic @BBL P2S` | `0.16mm Kingroon PLA Matte @BBL P2S` | `0.16mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.16mm Kingroon Silk PLA @BBL P2S` | -| **0.20 mm** | `0.20mm UjoyBio PLA Plus @BBL P2S` | `0.20mm Kingroon PLA Basic @BBL P2S` | `0.20mm Kingroon PLA Matte @BBL P2S` | `0.20mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.20mm Kingroon Silk PLA @BBL P2S` | -| **0.24 mm** | `0.24mm UjoyBio PLA Plus @BBL P2S` | `0.24mm Kingroon PLA Basic @BBL P2S` | `0.24mm Kingroon PLA Matte @BBL P2S` | `0.24mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.24mm Kingroon Silk PLA @BBL P2S` | -| **0.28 mm** | `0.28mm UjoyBio PLA Plus @BBL P2S` | `0.28mm Kingroon PLA Basic @BBL P2S` | `0.28mm Kingroon PLA Matte @BBL P2S` | `0.28mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.28mm Kingroon Silk PLA @BBL P2S` | +| Layer Height | UjoyBio PLA Plus | Kingroon PLA Basic | Kingroon PLA Matte | Inslogic Tri-Color Silk | Kingroon Silk PLA | Frucindra PETG | Vertexfil PETG Basic | +| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | +| **0.08 mm** | `0.08mm UjoyBio PLA Plus @BBL P2S` | `0.08mm Kingroon PLA Basic @BBL P2S` | `0.08mm Kingroon PLA Matte @BBL P2S` | `0.08mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.08mm Kingroon Silk PLA @BBL P2S` | `0.08mm Frucindra PETG @BBL P2S` | `0.08mm Vertexfil PETG Basic @BBL P2S` | +| **0.12 mm** | `0.12mm UjoyBio PLA Plus @BBL P2S` | `0.12mm Kingroon PLA Basic @BBL P2S` | `0.12mm Kingroon PLA Matte @BBL P2S` | `0.12mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.12mm Kingroon Silk PLA @BBL P2S` | `0.12mm Frucindra PETG @BBL P2S` | `0.12mm Vertexfil PETG Basic @BBL P2S` | +| **0.16 mm** | `0.16mm UjoyBio PLA Plus @BBL P2S` | `0.16mm Kingroon PLA Basic @BBL P2S` | `0.16mm Kingroon PLA Matte @BBL P2S` | `0.16mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.16mm Kingroon Silk PLA @BBL P2S` | `0.16mm Frucindra PETG @BBL P2S` | `0.16mm Vertexfil PETG Basic @BBL P2S` | +| **0.20 mm** | `0.20mm UjoyBio PLA Plus @BBL P2S` | `0.20mm Kingroon PLA Basic @BBL P2S` | `0.20mm Kingroon PLA Matte @BBL P2S` | `0.20mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.20mm Kingroon Silk PLA @BBL P2S` | `0.20mm Frucindra PETG @BBL P2S` | `0.20mm Vertexfil PETG Basic @BBL P2S` | +| **0.24 mm** | `0.24mm UjoyBio PLA Plus @BBL P2S` | `0.24mm Kingroon PLA Basic @BBL P2S` | `0.24mm Kingroon PLA Matte @BBL P2S` | `0.24mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.24mm Kingroon Silk PLA @BBL P2S` | `0.24mm Frucindra PETG @BBL P2S` | `0.24mm Vertexfil PETG Basic @BBL P2S` | +| **0.28 mm** | `0.28mm UjoyBio PLA Plus @BBL P2S` | `0.28mm Kingroon PLA Basic @BBL P2S` | `0.28mm Kingroon PLA Matte @BBL P2S` | `0.28mm Inslogic Tri-Color Silk PLA @BBL P2S` | `0.28mm Kingroon Silk PLA @BBL P2S` | `0.28mm Frucindra PETG @BBL P2S` | `0.28mm Vertexfil PETG Basic @BBL P2S` | --- @@ -111,16 +111,37 @@ You can select any of the **30 custom-calibrated process profiles** directly fro * **Nozzle Temp:** `212 – 220 °C` * **Bed Temp:** `55 – 60 °C` +### Card F: Frucindra PETG (`Black`, `1 kg`) +* **Optimal Flow Sweet Spot:** `11 – 13 mm³/s` (`13.0 mm³/s` max cap) +* **Drying (Mandatory if stringing/popping):** `50 – 60 °C` for `4 – 6 h` *(manual spec)*. +* **Speed & Thermal Recommendation:** + * **Outer Wall:** `45 – 80 mm/s` (moderate speed keeps glossy PETG finish & tight snaps) + * **Inner Wall / Infill:** `90 – 170 mm/s` + * **Nozzle Temp:** `235 °C` (1st layer) / `242 °C` (others; spool range `220–250 °C`) + * **Bed Temp:** `80 °C` (1st layer) / `75 °C` (others; box glue-free range `75–85 °C`, spool `60–100 °C`) + * **Fan:** `0%` first 3 layers -> `30 – 60%` (`60%` overhangs) + +### Card G: Vertexfil PETG Basic (`Black`, `1 kg`) +* **Optimal Flow Sweet Spot:** `14 – 16 mm³/s` (`16.0 mm³/s` max cap; MFI `28 g/10 min` @ `250 °C`) +* **Drying:** `55 – 65 °C` for `4 – 6 h` (`8 – 12 h` if saturated). +* **Speed & Thermal Recommendation:** + * **Outer Wall:** `55 – 95 mm/s` + * **Inner Wall / Infill:** `110 – 195 mm/s` *(spool rated `≤ 200 mm/s*`)* + * **Nozzle Temp:** `245 °C` (1st layer) / `250 °C` (others; spool range `245–255 °C`) + * **Bed Temp:** `80 °C` (1st & other layers; spool range `75–85 °C`) + * **Fan:** `0%` first 3 layers -> `25 – 55%` (`60%` overhangs) + --- -## 4. Benchy Diagnostic Defect & Correction Cheat Sheet +## 5. Benchy Diagnostic Defect & Correction Cheat Sheet | Symptom on Benchy | Root Cause | Immediate Slicer Fix | | :--- | :--- | :--- | | **Ghosting / Ringing Waves** on hull near anchor hole | Excessive outer wall acceleration vibrating toolhead | Reduce **Outer Wall Acceleration** from `4,000` to `2,500 – 3,000 mm/s²`. | -| **Loose Sagging Strands** under cabin roof bridge | Bridge speed too fast or cooling inadequate | Set **Bridge Speed** to `25 – 30 mm/s` and ensure Auxiliary/Part Fan is `100%`. | +| **Loose Sagging Strands** under cabin roof bridge | Bridge speed too fast or cooling inadequate | Set **Bridge Speed** to `25 – 30 mm/s` and ensure Auxiliary/Part Fan is `100%` (PLA) / `60%` (PETG). | | **Curling / Upturned Edges** on bow overhang ($60^\circ$) | Plastic staying molten too long on shallow overhang | Under Speed -> Overhang Speed: set $50-75\%$ overhangs to `30 mm/s` and $75-100\%$ to `15 mm/s`. | -| **Prime Line Whisker** stretching to model brim | High nozzle temp causing ooze during initial travel | Set **Initial Layer Nozzle Temp** to `202 – 205 °C` (keep other layers at `215 °C`). | -| **Extruder Clicking / Under-extrusion** during infill | Volumetric flow limit exceeded by linear speed demand | Increase nozzle temp by `5 °C` OR reduce Infill Speed by `30 mm/s` OR reduce $V_{max}$ to `16 mm³/s`. | +| **Prime Line Whisker** stretching to model brim | High nozzle temp causing ooze during initial travel | Set **Initial Layer Nozzle Temp** to `202 – 205 °C` for PLA (`235 – 245 °C` for PETG). | +| **Extruder Clicking / Under-extrusion** during infill | Volumetric flow limit exceeded by linear speed demand | Increase nozzle temp by `5 °C` OR reduce Infill Speed by `30 mm/s` OR cap $V_{max}$ (`13` Frucindra / `16` Vertexfil PETG). | | **Silk Filament Turning Dull / Chalky** | Printing outer wall too fast | Lock Outer Wall Speed to `40 – 50 mm/s`. | -| **Brittle Layers / Snapping at Z seam** | Inadequate melt fusion at high speed | Raise nozzle temperature by `5 – 8 °C`. | +| **PETG Fine Hairs, Blobs, Popping, or Rough Matte Walls** | Absorbed moisture in hygroscopic PETG or excessive cooling | Dry spool (**`50–60 °C` Frucindra / `55–65 °C` Vertexfil for `4–6 h`**); verify `0.4 mm` retraction + wipe `ON` + fan `<= 60%`. | +| **Brittle Layers / Snapping at Z seam** | Inadequate melt fusion at high speed | Raise nozzle temperature by `5 – 8 °C` (and reduce PETG part fan toward `25 – 40%`). | diff --git a/VERSION b/VERSION index 59e9e60..9084fa2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.11 +1.1.0 diff --git a/profiles/0.08mm_Frucindra_PETG_atBBL_P2S.json b/profiles/0.08mm_Frucindra_PETG_atBBL_P2S.json new file mode 100644 index 0000000..35b24bd --- /dev/null +++ b/profiles/0.08mm_Frucindra_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.08mm High Quality @BBL P2S", + "name": "0.08mm Frucindra PETG @BBL P2S", + "print_settings_id": "0.08mm Frucindra PETG @BBL P2S", + "layer_height": "0.08", + "initial_layer_print_height": "0.16", + "initial_layer_speed": [ + "35", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "65", + "nil", + "nil" + ], + "outer_wall_speed": [ + "45", + "nil", + "nil" + ], + "inner_wall_speed": [ + "90", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "140", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "110", + "nil", + "nil" + ], + "top_surface_speed": [ + "40", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "1800", + "nil", + "nil" + ], + "default_acceleration": [ + "5000", + "nil", + "nil" + ], + "top_shell_layers": [ + "9" + ], + "bottom_shell_layers": [ + "7" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.08mm_Vertexfil_PETG_Basic_atBBL_P2S.json b/profiles/0.08mm_Vertexfil_PETG_Basic_atBBL_P2S.json new file mode 100644 index 0000000..6519cf2 --- /dev/null +++ b/profiles/0.08mm_Vertexfil_PETG_Basic_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.08mm High Quality @BBL P2S", + "name": "0.08mm Vertexfil PETG Basic @BBL P2S", + "print_settings_id": "0.08mm Vertexfil PETG Basic @BBL P2S", + "layer_height": "0.08", + "initial_layer_print_height": "0.16", + "initial_layer_speed": [ + "35", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "65", + "nil", + "nil" + ], + "outer_wall_speed": [ + "55", + "nil", + "nil" + ], + "inner_wall_speed": [ + "110", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "165", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "125", + "nil", + "nil" + ], + "top_surface_speed": [ + "40", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "2200", + "nil", + "nil" + ], + "default_acceleration": [ + "6000", + "nil", + "nil" + ], + "top_shell_layers": [ + "9" + ], + "bottom_shell_layers": [ + "7" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.12mm_Frucindra_PETG_atBBL_P2S.json b/profiles/0.12mm_Frucindra_PETG_atBBL_P2S.json new file mode 100644 index 0000000..dc07f3b --- /dev/null +++ b/profiles/0.12mm_Frucindra_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.12mm High Quality @BBL P2S", + "name": "0.12mm Frucindra PETG @BBL P2S", + "print_settings_id": "0.12mm Frucindra PETG @BBL P2S", + "layer_height": "0.12", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "40", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "80", + "nil", + "nil" + ], + "outer_wall_speed": [ + "55", + "nil", + "nil" + ], + "inner_wall_speed": [ + "115", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "165", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "130", + "nil", + "nil" + ], + "top_surface_speed": [ + "60", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "2200", + "nil", + "nil" + ], + "default_acceleration": [ + "6000", + "nil", + "nil" + ], + "top_shell_layers": [ + "7" + ], + "bottom_shell_layers": [ + "5" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.12mm_Vertexfil_PETG_Basic_atBBL_P2S.json b/profiles/0.12mm_Vertexfil_PETG_Basic_atBBL_P2S.json new file mode 100644 index 0000000..8bdea1d --- /dev/null +++ b/profiles/0.12mm_Vertexfil_PETG_Basic_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.12mm High Quality @BBL P2S", + "name": "0.12mm Vertexfil PETG Basic @BBL P2S", + "print_settings_id": "0.12mm Vertexfil PETG Basic @BBL P2S", + "layer_height": "0.12", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "40", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "80", + "nil", + "nil" + ], + "outer_wall_speed": [ + "65", + "nil", + "nil" + ], + "inner_wall_speed": [ + "135", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "185", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "145", + "nil", + "nil" + ], + "top_surface_speed": [ + "60", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "2500", + "nil", + "nil" + ], + "default_acceleration": [ + "7000", + "nil", + "nil" + ], + "top_shell_layers": [ + "7" + ], + "bottom_shell_layers": [ + "5" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.16mm_Frucindra_PETG_atBBL_P2S.json b/profiles/0.16mm_Frucindra_PETG_atBBL_P2S.json new file mode 100644 index 0000000..ebb021f --- /dev/null +++ b/profiles/0.16mm_Frucindra_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.16mm Standard @BBL P2S", + "name": "0.16mm Frucindra PETG @BBL P2S", + "print_settings_id": "0.16mm Frucindra PETG @BBL P2S", + "layer_height": "0.16", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "65", + "nil", + "nil" + ], + "inner_wall_speed": [ + "135", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "170", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "145", + "nil", + "nil" + ], + "top_surface_speed": [ + "80", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "2500", + "nil", + "nil" + ], + "default_acceleration": [ + "7000", + "nil", + "nil" + ], + "top_shell_layers": [ + "6" + ], + "bottom_shell_layers": [ + "5" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.16mm_Vertexfil_PETG_Basic_atBBL_P2S.json b/profiles/0.16mm_Vertexfil_PETG_Basic_atBBL_P2S.json new file mode 100644 index 0000000..3bbca72 --- /dev/null +++ b/profiles/0.16mm_Vertexfil_PETG_Basic_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.16mm Standard @BBL P2S", + "name": "0.16mm Vertexfil PETG Basic @BBL P2S", + "print_settings_id": "0.16mm Vertexfil PETG Basic @BBL P2S", + "layer_height": "0.16", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "80", + "nil", + "nil" + ], + "inner_wall_speed": [ + "155", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "195", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "160", + "nil", + "nil" + ], + "top_surface_speed": [ + "80", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3000", + "nil", + "nil" + ], + "default_acceleration": [ + "8000", + "nil", + "nil" + ], + "top_shell_layers": [ + "6" + ], + "bottom_shell_layers": [ + "5" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.20mm_Frucindra_PETG_atBBL_P2S.json b/profiles/0.20mm_Frucindra_PETG_atBBL_P2S.json new file mode 100644 index 0000000..2a6e376 --- /dev/null +++ b/profiles/0.20mm_Frucindra_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.20mm Standard @BBL P2S", + "name": "0.20mm Frucindra PETG @BBL P2S", + "print_settings_id": "0.20mm Frucindra PETG @BBL P2S", + "layer_height": "0.20", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "75", + "nil", + "nil" + ], + "inner_wall_speed": [ + "140", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "145", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "135", + "nil", + "nil" + ], + "top_surface_speed": [ + "90", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "2800", + "nil", + "nil" + ], + "default_acceleration": [ + "8000", + "nil", + "nil" + ], + "top_shell_layers": [ + "5" + ], + "bottom_shell_layers": [ + "4" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.20mm_Vertexfil_PETG_Basic_atBBL_P2S.json b/profiles/0.20mm_Vertexfil_PETG_Basic_atBBL_P2S.json new file mode 100644 index 0000000..bedcaba --- /dev/null +++ b/profiles/0.20mm_Vertexfil_PETG_Basic_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.20mm Standard @BBL P2S", + "name": "0.20mm Vertexfil PETG Basic @BBL P2S", + "print_settings_id": "0.20mm Vertexfil PETG Basic @BBL P2S", + "layer_height": "0.20", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "90", + "nil", + "nil" + ], + "inner_wall_speed": [ + "165", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "180", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "160", + "nil", + "nil" + ], + "top_surface_speed": [ + "90", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3500", + "nil", + "nil" + ], + "default_acceleration": [ + "9000", + "nil", + "nil" + ], + "top_shell_layers": [ + "5" + ], + "bottom_shell_layers": [ + "4" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.24mm_Frucindra_PETG_atBBL_P2S.json b/profiles/0.24mm_Frucindra_PETG_atBBL_P2S.json new file mode 100644 index 0000000..dedcf43 --- /dev/null +++ b/profiles/0.24mm_Frucindra_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.24mm Standard @BBL P2S", + "name": "0.24mm Frucindra PETG @BBL P2S", + "print_settings_id": "0.24mm Frucindra PETG @BBL P2S", + "layer_height": "0.24", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "80", + "nil", + "nil" + ], + "inner_wall_speed": [ + "120", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "120", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "120", + "nil", + "nil" + ], + "top_surface_speed": [ + "100", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3000", + "nil", + "nil" + ], + "default_acceleration": [ + "8000", + "nil", + "nil" + ], + "top_shell_layers": [ + "4" + ], + "bottom_shell_layers": [ + "3" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.24mm_Vertexfil_PETG_Basic_atBBL_P2S.json b/profiles/0.24mm_Vertexfil_PETG_Basic_atBBL_P2S.json new file mode 100644 index 0000000..b9c70e3 --- /dev/null +++ b/profiles/0.24mm_Vertexfil_PETG_Basic_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.24mm Standard @BBL P2S", + "name": "0.24mm Vertexfil PETG Basic @BBL P2S", + "print_settings_id": "0.24mm Vertexfil PETG Basic @BBL P2S", + "layer_height": "0.24", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "95", + "nil", + "nil" + ], + "inner_wall_speed": [ + "145", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "150", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "140", + "nil", + "nil" + ], + "top_surface_speed": [ + "100", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3500", + "nil", + "nil" + ], + "default_acceleration": [ + "9000", + "nil", + "nil" + ], + "top_shell_layers": [ + "4" + ], + "bottom_shell_layers": [ + "3" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.28mm_Frucindra_PETG_atBBL_P2S.json b/profiles/0.28mm_Frucindra_PETG_atBBL_P2S.json new file mode 100644 index 0000000..8a01399 --- /dev/null +++ b/profiles/0.28mm_Frucindra_PETG_atBBL_P2S.json @@ -0,0 +1,71 @@ +{ + "from": "User", + "inherits": "fdm_process_single_0.28", + "name": "0.28mm Frucindra PETG @BBL P2S", + "print_settings_id": "0.28mm Frucindra PETG @BBL P2S", + "layer_height": "0.28", + "initial_layer_print_height": "0.24", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "75", + "nil", + "nil" + ], + "inner_wall_speed": [ + "105", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "105", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "100", + "nil", + "nil" + ], + "top_surface_speed": [ + "100", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3000", + "nil", + "nil" + ], + "default_acceleration": [ + "8000", + "nil", + "nil" + ], + "top_shell_layers": [ + "4" + ], + "bottom_shell_layers": [ + "3" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "support_threshold_angle": [ + "40" + ] +} \ No newline at end of file diff --git a/profiles/0.28mm_Vertexfil_PETG_Basic_atBBL_P2S.json b/profiles/0.28mm_Vertexfil_PETG_Basic_atBBL_P2S.json new file mode 100644 index 0000000..2b429ca --- /dev/null +++ b/profiles/0.28mm_Vertexfil_PETG_Basic_atBBL_P2S.json @@ -0,0 +1,71 @@ +{ + "from": "User", + "inherits": "fdm_process_single_0.28", + "name": "0.28mm Vertexfil PETG Basic @BBL P2S", + "print_settings_id": "0.28mm Vertexfil PETG Basic @BBL P2S", + "layer_height": "0.28", + "initial_layer_print_height": "0.24", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "85", + "nil", + "nil" + ], + "inner_wall_speed": [ + "125", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "130", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "120", + "nil", + "nil" + ], + "top_surface_speed": [ + "100", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3500", + "nil", + "nil" + ], + "default_acceleration": [ + "9000", + "nil", + "nil" + ], + "top_shell_layers": [ + "4" + ], + "bottom_shell_layers": [ + "3" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "support_threshold_angle": [ + "40" + ] +} \ No newline at end of file diff --git a/profiles/Frucindra_PETG_0.4.json b/profiles/Frucindra_PETG_0.4.json new file mode 100644 index 0000000..fa178d0 --- /dev/null +++ b/profiles/Frucindra_PETG_0.4.json @@ -0,0 +1,105 @@ +{ + "from": "User", + "inherits": "Generic PETG @BBL P2S", + "name": "Frucindra PETG 0.4", + "filament_settings_id": [ + "Frucindra PETG 0.4" + ], + "nozzle_temperature": [ + "242", + "nil", + "nil" + ], + "nozzle_temperature_initial_layer": [ + "235", + "nil", + "nil" + ], + "textured_plate_temp": [ + "75", + "nil", + "nil" + ], + "textured_plate_temp_initial_layer": [ + "80", + "nil", + "nil" + ], + "filament_flow_ratio": [ + "0.95" + ], + "filament_max_volumetric_speed": [ + "13.0", + "nil", + "nil" + ], + "fan_min_speed": [ + "30" + ], + "fan_max_speed": [ + "60" + ], + "close_fan_the_first_x_layers": [ + "3" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "filament_dev_ams_drying_temperature": [ + "55", + "55", + "55", + "55", + "55", + "55", + "55", + "55" + ], + "filament_dev_ams_drying_time": [ + "5", + "5", + "5", + "5", + "5", + "5", + "5", + "5" + ], + "filament_vendor": [ + "Frucindra" + ], + "filament_density": [ + "1.27" + ], + "filament_type": [ + "PETG" + ], + "nozzle_temperature_range_low": [ + "220" + ], + "nozzle_temperature_range_high": [ + "250" + ], + "overhang_fan_speed": [ + "60" + ], + "eng_plate_temp": [ + "75" + ], + "eng_plate_temp_initial_layer": [ + "80" + ], + "hot_plate_temp": [ + "75" + ], + "hot_plate_temp_initial_layer": [ + "80" + ], + "filament_retraction_length": [ + "0.4" + ], + "filament_wipe": [ + "1" + ] +} \ No newline at end of file diff --git a/profiles/Vertexfil_PETG_Basic_0.4.json b/profiles/Vertexfil_PETG_Basic_0.4.json new file mode 100644 index 0000000..12de387 --- /dev/null +++ b/profiles/Vertexfil_PETG_Basic_0.4.json @@ -0,0 +1,105 @@ +{ + "from": "User", + "inherits": "Generic PETG @BBL P2S", + "name": "Vertexfil PETG Basic 0.4", + "filament_settings_id": [ + "Vertexfil PETG Basic 0.4" + ], + "nozzle_temperature": [ + "250", + "nil", + "nil" + ], + "nozzle_temperature_initial_layer": [ + "245", + "nil", + "nil" + ], + "textured_plate_temp": [ + "80", + "nil", + "nil" + ], + "textured_plate_temp_initial_layer": [ + "80", + "nil", + "nil" + ], + "filament_flow_ratio": [ + "0.95" + ], + "filament_max_volumetric_speed": [ + "16.0", + "nil", + "nil" + ], + "fan_min_speed": [ + "25" + ], + "fan_max_speed": [ + "55" + ], + "close_fan_the_first_x_layers": [ + "3" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "filament_dev_ams_drying_temperature": [ + "60", + "60", + "60", + "60", + "60", + "60", + "60", + "60" + ], + "filament_dev_ams_drying_time": [ + "5", + "5", + "5", + "5", + "5", + "5", + "5", + "5" + ], + "filament_vendor": [ + "Vertexfil" + ], + "filament_density": [ + "1.27" + ], + "filament_type": [ + "PETG" + ], + "nozzle_temperature_range_low": [ + "245" + ], + "nozzle_temperature_range_high": [ + "255" + ], + "overhang_fan_speed": [ + "60" + ], + "eng_plate_temp": [ + "80" + ], + "eng_plate_temp_initial_layer": [ + "80" + ], + "hot_plate_temp": [ + "80" + ], + "hot_plate_temp_initial_layer": [ + "80" + ], + "filament_retraction_length": [ + "0.4" + ], + "filament_wipe": [ + "1" + ] +} \ No newline at end of file diff --git a/scripts/generate_all_custom_matrix_profiles.py b/scripts/generate_all_custom_matrix_profiles.py index 185146f..28b02f9 100644 --- a/scripts/generate_all_custom_matrix_profiles.py +++ b/scripts/generate_all_custom_matrix_profiles.py @@ -14,7 +14,7 @@ WORKSPACE = Path(r"") PROFILES_DIR = WORKSPACE / "profiles" -USER_PRESET_DIR = Path(r"\AppData\Roaming\BambuStudio\user\944859351") +USER_PRESET_DIR = Path(r"\AppData\Roaming\BambuStudio\user\") USER_PROCESS_DIR = USER_PRESET_DIR / "process" PROFILES_DIR.mkdir(parents=True, exist_ok=True) @@ -23,7 +23,7 @@ NOW = int(time.time()) def make_info_file(path: Path, setting_id: str, base_id: str = ""): - content = f"sync_info = \nuser_id = 944859351\nsetting_id = {setting_id}\nbase_id = {base_id}\nupdated_time = {NOW}\n" + content = f"sync_info = \nuser_id = \nsetting_id = {setting_id}\nbase_id = {base_id}\nupdated_time = {NOW}\n" path.write_text(content, encoding="utf-8") def gen_id(prefix: str, seed: str) -> str: @@ -143,11 +143,27 @@ def gen_id(prefix: str, seed: str) -> str: "0.20mm": ("45", "130", "190", "160", "2000", "7000"), "0.24mm": ("50", "150", "210", "175", "2200", "7000"), "0.28mm": ("50", "140", "180", "150", "2200", "7000"), + }, + "Frucindra PETG": { + "0.08mm": ("45", "90", "140", "110", "1800", "5000"), + "0.12mm": ("55", "115", "165", "130", "2200", "6000"), + "0.16mm": ("65", "135", "170", "145", "2500", "7000"), + "0.20mm": ("75", "140", "145", "135", "2800", "8000"), + "0.24mm": ("80", "120", "120", "120", "3000", "8000"), + "0.28mm": ("75", "105", "105", "100", "3000", "8000"), + }, + "Vertexfil PETG Basic": { + "0.08mm": ("55", "110", "165", "125", "2200", "6000"), + "0.12mm": ("65", "135", "185", "145", "2500", "7000"), + "0.16mm": ("80", "155", "195", "160", "3000", "8000"), + "0.20mm": ("90", "165", "180", "160", "3500", "9000"), + "0.24mm": ("95", "145", "150", "140", "3500", "9000"), + "0.28mm": ("85", "125", "130", "120", "3500", "9000"), } } count = 0 -print("--- Generating 30 Specific Process Profiles ---") +print(f"--- Generating {len(FILAMENT_SPECS) * 6} Specific Process Profiles ---") for fil_brand, layer_map in FILAMENT_SPECS.items(): for lh_key, speeds in layer_map.items(): ls = LAYER_SPECS[lh_key] diff --git a/scripts/generate_all_filament_and_process_profiles.py b/scripts/generate_all_filament_and_process_profiles.py index 300fdf2..b7bdca0 100644 --- a/scripts/generate_all_filament_and_process_profiles.py +++ b/scripts/generate_all_filament_and_process_profiles.py @@ -7,7 +7,7 @@ - 6 Process Presets (0.4mm nozzle): 0.08mm, 0.12mm, 0.16mm, 0.20mm, 0.24mm, 0.28mm Extra Draft. Outputs to: 1. Local workspace `profiles/` - 2. Bambu Studio user presets (`AppData/Roaming/BambuStudio/user/944859351/`) + 2. Bambu Studio user presets (`AppData/Roaming/BambuStudio/user//`) """ import json @@ -17,7 +17,7 @@ WORKSPACE = Path(r"") PROFILES_DIR = WORKSPACE / "profiles" -USER_PRESET_DIR = Path(r"\AppData\Roaming\BambuStudio\user\944859351") +USER_PRESET_DIR = Path(r"\AppData\Roaming\BambuStudio\user\") USER_FILAMENT_DIR = USER_PRESET_DIR / "filament" USER_PROCESS_DIR = USER_PRESET_DIR / "process" @@ -28,7 +28,7 @@ NOW = int(time.time()) def make_info_file(path: Path, setting_id: str, base_id: str = ""): - content = f"sync_info = \nuser_id = 944859351\nsetting_id = {setting_id}\nbase_id = {base_id}\nupdated_time = {NOW}\n" + content = f"sync_info = \nuser_id = \nsetting_id = {setting_id}\nbase_id = {base_id}\nupdated_time = {NOW}\n" path.write_text(content, encoding="utf-8") def gen_id(prefix: str, seed: str) -> str: @@ -264,6 +264,68 @@ def gen_id(prefix: str, seed: str) -> str: "fan_max_speed": "100", "filament_type": "PLA", "description": "Kingroon High-Luster Silk PLA. Capped at 11 mm3/s to ensure rich reflective shine without milkiness." + }, + { + "name": "Frucindra PETG 0.4", + "inherits": "Generic PETG @BBL P2S", + "base_id": "GFSG99_09", + "nozzle_temp": "242", + "nozzle_temp_init": "235", + "bed_temp": "75", + "bed_temp_init": "80", + "flow_ratio": "0.95", + "max_volumetric_speed": "13.0", + "fan_min_speed": "30", + "fan_max_speed": "60", + "filament_type": "PETG", + "drying_temp": "55", + "drying_time": "5", + "extra": { + "filament_vendor": ["Frucindra"], + "filament_density": ["1.27"], + "filament_type": ["PETG"], + "nozzle_temperature_range_low": ["220"], + "nozzle_temperature_range_high": ["250"], + "overhang_fan_speed": ["60"], + "eng_plate_temp": ["75"], + "eng_plate_temp_initial_layer": ["80"], + "hot_plate_temp": ["75"], + "hot_plate_temp_initial_layer": ["80"], + "filament_retraction_length": ["0.4"], + "filament_wipe": ["1"] + }, + "description": "Frucindra PETG Black (1 kg, 1.75 +/- 0.02 mm). Spool: 220-250 C nozzle, 60-100 C bed (75-85 C glue-free). Dry 50-60 C for 4-6h." + }, + { + "name": "Vertexfil PETG Basic 0.4", + "inherits": "Generic PETG @BBL P2S", + "base_id": "GFSG99_09", + "nozzle_temp": "250", + "nozzle_temp_init": "245", + "bed_temp": "80", + "bed_temp_init": "80", + "flow_ratio": "0.95", + "max_volumetric_speed": "16.0", + "fan_min_speed": "25", + "fan_max_speed": "55", + "filament_type": "PETG", + "drying_temp": "60", + "drying_time": "5", + "extra": { + "filament_vendor": ["Vertexfil"], + "filament_density": ["1.27"], + "filament_type": ["PETG"], + "nozzle_temperature_range_low": ["245"], + "nozzle_temperature_range_high": ["255"], + "overhang_fan_speed": ["60"], + "eng_plate_temp": ["80"], + "eng_plate_temp_initial_layer": ["80"], + "hot_plate_temp": ["80"], + "hot_plate_temp_initial_layer": ["80"], + "filament_retraction_length": ["0.4"], + "filament_wipe": ["1"] + }, + "description": "Vertexfil PETG Basic Black (1 kg, 1.75 +/- 0.02 mm). Spool: 245-255 C nozzle, 75-85 C bed, <=200 mm/s. Dry 55-65 C for 4-6h." } ] @@ -286,6 +348,11 @@ def gen_id(prefix: str, seed: str) -> str: "compatible_printers": ["Bambu Lab P2S 0.4 nozzle"], "version": "2.6.0.5" } + if "drying_temp" in fil and "drying_time" in fil: + fil_dict["filament_dev_ams_drying_temperature"] = [fil["drying_temp"]] * 8 + fil_dict["filament_dev_ams_drying_time"] = [fil["drying_time"]] * 8 + if "extra" in fil: + fil_dict.update(fil["extra"]) setting_id = gen_id("PFUS", fil["name"])