gcode
하는 일
이 스킬은 OrcaSlicer로 3D 모델 파일을 출력 지침으로 바꿉니다. 3D 프린터로 모델을 출력할 준비를 하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓3D 프린터용으로 STL이나 3MF 모델을 슬라이스하고 싶을 때.
- ✓출력을 위해 슬라이스된 .gcode.3mf 또는 일반 .gcode 파일이 필요할 때.
- ✓직접 슬라이스하려고 OrcaSlicer에서 모델을 열고 싶을 때.
스킬 링크
https://github.com/earthtojake/text-to-cad/blob/main/skills/gcode/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“OrcaSlicer로 이 STL을 제 Prusa MK4용으로 슬라이스해서 G-code 파일을 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 OrcaSlicer의 프리셋을 사용하며, 사용자가 이미 출력에 쓰는 프리셋을 우선합니다. 그다음 슬라이서를 실행합니다. 파일을 프린터로 보내지는 않습니다. Bambu Lab 프린터의 경우 결과물은 Bambu Connect를 거칩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
G-code
Slice with OrcaSlicer, headless (below) or by opening the model in the
OrcaSlicer app for the user. The agent never contacts a printer: for a Bambu
Lab printer, the result is sent through Bambu Connect; for any other printer,
give the user the .gcode.
Install OrcaSlicer
- macOS:
brew install --cask orcaslicer. The command line is/Applications/OrcaSlicer.app/Contents/MacOS/OrcaSlicer. - Windows and Linux: install a release from
https://github.com/OrcaSlicer/OrcaSlicer/releases. The command is
orca-slicer; on Linux, run it from the AppImage or Flatpak.
Below, <orca> is that command.
Slice headless
OrcaSlicer's command line (https://www.orcaslicer.com/wiki/cli/cli_mode) needs
complete presets: it doesn't fill in a preset's parent settings, and it slices
only with a process whose compatible printers name the printer.
scripts/orca_presets.py (Python 3, no dependencies) writes them from
OrcaSlicer's presets, searching the user's own first, then OrcaSlicer's
built-in profiles.
Find the user's printer, process and filament presets. Prefer the presets the user prints with; never invent one, since a wrong bed size or temperature can damage the printer.
python scripts/orca_presets.py --list machine --match "MK4S" python scripts/orca_presets.py --list process --match "@MK4S 0.4" python scripts/orca_presets.py --list filament --match "PLA @MK4S"Write the complete presets:
python scripts/orca_presets.py --printer "Prusa MK4S 0.4 nozzle" \ --process "0.20mm SPEED @MK4S 0.4" --filament "Prusa Generic PLA @MK4S" \ --out presetsSlice. Give
--outputdiran absolute path:<orca> model.stl \ --load-settings "presets/process.json;presets/printer.json" \ --load-filaments presets/filament-1.json \ --arrange 1 --slice 0 \ --outputdir /absolute/path/to/out --export-3mf model.gcode.3mfThis writes
plate_1.gcode, the plain G-code, andmodel.gcode.3mf, the sliced 3MF, into that folder. The command line reads.stl,.3mf,.objand.amf; export STEP to STL or 3MF first (for a text-to-cad model,cad export <id> part.3mf, orcad export part.step part.3mf). Override one setting with--<setting>=<value>, using the setting's key with hyphens for underscores, such as--layer-height=0.16.
Open in OrcaSlicer
When the user would rather pick presets and slice themselves, or no preset can
be found, open the model in the app: open -a OrcaSlicer model.stl on macOS,
Start-Process model.stl on Windows when OrcaSlicer opens that file type, or
orca-slicer model.stl on Linux. The app also reads STEP.
Check before printing
<orca> model.stl --infoprints the model's size; it has to fit the bed.Check the slice's settings, which OrcaSlicer writes at the end of the G-code:
grep -E '^; (printer_model|nozzle_diameter|filament_type|nozzle_temperature|hot_plate_temp|bed_temperature) =|printing time' out/plate_1.gcodeConfirm they match the user's printer and material before anyone prints it.
Hand off
- A Bambu Lab printer: Bambu Connect, with the
.gcode.3mf. - Any other printer: the user prints the
.gcodefrom their printer's app, its web interface (PrusaLink, OctoPrint, Mainsail, Fluidd) or an SD card.
자주 묻는 질문
프린터로 출력을 보내나요?
아니요. Bambu Lab이 아닌 프린터에서는 사용자가 직접 쓸 G-code 파일을 받습니다.
어떤 프린터를 지원하나요?
OrcaSlicer에 기본 프로필이 있는 대부분의 FDM 프린터를 지원합니다.
프린터 설정을 임의로 만드나요?
아니요. 잘못된 값은 프린터를 손상시킬 수 있으므로, 스킬은 설정을 지어내지 않습니다.
상세 정보
작성자의 원본 설명
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.
repo: earthtojake/text-to-cad
인기도
- GitHub 스타
- 25k
- 순위
- #10072
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
bambu-labs
25k에이전트가 Bambu Connect나 Bambu Studio를 통해 슬라이스된 또는 슬라이스되지 않은 3D 모델을 Bambu Lab 프린터로 보내도록 돕습니다.
cad
25k에이전트가 3D 부품과 조립품을 Python build123d 스크립트로 설계하고, STEP이나 STL 파일로 내보내며, 치수를 확인하도록 돕습니다.
dfam-check
25k에이전트가 3D 메시 파일을 잘 출력할 수 있는지 확인하고, 오버행, 벽 두께, 지지대 필요성을 보고하도록 돕습니다.
dfm
25k에이전트가 부품을 판금, CNC 가공, 사출 성형으로 만들 수 있는지 검토하고, 무엇을 바꿔야 하는지 확인하도록 돕습니다.