JavaScript is disabled. Some features may not work.
bambu-labs — ★ 6.8K GitHub Stars — Install Guide | SkillsNav
🇺🇸 English🇨🇳 中文
SkillsNav
Home

bambu-labs

★ 6.8K repogenerationN/AIntermediateClaude
🤖 AI Summary

This skill sends a validated `.gcode` file to a Bambu Lab 3D printer on the local network, handling print start, pause, and cancel commands—but defaults to dry-run mode and requires explicit `--execute` and confirmation flags to perform real printer actions.

How to Install

Claude Code:
git clone --depth 1 https://github.com/earthtojake/text-to-cad.git && cp text-to-cad/skills/bambu-labs ~/.claude/skills/bambu-labs -r
# Bambu Labs Provenance: maintained in [earthtojake/text-to-cad](https://github.com/earthtojake/text-to-cad). Use the installed local skill files as the runtime source of truth; the repository link is only for provenance and release review. Use this skill for local-network Bambu Lab print handoffs after a plain `.gcode` file already exists and has been validated. This skill does not slice models. ## Safety Rules - Default to dry-run plans. Real printer traffic requires `--execute`. - Never start a print without `--execute --confirm-start-print`. - Pause and cancel controls are live printer requests; default to dry-run plans. Canceling a print requires `--execute --confirm-cancel-print`. - Treat an explicit user request to print or start a specific job as live-start authorization; do not pause for a second confirmation solely for physical checks. Still validate the G-code, inspect the dry-run payload, read printer status, prefer upload-only before upload-start, state the physical checks, and stop if validation/status/intent is unsafe or ambiguous. - Do not ask for the printer serial by default; fetch it from the printer TLS certificate with `serial` or let `send` cache it. - Prefer workspace-root `bambu-printers.json` over repeating access codes in commands. The file is local config and should be ignored by Git. - Before a live start, state the physical checks: clear build plate, correct plate/filament/nozzle, safe surroundings, and operator nearby. - Publishing MQTT is only a start request. Confirm acceptance with printer status/UI and physical observation. ## CAD Viewer Handoff After completing Bambu work that creates or modifies a local supported print artifact such as `.gcode` or `.3mf`, you must ALWAYS hand the explicit file path to `$cad-viewer` when that skill is installed. `$cad-viewer` must start CAD Viewer if it is not already running and return link(s) to the relevant created or updated file(s); if `$cad-viewer` is unavailable or startup fails, report that instead of silently omitting the handoff. ## Workflow 1. Generate and validate plain G-code with `$gcode`. If no slicer is installed, install OrcaSlicer and retry; do not treat the missing slicer as a blocker. On macOS, prefer `brew install --cask orcaslicer`. 2. Configure the printer. The user can either give the IP/access code in the thread and let the agent write JSON, or edit `bambu-printers.json` directly. For a new printer setup or onboarding request, read `references/new-printer-onboarding.md` first. Walk the user through the model-specific touchscreen steps to find the IP and LAN access code, and make **Enable LAN Only** plus **Enable Developer Mode** explicit before running local start workflows. ```bash python scripts/bambu_lan_print.py config set \ --printer a1-mini \ --host 192.168.1.34 \ --access-code 12345678 \ --model a1-mini \ --fetch-serial ``` Manual JSON shape: ```json { "printers": { "a1-mini": { "host":

Details

Category Coding → generation
Sourceearthtojake/text-to-cad
SKILL.mdView on GitHub →
Repo Stars★ 6.8K
Est. per Skill622 (shared across 11 skills from this repo)
DifficultyIntermediate
Risk LevelN/A

Related Skills

Works Well With

Skills from the same repository — often designed to work together