diff --git a/.agents/skills/3d-print-modeling/SKILL.md b/.agents/skills/3d-print-modeling/SKILL.md index 54fe91e..7292505 100644 --- a/.agents/skills/3d-print-modeling/SKILL.md +++ b/.agents/skills/3d-print-modeling/SKILL.md @@ -66,6 +66,12 @@ Read [fdm-design-principles.md](./references/fdm-design-principles.md) and impor * When a monolithic enclosure contains a wide, shallow internal pocket (such as a rotary shutter slot under a sloped hopper floor) whose `0°` roof would trap unremovable internal supports if 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 faces sit `> 45°` from horizontal** (`0.0 g` internal support). Configure `.3mf` project settings with `enable_support = 1`, `support_type = tree(auto)`, `support_on_build_plate_only = 1`, and `support_threshold_angle = 45` so tree supports touch **only** the plain exterior wall while keeping all branded/customizable faces vertical or skyward. 12. **Enclosed Mechanism 3D Kinematic Insertion Trajectory Audit & Dual-Lock Snap Handle:** * Split trapped internal sliders/shutters into a **slide-in internal member** (with a planar XY elastic C-jaw socket) + **snap-in keyed external handle** (pushed straight through the housing slot) + **coaxial locking pivot pin**. Run a continuous multi-step 3D B-Rep insertion trajectory check (`20+` 6-DOF poses from outside the housing to the seated position) asserting **`0.000000 mm³` boolean collision** at every step. +13. **Organic Sculpting Zero-Support & Single-Solid Engineering Patterns:** + * **Never attach floating tangent decorative details** (such as detached 3D leaves or unbridged clip tabs) that can separate into multiple connected components or overhang > 45°. Sculpt organic surface foliage/garlands directly as `<= 40°` beveled **integral bas-relief** into the outer mesh skin (`connected_components == 1`, `0.00 mm²` overhang). + * **Support-Free Curved Handles (`sweep_support_free_branch_handle`):** Keep the centerline monotonically ascending (`dz > 0`, slope `<= 40°` from vertical) with both start/end caps buried deep inside the main body wall (`0.00 mm²` overhang), and swell ONLY the skyward (`+Z`) upper crest to achieve lush rounded arches with zero underside overhangs. + * **Wide Horizontal Overhead Arches (Print-Flat Horizontal YZ-Dovetail Lock):** Never print a wide semicircular carry arch monolithically over an open hollow vessel. Print the arch **flat on its side at `Z = 0`** (`0.00%` overhang and `5×` stronger continuous-fiber PETG/PLA lifting strength) with `28°–32°` horizontal YZ-dovetail tenons that slide horizontally (`+X → -X`) into twin bark/wall-blended rim buttress pockets (supported below by `<= 38°` ramps)—mechanically pull-out proof under vertical `+Z` lifting loads. + * **Angled Spout / Coupling Stubs & Helical Wedge-Cam Collars:** Elevate stubs to **`>= 48°` above horizontal** (`<= 42°` from vertical), omit `45°` inward tip chamfers (which push the `6 o'clock` bevel past `90°`), and place bayonet lugs at `12`, `4`, and `8` o'clock (`6 o'clock` underside lug-free → `0.00 mm²` overhang). Every bayonet collar or swivel socket **MUST** incorporate a helical wedge-cam clamping ramp (`~10°` draw, `40°–43.6°` inner cam bevel matching the stub lug underside) + positive rotation stop + crush-rib / TPU / rubber seal, verified by **both** `assert_bayonet_cam_lock_action()` (zero-collision entry/lock + active wedge engagement) and **`assert_nut_slides_over_part()`** (`0.000000 mm³` 36-pose kinematic slide-over collision from tip to flange). Avoid bare-PETG multi-link snap hoses below tank waterlines; use monolithic spouts or 1-piece hose-barb adapters for real silicone/vinyl tubing. + * **Watertight Vessel Floor & Hydraulic Passage Integrity Gate (`clip_bore_above_floor` + `assert_watertight_vessel_integrity`):** For any hollow watertight vessel with an angled side-wall bore (watering cans, pitchers, planters, tanks), ALWAYS hard-clip the angled bore cutter strictly above `Z >= floor_thick_mm + 0.5 mm` so a downward-tilted bore can NEVER groove or puncture the tank floor. Programmatically assert BOTH `volume(solid_floor_disk - vessel_body) == 0.000000 mm³` (100% unbroken watertight floor across full interior radius) AND `volume(spout_flow_probe ^ vessel_body) == 0.000000 mm³` (unobstructed water passage into cavity), and visually inspect a top-down interior + bottom-face render before delivery. --- 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 212b3b7..76bb1df 100644 --- a/.agents/skills/3d-print-modeling/references/fdm-design-principles.md +++ b/.agents/skills/3d-print-modeling/references/fdm-design-principles.md @@ -192,3 +192,8 @@ When engineering enclosures, faceplates, signage, or flush multi-color inlays ac - This leaves flat `13–16 mm` `Z = 0` stability feet under every valley trough while rising at `47°` from horizontal (`43°` overhang → strictly `<= 45°`, `0.00%` overhangs) to pointed cathedral arches beneath each crest and thin curved outer wings—typically cutting solid volume by **`~55–60%`** and real sliced filament by **`~28–40%`**. - Place compact vertical-walled `Z = 0` piers ONLY where mechanical interlocks require backing (corner sockets, dovetail ends, bow-tie bosses, short spine piers), allowing the open `47°` wavy underside tunnel itself to double as the drop-in loading bay for underside locking keys. +7. **Flexible TPU (`95A`) Direct-Feed Slicing & Concise Filament Catalog Hygiene:** + - **Direct Top-Feed & Zero AMS for Standard `95A` TPU:** Standard flexible TPU (`85A–95A`) must bypass AMS / rear-buffer routing to prevent gear buckling and rubber-band stretching. Route a short extra `4 × 2.5 mm` PTFE guide tube (`~25–45 cm`, bend radius `R >= 60 mm`) directly from an overhead/close low-friction dry spool straight into the toolhead pneumatic collet, with **Top Glass REMOVED** and **Front Door OPEN** (`chamber < 30 °C`). + - **PEI Release Layer & Flow Ceiling:** Print `95A` TPU at `222 / 225 °C` nozzle, **`35 °C` Textured PEI with Glue Stick as a release barrier** (never `> 50 °C` bare PEI), Flow `1.00`, **$V_{max} = 3.6\text{ mm}^3/\text{s}$** (`25–45 mm/s` linear speeds), Retraction `0.4 mm @ 20 mm/s` + Wipe `ON`, **Avoid Crossing Walls `ON`**, and dry **`65–70 °C` for `6–8 h`**. Always use the printer's **Unload** command rather than yanking warm filament manually. + - **Filament Profile & Catalog Hygiene Rule:** When cataloging filaments, profiles, and visual guides, record only **brand, filament type/grade, SKU (e.g., `Kingroon TPU 95A`, SKU `C0468`), and technical printing specs** (temperatures, drying, flow, retraction, bed prep, feeding). Never clutter profiles, tables, or reference cards with store/listing packaging details (`10KG`, `10 × 1 kg bundle`, warehouse region `US/EU`, or color-specific purchase variants). + diff --git a/.agents/skills/bambu-studio-ai/SKILL.md b/.agents/skills/bambu-studio-ai/SKILL.md index e8559da..a89ea96 100644 --- a/.agents/skills/bambu-studio-ai/SKILL.md +++ b/.agents/skills/bambu-studio-ai/SKILL.md @@ -39,7 +39,7 @@ Inspects an `.stl` or `.3mf` mesh against the **Bambu Lab P2S** profile: * Bounding box vs. P2S `256 × 256 × 256 mm` volume. * Watertight / Manifold verification. * `Z = 0` bed adhesion contact footprint check. -* **Support-Free Overhang Audit:** Calculates the percentage and area of downward-facing triangles exceeding `45°` from vertical (excluding the `Z = 0` build plate base) and flags any region that would require supports in Bambu Studio. +* **Support-Free Overhang & Single-Solid Audit (`analyze.py`):** Calculates both the connected-component count (`connected_components == 1` — catching any detached/floating islands like floating leaves or bridged clips!) and the percentage/area of downward-facing triangles exceeding `45°` and `60°` from vertical (`severe_overhang_60_area < 60 mm²`). **NEVER bypass `analyze.py` `overall_pass` on main body plates!** * Saves a JSON/Markdown printability report in `models//previews/analysis_report.md`. ```powershell @@ -102,6 +102,11 @@ Whenever packing multiple trays/modules and multi-color AMS sub-parts into a sin * Verify `curr_bed_type` has non-zero bed temperature for every filament slot (e.g., `"Textured PEI Plate"` for PETG/PLA/ASA — never `"Cool Plate"` with PETG HF, which fails slicing with `Filaments are not compatible with the plate type`). * On large parts (`>= 235 mm` on a `256 mm` bed), explicitly set `brim_type = "no_brim"`, `brim_width = "0"`, and `skirt_loops = "0"` so G-code never exceeds `[0, 256]`. * On **multi-color plates**, keep `enable_prime_tower = "1"`, shift large multi-color objects to open a `>= 55 mm` collision-free strip (e.g., `Y = 100 mm` for a `190 mm` deep model), and position `wipe_tower_x/y` cleanly inside that open strip (e.g., `(185, 205)` with `prime_tower_width = "35"`) so strict cloud/local slicers never report prime-tower collisions. +13. **Mandatory Zero-Support & Zero-Floating-Island G-Code Gate (No Bypasses Allowed):** + * **Never bypass `analyze.py` `overall_pass` on Plate 1 / hero bodies** by silently turning on `enable_support = 1` instead of fixing the geometry. + * Every exported part must verify **`connected_components == 1`** (zero floating or detached sub-meshes), **`is_watertight_manifold == True`**, and **`overhang_gt_60deg_area_mm2 < 60.0`** (`< 25.0 mm²` strict target for sculpted parts). + * During live `bambu-studio.exe --slice` verification, assert **`0` `;TYPE:Support` lines** in the generated `.gcode` and **`0` `"floating"` / `"unsupported overhang"` warnings** in Bambu Studio CLI output across every plate whenever the design is required to be support-free. + * For hollow watertight vessels with angled side-wall bores (watering cans, tanks, planters), also verify `volume(solid_floor_disk - vessel_body) == 0.000000 mm³` and inspect a top-down interior + bottom-face render to confirm zero floor gouging or puncture. --- diff --git a/.agents/skills/bambu-studio-ai/scripts/analyze.py b/.agents/skills/bambu-studio-ai/scripts/analyze.py index 18a2b6a..abf4e98 100644 --- a/.agents/skills/bambu-studio-ai/scripts/analyze.py +++ b/.agents/skills/bambu-studio-ai/scripts/analyze.py @@ -104,14 +104,38 @@ def analyze_mesh(stl_path: Path) -> dict: severe_overhang_60_area = 0.0 signed_volume = 0.0 - # Edge map for manifold check (quantized to 1e-4 mm) + # Edge map for manifold check + Union-Find for connected-component floating-island detection edge_counts = {} + vert_ids = {} + parent = [] + + def get_vid(qv): + vid = vert_ids.get(qv) + if vid is None: + vid = len(parent) + vert_ids[qv] = vid + parent.append(vid) + return vid + + def find(x): + while parent[x] != x: + parent[x] = parent[parent[x]] + x = parent[x] + return x + + def union(a, b): + ra, rb = find(a), find(b) + if ra != rb: + parent[rb] = ra def qvert(v): return (round(v[0], 4), round(v[1], 4), round(v[2], 4)) for v1, v2, v3 in triangles: qv1, qv2, qv3 = qvert(v1), qvert(v2), qvert(v3) + id1, id2, id3 = get_vid(qv1), get_vid(qv2), get_vid(qv3) + union(id1, id2) + union(id2, id3) for a, b in ((qv1, qv2), (qv2, qv3), (qv3, qv1)): edge = (a, b) if a < b else (b, a) edge_counts[edge] = edge_counts.get(edge, 0) + 1 @@ -152,6 +176,8 @@ def qvert(v): non_manifold_edges = sum(1 for c in edge_counts.values() if c != 2) is_watertight = non_manifold_edges == 0 + connected_components = len({find(i) for i in range(len(parent))}) + is_single_solid = connected_components == 1 volume_cm3 = abs(signed_volume) / 1000.0 fits_p2s = ( @@ -166,8 +192,8 @@ def qvert(v): ) overhang_pct = (overhang_45_area / total_area * 100.0) if total_area > 0 else 0.0 - # Allow minor horizontal bridge areas (e.g., teardrop truncated ceiling or sacrificial screw bridge < 150 mm^2) - support_free_pass = severe_overhang_60_area < 150.0 and overhang_pct < 5.0 + # Strict support-free threshold: disallow wide horizontal ceilings/floating ledges (>60 deg) + support_free_pass = severe_overhang_60_area < 60.0 and overhang_pct < 3.5 report = { "file": str(stl_path), @@ -183,13 +209,15 @@ def qvert(v): "bed_contact_area_mm2": round(bed_contact_area, 1), "is_watertight_manifold": is_watertight, "non_manifold_edges": non_manifold_edges, + "connected_components": connected_components, + "is_single_connected_solid": is_single_solid, "fits_p2s_256mm": fits_p2s, "fits_safe_margin_250mm": fits_safe, "overhang_gt_45deg_area_mm2": round(overhang_45_area, 2), "overhang_gt_60deg_area_mm2": round(severe_overhang_60_area, 2), "overhang_gt_45deg_percent": round(overhang_pct, 2), - "support_free_verdict": "PASS (Support-Free Ready)" if support_free_pass else "WARN (Check Overhangs/Bridges)", - "overall_pass": is_watertight and fits_p2s and bed_contact_area > 10.0 and support_free_pass, + "support_free_verdict": "PASS (Support-Free Ready)" if support_free_pass else "FAIL (Overhangs Exceed Support-Free Limit)", + "overall_pass": is_watertight and is_single_solid and fits_p2s and bed_contact_area > 10.0 and support_free_pass, } return report @@ -205,11 +233,12 @@ def format_markdown_report(r: dict) -> str: "| :--- | :--- | :--- |", f"| **1. P2S Build Volume (`256×256×256 mm`)** | {'PASS' if r['fits_p2s_256mm'] else 'FAIL'} | `{dims['x']} × {dims['y']} × {dims['z']} mm` |", f"| **2. Watertight / Manifold Mesh** | {'PASS' if r['is_watertight_manifold'] else 'FAIL'} | `{r['triangle_count']} tris` (`{r['non_manifold_edges']}` non-manifold edges) |", - f"| **3. Part Volume & Filament Est.** | INFO | `{r['volume_cm3']} cm³` (~`{round(r['volume_cm3'] * 1.24, 1)} g` PLA solid / ~`{round(r['volume_cm3'] * 1.24 * 0.35, 1)} g` @ 20% infill) |", - f"| **4. Bed Alignment (`Z_min`)** | {'PASS' if abs(r['bounds_z_mm']['min_z']) <= 0.05 else 'WARN'} | `Z_min = {r['bounds_z_mm']['min_z']} mm` |", - f"| **5. First-Layer Bed Contact** | {'PASS' if r['bed_contact_area_mm2'] >= 25.0 else 'WARN'} | `{r['bed_contact_area_mm2']} mm²` on build plate |", - f"| **6. Support-Free Overhangs (`<= 45°`)** | {r['support_free_verdict']} | `{r['overhang_gt_45deg_area_mm2']} mm²` (`{r['overhang_gt_45deg_percent']}%` of surface) `> 45°` |", - f"| **7. Steep Overhang / Bridge Area (`> 60°`)** | {'PASS' if r['overhang_gt_60deg_area_mm2'] < 150.0 else 'WARN'} | `{r['overhang_gt_60deg_area_mm2']} mm²` (small bridges/teardrop caps OK) |", + f"| **3. Single Connected Solid (Zero Floating Islands)** | {'PASS' if r['is_single_connected_solid'] else 'FAIL'} | `{r['connected_components']}` connected component(s) |", + f"| **4. Part Volume & Filament Est.** | INFO | `{r['volume_cm3']} cm³` (~`{round(r['volume_cm3'] * 1.24, 1)} g` PLA solid / ~`{round(r['volume_cm3'] * 1.24 * 0.35, 1)} g` @ 20% infill) |", + f"| **5. Bed Alignment (`Z_min`)** | {'PASS' if abs(r['bounds_z_mm']['min_z']) <= 0.05 else 'WARN'} | `Z_min = {r['bounds_z_mm']['min_z']} mm` |", + f"| **6. First-Layer Bed Contact** | {'PASS' if r['bed_contact_area_mm2'] >= 25.0 else 'WARN'} | `{r['bed_contact_area_mm2']} mm²` on build plate |", + f"| **7. Support-Free Overhangs (`<= 45°`)** | {r['support_free_verdict']} | `{r['overhang_gt_45deg_area_mm2']} mm²` (`{r['overhang_gt_45deg_percent']}%` of surface) `> 45°` |", + f"| **8. Steep Overhang / Bridge Area (`> 60°`)** | {'PASS' if r['overhang_gt_60deg_area_mm2'] < 60.0 else 'FAIL'} | `{r['overhang_gt_60deg_area_mm2']} mm²` (must be `< 60 mm²` for support-free FDM) |", "", ] return "\n".join(lines) 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 df119b9..d4dabc2 100644 --- a/.agents/skills/bambuforge-repo-sync/scripts/sync_to_bambuforge.py +++ b/.agents/skills/bambuforge-repo-sync/scripts/sync_to_bambuforge.py @@ -58,6 +58,7 @@ ("AGENTS.md", "AGENTS.md"), ("FILAMENTS.md", "FILAMENTS.md"), ("SPEED_TUNING_GUIDE.md", "SPEED_TUNING_GUIDE.md"), + ("TPU_P2S_VISUAL_GUIDE.md", "TPU_P2S_VISUAL_GUIDE.md"), ("profiles", "profiles"), (".agents/skills/3d-print-modeling", ".agents/skills/3d-print-modeling"), (".agents/skills/bambu-studio-ai", ".agents/skills/bambu-studio-ai"), @@ -127,9 +128,13 @@ def sanitize_public_agents_md(text: str) -> str: ) -# Files inside synced directories that store personal workspace history and should be generalized/skipped in public BambuForge +# Files inside synced directories that store personal workspace history or model-specific builders and should be skipped in public BambuForge SKIP_IN_PUBLIC = { "feedback-log.jsonl", + "sport_media_v2_core.py", + "sport_media_v2_pipeline.py", + "watering_can_hydraulics.py", + "watering_can_sculpt_engine.py", } diff --git a/FILAMENTS.md b/FILAMENTS.md index 43a5f63..9460e9b 100644 --- a/FILAMENTS.md +++ b/FILAMENTS.md @@ -19,6 +19,7 @@ | **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 | +| **Kingroon TPU 95A** *(SKU `C0468`)* | Flexible Elastomer TPU (`95A`, `1.75 ± 0.02 mm`, **Direct / External Spool ONLY**) | `200 – 230 °C` / Bed `50 – 70 °C` *(use `35 °C` + Glue Stick on PEI)* | **`65–70 °C / 6–8 h`** *(refresh `55–60 °C / 4–6 h`)* | **`222 °C` / `35 °C`** | **`225 °C` / `35 °C`** | **`1.00`** | **`3.6 mm³/s`** | **`25 – 35 mm/s`** *(Strict)* | Gaskets, bumpers, phone cases, vibration feet *(see [`TPU_P2S_VISUAL_GUIDE.md`](TPU_P2S_VISUAL_GUIDE.md))* | | **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`) | @@ -26,7 +27,7 @@ --- -## 2. Dedicated Process Profile Matrix (7 Filaments × 6 Layer Heights = 42 Profiles) +## 2. Dedicated Process Profile Matrix (8 Filaments × 6 Layer Heights = 48 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: @@ -74,6 +75,12 @@ Every profile is formatted as **` @BBL P2S`**, pre- | **`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 | +| **`0.08mm Kingroon TPU 95A @BBL P2S`** | `0.08 mm` | `25 mm/s` | `35 mm/s` | `40 mm/s` | `35 mm/s` | `30 mm/s` | `800 mm/s²` | `1,500 mm/s²` | `9` / `7` | Ultra-smooth micro-gaskets, watch straps | +| **`0.12mm Kingroon TPU 95A @BBL P2S`** | `0.12 mm` | `30 mm/s` | `40 mm/s` | `45 mm/s` | `40 mm/s` | `30 mm/s` | `1,000 mm/s²` | `1,800 mm/s²` | `7` / `5` | Detailed phone cases, soft tactile grips | +| **`0.16mm Kingroon TPU 95A @BBL P2S`** | `0.16 mm` | `30 mm/s` | `40 mm/s` | `45 mm/s` | `40 mm/s` | `30 mm/s` | `1,000 mm/s²` | `2,000 mm/s²` | `6` / `5` | Waterproof seals, snap-on protective covers | +| **`0.20mm Kingroon TPU 95A @BBL P2S`** | `0.20 mm` | `35 mm/s` | `45 mm/s` | `45 mm/s` | `40 mm/s` | `30 mm/s` | `1,200 mm/s²` | `2,000 mm/s²` | `5` / `4` | **Default TPU:** Bumpers, tires, feet, straps | +| **`0.24mm Kingroon TPU 95A @BBL P2S`** | `0.24 mm` | `30 mm/s` | `35 mm/s` | `35 mm/s` | `30 mm/s` | `30 mm/s` | `1,200 mm/s²` | `2,000 mm/s²` | `4` / `3` | Thick vibration pads, protective mats | +| **`0.28mm Kingroon TPU 95A @BBL P2S`** | `0.28 mm` | `25 mm/s` | `30 mm/s` | `30 mm/s` | `25 mm/s` | `30 mm/s` | `1,000 mm/s²` | `1,800 mm/s²` | `4` / `3` | Heavy-duty cushions, airless balls | --- @@ -159,3 +166,14 @@ Every profile is formatted as **` @BBL P2S`**, pre- * **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` + +### H. Kingroon TPU 95A *(SKU `C0468`, `1.75 ± 0.02 mm`)* +* **Chemistry & Shore Hardness:** Thermoplastic Polyurethane (`95A` Shore hardness, density `1.22 g/cm³`). High elasticity, oil/chemical/UV/abrasion resistant, waterproof. +* **MANDATORY Feeding Rule (NO AMS!):** Standard `95A` TPU is **incompatible with AMS / AMS 2 Pro**. Feed via **Direct Top-Feed** using a short extra `4 × 2.5 mm` PTFE guide tube (`~25–45 cm`) plugged straight into the P2S toolhead pneumatic collet with the **Top Glass Lid REMOVED** and **Front Door OPEN** (see full illustrated guide in [`TPU_P2S_VISUAL_GUIDE.md`](TPU_P2S_VISUAL_GUIDE.md)). +* **Build Plate & Glue Rule (Official Kingroon Spec):** Recommended on **Textured PEI, Cool Plate, or High-Temp Plate** with **Glue Stick as a release agent** (prevents TPU from bonding permanently and tearing PEI). **Not Recommended:** Engineering Plate. +* **Drying:** Dry **`65 – 70 °C` for `6 – 8 h`** before printing (`55 – 60 °C / 4–6 h` for mild refreshment). Store immediately in sealed desiccant bags. +* **Thermal & Retraction Sweet Spot (Bambu Lab P2S, `0.4 mm` Textured PEI):** + * **First Layer:** `222 °C` nozzle, `35 °C` bed (+ glue stick), Cooling Fan `OFF` (layer 1), Initial Layer Speed `20 mm/s`. + * **Other Layers:** `225 °C` nozzle, `35 °C` bed, Cooling `100%` (Aux `70%`), Retraction **`0.4 mm` @ `20 mm/s`** (`15 mm/s` deretract) w/ Wipe `ON` & **Avoid Crossing Walls `ON`**. +* **Volumetric Flow ($V_{max}$):** **`3.6 mm³/s`**, Flow Ratio **`1.00`** *(caps `0.20 mm` speed to `~43 mm/s`, safely inside Kingroon's `20–50 mm/s` range)*. +* **Installed Presets:** `Kingroon TPU 95A @Bambu Lab P2S 0.4 nozzle` *(Custom Filament in `filament/base/`)* & `Kingroon TPU 95A 0.4` *(User Filament Preset)*. diff --git a/SPEED_TUNING_GUIDE.md b/SPEED_TUNING_GUIDE.md index be9923e..c012a3b 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, Frucindra PETG, Vertexfil PETG Basic. +> **Filaments Covered:** UJOYBIO Elite PLA+, Kingroon PLA Basic, Kingroon PLA Matte, Inslogic Tri-Color Silk PLA, Kingroon Silk PLA, Frucindra PETG, Vertexfil PETG Basic, Kingroon TPU 95A. > **Purpose:** Progressive speed calibration matrix with interactive test logging columns for post-print evaluation, failure diagnosis, and permanent profile optimization. --- @@ -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 **42 custom-calibrated process profiles** directly from Bambu Studio's **Process** dropdown. They follow the naming pattern: +You can select any of the **48 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 | 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` | +| Layer Height | UjoyBio PLA Plus | Kingroon PLA Basic | Kingroon PLA Matte | Inslogic Tri-Color Silk | Kingroon Silk PLA | Frucindra PETG | Vertexfil PETG Basic | Kingroon TPU 95A | +| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | +| **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.08mm Kingroon TPU 95A @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.12mm Kingroon TPU 95A @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.16mm Kingroon TPU 95A @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.20mm Kingroon TPU 95A @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.24mm Kingroon TPU 95A @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` | `0.28mm Kingroon TPU 95A @BBL P2S` | --- @@ -131,6 +131,19 @@ You can select any of the **42 custom-calibrated process profiles** directly fro * **Bed Temp:** `80 °C` (1st & other layers; spool range `75–85 °C`) * **Fan:** `0%` first 3 layers -> `25 – 55%` (`60%` overhangs) +### Card H: Kingroon TPU 95A (`SKU C0468`) +* **Optimal Flow Sweet Spot:** **`3.0 – 3.6 mm³/s`** (`3.6 mm³/s` max cap; Flow Ratio `1.00`) +* **Hardware Setup (MANDATORY):** **NO AMS!** Feed directly into the P2S toolhead using an extra short PTFE guide tube (`~25–45 cm`), **Top Glass OFF**, **Front Door OPEN**, **Glue Stick release layer on Textured PEI**. *(Full visual walkthrough: [`TPU_P2S_VISUAL_GUIDE.md`](TPU_P2S_VISUAL_GUIDE.md))* +* **Drying:** **`65 – 70 °C` for `6 – 8 h`** before printing (`55–60 °C / 4–6 h` mild refresh). +* **Speed & Thermal Recommendation:** + * **1st Layer Speed:** `20 mm/s` (infill `30 mm/s`) + * **Outer Wall:** Strictly **`25 – 35 mm/s`** (`800 – 1,200 mm/s²` accel) + * **Inner Wall / Infill:** **`30 – 45 mm/s`** (`1,500 – 2,000 mm/s²` accel) + * **Nozzle Temp:** `222 °C` (1st layer) / `225 °C` (others; spool range `200–230 °C`) + * **Bed Temp:** **`35 °C`** Textured PEI (+ Glue Stick release barrier!) + * **Retraction & Travel:** `0.4 mm` @ `20 mm/s` (`15 mm/s` deretract), Wipe `ON`, **Avoid Crossing Walls `ON`** + * **Fan:** `0%` Layer 1 -> `100%` (Aux `70%`) + --- ## 5. Benchy Diagnostic Defect & Correction Cheat Sheet @@ -144,4 +157,5 @@ You can select any of the **42 custom-calibrated process profiles** directly fro | **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`. | | **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%`. | +| **TPU Stringing, Buckling, Under-Extrusion, or Sticking to PEI** | Wet TPU, long tube/AMS drag, enclosed chamber heat creep, or missing glue release layer | Dry **`65–70 °C / 6–8 h`**; bypass AMS with **Direct Top-Feed + short PTFE**; **Top Glass OFF + Door OPEN**; apply **Glue Stick** on `35 °C` PEI; cap $V_{max} \le 3.6\text{ mm}^3/\text{s}$ & keep **Avoid Crossing Walls ON**. | | **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/TPU_P2S_VISUAL_GUIDE.md b/TPU_P2S_VISUAL_GUIDE.md new file mode 100644 index 0000000..9822d25 --- /dev/null +++ b/TPU_P2S_VISUAL_GUIDE.md @@ -0,0 +1,164 @@ +# Kingroon TPU 95A — Visual Usage & Setup Guide for Bambu Lab P2S + +> **Target Filament:** **Kingroon TPU 95A** (`1.75 ± 0.02 mm`, SKU `C0468`) +> **Target Printer:** Bambu Lab P2S (`0.4 mm` Hardened Steel Nozzle, `256 × 256 × 256 mm`) +> **Installed Profiles:** `Kingroon TPU 95A @Bambu Lab P2S 0.4 nozzle` *(Custom Filament)*, `Kingroon TPU 95A 0.4` *(User Filament Preset)*, and 6 process profiles (`0.08 mm` – `0.28 mm`) +> **Feeding Mode:** **Direct Top-Feed / External Spool ONLY** *(NEVER load standard 95A TPU into AMS / AMS 2 Pro!)* + +--- + +## 1. Quick-Reference Engineering Card + +![Kingroon TPU 95A Quick Reference Card for Bambu Lab P2S](profiles/guides/kingroon_tpu_95a_cheatsheet.png) + +### Official Product & Calibrated P2S Specifications + +| Parameter | Kingroon Official Spec | Calibrated Bambu Lab P2S (`0.4 mm`) Setting | Why It Matters | +| :--- | :--- | :--- | :--- | +| **Filament / SKU** | **Kingroon TPU 95A** (SKU `C0468`, `1.75 ± 0.02 mm`) | Standard flexible TPU elastomer | High elasticity; impact, oil, chemical, UV, and abrasion resistant | +| **Shore Hardness** | **95A** | External Spool / Direct Top-Feed only | Semi-firm elastomer; too flexible for AMS feeder gears | +| **Diameter / Density** | `1.75 ± 0.02 mm` / `1.21–1.25 g/cm³` | `1.75 mm` / **`1.22 g/cm³`** | Accurate mass & volumetric calculation in Bambu Studio | +| **Drying (Mandatory)** | Pre-dried 24h at factory | **`65 – 70 °C` for `6 – 8 h`** *(refresh `55–60 °C / 4–6 h`)* | TPU absorbs ambient moisture within hours; wet TPU pops, bubbles, and strings heavily | +| **Nozzle Temperature** | `200 – 230 °C` | **`222 °C`** (1st Layer) / **`225 °C`** (Other Layers) | Compensates for P2S hardened steel nozzle while staying safely within `200–230 °C` | +| **Build Plate Temp** | `50 – 70 °C` *(general beds)* | **`35 °C`** on Textured PEI (`30 °C` Cool Plate) | **Critical on P2S PEI:** TPU softens above `35–45 °C` and bonds too aggressively to hot PEI | +| **Build Plate & Glue** | Recommended: Cool, High-Temp, **Textured PEI** + **Glue Stick** *(Avoid Engineering Plate)* | **Textured PEI + Thin Glue Stick Layer** | Glue stick acts as a **release barrier** so TPU doesn't tear the PEI coating on removal | +| **Flow Ratio / $V_{max}$** | `20 – 50 mm/s` print speed | Flow **`1.00`** / **$V_{max} = 3.6\text{ mm}^3/\text{s}$** | Caps `0.20 mm` linear speed to `~43 mm/s`, preventing extruder buckling & under-extrusion | +| **Retraction** | Minimal direct-drive retraction | **`0.4 mm` @ `20 mm/s`** (`15 mm/s` deretract), **Wipe ON** | Long/fast retractions stretch TPU like a rubber band and jam the extruder gears | +| **Cooling & Enclosure** | Part cooling ON after L1 | **Fan `100%`** (OFF Layer 1), **Top Glass OFF**, **Door OPEN** | Keeps chamber `< 30 °C` (below TPU vitrification temp) to prevent heat-creep clogs | + +--- + +## 2. Physical Filament Routing on the Bambu Lab P2S (Direct Toolhead Feed with Your Extra PTFE Tube) + +Your recollection is **100% right**: standard 95A TPU performs dramatically better when the spool is **as close to the toolhead as possible** and fed **directly into the main toolhead inlet** using a **short extra PTFE guide tube** rather than routing through the AMS or the long rear path. + +![Bambu Lab P2S TPU 95A Filament Feeding Comparison](profiles/guides/p2s_tpu_feeding_comparison.png) + +### Why Direct Top-Feed with Your Extra Short PTFE Tube Is the Gold Standard + +Standard 95A TPU behaves like an elastic cord inside tubing. Every extra centimeter of PTFE tubing and every tight bend adds sliding friction. When the P2S direct-drive extruder gears pull against friction, the TPU stretches thin—causing inconsistent line width, under-extrusion gaps, or gear buckling. + +Using a **short, smooth section of your extra PTFE tube (`4 mm OD × 2.5 mm ID`) plugged directly into the P2S toolhead** solves both problems at once: +1. **Zero Rear-Buffer / Long-Tube Friction:** Eliminates `~60–90 cm` of internal drag and the rear buffer spring resistance. +2. **Smooth Guided Entry (Better Than Bare Filament):** Unlike feeding completely bare filament with zero tube, a short **`~25 – 45 cm`** PTFE guide tube stops flexible TPU from rubbing against the metal top frame or kinking sideways when the toolhead travels rapidly toward the corners of the `256 × 256 mm` bed. + +### Step-by-Step Physical Setup on the Bambu Lab P2S + +1. **Dry the Spool First:** + * Even fresh vacuum-sealed Kingroon TPU spools should be dried **`65 – 70 °C` for `6 – 8 h`** in a filament dryer if your room humidity is `> 35%`, or printed **directly out of a heated filament dryer box** placed above/beside the printer. +2. **Open the Chamber (Mandatory Heat-Creep Prevention):** + * **Lift off and remove the Top Glass Lid** completely. + * **Prop the Front Door open** (`≥ 45°`). + * *Why:* Enclosed chamber heat `> 35 °C` softens TPU inside the extruder gears before it reaches the hotend, causing sudden mid-print jams. +3. **Prepare the Textured PEI Plate with Glue Stick:** + * Apply a **thin, even coat of PVA glue stick** (or Bambu Liquid Glue) where the part will print. + * *Remember:* For TPU on Textured PEI, glue stick is a **protective release layer**, not just an adhesive. Bare TPU can fuse permanently to PEI and rip chunks off the coating. +4. **Swap the Toolhead PTFE Tube (Takes 10 Seconds):** + * Make sure any previous filament (PLA/PETG) is **unloaded** via the P2S screen first. + * At the top of the P2S toolhead, **press down the black pneumatic collet ring** with your fingernail/PTFE disconnect clip and gently pull the stock rear PTFE tube straight up. Tuck the stock tube safely to the side of the frame. + * **Insert your extra PTFE tube (`4 mm OD × 2.5 mm ID`, ideal length `25 – 45 cm`)** straight down into the toolhead pneumatic collet until it hits the internal stop, then tug gently upward to confirm the collet locks onto it. + * **Corner-Reach Check (Crucial!):** Manually verify (or jog the toolhead) that your extra tube smoothly reaches all 4 bed corners (`Front-Left`, `Front-Right`, `Rear-Left`, `Rear-Right`) with a **gentle bend radius `≥ 60 mm`** and zero pulling/tugging on the spool. +5. **Position the Spool Directly Overhead (or Close Side-High):** + * Mount the Kingroon TPU 95A spool on a **low-friction ball-bearing spool roller** (or an active filament dryer box with PTFE exit port) positioned **directly above the open P2S top frame** or on an elevated side stand next to the open top. + * Give the spool a light finger flick—it should spin effortlessly with virtually zero drag. +6. **Load Filament via the P2S Touchscreen:** + * Cut the Kingroon TPU tip cleanly at a **`45°` angle**. + * Feed the TPU down through your extra short PTFE tube until it stops against the extruder gears inside the toolhead. + * On the P2S touchscreen: tap **Filament** → **External Spool** → **Edit** → select **`TPU`** (or **`Kingroon TPU 95A`** once synced) and your spool color → tap **Confirm**. + * Tap **Load**. While the toolhead heats (`~230 °C`) and the gears start pulling, apply very light downward finger guidance on the TPU until you feel the gears grip it smoothly and see clean TPU purge from the nozzle. +7. **Unloading After Printing (DO NOT YANK!):** + * **Never pull TPU out manually** while warm or cold—stretching soft filament inside the hotend leaves a plug behind. + * Always tap **Filament → External Spool → Unload** on the P2S screen and wait for the printer to cut and back the filament cleanly out of the extruder gears before pulling it out of your short PTFE tube. + +--- + +## 3. How to Add & Use Kingroon TPU 95A in Bambu Studio + +![Bambu Studio Kingroon TPU 95A Step-by-Step Workflow](profiles/guides/bambu_studio_tpu_setup_flow.png) + +### Option A — Ready Right Now (Already Pre-Installed on This Machine!) + +The workspace profile scripts have **already generated and installed** all Kingroon TPU 95A presets directly into your Bambu Studio user directory (`%APPDATA%\BambuStudio\user\\`): + +| Installed Preset Type | Exact Name in Bambu Studio | Location | +| :--- | :--- | :--- | +| **Custom Filament (Native + Cloud Sync)** | **`Kingroon TPU 95A @Bambu Lab P2S 0.4 nozzle`** | `filament/base/` (shows under **Custom Filaments** & **External Spool**) | +| **User Filament Preset** | **`Kingroon TPU 95A 0.4`** | `filament/` (shows under **User Presets**) | +| **6 Calibrated Process Profiles** | **`0.08mm` … `0.28mm Kingroon TPU 95A @BBL P2S`** | `process/` (shows under **Process → User Presets**) | + +> **Action:** Simply **close and reopen Bambu Studio** so it reloads the user profile directory. You will immediately see **`Kingroon TPU 95A`** in your Filament list and all 6 **`Kingroon TPU 95A @BBL P2S`** layer-height presets in your Process dropdown! + +--- + +### Option B — How to Manually Add a Third-Party Filament in Bambu Studio (Step-by-Step UI Guide) + +If you ever want to add another third-party filament (or recreate Kingroon TPU 95A on another computer) directly inside the Bambu Studio UI: + +1. **Open the Custom Filaments Manager:** + * Go to the **Prepare** tab. + * In the left-hand **Filament** section, click the **Gear icon (⚙ Manage Filaments / Custom Filaments)** — or click the **Pencil (✎ Edit)** icon next to any filament and open **Custom Filaments**. + * Click **Create New**. +2. **Enter Filament Identity:** + * **Vendor:** `Kingroon` *(type it in if not in dropdown)* + * **Type:** `TPU` *(critical—this activates Bambu Studio's TPU vitrification, cooling, and AMS-protection logic)* + * **Serial / Name:** `95A` *(Bambu Studio combines this into `Kingroon TPU 95A`)* +3. **Copy Base System Preset & Printer:** + * Under **Copy current filament preset** (or **Base Preset**), choose **`Bambu TPU 95A @BBL P2S`** *(preferred for 95A)* or **`Generic TPU @BBL P2S`**. + * Check **`Bambu Lab P2S 0.4 nozzle`** in the compatible printers checklist. + * Click **Create**. +4. **Tune the Calibrated Kingroon 95A Parameters:** + * Back in the **Prepare** tab, select **`Kingroon TPU 95A`** in your filament slot and click the **Pencil (✎)** icon to edit: + * **Filament Tab:** + * Recommended Nozzle Temp: Min `200 °C`, Max `235 °C` + * Density: `1.22 g/cm³` + * Flow Ratio: **`1.00`** + * Nozzle Temperature: First Layer **`222 °C`**, Other Layers **`225 °C`** + * Textured PEI Plate: First Layer **`35 °C`**, Other Layers **`35 °C`** + * Max Volumetric Speed: **`3.6 mm³/s`** + * **Cooling Tab:** + * No cooling for the first: **`1`** layer + * Min / Max Fan Speed: **`100%`** / **`100%`** + * Auxiliary Part Cooling Fan: **`70%`** + * **Setting Overrides Tab:** + * Retraction Length: **`0.4 mm`** + * Retraction Speed: **`20 mm/s`** + * Deretraction Speed: **`15 mm/s`** + * Wipe while retracting: **`Checked (ON)`** + * Click the **Save (💾)** icon! +5. **Assign External Spool & Slice Without AMS Errors:** + * In **Prepare**, pick **`Kingroon TPU 95A`** for your model and select **`0.20mm Kingroon TPU 95A @BBL P2S`** (or `0.16 mm` / `0.24 mm`) under **Process**. + * Verify under **Quality / Others** that **Avoid Crossing Walls** is **ON** (already pre-enabled in all 6 `Kingroon TPU 95A` process presets!). + * Click **Slice Plate** and verify in the **Speed** preview mode that speeds stay around `25–45 mm/s`. + * Click **Print Plate**. + * **CRITICAL STEP IN PRINT POPUP:** **UNCHECK `Enable AMS`** so Bambu Studio maps the filament directly to the **External Spool** (otherwise the slicer will refuse to send TPU to an AMS slot). + * Click **Send**! + +--- + +## 4. Calibrated Process Profile Matrix (`Kingroon TPU 95A @BBL P2S`) + +| Process Preset Name | Layer Height | 1st Layer Speed | Outer Wall | Inner Wall | Sparse Infill | Solid Infill | Outer / Normal Accel | Avoid Crossing Walls | Best Use Case | +| :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :--- | +| **`0.08mm Kingroon TPU 95A @BBL P2S`** | `0.08 mm` | `20 mm/s` | `25 mm/s` | `35 mm/s` | `40 mm/s` | `35 mm/s` | `800 / 1,500 mm/s²` | **ON** | Ultra-smooth micro-gaskets, watch bands | +| **`0.12mm Kingroon TPU 95A @BBL P2S`** | `0.12 mm` | `20 mm/s` | `30 mm/s` | `40 mm/s` | `45 mm/s` | `40 mm/s` | `1,000 / 1,800 mm/s²` | **ON** | Detailed phone cases, soft tactile grips | +| **`0.16mm Kingroon TPU 95A @BBL P2S`** | `0.16 mm` | `20 mm/s` | `30 mm/s` | `40 mm/s` | `45 mm/s` | `40 mm/s` | `1,000 / 2,000 mm/s²` | **ON** | Waterproof seals, snap-on protective covers | +| **`0.20mm Kingroon TPU 95A @BBL P2S`** | `0.20 mm` | `20 mm/s` | `35 mm/s` | `45 mm/s` | `45 mm/s` | `40 mm/s` | `1,200 / 2,000 mm/s²` | **ON** | **Default Daily TPU:** Bumpers, feet, tires, straps | +| **`0.24mm Kingroon TPU 95A @BBL P2S`** | `0.24 mm` | `20 mm/s` | `30 mm/s` | `35 mm/s` | `35 mm/s` | `30 mm/s` | `1,200 / 2,000 mm/s²` | **ON** | Thick vibration pads, heavy-duty mats | +| **`0.28mm Kingroon TPU 95A @BBL P2S`** | `0.28 mm` | `20 mm/s` | `25 mm/s` | `30 mm/s` | `30 mm/s` | `25 mm/s` | `1,000 / 1,800 mm/s²` | **ON** | Thick-wall cushions, airless spheres, coarse bumpers | + +> **Infill Elasticity Tip:** TPU stiffness is controlled primarily by **Wall Loops** and **Sparse Infill %**: +> * **Squishy / Cushioned:** `2` walls + `10 – 15%` **Gyroid** infill. +> * **Balanced Grip / Phone Case / Gasket:** `3` walls + `20 – 30%` **Gyroid** infill. +> * **Firm Rubber Bumper / Tire / Mechanical Stop:** `4+` walls + `40 – 60%` **Gyroid** or **Cubic** infill. + +--- + +## 5. Fast Troubleshooting Reference + +| Symptom | Root Cause | Fix | +| :--- | :--- | :--- | +| **Spiderweb stringing, popping sounds, rough matte blobs** | Absorbed moisture in TPU | Dry spool **`65 – 70 °C` for `6 – 8 h`**; confirm **Avoid Crossing Walls = ON** & nozzle `222–225 °C`. | +| **Intermittent thin walls / under-extrusion** | Spool or tube drag stretching TPU | Switch to **Direct Top-Feed + Extra Short PTFE**, ensure ball-bearing spool spins freely, check no tube kinks. | +| **Extruder clicks or stops feeding mid-print** | Heat creep or speed exceeding melt flow | Confirm **Top Glass OFF & Front Door OPEN**; lower $V_{max}$ from `3.6` to `3.0 mm³/s`. | +| **Part welded to Textured PEI plate** | Printed bare without release layer | **Do NOT pry cold with scraper!** Warm bed to `50 °C`, drip **99% Isopropyl Alcohol (IPA)** around the perimeter, wait 60s, and peel gently. Always apply glue stick before next TPU print. | +| **Bambu Studio says filament incompatible with AMS** | AMS enabled in Print Plate popup | Click **Print Plate** → **Uncheck `Enable AMS`** → select **External Spool**. | diff --git a/VERSION b/VERSION index 26aaba0..6085e94 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.0 +1.2.1 diff --git a/profiles/0.08mm_Kingroon_TPU_95A_atBBL_P2S.json b/profiles/0.08mm_Kingroon_TPU_95A_atBBL_P2S.json new file mode 100644 index 0000000..481c2ec --- /dev/null +++ b/profiles/0.08mm_Kingroon_TPU_95A_atBBL_P2S.json @@ -0,0 +1,76 @@ +{ + "from": "User", + "inherits": "0.08mm High Quality @BBL P2S", + "name": "0.08mm Kingroon TPU 95A @BBL P2S", + "print_settings_id": "0.08mm Kingroon TPU 95A @BBL P2S", + "layer_height": "0.08", + "initial_layer_print_height": "0.16", + "initial_layer_speed": [ + "20", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_speed": [ + "25", + "nil", + "nil" + ], + "inner_wall_speed": [ + "35", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "40", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "35", + "nil", + "nil" + ], + "top_surface_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "800", + "nil", + "nil" + ], + "default_acceleration": [ + "1500", + "nil", + "nil" + ], + "top_shell_layers": [ + "9" + ], + "bottom_shell_layers": [ + "7" + ], + "travel_speed": [ + "300", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "avoid_crossing_wall": [ + "1" + ], + "bridge_speed": [ + "20", + "nil", + "nil" + ] +} \ No newline at end of file diff --git a/profiles/0.12mm_Kingroon_TPU_95A_atBBL_P2S.json b/profiles/0.12mm_Kingroon_TPU_95A_atBBL_P2S.json new file mode 100644 index 0000000..d93a347 --- /dev/null +++ b/profiles/0.12mm_Kingroon_TPU_95A_atBBL_P2S.json @@ -0,0 +1,76 @@ +{ + "from": "User", + "inherits": "0.12mm High Quality @BBL P2S", + "name": "0.12mm Kingroon TPU 95A @BBL P2S", + "print_settings_id": "0.12mm Kingroon TPU 95A @BBL P2S", + "layer_height": "0.12", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "20", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_speed": [ + "30", + "nil", + "nil" + ], + "inner_wall_speed": [ + "40", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "45", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "40", + "nil", + "nil" + ], + "top_surface_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "1000", + "nil", + "nil" + ], + "default_acceleration": [ + "1800", + "nil", + "nil" + ], + "top_shell_layers": [ + "7" + ], + "bottom_shell_layers": [ + "5" + ], + "travel_speed": [ + "300", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "avoid_crossing_wall": [ + "1" + ], + "bridge_speed": [ + "20", + "nil", + "nil" + ] +} \ No newline at end of file diff --git a/profiles/0.16mm_Kingroon_TPU_95A_atBBL_P2S.json b/profiles/0.16mm_Kingroon_TPU_95A_atBBL_P2S.json new file mode 100644 index 0000000..43c9b4b --- /dev/null +++ b/profiles/0.16mm_Kingroon_TPU_95A_atBBL_P2S.json @@ -0,0 +1,76 @@ +{ + "from": "User", + "inherits": "0.16mm Standard @BBL P2S", + "name": "0.16mm Kingroon TPU 95A @BBL P2S", + "print_settings_id": "0.16mm Kingroon TPU 95A @BBL P2S", + "layer_height": "0.16", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "20", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_speed": [ + "30", + "nil", + "nil" + ], + "inner_wall_speed": [ + "40", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "45", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "40", + "nil", + "nil" + ], + "top_surface_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "1000", + "nil", + "nil" + ], + "default_acceleration": [ + "2000", + "nil", + "nil" + ], + "top_shell_layers": [ + "6" + ], + "bottom_shell_layers": [ + "5" + ], + "travel_speed": [ + "300", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "avoid_crossing_wall": [ + "1" + ], + "bridge_speed": [ + "20", + "nil", + "nil" + ] +} \ No newline at end of file diff --git a/profiles/0.20mm_Kingroon_TPU_95A_atBBL_P2S.json b/profiles/0.20mm_Kingroon_TPU_95A_atBBL_P2S.json new file mode 100644 index 0000000..727a89b --- /dev/null +++ b/profiles/0.20mm_Kingroon_TPU_95A_atBBL_P2S.json @@ -0,0 +1,76 @@ +{ + "from": "User", + "inherits": "0.20mm Standard @BBL P2S", + "name": "0.20mm Kingroon TPU 95A @BBL P2S", + "print_settings_id": "0.20mm Kingroon TPU 95A @BBL P2S", + "layer_height": "0.20", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "20", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_speed": [ + "35", + "nil", + "nil" + ], + "inner_wall_speed": [ + "45", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "45", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "40", + "nil", + "nil" + ], + "top_surface_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "1200", + "nil", + "nil" + ], + "default_acceleration": [ + "2000", + "nil", + "nil" + ], + "top_shell_layers": [ + "5" + ], + "bottom_shell_layers": [ + "4" + ], + "travel_speed": [ + "300", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "avoid_crossing_wall": [ + "1" + ], + "bridge_speed": [ + "20", + "nil", + "nil" + ] +} \ No newline at end of file diff --git a/profiles/0.24mm_Kingroon_TPU_95A_atBBL_P2S.json b/profiles/0.24mm_Kingroon_TPU_95A_atBBL_P2S.json new file mode 100644 index 0000000..dc61ccc --- /dev/null +++ b/profiles/0.24mm_Kingroon_TPU_95A_atBBL_P2S.json @@ -0,0 +1,76 @@ +{ + "from": "User", + "inherits": "0.24mm Standard @BBL P2S", + "name": "0.24mm Kingroon TPU 95A @BBL P2S", + "print_settings_id": "0.24mm Kingroon TPU 95A @BBL P2S", + "layer_height": "0.24", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "20", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_speed": [ + "30", + "nil", + "nil" + ], + "inner_wall_speed": [ + "35", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "35", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "30", + "nil", + "nil" + ], + "top_surface_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "1200", + "nil", + "nil" + ], + "default_acceleration": [ + "2000", + "nil", + "nil" + ], + "top_shell_layers": [ + "4" + ], + "bottom_shell_layers": [ + "3" + ], + "travel_speed": [ + "300", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "avoid_crossing_wall": [ + "1" + ], + "bridge_speed": [ + "20", + "nil", + "nil" + ] +} \ No newline at end of file diff --git a/profiles/0.28mm_Kingroon_TPU_95A_atBBL_P2S.json b/profiles/0.28mm_Kingroon_TPU_95A_atBBL_P2S.json new file mode 100644 index 0000000..884dd5f --- /dev/null +++ b/profiles/0.28mm_Kingroon_TPU_95A_atBBL_P2S.json @@ -0,0 +1,79 @@ +{ + "from": "User", + "inherits": "fdm_process_single_0.28", + "name": "0.28mm Kingroon TPU 95A @BBL P2S", + "print_settings_id": "0.28mm Kingroon TPU 95A @BBL P2S", + "layer_height": "0.28", + "initial_layer_print_height": "0.24", + "initial_layer_speed": [ + "20", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_speed": [ + "25", + "nil", + "nil" + ], + "inner_wall_speed": [ + "30", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "30", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "25", + "nil", + "nil" + ], + "top_surface_speed": [ + "30", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "1000", + "nil", + "nil" + ], + "default_acceleration": [ + "1800", + "nil", + "nil" + ], + "top_shell_layers": [ + "4" + ], + "bottom_shell_layers": [ + "3" + ], + "travel_speed": [ + "300", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "support_threshold_angle": [ + "40" + ], + "avoid_crossing_wall": [ + "1" + ], + "bridge_speed": [ + "20", + "nil", + "nil" + ] +} \ No newline at end of file diff --git a/profiles/Kingroon_TPU_95A_0.4.json b/profiles/Kingroon_TPU_95A_0.4.json new file mode 100644 index 0000000..8030637 --- /dev/null +++ b/profiles/Kingroon_TPU_95A_0.4.json @@ -0,0 +1,145 @@ +{ + "from": "User", + "inherits": "Generic TPU @BBL P2S", + "name": "Kingroon TPU 95A 0.4", + "filament_settings_id": [ + "Kingroon TPU 95A 0.4" + ], + "nozzle_temperature": [ + "225", + "nil", + "nil" + ], + "nozzle_temperature_initial_layer": [ + "222", + "nil", + "nil" + ], + "textured_plate_temp": [ + "35", + "nil", + "nil" + ], + "textured_plate_temp_initial_layer": [ + "35", + "nil", + "nil" + ], + "filament_flow_ratio": [ + "1.00" + ], + "filament_max_volumetric_speed": [ + "3.6", + "nil", + "nil" + ], + "fan_min_speed": [ + "100" + ], + "fan_max_speed": [ + "100" + ], + "close_fan_the_first_x_layers": [ + "1" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "filament_dev_ams_drying_temperature": [ + "65", + "65", + "65", + "65", + "65", + "65", + "65", + "65" + ], + "filament_dev_ams_drying_time": [ + "8", + "8", + "8", + "8", + "8", + "8", + "8", + "8" + ], + "filament_vendor": [ + "Kingroon" + ], + "filament_density": [ + "1.22" + ], + "filament_type": [ + "TPU" + ], + "filament_cost": [ + "20" + ], + "nozzle_temperature_range_low": [ + "200" + ], + "nozzle_temperature_range_high": [ + "235" + ], + "additional_cooling_fan_speed": [ + "70" + ], + "overhang_fan_speed": [ + "100" + ], + "cool_plate_temp": [ + "30" + ], + "cool_plate_temp_initial_layer": [ + "30" + ], + "eng_plate_temp": [ + "35" + ], + "eng_plate_temp_initial_layer": [ + "35" + ], + "hot_plate_temp": [ + "35" + ], + "hot_plate_temp_initial_layer": [ + "35" + ], + "temperature_vitrification": [ + "30" + ], + "filament_retraction_length": [ + "0.4", + "0.4", + "0.4" + ], + "filament_retraction_speed": [ + "20", + "20", + "20" + ], + "filament_deretraction_speed": [ + "15", + "15", + "15" + ], + "filament_wipe": [ + "1", + "1", + "1" + ], + "long_retractions_when_ec": [ + "0", + "0", + "0" + ], + "retraction_distances_when_ec": [ + "0", + "0", + "0" + ], + "filament_notes": "Kingroon TPU 95A (SKU C0468, 1.75 +/- 0.02 mm). EXTERNAL SPOOL / DIRECT TOP-FEED ONLY (NOT AMS COMPATIBLE). Apply glue stick as release agent on PEI. Top glass OFF, front door OPEN. Dry 65-70 C for 6-8h." +} \ No newline at end of file diff --git a/profiles/Kingroon_TPU_95A_Custom_Filament_P2S.json b/profiles/Kingroon_TPU_95A_Custom_Filament_P2S.json new file mode 100644 index 0000000..86f7c91 --- /dev/null +++ b/profiles/Kingroon_TPU_95A_Custom_Filament_P2S.json @@ -0,0 +1,524 @@ +{ + "activate_air_filtration": [ + "0" + ], + "additional_cooling_fan_speed": [ + "70" + ], + "additional_fan_full_speed_layer": [ + "0" + ], + "chamber_temperatures": [ + "0" + ], + "circle_compensation_speed": [ + "200" + ], + "close_additional_fan_first_x_layers": [ + "1" + ], + "close_fan_the_first_x_layers": [ + "1" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "compatible_printers_condition": "", + "compatible_prints": [], + "compatible_prints_condition": "", + "complete_print_exhaust_fan_speed": [ + "70" + ], + "cool_plate_temp": [ + "30" + ], + "cool_plate_temp_initial_layer": [ + "30" + ], + "cooling_perimeter_transition_distance": [ + "10" + ], + "cooling_slowdown_logic": [ + "uniform_cooling" + ], + "counter_coef_1": [ + "0" + ], + "counter_coef_2": [ + "0.008" + ], + "counter_coef_3": [ + "-0.041" + ], + "counter_limit_max": [ + "0.033" + ], + "counter_limit_min": [ + "-0.035" + ], + "default_filament_colour": [ + "" + ], + "diameter_limit": [ + "50" + ], + "during_print_exhaust_fan_speed": [ + "70" + ], + "eng_plate_temp": [ + "35" + ], + "eng_plate_temp_initial_layer": [ + "35" + ], + "fan_cooling_layer_time": [ + "100" + ], + "fan_max_speed": [ + "100" + ], + "fan_min_speed": [ + "100" + ], + "filament_adaptive_volumetric_speed": [ + "0", + "0", + "0" + ], + "filament_adhesiveness_category": [ + "600" + ], + "filament_bridge_speed": [ + "25", + "25", + "25" + ], + "filament_change_length": [ + "10" + ], + "filament_contact_safe": "1", + "filament_cooling_before_tower": [ + "10", + "10", + "10" + ], + "filament_cost": [ + "20" + ], + "filament_density": [ + "1.22" + ], + "filament_deretraction_speed": [ + "15", + "15", + "15" + ], + "filament_dev_ams_drying_ams_limitations": [ + "1", + "2", + "3" + ], + "filament_dev_ams_drying_heat_distortion_temperature": [ + "45", + "45", + "70", + "45" + ], + "filament_dev_ams_drying_temperature": [ + "65", + "65", + "65", + "65", + "65", + "65", + "65", + "65" + ], + "filament_dev_ams_drying_time": [ + "8", + "8", + "8", + "8", + "8", + "8", + "8", + "8" + ], + "filament_dev_chamber_drying_bed_temperature": [ + "90.0" + ], + "filament_dev_chamber_drying_time": [ + "16" + ], + "filament_dev_drying_cooling_temperature": [ + "40" + ], + "filament_dev_drying_softening_temperature": [ + "50", + "50", + "70", + "50" + ], + "filament_diameter": [ + "1.75" + ], + "filament_emission_safe": "1", + "filament_enable_overhang_speed": [ + "1", + "1", + "1" + ], + "filament_end_gcode": [ + "; filament end gcode \n\n" + ], + "filament_extruder_compatibility": [ + "0" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Direct Drive E3D High Flow" + ], + "filament_flow_ratio": [ + "1", + "1", + "1" + ], + "filament_flush_temp": [ + "0", + "0", + "0" + ], + "filament_flush_temp_fast": [ + "0", + "0", + "0" + ], + "filament_flush_volumetric_speed": [ + "0", + "0", + "0" + ], + "filament_id": "P646b670", + "filament_ingredients_safe": "1", + "filament_is_support": [ + "0" + ], + "filament_long_retractions_when_cut": [ + "nil", + "nil", + "nil" + ], + "filament_long_retractions_when_ec": [ + "nil" + ], + "filament_max_volumetric_speed": [ + "3.6", + "3.6", + "3.6" + ], + "filament_metal_stickiness": [ + "High" + ], + "filament_minimal_purge_on_wipe_tower": [ + "15" + ], + "filament_notes": "Kingroon TPU 95A (SKU C0468, 1.75 +/- 0.02 mm). EXTERNAL SPOOL / DIRECT TOP-FEED ONLY (NOT AMS COMPATIBLE). Apply glue stick as release agent on PEI. Top glass OFF, front door OPEN. Dry 65-70 C for 6-8h.", + "filament_overhang_1_4_speed": [ + "0", + "0", + "0" + ], + "filament_overhang_2_4_speed": [ + "50", + "50", + "50" + ], + "filament_overhang_3_4_speed": [ + "30", + "30", + "30" + ], + "filament_overhang_4_4_speed": [ + "10", + "10", + "10" + ], + "filament_overhang_totally_speed": [ + "10", + "10", + "10" + ], + "filament_pre_cooling_temperature": [ + "0", + "0", + "0" + ], + "filament_pre_cooling_temperature_nc": [ + "0", + "0", + "0" + ], + "filament_pre_heating_enabled": [ + "1" + ], + "filament_preheat_temperature_delta": [ + "10", + "10", + "10" + ], + "filament_prime_volume": [ + "45" + ], + "filament_prime_volume_nc": [ + "60" + ], + "filament_printable": [ + "3" + ], + "filament_ramming_travel_time": [ + "0", + "0", + "0" + ], + "filament_ramming_travel_time_nc": [ + "0", + "0", + "0" + ], + "filament_ramming_volumetric_speed": [ + "-1", + "-1", + "-1" + ], + "filament_ramming_volumetric_speed_nc": [ + "-1", + "-1", + "-1" + ], + "filament_retract_before_wipe": [ + "nil", + "nil", + "nil" + ], + "filament_retract_length_nc": [ + "14", + "14", + "14" + ], + "filament_retract_restart_extra": [ + "nil", + "nil", + "nil" + ], + "filament_retract_when_changing_layer": [ + "nil", + "nil", + "nil" + ], + "filament_retraction_distances_when_cut": [ + "nil", + "nil", + "nil" + ], + "filament_retraction_distances_when_ec": [ + "nil" + ], + "filament_retraction_length": [ + "0.4", + "0.4", + "0.4" + ], + "filament_retraction_minimum_travel": [ + "nil", + "nil", + "nil" + ], + "filament_retraction_speed": [ + "20", + "20", + "20" + ], + "filament_scarf_gap": [ + "0%" + ], + "filament_scarf_height": [ + "10%" + ], + "filament_scarf_length": [ + "10" + ], + "filament_scarf_seam_type": [ + "none" + ], + "filament_settings_id": [ + "Kingroon TPU 95A @Bambu Lab P2S 0.4 nozzle" + ], + "filament_shrink": [ + "100%" + ], + "filament_soluble": [ + "0" + ], + "filament_start_gcode": [ + "; filament start gcode\n" + ], + "filament_tower_interface_pre_extrusion_dist": [ + "10" + ], + "filament_tower_interface_pre_extrusion_length": [ + "0" + ], + "filament_tower_interface_print_temp": [ + "-1" + ], + "filament_tower_interface_purge_volume": [ + "20" + ], + "filament_tower_ironing_area": [ + "4" + ], + "filament_type": [ + "TPU" + ], + "filament_velocity_adaptation_factor": [ + "1" + ], + "filament_vendor": [ + "Kingroon" + ], + "filament_wipe": [ + "1", + "1", + "1" + ], + "filament_wipe_distance": [ + "nil", + "nil", + "nil" + ], + "filament_z_hop": [ + "nil", + "nil", + "nil" + ], + "filament_z_hop_types": [ + "nil", + "nil", + "nil" + ], + "fins_extrude_safe_temp": [ + "60" + ], + "first_x_layer_fan_speed": [ + "40" + ], + "from": "User", + "full_fan_speed_layer": [ + "0" + ], + "hole_coef_1": [ + "0" + ], + "hole_coef_2": [ + "-0.008" + ], + "hole_coef_3": [ + "0.23415" + ], + "hole_limit_max": [ + "0.22" + ], + "hole_limit_min": [ + "0.088" + ], + "hot_plate_temp": [ + "35" + ], + "hot_plate_temp_initial_layer": [ + "35" + ], + "impact_strength_z": [ + "88.7" + ], + "inherits": "", + "long_retractions_when_ec": [ + "0", + "0", + "0" + ], + "name": "Kingroon TPU 95A @Bambu Lab P2S 0.4 nozzle", + "no_slow_down_for_cooling_on_outwalls": [ + "0" + ], + "nozzle_temperature": [ + "225", + "225", + "225" + ], + "nozzle_temperature_initial_layer": [ + "222", + "222", + "222" + ], + "nozzle_temperature_range_high": [ + "235" + ], + "nozzle_temperature_range_low": [ + "200" + ], + "overhang_fan_speed": [ + "100" + ], + "overhang_fan_threshold": [ + "95%" + ], + "override_process_overhang_speed": [ + "0", + "0", + "0" + ], + "reduce_fan_stop_start_freq": [ + "1" + ], + "required_nozzle_HRC": [ + "3" + ], + "retraction_distances_when_ec": [ + "0", + "0", + "0" + ], + "slow_down_for_layer_cooling": [ + "1" + ], + "slow_down_layer_time": [ + "8" + ], + "slow_down_min_speed": [ + "10", + "10", + "10" + ], + "supertack_plate_temp": [ + "0" + ], + "supertack_plate_temp_initial_layer": [ + "0" + ], + "temperature_vitrification": [ + "30" + ], + "textured_plate_temp": [ + "35" + ], + "textured_plate_temp_initial_layer": [ + "35" + ], + "version": "2.9.0.75", + "volumetric_speed_coefficients": [ + "0 0 0 0 0 0", + "0 0 0 0 0 0", + "0 0 0 0 0 0" + ] +} \ No newline at end of file diff --git a/profiles/guides/bambu_studio_tpu_setup_flow.png b/profiles/guides/bambu_studio_tpu_setup_flow.png new file mode 100644 index 0000000..c91d84c Binary files /dev/null and b/profiles/guides/bambu_studio_tpu_setup_flow.png differ diff --git a/profiles/guides/kingroon_tpu_95a_cheatsheet.png b/profiles/guides/kingroon_tpu_95a_cheatsheet.png new file mode 100644 index 0000000..c471972 Binary files /dev/null and b/profiles/guides/kingroon_tpu_95a_cheatsheet.png differ diff --git a/profiles/guides/p2s_tpu_feeding_comparison.png b/profiles/guides/p2s_tpu_feeding_comparison.png new file mode 100644 index 0000000..efce85b Binary files /dev/null and b/profiles/guides/p2s_tpu_feeding_comparison.png differ diff --git a/scripts/generate_all_custom_matrix_profiles.py b/scripts/generate_all_custom_matrix_profiles.py index 28b02f9..e690ff0 100644 --- a/scripts/generate_all_custom_matrix_profiles.py +++ b/scripts/generate_all_custom_matrix_profiles.py @@ -159,11 +159,32 @@ def gen_id(prefix: str, seed: str) -> str: "0.20mm": ("90", "165", "180", "160", "3500", "9000"), "0.24mm": ("95", "145", "150", "140", "3500", "9000"), "0.28mm": ("85", "125", "130", "120", "3500", "9000"), + }, + "Kingroon TPU 95A": { + "0.08mm": ("25", "35", "40", "35", "800", "1500"), + "0.12mm": ("30", "40", "45", "40", "1000", "1800"), + "0.16mm": ("30", "40", "45", "40", "1000", "2000"), + "0.20mm": ("35", "45", "45", "40", "1200", "2000"), + "0.24mm": ("30", "35", "35", "30", "1200", "2000"), + "0.28mm": ("25", "30", "30", "25", "1000", "1800"), + } +} + +# Per-filament extra process overrides (e.g. TPU stringing prevention & slow 1st layer) +FILAMENT_PROCESS_OVERRIDES = { + "Kingroon TPU 95A": { + "initial_layer_speed": ["20", "nil", "nil"], + "initial_layer_infill_speed": ["30", "nil", "nil"], + "top_surface_speed": ["30", "nil", "nil"], + "travel_speed": ["300", "nil", "nil"], + "avoid_crossing_wall": ["1"], + "bridge_speed": ["20", "nil", "nil"], } } +total_expected = len(FILAMENT_SPECS) * 6 count = 0 -print(f"--- Generating {len(FILAMENT_SPECS) * 6} Specific Process Profiles ---") +print(f"--- Generating {total_expected} 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] @@ -197,6 +218,8 @@ def gen_id(prefix: str, seed: str) -> str: } if "support_threshold_angle" in ls: proc_dict["support_threshold_angle"] = [ls["support_threshold_angle"]] + if fil_brand in FILAMENT_PROCESS_OVERRIDES: + proc_dict.update(FILAMENT_PROCESS_OVERRIDES[fil_brand]) setting_id = gen_id("PPUS", profile_name) @@ -211,6 +234,6 @@ def gen_id(prefix: str, seed: str) -> str: make_info_file(user_info, setting_id, ls["base_id"]) count += 1 - print(f"[{count:02d}/30] Installed: {profile_name}") + print(f"[{count:02d}/{total_expected}] Installed: {profile_name}") print(f"\n[SUCCESS] Successfully generated and installed all {count} custom process profiles!") diff --git a/scripts/generate_all_filament_and_process_profiles.py b/scripts/generate_all_filament_and_process_profiles.py index b7bdca0..58ce8e9 100644 --- a/scripts/generate_all_filament_and_process_profiles.py +++ b/scripts/generate_all_filament_and_process_profiles.py @@ -2,9 +2,12 @@ generate_all_filament_and_process_profiles.py ============================================= Generates and installs calibrated filament and process profiles for Bambu Lab P2S: -- 5 Filaments: UJOYBIO Elite PLA+, Kingroon PLA Basic, Kingroon PLA Matte, - Inslogic Tri-Color Silk PLA, Kingroon Silk PLA. -- 6 Process Presets (0.4mm nozzle): 0.08mm, 0.12mm, 0.16mm, 0.20mm, 0.24mm, 0.28mm Extra Draft. +- 8 Filaments: UJOYBIO Elite PLA+, Kingroon PLA Basic, Kingroon PLA Matte, + Inslogic Tri-Color Silk PLA, Kingroon Silk PLA, + Frucindra PETG, Vertexfil PETG Basic, Kingroon TPU 95A. +- 6 Base Process Presets (0.4mm nozzle): 0.08mm, 0.12mm, 0.16mm, 0.20mm, 0.24mm, 0.28mm Extra Draft. +- Flattened Custom Filament (`filament/base/`) for Kingroon TPU 95A so it appears in + Bambu Studio Custom Filaments & External Spool picker. Outputs to: 1. Local workspace `profiles/` 2. Bambu Studio user presets (`AppData/Roaming/BambuStudio/user//`) @@ -326,6 +329,48 @@ def gen_id(prefix: str, seed: str) -> str: "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." + }, + { + "name": "Kingroon TPU 95A 0.4", + "inherits": "Generic TPU @BBL P2S", + "base_id": "GFSU99_05", + "nozzle_temp": "225", + "nozzle_temp_init": "222", + "bed_temp": "35", + "bed_temp_init": "35", + "flow_ratio": "1.00", + "max_volumetric_speed": "3.6", + "fan_min_speed": "100", + "fan_max_speed": "100", + "close_fan_first_x_layers": "1", + "filament_type": "TPU", + "drying_temp": "65", + "drying_time": "8", + "extra": { + "filament_vendor": ["Kingroon"], + "filament_density": ["1.22"], + "filament_type": ["TPU"], + "filament_cost": ["20"], + "nozzle_temperature_range_low": ["200"], + "nozzle_temperature_range_high": ["235"], + "additional_cooling_fan_speed": ["70"], + "overhang_fan_speed": ["100"], + "cool_plate_temp": ["30"], + "cool_plate_temp_initial_layer": ["30"], + "eng_plate_temp": ["35"], + "eng_plate_temp_initial_layer": ["35"], + "hot_plate_temp": ["35"], + "hot_plate_temp_initial_layer": ["35"], + "temperature_vitrification": ["30"], + "filament_retraction_length": ["0.4", "0.4", "0.4"], + "filament_retraction_speed": ["20", "20", "20"], + "filament_deretraction_speed": ["15", "15", "15"], + "filament_wipe": ["1", "1", "1"], + "long_retractions_when_ec": ["0", "0", "0"], + "retraction_distances_when_ec": ["0", "0", "0"], + "filament_notes": "Kingroon TPU 95A (SKU C0468, 1.75 +/- 0.02 mm). EXTERNAL SPOOL / DIRECT TOP-FEED ONLY (NOT AMS COMPATIBLE). Apply glue stick as release agent on PEI. Top glass OFF, front door OPEN. Dry 65-70 C for 6-8h." + }, + "description": "Kingroon TPU 95A (SKU C0468, 1.75 +/- 0.02 mm, Shore 95A). Direct external spool / top-feed PTFE only (NO AMS). 222/225 C nozzle, 35 C PEI bed with glue stick release layer, 3.6 mm3/s max flow. Dry 65-70 C for 6-8h." } ] @@ -344,7 +389,7 @@ def gen_id(prefix: str, seed: str) -> str: "filament_max_volumetric_speed": [fil["max_volumetric_speed"], "nil", "nil"], "fan_min_speed": [fil["fan_min_speed"]], "fan_max_speed": [fil["fan_max_speed"]], - "close_fan_the_first_x_layers": ["3"], + "close_fan_the_first_x_layers": [fil.get("close_fan_first_x_layers", "3")], "compatible_printers": ["Bambu Lab P2S 0.4 nozzle"], "version": "2.6.0.5" } @@ -367,4 +412,89 @@ def gen_id(prefix: str, seed: str) -> str: make_info_file(user_info, setting_id, fil["base_id"]) print(f" [OK] Filament: {fil['name']}") -print("\n[SUCCESS] All 6 process presets and 5 filament profiles generated and installed!") +# ========================================== +# 3. BAMBU STUDIO CUSTOM FILAMENT BASE (filament/base/) +# Makes Kingroon TPU 95A appear natively under Custom Filaments & External Spool +# ========================================== +BBL_SYSTEM_FILAMENT_DIR = Path(r"\AppData\Roaming\BambuStudio\system\BBL\filament") +if not BBL_SYSTEM_FILAMENT_DIR.exists(): + BBL_SYSTEM_FILAMENT_DIR = Path(r"C:\Program Files\Bambu Studio\resources\profiles\BBL\filament") + +def load_system_filament_chain(name: str, sys_dir: Path) -> dict: + p = sys_dir / f"{name}.json" + if not p.exists(): + return {} + d = json.loads(p.read_text(encoding="utf-8")) + res = {} + if d.get("inherits"): + res.update(load_system_filament_chain(d["inherits"], sys_dir)) + for inc in d.get("include", []): + res.update(load_system_filament_chain(inc, sys_dir)) + res.update(d) + return res + +if (BBL_SYSTEM_FILAMENT_DIR / "Bambu TPU 95A @BBL P2S.json").exists(): + custom_name = "Kingroon TPU 95A @Bambu Lab P2S 0.4 nozzle" + flat_tpu = load_system_filament_chain("Bambu TPU 95A @BBL P2S", BBL_SYSTEM_FILAMENT_DIR) + for drop_key in ("type", "instantiation", "setting_id", "include", "description"): + flat_tpu.pop(drop_key, None) + + custom_fil_id = "P" + hashlib.md5(custom_name.encode("utf-8")).hexdigest()[:7] + flat_tpu.update({ + "from": "User", + "inherits": "", + "name": custom_name, + "filament_id": custom_fil_id, + "filament_settings_id": [custom_name], + "filament_vendor": ["Kingroon"], + "filament_type": ["TPU"], + "filament_density": ["1.22"], + "filament_cost": ["20"], + "default_filament_colour": [""], + "compatible_printers": ["Bambu Lab P2S 0.4 nozzle"], + "compatible_printers_condition": "", + "compatible_prints": [], + "compatible_prints_condition": "", + "nozzle_temperature": ["225", "225", "225"], + "nozzle_temperature_initial_layer": ["222", "222", "222"], + "nozzle_temperature_range_low": ["200"], + "nozzle_temperature_range_high": ["235"], + "textured_plate_temp": ["35"], + "textured_plate_temp_initial_layer": ["35"], + "cool_plate_temp": ["30"], + "cool_plate_temp_initial_layer": ["30"], + "eng_plate_temp": ["35"], + "eng_plate_temp_initial_layer": ["35"], + "hot_plate_temp": ["35"], + "hot_plate_temp_initial_layer": ["35"], + "filament_flow_ratio": ["1", "1", "1"], + "filament_max_volumetric_speed": ["3.6", "3.6", "3.6"], + "filament_retraction_length": ["0.4", "0.4", "0.4"], + "filament_retraction_speed": ["20", "20", "20"], + "filament_deretraction_speed": ["15", "15", "15"], + "filament_wipe": ["1", "1", "1"], + "fan_min_speed": ["100"], + "fan_max_speed": ["100"], + "close_fan_the_first_x_layers": ["1"], + "additional_cooling_fan_speed": ["70"], + "overhang_fan_speed": ["100"], + "filament_dev_ams_drying_temperature": ["65"] * 8, + "filament_dev_ams_drying_time": ["8"] * 8, + "filament_notes": "Kingroon TPU 95A (SKU C0468, 1.75 +/- 0.02 mm). EXTERNAL SPOOL / DIRECT TOP-FEED ONLY (NOT AMS COMPATIBLE). Apply glue stick as release agent on PEI. Top glass OFF, front door OPEN. Dry 65-70 C for 6-8h.", + "version": "2.9.0.75", + }) + flat_tpu = dict(sorted(flat_tpu.items())) + + # Save portable workspace copy + (PROFILES_DIR / "Kingroon_TPU_95A_Custom_Filament_P2S.json").write_text( + json.dumps(flat_tpu, indent=4), encoding="utf-8" + ) + + # Install into Bambu Studio filament/base/ + user_base_dir = USER_FILAMENT_DIR / "base" + user_base_dir.mkdir(parents=True, exist_ok=True) + (user_base_dir / f"{custom_name}.json").write_text(json.dumps(flat_tpu, indent=4), encoding="utf-8") + make_info_file(user_base_dir / f"{custom_name}.info", gen_id("PFUS", custom_name), "") + print(f" [OK] Custom Base Filament: {custom_name} (ID: {custom_fil_id})") + +print(f"\n[SUCCESS] All {len(PROCESSES)} process presets and {len(FILAMENTS)} filament profiles generated and installed!") diff --git a/scripts/render_tpu_p2s_visual_guides.py b/scripts/render_tpu_p2s_visual_guides.py new file mode 100644 index 0000000..24e5a0a --- /dev/null +++ b/scripts/render_tpu_p2s_visual_guides.py @@ -0,0 +1,458 @@ +""" +render_tpu_p2s_visual_guides.py +=============================== +Generates high-resolution visual schematics and reference cards for printing +Kingroon TPU 95A (SKU C0468) on the Bambu Lab P2S (0.4 mm nozzle): + 1. profiles/guides/p2s_tpu_feeding_comparison.png + 2. profiles/guides/bambu_studio_tpu_setup_flow.png + 3. profiles/guides/kingroon_tpu_95a_cheatsheet.png +""" + +from pathlib import Path +import numpy as np +import matplotlib +matplotlib.use("Agg") +import matplotlib.pyplot as plt +from matplotlib.patches import FancyBboxPatch, Circle, Rectangle, Polygon, FancyArrowPatch + +WORKSPACE = Path(r"") +OUT_DIR = WORKSPACE / "profiles" / "guides" +OUT_DIR.mkdir(parents=True, exist_ok=True) + +# Clean dark-slate engineering palette (high contrast, crisp readability) +BG = "#0F172A" +CARD_BG = "#1E293B" +CARD_LIGHT = "#273449" +BORDER = "#334155" +TEXT = "#F8FAFC" +MUTED = "#94A3B8" +GREEN = "#10B981" +GREEN_BG = "#064E3B" +AMBER = "#F59E0B" +AMBER_BG = "#451A03" +RED = "#EF4444" +RED_BG = "#450A0A" +CYAN = "#38BDF8" +CYAN_BG = "#0C4A6E" +PURPLE = "#A78BFA" +PTFE_COLOR = "#E2E8F0" +TPU_COLOR = "#22D3EE" + + +def rbox(ax, x, y, w, h, fc=CARD_BG, ec=BORDER, lw=1.5, r=0.02, zorder=2, ls="-", alpha=1.0): + patch = FancyBboxPatch( + (x, y), w, h, + boxstyle=f"round,pad=0,rounding_size={r}", + facecolor=fc, edgecolor=ec, linewidth=lw, linestyle=ls, + alpha=alpha, zorder=zorder + ) + ax.add_patch(patch) + return patch + + +def draw_spool(ax, cx, cy, r_outer=0.075, r_inner=0.028, label="TPU 95A", color="#111827", accent=TPU_COLOR, zorder=5): + ax.add_patch(Circle((cx, cy), r_outer, facecolor=color, edgecolor=accent, linewidth=2.2, zorder=zorder)) + ax.add_patch(Circle((cx, cy), r_outer * 0.72, facecolor="none", edgecolor="#475569", linewidth=1.0, ls="--", zorder=zorder + 1)) + ax.add_patch(Circle((cx, cy), r_inner, facecolor=BG, edgecolor="#94A3B8", linewidth=1.4, zorder=zorder + 2)) + ax.text(cx, cy - r_outer - 0.028, label, color=TEXT, fontsize=8.5, fontweight="bold", ha="center", va="top", zorder=zorder + 3) + + +def draw_p2s_frame(ax, x0, y0, w, h, top_glass_on=True, door_open=False): + # Main P2S cabinet + rbox(ax, x0, y0, w, h, fc="#172033", ec="#64748B", lw=2.0, r=0.015, zorder=2) + # Build chamber window + rbox(ax, x0 + 0.03, y0 + 0.06, w - 0.06, h - 0.14, fc="#0B1220", ec="#334155", lw=1.2, r=0.01, zorder=3) + # Gantry rail + gantry_y = y0 + h - 0.14 + ax.plot([x0 + 0.035, x0 + w - 0.035], [gantry_y, gantry_y], color="#64748B", lw=3.0, zorder=4) + # Toolhead + th_x = x0 + w * 0.50 + th_y = gantry_y - 0.055 + rbox(ax, th_x - 0.045, th_y, 0.09, 0.075, fc="#334155", ec="#CBD5E1", lw=1.6, r=0.008, zorder=6) + # Nozzle triangle + nozzle = Polygon( + [(th_x - 0.014, th_y), (th_x + 0.014, th_y), (th_x, th_y - 0.024)], + facecolor="#F59E0B", edgecolor="#FEF3C7", lw=0.8, zorder=7 + ) + ax.add_patch(nozzle) + # Pneumatic collet on top of toolhead + rbox(ax, th_x - 0.014, th_y + 0.074, 0.028, 0.018, fc="#0F172A", ec=CYAN, lw=1.3, r=0.004, zorder=7) + ax.text(th_x, th_y + 0.037, "P2S\nHead", color=TEXT, fontsize=7.0, fontweight="bold", ha="center", va="center", zorder=8) + + # Heated bed + Textured PEI + Glue layer + bed_y = y0 + 0.11 + rbox(ax, x0 + 0.055, bed_y, w - 0.11, 0.022, fc="#475569", ec="#94A3B8", lw=1.0, r=0.003, zorder=4) + ax.plot([x0 + 0.06, x0 + w - 0.06], [bed_y + 0.024, bed_y + 0.024], color="#FBBF24", lw=2.2, zorder=5) + ax.text(x0 + w * 0.5, bed_y - 0.022, "Textured PEI (35 C + Glue Stick)", color="#FDE68A", fontsize=7.2, ha="center", va="top", zorder=6) + + # Top Glass status + if top_glass_on: + rbox(ax, x0 + 0.01, y0 + h + 0.005, w - 0.02, 0.018, fc="#38BDF8", ec="#BAE6FD", lw=1.0, r=0.004, alpha=0.45, zorder=5) + ax.text(x0 + w * 0.5, y0 + h + 0.030, "Top Glass CLOSED (Heat Trap!)", color="#FCA5A5", fontsize=7.2, fontweight="bold", ha="center", va="bottom", zorder=8) + else: + ax.plot([x0 + 0.01, x0 + w - 0.01], [y0 + h, y0 + h], color=GREEN, lw=1.5, ls="--", zorder=5) + ax.text(x0 + 0.035, y0 + 0.025, "Top Glass: REMOVED (< 30 C)", color="#6EE7B7", fontsize=7.0, fontweight="bold", ha="left", va="bottom", zorder=8) + + # Front door status + if door_open: + ax.text(x0 + w - 0.035, y0 + 0.025, "Door: OPEN", color="#6EE7B7", fontsize=7.2, fontweight="bold", ha="right", va="bottom", zorder=8) + else: + ax.text(x0 + w - 0.035, y0 + 0.025, "Door: Closed", color="#FCA5A5", fontsize=7.2, ha="right", va="bottom", zorder=8) + + return th_x, th_y + 0.092 + + +def render_feeding_comparison(): + fig, ax = plt.subplots(figsize=(18, 9.6), dpi=200) + fig.patch.set_facecolor(BG) + ax.set_facecolor(BG) + ax.set_xlim(0, 3.0) + ax.set_ylim(0, 1.55) + ax.axis("off") + + # Title bar + ax.text(1.5, 1.50, "Bambu Lab P2S — Kingroon TPU 95A Filament Feeding Architecture", color=TEXT, fontsize=20, fontweight="bold", ha="center", va="top") + ax.text(1.5, 1.445, "Why Standard 95A TPU Must Bypass AMS & How to Route Your Extra PTFE Tube Directly Into the Toolhead", color=MUTED, fontsize=11.5, ha="center", va="top") + + # ========================================================== + # PANEL 1: AMS / AMS 2 PRO (RED - NEVER) + # ========================================================== + p1_x = 0.04 + rbox(ax, p1_x, 0.04, 0.90, 1.35, fc=CARD_BG, ec=RED, lw=2.2, r=0.025, zorder=1) + rbox(ax, p1_x + 0.02, 1.29, 0.86, 0.08, fc=RED_BG, ec=RED, lw=1.2, r=0.015, zorder=2) + ax.text(p1_x + 0.45, 1.33, "DO NOT USE: AMS / AMS 2 Pro", color="#FCA5A5", fontsize=12.5, fontweight="bold", ha="center", va="center", zorder=3) + + th1_x, th1_y = draw_p2s_frame(ax, p1_x + 0.20, 0.44, 0.56, 0.54, top_glass_on=True, door_open=False) + + # AMS Box on top + rbox(ax, p1_x + 0.22, 1.07, 0.52, 0.16, fc="#1E293B", ec=RED, lw=1.8, r=0.015, zorder=5) + ax.text(p1_x + 0.48, 1.185, "AMS / AMS 2 Pro", color="#FCA5A5", fontsize=9.5, fontweight="bold", ha="center", va="center", zorder=6) + for i in range(4): + sx = p1_x + 0.29 + i * 0.125 + ax.add_patch(Rectangle((sx - 0.028, 1.085), 0.056, 0.075, facecolor="#0F172A", edgecolor="#475569", lw=1.0, zorder=6)) + # Rear buffer + rbox(ax, p1_x + 0.06, 0.72, 0.11, 0.10, fc="#334155", ec=RED, lw=1.4, r=0.01, zorder=5) + ax.text(p1_x + 0.115, 0.77, "Rear\nBuffer", color="#FCA5A5", fontsize=7.2, fontweight="bold", ha="center", va="center", zorder=6) + + # Tortuous red PTFE path + xs1 = [p1_x + 0.22, p1_x + 0.115, p1_x + 0.115, p1_x + 0.20, p1_x + 0.30, th1_x] + ys1 = [1.12, 1.12, 0.82, 0.77, 0.92, th1_y] + ax.plot(xs1, ys1, color=RED, lw=3.0, ls="--", zorder=8) + ax.scatter([p1_x + 0.115, p1_x + 0.25], [0.95, 0.85], color=RED, s=90, marker="x", lw=2.5, zorder=9) + ax.text(p1_x + 0.115, 0.68, "BUCKLE &\nJAM ZONE", color=RED, fontsize=7.5, fontweight="bold", ha="center", va="top", zorder=9) + + # Explanation box + rbox(ax, p1_x + 0.04, 0.07, 0.82, 0.32, fc="#161F31", ec="#7F1D1D", lw=1.2, r=0.015, zorder=3) + notes1 = [ + "Why 95A TPU Fails in AMS:", + "• Feeder gears compress & wrap soft 95A elastomer", + "• Long PTFE path + buffer spring = high drag", + "• Filament stretches like a rubber band -> clogs", + "• AMS retraction cycles snap/jam flexible strands", + "• Exception: Only stiff 68D 'TPU for AMS' works", + ] + for idx, line in enumerate(notes1): + col = "#FCA5A5" if idx == 0 else "#E2E8F0" + wt = "bold" if idx == 0 else "normal" + ax.text(p1_x + 0.07, 0.355 - idx * 0.047, line, color=col, fontsize=8.7, fontweight=wt, ha="left", va="top", zorder=4) + + # ========================================================== + # PANEL 2: REAR EXTERNAL SPOOL (AMBER - FALLBACK) + # ========================================================== + p2_x = 1.05 + rbox(ax, p2_x, 0.04, 0.90, 1.35, fc=CARD_BG, ec=AMBER, lw=2.2, r=0.025, zorder=1) + rbox(ax, p2_x + 0.02, 1.29, 0.86, 0.08, fc=AMBER_BG, ec=AMBER, lw=1.2, r=0.015, zorder=2) + ax.text(p2_x + 0.45, 1.33, "FALLBACK: Rear External Spool", color="#FDE68A", fontsize=12.5, fontweight="bold", ha="center", va="center", zorder=3) + + th2_x, th2_y = draw_p2s_frame(ax, p2_x + 0.28, 0.44, 0.56, 0.54, top_glass_on=False, door_open=True) + draw_spool(ax, p2_x + 0.12, 0.78, r_outer=0.078, label="Rear Spool\n(Kingroon 95A)", accent=AMBER) + + # Rear coupler & medium PTFE + rbox(ax, p2_x + 0.24, 0.86, 0.045, 0.045, fc="#334155", ec=AMBER, lw=1.3, r=0.006, zorder=6) + t = np.linspace(0, 1, 40) + # Smooth arc from spool -> rear coupler -> toolhead + ax.plot([p2_x + 0.12, p2_x + 0.24], [0.858, 0.882], color=TPU_COLOR, lw=2.2, zorder=7) + arc_x = (1 - t)**2 * (p2_x + 0.285) + 2*(1 - t)*t * (p2_x + 0.36) + t**2 * th2_x + arc_y = (1 - t)**2 * 0.882 + 2*(1 - t)*t * 1.04 + t**2 * th2_y + ax.plot(arc_x, arc_y, color=PTFE_COLOR, lw=4.5, alpha=0.6, zorder=7) + ax.plot(arc_x, arc_y, color=AMBER, lw=1.8, zorder=8) + ax.text(p2_x + 0.40, 1.055, "Stock Rear PTFE\n(Moderate Friction)", color="#FDE68A", fontsize=8.0, fontweight="bold", ha="center", va="bottom", zorder=9) + + rbox(ax, p2_x + 0.04, 0.07, 0.82, 0.32, fc="#161F31", ec="#78350F", lw=1.2, r=0.015, zorder=3) + notes2 = [ + "Acceptable for 95A, With Caveats:", + "• Disconnect AMS at rear coupler (bypass buffer)", + "• Long PTFE curve adds drag during fast moves", + "• Spool holder friction can stretch 95A strand", + "• Harder to reach behind printer to check feed", + "• Still MUST remove top glass & open front door", + ] + for idx, line in enumerate(notes2): + col = "#FDE68A" if idx == 0 else "#E2E8F0" + wt = "bold" if idx == 0 else "normal" + ax.text(p2_x + 0.07, 0.355 - idx * 0.047, line, color=col, fontsize=8.7, fontweight=wt, ha="left", va="top", zorder=4) + + # ========================================================== + # PANEL 3: TOP DIRECT FEED + EXTRA SHORT PTFE (GREEN - BEST) + # ========================================================== + p3_x = 2.06 + rbox(ax, p3_x, 0.04, 0.90, 1.35, fc=CARD_BG, ec=GREEN, lw=2.6, r=0.025, zorder=1) + rbox(ax, p3_x + 0.02, 1.29, 0.86, 0.08, fc=GREEN_BG, ec=GREEN, lw=1.4, r=0.015, zorder=2) + ax.text(p3_x + 0.45, 1.33, "BEST: Direct Top-Feed + Extra PTFE", color="#6EE7B7", fontsize=12.5, fontweight="bold", ha="center", va="center", zorder=3) + + th3_x, th3_y = draw_p2s_frame(ax, p3_x + 0.17, 0.44, 0.56, 0.54, top_glass_on=False, door_open=True) + + # Overhead Dry Box / Low-Friction Bearing Spool directly above toolhead + rbox(ax, p3_x + 0.24, 1.07, 0.42, 0.175, fc="#0F2922", ec=GREEN, lw=1.8, r=0.015, zorder=5) + draw_spool(ax, p3_x + 0.45, 1.155, r_outer=0.065, r_inner=0.023, label="", accent=GREEN, zorder=6) + ax.text(p3_x + 0.45, 1.253, "Overhead Bearing Roller / Dryer Box", color="#6EE7B7", fontsize=8.0, fontweight="bold", ha="center", va="bottom", zorder=8) + + # Detached stock PTFE parked to the side + ax.plot([p3_x + 0.17, p3_x + 0.12, p3_x + 0.14], [0.85, 0.94, 1.00], color="#64748B", lw=3.0, ls=":", zorder=6) + ax.text(p3_x + 0.11, 1.015, "Stock Tube\nDetached", color=MUTED, fontsize=7.2, ha="center", va="bottom", zorder=7) + + # EXTRA SHORT PTFE TUBE: smooth gentle direct sweep into toolhead collet + t3 = np.linspace(0, 1, 40) + x_dir = (1 - t3)**2 * (p3_x + 0.45) + 2*(1 - t3)*t3 * (p3_x + 0.51) + t3**2 * th3_x + y_dir = (1 - t3)**2 * 1.095 + 2*(1 - t3)*t3 * 1.00 + t3**2 * th3_y + ax.plot(x_dir, y_dir, color=PTFE_COLOR, lw=6.5, alpha=0.85, zorder=8) + ax.plot(x_dir, y_dir, color=TPU_COLOR, lw=2.4, zorder=9) + + # Callout pointing to the extra short PTFE tube + ax.annotate( + "YOUR EXTRA SHORT PTFE\n(~25-45 cm, R >= 60 mm)\nPlugged straight into\ntoolhead collet!", + xy=(p3_x + 0.48, 1.00), xytext=(p3_x + 0.72, 1.06), + color="#6EE7B7", fontsize=7.6, fontweight="bold", ha="center", va="center", + bbox=dict(boxstyle="round,pad=0.35", fc=GREEN_BG, ec=GREEN, lw=1.2), + arrowprops=dict(arrowstyle="->", color=GREEN, lw=1.6), + zorder=10 + ) + + # Swap instructions box + rbox(ax, p3_x + 0.04, 0.07, 0.82, 0.32, fc="#09211B", ec=GREEN, lw=1.3, r=0.015, zorder=3) + notes3 = [ + "Gold-Standard Direct Setup (Your Idea!):", + "1. Remove top glass lid & prop front door OPEN", + "2. Press black toolhead collet -> pull stock PTFE", + "3. Push your extra 4x2.5mm PTFE tube firmly in", + "4. Feed dried 95A spool straight down (< 1% drag)", + "5. Verify tube reaches all 4 bed corners slack-free", + ] + for idx, line in enumerate(notes3): + col = "#6EE7B7" if idx == 0 else "#ECFDF5" + wt = "bold" if idx == 0 else "normal" + ax.text(p3_x + 0.07, 0.355 - idx * 0.047, line, color=col, fontsize=8.7, fontweight=wt, ha="left", va="top", zorder=4) + + out_path = OUT_DIR / "p2s_tpu_feeding_comparison.png" + plt.tight_layout(pad=0.3) + fig.savefig(out_path, dpi=200, facecolor=BG) + plt.close(fig) + print(f"[OK] Rendered {out_path}") + + +def render_bambu_studio_flow(): + fig, ax = plt.subplots(figsize=(18, 10.6), dpi=200) + fig.patch.set_facecolor(BG) + ax.set_facecolor(BG) + ax.set_xlim(0, 2.0) + ax.set_ylim(0, 1.25) + ax.axis("off") + + ax.text(1.0, 1.21, "How to Add & Print Kingroon TPU 95A in Bambu Studio (Bambu Lab P2S)", color=TEXT, fontsize=19, fontweight="bold", ha="center", va="top") + ax.text(1.0, 1.16, "Both Pre-Installed Auto-Profiles AND Manual Custom Filament Setup — Zero AMS Errors", color=MUTED, fontsize=11, ha="center", va="top") + + # Pre-installed status banner + rbox(ax, 0.05, 1.055, 1.90, 0.075, fc=GREEN_BG, ec=GREEN, lw=1.8, r=0.015, zorder=2) + ax.text( + 1.0, 1.092, + "PRE-INSTALLED ON THIS PC: Custom Filament 'Kingroon TPU 95A @Bambu Lab P2S 0.4 nozzle' + 'Kingroon TPU 95A 0.4' + 6 Process Presets (0.08-0.28mm).\n" + "Just restart Bambu Studio to see them immediately — or follow Steps 1-2 below if adding manually on another computer!", + color="#A7F3D0", fontsize=9.8, fontweight="bold", ha="center", va="center", zorder=3 + ) + + cards = [ + { + "x": 0.05, "y": 0.56, "w": 0.92, "h": 0.46, "accent": CYAN, "bg": CYAN_BG, + "step": "STEP 1 — ADD CUSTOM FILAMENT IN BAMBU STUDIO", + "subtitle": "Prepare Tab -> Filament Gear/Pencil -> Custom Filaments -> Create New", + "rows": [ + ("1. Open Prepare Tab", "Click the Gear (Manage Filaments) or Pencil icon next to Filament"), + ("2. Custom Filaments", "Select 'Custom Filaments' tab -> click 'Create New'"), + ("3. Identity Fields", "Vendor: Kingroon | Type: TPU | Serial: 95A"), + ("4. Copy Base Preset", "Choose 'Bambu TPU 95A @BBL P2S' (or 'Generic TPU @BBL P2S')"), + ("5. Select Printer", "Check 'Bambu Lab P2S 0.4 nozzle' -> click 'Create'"), + ("6. Or Use Auto-Install", "Restart Bambu Studio: 'Kingroon TPU 95A' is already installed!"), + ], + }, + { + "x": 1.03, "y": 0.56, "w": 0.92, "h": 0.46, "accent": PURPLE, "bg": "#2E1065", + "step": "STEP 2 — DIAL IN KINGROON 95A FILAMENT PARAMETERS", + "subtitle": "Click Pencil Icon next to 'Kingroon TPU 95A' -> Save Preset", + "rows": [ + ("Nozzle Temp", "First Layer: 222 C | Other Layers: 225 C (Range 200-235 C)"), + ("Textured PEI Bed", "First Layer: 35 C | Other Layers: 35 C (+ Glue Stick!)"), + ("Flow & Density", "Flow Ratio: 1.00 | Density: 1.22 g/cm3"), + ("Max Volumetric Flow", "3.6 mm3/s (Caps 0.20mm speed to ~43 mm/s — zero buckling!)"), + ("Cooling Fan", "No cooling Layer 1 -> Min 100% / Max 100% / Aux 70%"), + ("Setting Overrides", "Retraction: 0.4 mm @ 20 mm/s | Wipe: ON | Z-Hop: Auto"), + ], + }, + { + "x": 0.05, "y": 0.05, "w": 0.92, "h": 0.46, "accent": AMBER, "bg": AMBER_BG, + "step": "STEP 3 — LOAD SPOOL ON P2S EXTERNAL SPOOL", + "subtitle": "Physical Direct Top-Feed + Printer Touchscreen / Device Tab", + "rows": [ + ("1. Dry Spool First", "Dry Kingroon TPU 95A at 65-70 C for 6-8 h (even if newly opened!)"), + ("2. Prep Chamber", "Remove P2S Top Glass Lid + open Front Door + apply Glue Stick"), + ("3. Direct PTFE Tube", "Swap stock toolhead PTFE for your extra short tube (~25-45 cm)"), + ("4. Push Filament In", "Cut tip at 45 deg -> feed down short PTFE until extruder catches"), + ("5. P2S Screen / Device", "Tap Filament -> External Spool -> Edit -> TPU / Kingroon TPU 95A"), + ("6. Tap 'Load'", "Nozzle heats to 230 C & purges. NEVER yank manually — use Unload!"), + ], + }, + { + "x": 1.03, "y": 0.05, "w": 0.92, "h": 0.46, "accent": GREEN, "bg": GREEN_BG, + "step": "STEP 4 — SLICE & PRINT WITHOUT AMS ERRORS", + "subtitle": "Prepare Tab -> Process Preset -> Print Plate Dialog", + "rows": [ + ("1. Pick Filament", "Assign 'Kingroon TPU 95A' to your model in Prepare tab"), + ("2. Pick Process", "Select '0.20mm Kingroon TPU 95A @BBL P2S' (25-45 mm/s)"), + ("3. Key Process Flags", "Avoid Crossing Walls = ON (drastically cuts TPU stringing!)"), + ("4. Click Slice Plate", "Verify Speed Preview stays <= 45 mm/s (blue/cyan range)"), + ("5. Print Plate Popup", "CRITICAL: UNCHECK 'Enable AMS' -> Map Slot to External Spool"), + ("6. Send & Watch L1", "Watch first layer adhere cleanly; keep spool spinning zero-drag!"), + ], + }, + ] + + for c in cards: + rbox(ax, c["x"], c["y"], c["w"], c["h"], fc=CARD_BG, ec=c["accent"], lw=2.0, r=0.02, zorder=2) + rbox(ax, c["x"] + 0.015, c["y"] + c["h"] - 0.088, c["w"] - 0.03, 0.075, fc=c["bg"], ec=c["accent"], lw=1.2, r=0.012, zorder=3) + ax.text(c["x"] + 0.035, c["y"] + c["h"] - 0.035, c["step"], color=TEXT, fontsize=11.0, fontweight="bold", ha="left", va="center", zorder=4) + ax.text(c["x"] + 0.035, c["y"] + c["h"] - 0.068, c["subtitle"], color="#CBD5E1", fontsize=8.8, ha="left", va="center", zorder=4) + + for idx, (k, v) in enumerate(c["rows"]): + ry = c["y"] + c["h"] - 0.13 - idx * 0.055 + rbox(ax, c["x"] + 0.02, ry - 0.022, 0.23, 0.044, fc=CARD_LIGHT, ec=BORDER, lw=0.9, r=0.008, zorder=3) + ax.text(c["x"] + 0.032, ry, k, color=c["accent"], fontsize=8.6, fontweight="bold", ha="left", va="center", zorder=4) + ax.text(c["x"] + 0.265, ry, v, color=TEXT, fontsize=8.8, ha="left", va="center", zorder=4) + + # Flow arrows connecting Step 1 -> 2 -> 3 -> 4 + ax.annotate("", xy=(1.028, 0.79), xytext=(0.972, 0.79), arrowprops=dict(arrowstyle="-|>", color=CYAN, lw=2.5)) + ax.annotate("", xy=(1.028, 0.28), xytext=(0.972, 0.28), arrowprops=dict(arrowstyle="-|>", color=GREEN, lw=2.5)) + ax.annotate("", xy=(0.51, 0.514), xytext=(0.51, 0.558), arrowprops=dict(arrowstyle="-|>", color=AMBER, lw=2.5)) + + out_path = OUT_DIR / "bambu_studio_tpu_setup_flow.png" + plt.tight_layout(pad=0.3) + fig.savefig(out_path, dpi=200, facecolor=BG) + plt.close(fig) + print(f"[OK] Rendered {out_path}") + + +def render_cheatsheet(): + fig = plt.figure(figsize=(18, 9.8), dpi=200, facecolor=BG) + + # Top header & KPI cards canvas + ax_top = fig.add_axes([0.02, 0.66, 0.96, 0.32], facecolor=BG) + ax_top.set_xlim(0, 1.0) + ax_top.set_ylim(0, 1.0) + ax_top.axis("off") + + ax_top.text(0.5, 0.93, "Kingroon TPU 95A (SKU C0468) — Bambu Lab P2S Quick Reference Card", color=TEXT, fontsize=19, fontweight="bold", ha="center", va="top") + ax_top.text(0.5, 0.79, "Shore 95A Flexible Elastomer | 1.75 +/- 0.02 mm | Density 1.22 g/cm3 | 0.4 mm Hardened Steel Nozzle | Direct Feed / External Spool ONLY", color=MUTED, fontsize=10.5, ha="center", va="top") + + kpis = [ + ("SHORE HARDNESS", "95A", "Semi-firm elastic\n(NOT AMS safe)", CYAN), + ("DRYING (CRITICAL)", "65-70 C", "6 - 8 hours before\nprinting (sealed!)", AMBER), + ("NOZZLE TEMP", "222 / 225 C", "1st Layer / Others\n(Spool 200-230 C)", "#FB7185"), + ("PEI BED + GLUE", "35 C", "Glue Stick = RELEASE\nagent (protects PEI!)", GREEN), + ("MAX VOL. FLOW", "3.6 mm3/s", "Flow Ratio: 1.00\nCaps speed <= 45 mm/s", PURPLE), + ("RETRACTION", "0.4 mm", "Speed: 20 mm/s\nWipe: ON, Cross: OFF", "#34D399"), + ] + for i, (title, val, sub, col) in enumerate(kpis): + kx = 0.01 + i * 0.165 + rbox(ax_top, kx, 0.06, 0.155, 0.62, fc=CARD_BG, ec=col, lw=1.8, r=0.025, zorder=2) + ax_top.text(kx + 0.0775, 0.59, title, color=MUTED, fontsize=8.5, fontweight="bold", ha="center", va="center", zorder=3) + ax_top.text(kx + 0.0775, 0.39, val, color=col, fontsize=16.5, fontweight="bold", ha="center", va="center", zorder=3) + ax_top.text(kx + 0.0775, 0.18, sub, color=TEXT, fontsize=8.0, ha="center", va="center", zorder=3) + + # Bottom-left chart: Speed Matrix vs Volumetric Ceiling (3.6 mm3/s) + ax_plot = fig.add_axes([0.06, 0.09, 0.44, 0.52], facecolor=CARD_BG) + lhs = [0.08, 0.12, 0.16, 0.20, 0.24, 0.28] + labels = ["0.08mm", "0.12mm", "0.16mm", "0.20mm", "0.24mm", "0.28mm"] + outer_spds = [25, 30, 30, 35, 30, 25] + inner_spds = [35, 40, 40, 45, 35, 30] + infill_spds = [40, 45, 45, 45, 35, 30] + # Physical max linear speed at Vmax = 3.6 mm3/s, line width = 0.44 mm + vmax_linear = [min(60, 3.6 / (lh * 0.44)) for lh in lhs] + + x = np.arange(len(labels)) + w = 0.25 + ax_plot.bar(x - w, outer_spds, width=w, label="Outer Wall (mm/s)", color=CYAN, edgecolor="#0F172A", zorder=3) + ax_plot.bar(x, inner_spds, width=w, label="Inner Wall (mm/s)", color=GREEN, edgecolor="#0F172A", zorder=3) + ax_plot.bar(x + w, infill_spds, width=w, label="Sparse Infill (mm/s)", color=PURPLE, edgecolor="#0F172A", zorder=3) + ax_plot.plot(x, vmax_linear, color=AMBER, marker="o", lw=2.5, ls="--", label="V_max = 3.6 mm3/s Ceiling (0.44mm width)", zorder=5) + + for i, val in enumerate(outer_spds): + ax_plot.text(x[i] - w, val + 1.0, str(val), color=CYAN, fontsize=8.5, fontweight="bold", ha="center", va="bottom", zorder=6) + for i, val in enumerate(infill_spds): + ax_plot.text(x[i] + w, val + 1.0, str(val), color=PURPLE, fontsize=8.5, fontweight="bold", ha="center", va="bottom", zorder=6) + + ax_plot.set_title("Calibrated Kingroon TPU 95A Speeds Across Layer Heights (@BBL P2S)", color=TEXT, fontsize=12, fontweight="bold", pad=12) + ax_plot.set_xticks(x) + ax_plot.set_xticklabels(labels, color=TEXT, fontsize=10, fontweight="bold") + ax_plot.set_ylabel("Linear Print Speed (mm/s)", color=TEXT, fontsize=10, fontweight="bold") + ax_plot.set_ylim(0, 68) + ax_plot.tick_params(colors=TEXT) + ax_plot.grid(axis="y", color=BORDER, linestyle=":", alpha=0.7, zorder=0) + for spine in ax_plot.spines.values(): + spine.set_color(BORDER) + ax_plot.legend(facecolor="#0F172A", edgecolor=BORDER, labelcolor=TEXT, fontsize=8.5, loc="upper right") + + # Bottom-right panel: Pre-Print Safety & Troubleshooting Matrix + ax_chk = fig.add_axes([0.53, 0.06, 0.45, 0.56], facecolor=BG) + ax_chk.set_xlim(0, 1.0) + ax_chk.set_ylim(0, 1.0) + ax_chk.axis("off") + + rbox(ax_chk, 0.0, 0.50, 1.0, 0.48, fc=CARD_BG, ec=GREEN, lw=1.8, r=0.025, zorder=2) + ax_chk.text(0.03, 0.92, "MANDATORY PRE-PRINT CHECKLIST (P2S + TPU 95A)", color="#6EE7B7", fontsize=11.5, fontweight="bold", ha="left", va="center", zorder=3) + checks = [ + ("[OK] Build Plate:", "Textured PEI / Cool / High-Temp Plate + THIN GLUE STICK (release layer!)"), + ("[NO] Avoid Plate:", "Engineering Plate (not recommended by Kingroon)"), + ("[OK] Chamber Cooling:", "Top Glass Lid REMOVED + Front Door OPEN (prevents heat-creep jams)"), + ("[OK] Filament Path:", "Bypass AMS! Use Direct Top-Feed w/ Extra Short PTFE into Toolhead"), + ("[OK] Dryness Check:", "Dried 65-70 C / 6-8 h; print directly from dry box if humidity > 40%"), + ("[OK] Post-Print:", "NEVER yank TPU manually! Always tap 'Unload' on P2S screen first"), + ] + for idx, (tag, desc) in enumerate(checks): + yy = 0.83 - idx * 0.062 + tcol = "#FCA5A5" if tag.startswith("[NO]") else "#6EE7B7" + ax_chk.text(0.035, yy, tag, color=tcol, fontsize=8.8, fontweight="bold", ha="left", va="center", zorder=3) + ax_chk.text(0.27, yy, desc, color=TEXT, fontsize=8.6, ha="left", va="center", zorder=3) + + rbox(ax_chk, 0.0, 0.0, 1.0, 0.46, fc=CARD_BG, ec=AMBER, lw=1.8, r=0.025, zorder=2) + ax_chk.text(0.03, 0.40, "FAST TROUBLESHOOTING MATRIX (KINGROON TPU 95A)", color="#FDE68A", fontsize=11.5, fontweight="bold", ha="left", va="center", zorder=3) + fixes = [ + ("Heavy Stringing / Popping", "Wet TPU! Dry 65-70 C for 6-8 h. Verify 'Avoid Crossing Walls' ON."), + ("Under-Extrusion / Thin Gaps", "Spool drag too high -> switch to Top Direct Feed + shorter PTFE."), + ("Extruder Clicks / Buckles", "Speed/flow too high -> cap V_max to 3.0 mm3/s & remove top glass."), + ("Stuck Permanently to PEI", "Forgot glue stick! Drip IPA around base edges & warm bed to 50 C."), + ("AMS Error on Print Start", "Uncheck 'Enable AMS' in Print Plate dialog & select External Spool."), + ] + for idx, (sym, fix) in enumerate(fixes): + yy = 0.315 - idx * 0.062 + ax_chk.text(0.035, yy, sym, color="#FDE68A", fontsize=8.7, fontweight="bold", ha="left", va="center", zorder=3) + ax_chk.text(0.355, yy, "-> " + fix, color=TEXT, fontsize=8.4, ha="left", va="center", zorder=3) + + out_path = OUT_DIR / "kingroon_tpu_95a_cheatsheet.png" + fig.savefig(out_path, dpi=200, facecolor=BG) + plt.close(fig) + print(f"[OK] Rendered {out_path}") + + +if __name__ == "__main__": + render_feeding_comparison() + render_bambu_studio_flow() + render_cheatsheet() + print("[SUCCESS] All 3 visual TPU guides rendered!")