earthtojake/text-to-cad

bambu-labs

Send prints to Bambu Lab printers through Bambu Connect, Bambu Lab's official app for printing from other software, or Bambu Studio.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/earthtojake/text-to-cad --skill bambu-labs

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Bambu Labs

Provenance: maintained in 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.

Bambu Lab printers take print jobs from other software only through Bambu Connect, Bambu Lab's desktop app for third-party tools (https://wiki.bambulab.com/en/software/third-party-integration). This skill opens a file in Bambu Connect, or an unsliced model in Bambu Studio; the user picks the printer and starts the print there. The agent never controls a printer and never asks for access codes.

Requirements

Bambu Connect (Windows 10 or later, macOS 13 or later), signed in to the user's Bambu Lab account, with the printer on that account or reachable in LAN mode (https://wiki.bambulab.com/en/software/bambu-connect). On Linux, where Bambu Connect is still in development, use Bambu Studio.

Choose the handoff

What the user hasHandoff
A sliced .gcode.3mf, from $gcode or Bambu Studio's or OrcaSlicer's "Export plate sliced file"Open it in Bambu Connect
A plain .gcode sliced with this printer's Bambu profileOpen it in Bambu Connect; if Bambu Connect refuses it, slice the model in Bambu Studio instead
A model with no slice: .3mf, .stl or .step (from a $cad model: cadgen export <id> part.3mf)Open it in Bambu Studio, which slices it and sends it to the printer itself

Open a file in Bambu Connect

Bambu Connect imports a file from a bambu-connect://import-file link with three parameters: path, the file's absolute path, and name, the name to show, each percent-encoded the way JavaScript's encodeURIComponent does it (Python: urllib.parse.quote(value, safe="")); and version=1.0.0. For /Users/me/prints/bracket.gcode.3mf:

text
bambu-connect://import-file?path=%2FUsers%2Fme%2Fprints%2Fbracket.gcode.3mf&name=bracket&version=1.0.0

Open the link with open "<link>" on macOS, or Start-Process "<link>" in PowerShell on Windows. Bambu Connect comes forward with the file loaded.

Open a model in Bambu Studio

On macOS run open -a BambuStudio <file> (some installs name the app Bambu Studio). On Windows open the file from Bambu Studio's File menu, or run Start-Process <file> when Bambu Studio is the file's default app. On Linux run bambu-studio <file>, or open it from the AppImage or Flatpak.

Finish in the app

Before the user presses Print, tell them what to check: the printer, plate type, nozzle, filament and AMS mapping, a clear build plate, and someone nearby for the first layer. Never report a print as started: the agent can't see the printer, and the app shows the job and its progress.

Out of scope

Starting, pausing or cancelling prints without the user, and reading printer status: Bambu Lab's firmware takes those from other software only through Bambu Connect, or in Developer Mode, which is LAN-only and disconnects the printer from Bambu Cloud. For slicing, use $gcode or Bambu Studio.

来自同一仓库

更多 Skills

全部 Skills
earthtojake
社区

cad

Creates and edits parametric CAD parts and assemblies as Python build123d models that cadgen's engine builds and the CAD Viewer shows live; exports STEP, STL, 3MF, GLB and xbf files on request; resolves prompt references, measures geometry, and articulates or animates assemblies. Use for 3D CAD modeling, editing a model script (any change to a part's or assembly's .py), organizing a CAD project, exporting or converting CAD files, Quick Edit prompts, mechanisms, and explode or showcase animations

1小时安装量
13
GitHub Stars
2.4万
最近更新
10月31日
earthtojake
社区

dxf

Generates, regenerates and validates 2D DXF drawings from Python build123d models, exported by cadgen. Use for DXF files, .py drawing scripts, 2D profiles, outlines, templates, gaskets, panels, flat patterns, laser/plasma/waterjet cut layouts, and 2D drawing exports of CAD geometry. Opens and visually reviews existing DXF files in the CAD Viewer.

1小时安装量
13
GitHub Stars
2.4万
最近更新
10月31日
earthtojake
社区

engineering-drawing

Make an engineering drawing of a part as a PDF - orthographic views with hidden lines and centre marks, real dimensions, hole callouts, notes and a title block on ISO sheets, all projected from the part's geometry so the drawing follows the model. Use when the user asks for a drawing, a dimensioned sheet, shop or manufacturing drawings, a print, or "2D views of this part".

1小时安装量
13
GitHub Stars
2.4万
最近更新
10月31日
earthtojake
社区

gcode

Slice 3D models into printer-ready G-code with OrcaSlicer, the open-source slicer with built-in profiles for most FDM printers (Prusa, Bambu Lab, Creality, Voron and more). Use when the user wants an .stl, .3mf or .obj model sliced for their printer, as a sliced .gcode.3mf or plain .gcode, headless with OrcaSlicer's command line or by opening the model in OrcaSlicer. Never contacts a printer.

1小时安装量
13
GitHub Stars
2.4万
最近更新
10月31日