diff --git a/.agents/skills/3d-print-modeling/SKILL.md b/.agents/skills/3d-print-modeling/SKILL.md index 7292505..c855aa5 100644 --- a/.agents/skills/3d-print-modeling/SKILL.md +++ b/.agents/skills/3d-print-modeling/SKILL.md @@ -72,6 +72,11 @@ Read [fdm-design-principles.md](./references/fdm-design-principles.md) and impor * **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. +14. **Toolless Box Hinges & Latches — Mandatory Extended Pin + Push-On Snap Retaining Ring ("Collar") Default:** + * Unless the user explicitly requests screws or a different fastener, NEVER ship bare barb-only hinge/latch pins that rely on a tiny barb lip catching a knuckle edge. + * Always use `build_toolless_snap_pin_and_ring()` and `verify_pin_ring_retention()` from [`p2s_cad_helpers.py`](./scripts/p2s_cad_helpers.py) (detailed in [fdm-design-principles.md](./references/fdm-design-principles.md) Section 11): + * **Extended Lay-Down D-Profile Pin (`Z = 0`, `0.0%` Overhang):** `Ø 2.75 mm` shaft in `Ø 3.00–3.10 mm` teardrop bores, `Ø 5.20 × 1.92 mm` flanged head, **`+2.40 mm` extra shaft landing seat past the outer knuckle** (`0.40 mm` play + `2.00 mm` flat ring seat), followed by a `Ø 3.16 mm` split cantilever barb (`0.75 mm` slot) and tapered pilot tip. + * **Matching Push-On Snap Retaining Ring ("Collar"):** `Ø 5.20 mm` OD × `1.92 mm` H (`Ø 2.85 mm` inner bore + `Ø 3.28 × 0.72 mm` upward counterbore detent recess, `0.0%` overhang). Include `1` ring per active pin plus at least `1` spare on the `.3mf` plate (`4` walls, `100%` infill), include assembled rings in `.step` + HTML 3D viewer, and assert `0.000000 mm³` rest collision + positive pull-off lock bite. --- 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 76bb1df..9272ee3 100644 --- a/.agents/skills/3d-print-modeling/references/fdm-design-principles.md +++ b/.agents/skills/3d-print-modeling/references/fdm-design-principles.md @@ -197,3 +197,31 @@ When engineering enclosures, faceplates, signage, or flush multi-color inlays ac - **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). +--- + +## 11. Toolless Hinge & Latch Pins + Push-On Snap Retaining Rings ("Collars") Standard + +Unless the user explicitly requests screws, threaded rods, or a different fastener, **all toolless 3D-printed hinged boxes, clamshell lids, flip-leaves, and pivoting latches MUST use the Extended Snap-Pin + Push-On Retaining Ring ("Collar") architecture** (implemented in `p2s_cad_helpers.build_toolless_snap_pin_and_ring()`): + +1. **Why Bare Barb-Only Pins Fail vs. Pin + Snap Retaining Ring:** + - Relying solely on a tiny `0.15 mm` radial barb to catch directly against an outer hinge knuckle bore edge invites wear and accidental pull-back through the `Ø 3.00–3.10 mm` bore. + - Extending the pin shaft past the outer knuckle by a dedicated **`+2.40 mm` flat landing seat** and snapping a matching **counterbored retaining ring (`Ø 5.20 mm` OD)** over the split barb locks the pin mechanically between two symmetrical `Ø 5.20 mm` flanges (head on entry side, snap collar on exit side) with zero metal hardware. + +2. **Calibrated Geometry & Tolerances (`0.4 mm` Nozzle, `0.20 / 0.24 mm` Layer Height):** + - **Knuckle Through-Bore:** `Ø 3.00–3.10 mm` horizontal teardrop bore (`45°` roof, `0.0%` overhang). + - **Pin Shaft:** `Ø 2.75 mm` (`0.25–0.35 mm` total diametral clearance for effortless rotation). + - **Flanged Entry Head:** `Ø 5.20 mm × 1.92 mm` (`8 × 0.24 mm`), resting flush against the outer left knuckle (`0.20 mm` axial play). + - **Mandatory Extra Shaft Length Past Outer Knuckle:** + $$L_{\text{grip}} = L_{\text{knuckle\_span}} + 0.40\text{ mm (axial play)} + 2.00\text{ mm (flat ring landing seat)} = L_{\text{knuckle\_span}} + 2.40\text{ mm}$$ + - **Split Cantilever Barb & Pilot Tip:** Flares `Ø 2.75 → Ø 3.16 mm` over `0.50 mm`, tapers `Ø 3.16 → Ø 1.80 mm` over `1.50 mm`, plus `0.70 mm` rounded pilot nose (`+5.10 mm` total protrusion beyond the outer knuckle); bisected by a `0.75 mm × 5.80 mm` flex relief slot so the two prongs compress cleanly through both the knuckle bore and retaining ring. + - **Print Orientation (`0.0%` Overhang, `5×` Axial Shear Strength):** Print flat horizontally at `Z = 0.00 mm` using a `45°` D-profile flat-bottom cross-section (`z_axis = 0.90 mm`) so continuous extruded filaments run along the full pin axis. + - **Matching Push-On Snap Retaining Ring ("Collar"):** + - `OD = Ø 5.20 mm` (matches the pin flanged head), `H = 1.92 mm` (`8 × 0.24 mm`), `0.24 mm` `45°` outer chamfers. + - Inner retention bore `Ø 2.85 mm` (`+0.10 mm` over `Ø 2.75 mm` shaft; positively blocks `Ø 3.16 mm` barb). + - Upward-opening top counterbore detent recess **`Ø 3.28 mm × 0.72 mm`** (`3 × 0.24 mm`, prints flat at `Z = 0` with **`0.0%` overhang**). Assembled flat-face inward against the outer knuckle, counterbore outward toward the barb. + +3. **Mandatory `.3mf` Plate Parity & Programmatic Verification:** + - Ship **`1` Snap Retaining Ring per active pin PLUS at least `1` spare ring** laid out beside their matching pins on the `.3mf` plate (`4` walls, `100%` infill). + - Include every assembled pin AND retaining ring in the assembled `.step` export and interactive HTML 3D viewer. + - Run `verify_pin_ring_retention(pin_asm, ring_asm)` asserting **`0.000000 mm³`** resting collision AND positive **`> 0.15 mm³`** axial interference when pulling the ring outward over the barb. + diff --git a/.agents/skills/3d-print-modeling/scripts/p2s_cad_helpers.py b/.agents/skills/3d-print-modeling/scripts/p2s_cad_helpers.py index 630ac5d..21db453 100644 --- a/.agents/skills/3d-print-modeling/scripts/p2s_cad_helpers.py +++ b/.agents/skills/3d-print-modeling/scripts/p2s_cad_helpers.py @@ -31,6 +31,8 @@ import trimesh from build123d import ( Align, + Axis, + Box, BuildPart, BuildSketch, Circle, @@ -43,9 +45,11 @@ Plane, Polygon, Rectangle, + chamfer, export_step, export_stl, extrude, + loft, ) # Default 6-Color Architectural Planter Palette (Hex RGB + RGBA) @@ -260,6 +264,119 @@ def make_sacrificial_counterbore( return cb.part +def _d_profile_pin_face(radius: float, x_pos: float, z_axis: float = 0.90): + """Support-free 45-deg flat-bottom D-profile cross-section for horizontal lay-down snap pins.""" + pts = [] + n_arc = 20 + for i in range(n_arc + 1): + ang = math.radians(180.0 * i / n_arc) + pts.append((radius * math.cos(ang), z_axis + radius * math.sin(ang))) + half_flat = max(0.12, radius - z_axis) + pts.append((-half_flat, 0.0)) + pts.append((+half_flat, 0.0)) + with BuildSketch(Plane.YZ.offset(x_pos)) as sk: + Polygon(*pts, align=None) + return sk.sketch.faces()[0] + + +def build_toolless_snap_pin_and_ring( + l_knuckle_span: float, + shaft_dia: float = 2.75, + head_dia: float = 5.20, + head_h: float = 1.92, + barb_dia: float = 3.16, + slot_w: float = 0.75, + knuckle_clearance: float = 0.40, + ring_seat_len: float = 2.00, + ring_h: float = 1.92, + ring_inner_bore: float = 2.85, + ring_counterbore_dia: float = 3.28, + ring_counterbore_depth: float = 0.72, +) -> Dict[str, Part]: + """ + Standard toolless 3D-printable hinge/latch pin + push-on snap retaining ring ("collar") + for Bambu Lab P2S (0.00% overhang, 5x axial filament shear strength). + + The pin shaft automatically extends `+knuckle_clearance + ring_seat_len` (+2.60 mm default) + beyond `l_knuckle_span` so the matching counterbored snap retaining ring seats freely on + the flat landing zone and locks positively behind the split cantilever barb. + + Returns dict with keys: + - `pin_print`: flat-bottom D-profile pin centered on XY at Z = 0 for bed printing + - `pin_axis_x`: pin starting at X = 0 (outer head face), shaft axis along +X at Z = 0.90 mm + - `ring_print`: flat counterbored retaining ring centered on XY at Z = 0 (counterbore +Z) + - `ring_axis_x`: ring rotated +90 deg around Y (flat face at X = 0, counterbore facing +X) + """ + r_shaft = shaft_dia / 2.0 + r_head = head_dia / 2.0 + r_barb = barb_dia / 2.0 + r_pilot = 0.90 + z_axis = 0.90 + l_grip = l_knuckle_span + knuckle_clearance + ring_seat_len + + x0 = 0.0 + x1 = head_h + x2 = x1 + l_grip + x3 = x2 + 0.50 + x4 = x3 + 1.50 + x5 = x4 + 0.70 + + head = loft([_d_profile_pin_face(r_head, x0, z_axis), _d_profile_pin_face(r_head, x1, z_axis)], ruled=True) + shaft = loft([_d_profile_pin_face(r_shaft, x1, z_axis), _d_profile_pin_face(r_shaft, x2, z_axis)], ruled=True) + barb_up = loft([_d_profile_pin_face(r_shaft, x2, z_axis), _d_profile_pin_face(r_barb, x3, z_axis)], ruled=True) + barb_dn = loft([_d_profile_pin_face(r_barb, x3, z_axis), _d_profile_pin_face(r_pilot, x4, z_axis)], ruled=True) + pilot = loft([_d_profile_pin_face(r_pilot, x4, z_axis), _d_profile_pin_face(r_pilot - 0.12, x5, z_axis)], ruled=True) + + pin_full = head + shaft + barb_up + barb_dn + pilot + slot_cut = Box(5.8, slot_w, 6.0, align=(Align.MAX, Align.CENTER, Align.MIN)).translate((x5 + 0.2, 0.0, -0.5)) + pin_axis_x = pin_full - slot_cut + bb = pin_axis_x.bounding_box() + pin_print = pin_axis_x.translate(( + -(bb.min.X + bb.max.X) / 2.0, + -(bb.min.Y + bb.max.Y) / 2.0, + -bb.min.Z, + )) + + with BuildPart() as bp_ring: + with BuildSketch(Plane.XY): + Circle(radius=head_dia / 2.0) + Circle(radius=ring_inner_bore / 2.0, mode=Mode.SUBTRACT) + extrude(amount=ring_h) + ring = bp_ring.part - Cylinder( + radius=ring_counterbore_dia / 2.0, + height=ring_counterbore_depth + 0.5, + align=(Align.CENTER, Align.CENTER, Align.MIN), + ).translate((0.0, 0.0, ring_h - ring_counterbore_depth)) + bot_outer = [e for e in ring.faces().sort_by(Axis.Z)[0].edges() if e.bounding_box().size.X > head_dia * 0.8] + top_outer = [e for e in ring.faces().sort_by(Axis.Z)[-1].edges() if e.bounding_box().size.X > head_dia * 0.8] + if bot_outer: + ring = chamfer(bot_outer, length=0.24) + if top_outer: + ring = chamfer(top_outer, length=0.24) + + return { + "pin_print": pin_print, + "pin_axis_x": pin_axis_x, + "ring_print": ring, + "ring_axis_x": ring.rotate(Axis.Y, 90.0), + } + + +def verify_pin_ring_retention(pin_asm: Part, ring_asm: Part, label: str = "Pin+Ring") -> float: + """Asserts 0.000000 mm^3 rest collision and > 0.15 mm^3 positive axial pull-off lock bite over the split barb.""" + it_rest = pin_asm & ring_asm + v_rest = float(it_rest.volume) if it_rest is not None else 0.0 + if v_rest > 1e-4: + raise RuntimeError(f"PIN+RING REST COLLISION ({label}): {v_rest:.6f} mm^3") + v_pull = 0.0 + for dx in (1.20, 1.50, 1.80, 2.10): + it_pull = pin_asm & ring_asm.translate((dx, 0.0, 0.0)) + v_pull = max(v_pull, float(it_pull.volume) if it_pull is not None else 0.0) + if v_pull < 0.15: + raise RuntimeError(f"PIN+RING RETENTION BITE TOO WEAK ({label}): {v_pull:.4f} mm^3 < 0.15 mm^3") + return v_pull + + def render_shaded_previews( stl_path: Path, previews_dir: Path, diff --git a/.agents/skills/bambuforge-repo-sync/SKILL.md b/.agents/skills/bambuforge-repo-sync/SKILL.md index ae37aad..f9bcb37 100644 --- a/.agents/skills/bambuforge-repo-sync/SKILL.md +++ b/.agents/skills/bambuforge-repo-sync/SKILL.md @@ -21,7 +21,8 @@ Activate this workflow automatically whenever: 1. **Self-Learning CAD Promotion:** The `self-learning-cad` skill updates `AGENTS.md` or design rules (`fdm-design-principles.md`). 2. **Tool / Skill Upgrades:** A script or instruction inside `.agents/skills/` is added, fixed, or enhanced. 3. **Architecture / SDD Updates:** The Spec-Driven Design document or system prompt is revised. -4. **Release Preparation:** Bumping the version (`VERSION`) and packaging release distribution archives (`.zip` and `.tar.gz`). +4. **Filaments & Bambu Studio Profiles:** Any filament catalog (`FILAMENTS.md`, `SPEED_TUNING_GUIDE.md`, visual guides) or Bambu Studio filament/process profile under `profiles/` and `scripts/` is added or updated — calibrated filaments and Bambu Studio profiles are first-class public assets in `BambuForge` (sanitized of local user paths and numeric Bambu user IDs). +5. **Release Preparation:** Bumping the version (`VERSION`) and packaging release distribution archives (`.zip` and `.tar.gz`). --- diff --git a/AGENTS.md b/AGENTS.md index 11dada6..109d572 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -97,6 +97,10 @@ All models created in this workspace **must** be engineered to print with **zero * Keep unsupported horizontal bridges **`<= 15 mm`** for functional accuracy (`<= 25 mm` cosmetic max on P2S). For wider spans, arch or chamfer the ceiling at `45°`. 6. **Print Orientation (`Z = 0` Ready):** * Always export models pre-oriented in their optimal print orientation sitting flat on `Z = 0` (`min_z = 0.0`), centered in X/Y. +7. **Toolless Hinge & Latch Pins + Snap Retaining Rings ("Collars") — Mandatory Default Unless Requested Otherwise:** + * For **every toolless box, clamshell, hinged lid, flip-leaf, or pivoting latch design** (unless the user explicitly requests metal screws/bolts or a different fastener), **NEVER** use bare barb-only pins that rely solely on a tiny barb catching against a knuckle edge. + * Always pair **extended horizontal flat-bottom D-profile Snap Pins** (`Ø 2.75 mm` shaft inside `Ø 3.00–3.10 mm` teardrop bores, `Ø 5.20 mm × 1.92 mm` flanged head, **`+2.40 mm` extra shaft length past the outer knuckle** = `0.40 mm` rotational clearance + `2.00 mm` flat ring landing seat, `Ø 3.16 mm` split cantilever barb with `0.75 mm` flex slot, printed flat on `Z = 0` for `5×` axial shear strength and `0.0%` overhang) with **matching push-on counterbored Snap Retaining Rings ("Collars")** (`Ø 5.20 mm` OD, `1.92 mm` height, `Ø 2.85 mm` inner bore, `Ø 3.28 × 0.72 mm` upward counterbore recess, `0.0%` overhang). + * Always include **`1` retaining ring per active pin plus spares** neatly laid out alongside the pins on the `.3mf` plate (`4` walls, `100%` infill), include the rings in the assembled `.step` & interactive 3D viewer, and programmatically verify **`0.000000 mm³`** resting collision plus **positive axial pull-off lock bite** (`verify_pin_ring_retention()`). Use `build_toolless_snap_pin_and_ring()` from `.agents/skills/3d-print-modeling/scripts/p2s_cad_helpers.py`. --- diff --git a/FILAMENTS.md b/FILAMENTS.md index 9460e9b..6a4fc58 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 PETG** *(SKU `C0377`–`C0398`)* | Standard / Fast PETG (`1.75 ± 0.02 mm`, MFI `20 g/10 min`, **AMS Ready**) | `230 – 250 °C` / Bed `70 – 90 °C` | **`50–65 °C / 8 h`** *(Kingroon spec `50 °C / 8 h`)* | **`240 °C` / `80 °C`** | **`245 °C` / `75 °C`** | **`0.95`** | **`14.5 mm³/s`** | `50 – 85 mm/s` | Everyday functional parts, planters, brackets, cases | | **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`) | @@ -27,7 +28,7 @@ --- -## 2. Dedicated Process Profile Matrix (8 Filaments × 6 Layer Heights = 48 Profiles) +## 2. Dedicated Process Profile Matrix (9 Filaments × 6 Layer Heights = 54 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: @@ -75,6 +76,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 PETG @BBL P2S`** | `0.08 mm` | `50 mm/s` | `100 mm/s` | `150 mm/s` | `115 mm/s` | `40 mm/s` | `2,000 mm/s²` | `5,500 mm/s²` | `9` / `7` | Fine PETG threads, micro-clips, seals | +| **`0.12mm Kingroon PETG @BBL P2S`** | `0.12 mm` | `60 mm/s` | `125 mm/s` | `175 mm/s` | `135 mm/s` | `60 mm/s` | `2,400 mm/s²` | `6,500 mm/s²` | `7` / `5` | Precision housings, interlocking latches | +| **`0.16mm Kingroon PETG @BBL P2S`** | `0.16 mm` | `70 mm/s` | `145 mm/s` | `180 mm/s` | `150 mm/s` | `80 mm/s` | `2,800 mm/s²` | `7,500 mm/s²` | `6` / `5` | Hinges, snap brackets, travel cases | +| **`0.20mm Kingroon PETG @BBL P2S`** | `0.20 mm` | `80 mm/s` | `155 mm/s` | `165 mm/s` | `145 mm/s` | `90 mm/s` | `3,200 mm/s²` | `8,500 mm/s²` | `5` / `4` | Everyday durable functional prints | +| **`0.24mm Kingroon PETG @BBL P2S`** | `0.24 mm` | `85 mm/s` | `135 mm/s` | `135 mm/s` | `130 mm/s` | `100 mm/s` | `3,200 mm/s²` | `8,500 mm/s²` | `4` / `3` | Watertight planters, saucers, cages | +| **`0.28mm Kingroon PETG @BBL P2S`** | `0.28 mm` | `80 mm/s` | `115 mm/s` | `115 mm/s` | `110 mm/s` | `100 mm/s` | `3,200 mm/s²` | `8,500 mm/s²` | `4` / `3` | **Max Throughput:** Large bins & trays | | **`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 | @@ -177,3 +184,13 @@ Every profile is formatted as **` @BBL P2S`**, pre- * **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)*. + +### I. Kingroon PETG *(SKU `C0377`–`C0398`, `1.75 ± 0.02 mm`)* +* **Chemistry & Official Datasheet (`kingroon.com`):** Polyethylene Terephthalate Glycol (`1.75 ± 0.02 mm`), Density **`1.26 g/cm³`**, Melt Flow Index (MFI) **`20 g/10 min`** (`250 °C / 2.16 kg`), Heat Distortion Temp **`62 °C`** (`0.45 MPa`), Izod Impact **`4.7 kJ/m²`**, Tensile **`≥ 50 MPa`**, Bending **`65 MPa`**, Flexural Modulus **`1,078 MPa`**. +* **AMS Compatibility:** **100% AMS / AMS 2 Pro compatible** *(standard rigid PETG)*. +* **Rated Specs & Drying:** Nozzle **`230 – 250 °C`**, Bed **`70 – 90 °C`**. Dry at **`50 °C` for `8 h`** per Kingroon spec *(up to `55 – 65 °C / 8 h` in AMS 2 Pro or filament dryer if saturated)*; store sealed with desiccant after use. +* **Thermal & Cooling Sweet Spot (Bambu Lab P2S, `0.4 mm` Textured PEI):** + * **First Layer:** `240 °C` nozzle, `80 °C` bed, Cooling Fan `OFF` (layers 1–3). + * **Other Layers:** `245 °C` nozzle, `75 °C` bed, Cooling `30 – 65%`, Overhang Fan `70%`, Retraction `0.4 mm` w/ Wipe `ON`. +* **Volumetric Flow ($V_{max}$):** **`14.5 mm³/s`**, Flow Ratio **`0.95`**. +* **Installed Presets:** `Kingroon PETG @Bambu Lab P2S 0.4 nozzle` *(Custom Filament in `filament/base/`)* & `Kingroon PETG 0.4` *(User Filament Preset)*. diff --git a/SPEED_TUNING_GUIDE.md b/SPEED_TUNING_GUIDE.md index c012a3b..ece5d77 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, Kingroon TPU 95A. +> **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 PETG, 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 **48 custom-calibrated process profiles** directly from Bambu Studio's **Process** dropdown. They follow the naming pattern: +You can select any of the **54 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 | 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` | +| Layer Height | UjoyBio PLA Plus | Kingroon PLA Basic | Kingroon PLA Matte | Inslogic Tri-Color Silk | Kingroon Silk PLA | Frucindra PETG | Vertexfil PETG Basic | Kingroon PETG | 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 PETG @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 PETG @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 PETG @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 PETG @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 PETG @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 PETG @BBL P2S` | `0.28mm Kingroon TPU 95A @BBL P2S` | --- @@ -144,6 +144,16 @@ You can select any of the **48 custom-calibrated process profiles** directly fro * **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%`) +### Card I: Kingroon PETG (`SKU C0377`–`C0398`) +* **Optimal Flow Sweet Spot:** **`12.5 – 14.5 mm³/s`** (`14.5 mm³/s` max cap; MFI `20 g/10 min` @ `250 °C`, Density `1.26 g/cm³`, **AMS Ready**) +* **Drying:** **`50 – 65 °C` for `8 h`** (`50 °C / 8 h` per Kingroon spec; store sealed with desiccant). +* **Speed & Thermal Recommendation:** + * **Outer Wall:** `50 – 85 mm/s` (`2,000 – 3,200 mm/s²` accel) + * **Inner Wall / Infill:** `100 – 180 mm/s` (`5,500 – 8,500 mm/s²` accel) + * **Nozzle Temp:** `240 °C` (1st layer) / `245 °C` (others; rated `230–250 °C`) + * **Bed Temp:** `80 °C` (1st layer) / `75 °C` (others; rated `70–90 °C`) + * **Retraction & Fan:** `0.4 mm` w/ Wipe `ON`, Fan `0%` first 3 layers -> `30 – 65%` (`70%` overhangs) + --- ## 5. Benchy Diagnostic Defect & Correction Cheat Sheet diff --git a/VERSION b/VERSION index 6085e94..23aa839 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.1 +1.2.2 diff --git a/profiles/0.08mm_Kingroon_PETG_atBBL_P2S.json b/profiles/0.08mm_Kingroon_PETG_atBBL_P2S.json new file mode 100644 index 0000000..93f79ec --- /dev/null +++ b/profiles/0.08mm_Kingroon_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.08mm High Quality @BBL P2S", + "name": "0.08mm Kingroon PETG @BBL P2S", + "print_settings_id": "0.08mm Kingroon PETG @BBL P2S", + "layer_height": "0.08", + "initial_layer_print_height": "0.16", + "initial_layer_speed": [ + "35", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "65", + "nil", + "nil" + ], + "outer_wall_speed": [ + "50", + "nil", + "nil" + ], + "inner_wall_speed": [ + "100", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "150", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "115", + "nil", + "nil" + ], + "top_surface_speed": [ + "40", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "2000", + "nil", + "nil" + ], + "default_acceleration": [ + "5500", + "nil", + "nil" + ], + "top_shell_layers": [ + "9" + ], + "bottom_shell_layers": [ + "7" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.12mm_Kingroon_PETG_atBBL_P2S.json b/profiles/0.12mm_Kingroon_PETG_atBBL_P2S.json new file mode 100644 index 0000000..9d17cee --- /dev/null +++ b/profiles/0.12mm_Kingroon_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.12mm High Quality @BBL P2S", + "name": "0.12mm Kingroon PETG @BBL P2S", + "print_settings_id": "0.12mm Kingroon PETG @BBL P2S", + "layer_height": "0.12", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "40", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "80", + "nil", + "nil" + ], + "outer_wall_speed": [ + "60", + "nil", + "nil" + ], + "inner_wall_speed": [ + "125", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "175", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "135", + "nil", + "nil" + ], + "top_surface_speed": [ + "60", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "2400", + "nil", + "nil" + ], + "default_acceleration": [ + "6500", + "nil", + "nil" + ], + "top_shell_layers": [ + "7" + ], + "bottom_shell_layers": [ + "5" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.16mm_Kingroon_PETG_atBBL_P2S.json b/profiles/0.16mm_Kingroon_PETG_atBBL_P2S.json new file mode 100644 index 0000000..c9f6795 --- /dev/null +++ b/profiles/0.16mm_Kingroon_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.16mm Standard @BBL P2S", + "name": "0.16mm Kingroon PETG @BBL P2S", + "print_settings_id": "0.16mm Kingroon PETG @BBL P2S", + "layer_height": "0.16", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "70", + "nil", + "nil" + ], + "inner_wall_speed": [ + "145", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "180", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "150", + "nil", + "nil" + ], + "top_surface_speed": [ + "80", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "2800", + "nil", + "nil" + ], + "default_acceleration": [ + "7500", + "nil", + "nil" + ], + "top_shell_layers": [ + "6" + ], + "bottom_shell_layers": [ + "5" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.20mm_Kingroon_PETG_atBBL_P2S.json b/profiles/0.20mm_Kingroon_PETG_atBBL_P2S.json new file mode 100644 index 0000000..0d2b91d --- /dev/null +++ b/profiles/0.20mm_Kingroon_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.20mm Standard @BBL P2S", + "name": "0.20mm Kingroon PETG @BBL P2S", + "print_settings_id": "0.20mm Kingroon PETG @BBL P2S", + "layer_height": "0.20", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "80", + "nil", + "nil" + ], + "inner_wall_speed": [ + "155", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "165", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "145", + "nil", + "nil" + ], + "top_surface_speed": [ + "90", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3200", + "nil", + "nil" + ], + "default_acceleration": [ + "8500", + "nil", + "nil" + ], + "top_shell_layers": [ + "5" + ], + "bottom_shell_layers": [ + "4" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.24mm_Kingroon_PETG_atBBL_P2S.json b/profiles/0.24mm_Kingroon_PETG_atBBL_P2S.json new file mode 100644 index 0000000..483ff06 --- /dev/null +++ b/profiles/0.24mm_Kingroon_PETG_atBBL_P2S.json @@ -0,0 +1,68 @@ +{ + "from": "User", + "inherits": "0.24mm Standard @BBL P2S", + "name": "0.24mm Kingroon PETG @BBL P2S", + "print_settings_id": "0.24mm Kingroon PETG @BBL P2S", + "layer_height": "0.24", + "initial_layer_print_height": "0.20", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "85", + "nil", + "nil" + ], + "inner_wall_speed": [ + "135", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "135", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "130", + "nil", + "nil" + ], + "top_surface_speed": [ + "100", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3200", + "nil", + "nil" + ], + "default_acceleration": [ + "8500", + "nil", + "nil" + ], + "top_shell_layers": [ + "4" + ], + "bottom_shell_layers": [ + "3" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5" +} \ No newline at end of file diff --git a/profiles/0.28mm_Kingroon_PETG_atBBL_P2S.json b/profiles/0.28mm_Kingroon_PETG_atBBL_P2S.json new file mode 100644 index 0000000..69d313a --- /dev/null +++ b/profiles/0.28mm_Kingroon_PETG_atBBL_P2S.json @@ -0,0 +1,71 @@ +{ + "from": "User", + "inherits": "fdm_process_single_0.28", + "name": "0.28mm Kingroon PETG @BBL P2S", + "print_settings_id": "0.28mm Kingroon PETG @BBL P2S", + "layer_height": "0.28", + "initial_layer_print_height": "0.24", + "initial_layer_speed": [ + "50", + "nil", + "nil" + ], + "initial_layer_infill_speed": [ + "105", + "nil", + "nil" + ], + "outer_wall_speed": [ + "80", + "nil", + "nil" + ], + "inner_wall_speed": [ + "115", + "nil", + "nil" + ], + "sparse_infill_speed": [ + "115", + "nil", + "nil" + ], + "internal_solid_infill_speed": [ + "110", + "nil", + "nil" + ], + "top_surface_speed": [ + "100", + "nil", + "nil" + ], + "outer_wall_acceleration": [ + "3200", + "nil", + "nil" + ], + "default_acceleration": [ + "8500", + "nil", + "nil" + ], + "top_shell_layers": [ + "4" + ], + "bottom_shell_layers": [ + "3" + ], + "travel_speed": [ + "500", + "nil", + "nil" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "support_threshold_angle": [ + "40" + ] +} \ No newline at end of file diff --git a/profiles/Kingroon_PETG_0.4.json b/profiles/Kingroon_PETG_0.4.json new file mode 100644 index 0000000..b76cb74 --- /dev/null +++ b/profiles/Kingroon_PETG_0.4.json @@ -0,0 +1,106 @@ +{ + "from": "User", + "inherits": "Generic PETG @BBL P2S", + "name": "Kingroon PETG 0.4", + "filament_settings_id": [ + "Kingroon PETG 0.4" + ], + "nozzle_temperature": [ + "245", + "nil", + "nil" + ], + "nozzle_temperature_initial_layer": [ + "240", + "nil", + "nil" + ], + "textured_plate_temp": [ + "75", + "nil", + "nil" + ], + "textured_plate_temp_initial_layer": [ + "80", + "nil", + "nil" + ], + "filament_flow_ratio": [ + "0.95" + ], + "filament_max_volumetric_speed": [ + "14.5", + "nil", + "nil" + ], + "fan_min_speed": [ + "30" + ], + "fan_max_speed": [ + "65" + ], + "close_fan_the_first_x_layers": [ + "3" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle" + ], + "version": "2.6.0.5", + "filament_dev_ams_drying_temperature": [ + "55", + "55", + "55", + "55", + "55", + "55", + "55", + "55" + ], + "filament_dev_ams_drying_time": [ + "8", + "8", + "8", + "8", + "8", + "8", + "8", + "8" + ], + "filament_vendor": [ + "Kingroon" + ], + "filament_density": [ + "1.26" + ], + "filament_type": [ + "PETG" + ], + "nozzle_temperature_range_low": [ + "230" + ], + "nozzle_temperature_range_high": [ + "250" + ], + "overhang_fan_speed": [ + "70" + ], + "eng_plate_temp": [ + "75" + ], + "eng_plate_temp_initial_layer": [ + "80" + ], + "hot_plate_temp": [ + "75" + ], + "hot_plate_temp_initial_layer": [ + "80" + ], + "filament_retraction_length": [ + "0.4" + ], + "filament_wipe": [ + "1" + ], + "filament_notes": "Kingroon PETG (1.75 +/- 0.02 mm, SKU series C0377-C0398). Density 1.26 g/cm3, MFI 20 g/10min (250 C/2.16kg), HDT 62 C. Nozzle 230-250 C, Bed 70-90 C. Dry 50-65 C for 8h. AMS compatible." +} \ No newline at end of file diff --git a/profiles/Kingroon_PETG_Custom_Filament_P2S.json b/profiles/Kingroon_PETG_Custom_Filament_P2S.json new file mode 100644 index 0000000..3b630df --- /dev/null +++ b/profiles/Kingroon_PETG_Custom_Filament_P2S.json @@ -0,0 +1,522 @@ +{ + "activate_air_filtration": [ + "0" + ], + "additional_cooling_fan_speed": [ + "0" + ], + "additional_fan_full_speed_layer": [ + "0" + ], + "chamber_temperatures": [ + "0" + ], + "circle_compensation_speed": [ + "200" + ], + "close_additional_fan_first_x_layers": [ + "3" + ], + "close_fan_the_first_x_layers": [ + "3" + ], + "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": [ + "0" + ], + "cool_plate_temp_initial_layer": [ + "0" + ], + "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": [ + "75" + ], + "eng_plate_temp_initial_layer": [ + "80" + ], + "fan_cooling_layer_time": [ + "30" + ], + "fan_max_speed": [ + "65" + ], + "fan_min_speed": [ + "30" + ], + "filament_adaptive_volumetric_speed": [ + "0", + "0", + "0" + ], + "filament_adhesiveness_category": [ + "300" + ], + "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.26" + ], + "filament_deretraction_speed": [ + "nil", + "nil", + "nil" + ], + "filament_dev_ams_drying_ams_limitations": [ + "1", + "0", + "2", + "3" + ], + "filament_dev_ams_drying_heat_distortion_temperature": [ + "75", + "75", + "70", + "75" + ], + "filament_dev_ams_drying_temperature": [ + "55", + "55", + "55", + "55", + "55", + "55", + "55", + "55" + ], + "filament_dev_ams_drying_time": [ + "8", + "8", + "8", + "8", + "8", + "8", + "8", + "8" + ], + "filament_dev_chamber_drying_bed_temperature": [ + "80" + ], + "filament_dev_chamber_drying_time": [ + "12.0" + ], + "filament_dev_drying_cooling_temperature": [ + "55" + ], + "filament_dev_drying_softening_temperature": [ + "60", + "60", + "75", + "60" + ], + "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": [ + "0.95", + "0.95", + "0.95" + ], + "filament_flush_temp": [ + "0", + "0", + "0" + ], + "filament_flush_temp_fast": [ + "0", + "0", + "0" + ], + "filament_flush_volumetric_speed": [ + "0", + "0", + "0" + ], + "filament_id": "P3c91b70", + "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": [ + "14.5", + "14.5", + "14.5" + ], + "filament_metal_stickiness": [ + "High" + ], + "filament_minimal_purge_on_wipe_tower": [ + "15" + ], + "filament_notes": "Kingroon PETG (1.75 +/- 0.02 mm, SKU series C0377-C0398). Density 1.26 g/cm3, MFI 20 g/10min (250 C/2.16kg), HDT 62 C. Nozzle 230-250 C, Bed 70-90 C. Dry 50-65 C for 8h. AMS compatible.", + "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": [ + "nil", + "nil", + "nil" + ], + "filament_scarf_gap": [ + "0%" + ], + "filament_scarf_height": [ + "10%" + ], + "filament_scarf_length": [ + "10" + ], + "filament_scarf_seam_type": [ + "none" + ], + "filament_settings_id": [ + "Kingroon PETG @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": [ + "PETG" + ], + "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" + ], + "first_x_layer_fan_speed": [ + "0" + ], + "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": [ + "75" + ], + "hot_plate_temp_initial_layer": [ + "80" + ], + "impact_strength_z": [ + "10" + ], + "inherits": "", + "long_retractions_when_ec": [ + "0", + "0", + "0" + ], + "name": "Kingroon PETG @Bambu Lab P2S 0.4 nozzle", + "no_slow_down_for_cooling_on_outwalls": [ + "0" + ], + "nozzle_temperature": [ + "245", + "245", + "245" + ], + "nozzle_temperature_initial_layer": [ + "240", + "240", + "240" + ], + "nozzle_temperature_range_high": [ + "250" + ], + "nozzle_temperature_range_low": [ + "230" + ], + "overhang_fan_speed": [ + "70" + ], + "overhang_fan_threshold": [ + "10%" + ], + "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": [ + "12" + ], + "slow_down_min_speed": [ + "20", + "20", + "20" + ], + "supertack_plate_temp": [ + "70" + ], + "supertack_plate_temp_initial_layer": [ + "70" + ], + "temperature_vitrification": [ + "60" + ], + "textured_plate_temp": [ + "75" + ], + "textured_plate_temp_initial_layer": [ + "80" + ], + "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/scripts/generate_all_custom_matrix_profiles.py b/scripts/generate_all_custom_matrix_profiles.py index e690ff0..1e2632b 100644 --- a/scripts/generate_all_custom_matrix_profiles.py +++ b/scripts/generate_all_custom_matrix_profiles.py @@ -160,6 +160,14 @@ def gen_id(prefix: str, seed: str) -> str: "0.24mm": ("95", "145", "150", "140", "3500", "9000"), "0.28mm": ("85", "125", "130", "120", "3500", "9000"), }, + "Kingroon PETG": { + "0.08mm": ("50", "100", "150", "115", "2000", "5500"), + "0.12mm": ("60", "125", "175", "135", "2400", "6500"), + "0.16mm": ("70", "145", "180", "150", "2800", "7500"), + "0.20mm": ("80", "155", "165", "145", "3200", "8500"), + "0.24mm": ("85", "135", "135", "130", "3200", "8500"), + "0.28mm": ("80", "115", "115", "110", "3200", "8500"), + }, "Kingroon TPU 95A": { "0.08mm": ("25", "35", "40", "35", "800", "1500"), "0.12mm": ("30", "40", "45", "40", "1000", "1800"), diff --git a/scripts/generate_all_filament_and_process_profiles.py b/scripts/generate_all_filament_and_process_profiles.py index 58ce8e9..bdd345b 100644 --- a/scripts/generate_all_filament_and_process_profiles.py +++ b/scripts/generate_all_filament_and_process_profiles.py @@ -2,12 +2,12 @@ generate_all_filament_and_process_profiles.py ============================================= Generates and installs calibrated filament and process profiles for Bambu Lab P2S: -- 8 Filaments: UJOYBIO Elite PLA+, Kingroon PLA Basic, Kingroon PLA Matte, +- 9 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. + Frucindra PETG, Vertexfil PETG Basic, Kingroon PETG, 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. +- Flattened Custom Filaments (`filament/base/`) for Kingroon PETG & Kingroon TPU 95A so they + appear natively in Bambu Studio Custom Filaments, AMS, and External Spool pickers. Outputs to: 1. Local workspace `profiles/` 2. Bambu Studio user presets (`AppData/Roaming/BambuStudio/user//`) @@ -330,6 +330,38 @@ def gen_id(prefix: str, seed: str) -> str: }, "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 PETG 0.4", + "inherits": "Generic PETG @BBL P2S", + "base_id": "GFSG99_09", + "nozzle_temp": "245", + "nozzle_temp_init": "240", + "bed_temp": "75", + "bed_temp_init": "80", + "flow_ratio": "0.95", + "max_volumetric_speed": "14.5", + "fan_min_speed": "30", + "fan_max_speed": "65", + "filament_type": "PETG", + "drying_temp": "55", + "drying_time": "8", + "extra": { + "filament_vendor": ["Kingroon"], + "filament_density": ["1.26"], + "filament_type": ["PETG"], + "nozzle_temperature_range_low": ["230"], + "nozzle_temperature_range_high": ["250"], + "overhang_fan_speed": ["70"], + "eng_plate_temp": ["75"], + "eng_plate_temp_initial_layer": ["80"], + "hot_plate_temp": ["75"], + "hot_plate_temp_initial_layer": ["80"], + "filament_retraction_length": ["0.4"], + "filament_wipe": ["1"], + "filament_notes": "Kingroon PETG (1.75 +/- 0.02 mm, SKU series C0377-C0398). Density 1.26 g/cm3, MFI 20 g/10min (250 C/2.16kg), HDT 62 C. Nozzle 230-250 C, Bed 70-90 C. Dry 50-65 C for 8h. AMS compatible." + }, + "description": "Kingroon PETG (1.75 +/- 0.02 mm, SKU series C0377-C0398). Rated 230-250 C nozzle, 70-90 C bed, MFI 20 g/10min, density 1.26 g/cm3. Dry 50-65 C for 8h." + }, { "name": "Kingroon TPU 95A 0.4", "inherits": "Generic TPU @BBL P2S", @@ -413,8 +445,8 @@ def gen_id(prefix: str, seed: str) -> str: print(f" [OK] Filament: {fil['name']}") # ========================================== -# 3. BAMBU STUDIO CUSTOM FILAMENT BASE (filament/base/) -# Makes Kingroon TPU 95A appear natively under Custom Filaments & External Spool +# 3. BAMBU STUDIO CUSTOM FILAMENT BASES (filament/base/) +# Makes custom filaments appear natively under Custom Filaments, AMS & External Spool # ========================================== BBL_SYSTEM_FILAMENT_DIR = Path(r"\AppData\Roaming\BambuStudio\system\BBL\filament") if not BBL_SYSTEM_FILAMENT_DIR.exists(): @@ -433,28 +465,80 @@ def load_system_filament_chain(name: str, sys_dir: Path) -> dict: 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) +def install_custom_base_filament(base_system_name: str, custom_name: str, workspace_filename: str, overrides: dict): + if not (BBL_SYSTEM_FILAMENT_DIR / f"{base_system_name}.json").exists(): + return + flat = load_system_filament_chain(base_system_name, BBL_SYSTEM_FILAMENT_DIR) for drop_key in ("type", "instantiation", "setting_id", "include", "description"): - flat_tpu.pop(drop_key, None) + flat.pop(drop_key, None) custom_fil_id = "P" + hashlib.md5(custom_name.encode("utf-8")).hexdigest()[:7] - flat_tpu.update({ + flat.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": "", + "version": "2.9.0.75", + }) + flat.update(overrides) + flat = dict(sorted(flat.items())) + + (PROFILES_DIR / workspace_filename).write_text(json.dumps(flat, indent=4), encoding="utf-8") + + 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, 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})") + +install_custom_base_filament( + base_system_name="Generic PETG @BBL P2S", + custom_name="Kingroon PETG @Bambu Lab P2S 0.4 nozzle", + workspace_filename="Kingroon_PETG_Custom_Filament_P2S.json", + overrides={ + "filament_vendor": ["Kingroon"], + "filament_type": ["PETG"], + "filament_density": ["1.26"], + "filament_cost": ["20"], + "nozzle_temperature": ["245", "245", "245"], + "nozzle_temperature_initial_layer": ["240", "240", "240"], + "nozzle_temperature_range_low": ["230"], + "nozzle_temperature_range_high": ["250"], + "textured_plate_temp": ["75"], + "textured_plate_temp_initial_layer": ["80"], + "eng_plate_temp": ["75"], + "eng_plate_temp_initial_layer": ["80"], + "hot_plate_temp": ["75"], + "hot_plate_temp_initial_layer": ["80"], + "filament_flow_ratio": ["0.95", "0.95", "0.95"], + "filament_max_volumetric_speed": ["14.5", "14.5", "14.5"], + "filament_retraction_length": ["0.4", "0.4", "0.4"], + "filament_wipe": ["1", "1", "1"], + "fan_min_speed": ["30"], + "fan_max_speed": ["65"], + "close_fan_the_first_x_layers": ["3"], + "overhang_fan_speed": ["70"], + "filament_dev_ams_drying_temperature": ["55"] * 8, + "filament_dev_ams_drying_time": ["8"] * 8, + "filament_notes": "Kingroon PETG (1.75 +/- 0.02 mm, SKU series C0377-C0398). Density 1.26 g/cm3, MFI 20 g/10min (250 C/2.16kg), HDT 62 C. Nozzle 230-250 C, Bed 70-90 C. Dry 50-65 C for 8h. AMS compatible.", + }, +) + +install_custom_base_filament( + base_system_name="Bambu TPU 95A @BBL P2S", + custom_name="Kingroon TPU 95A @Bambu Lab P2S 0.4 nozzle", + workspace_filename="Kingroon_TPU_95A_Custom_Filament_P2S.json", + overrides={ + "filament_vendor": ["Kingroon"], + "filament_type": ["TPU"], + "filament_density": ["1.22"], + "filament_cost": ["20"], "nozzle_temperature": ["225", "225", "225"], "nozzle_temperature_initial_layer": ["222", "222", "222"], "nozzle_temperature_range_low": ["200"], @@ -481,20 +565,7 @@ def load_system_filament_chain(name: str, sys_dir: Path) -> dict: "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!")