Skip to content
Back to skills

Freecad Launch

ASecurity

cadxray 툴이 FreeCAD 연결 실패(error_code freecad_unreachable / freecad_busy)를 돌려줬거나 사용자가 "FreeCAD 켜줘·띄워줘"라고 할 때, 사용자에게 띄울지 물은 뒤 launch_freecad로 띄우고 원래 작업을 이어 가는 절차. 허락 없이 띄우지 않는다.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsgit

Works with

  • mcp

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add WaveSimm/cadxray --skill freecad-launch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Freecad Launch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Freecad Launch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wavesimm-freecad-launch/badge)](https://www.skillsdirectory.com/skills/wavesimm-freecad-launch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: freecad-launch
description: cadxray 툴이 FreeCAD 연결 실패(error_code freecad_unreachable / freecad_busy)를 돌려줬거나 사용자가 "FreeCAD 켜줘·띄워줘"라고 할 때, 사용자에게 띄울지 물은 뒤 launch_freecad로 띄우고 원래 작업을 이어 가는 절차. 허락 없이 띄우지 않는다.
---

# FreeCAD 띄우기 (cadxray `launch_freecad`)

## 언제

- cadxray 툴 응답에 `error_code: "freecad_unreachable"`과 `launch` 블록이 있을 때
- `error_code: "freecad_busy"`일 때 — 띄우지 않는다(아래 3번)
- 사용자가 "FreeCAD 켜줘", "띄워줘"라고 할 때 — 먼저 `ping`으로 상태를 본다

## 절차

1. **`launch.grade`와 `reasons`를 본다.**
   - `deny` → 묻지 않는다. `reasons[].message`를 그대로 전한다. 사유별 조치: FreeCAD는 떠 있는데 포트가 닫힘(`process_exists_port_closed`) → "FreeCAD의 CAD X-ray 메뉴에서 Start Server를 누르세요", 애드온 없음(`addon_missing_in_exe`) → `cadxray install`, 실행 파일 없음(`exe_not_found`) → `CADXRAY_FREECAD_EXE` 지정. 끝.
   - `can_launch: true`(ok·info·warn) → 2번.
2. **사용자에게 한 문장으로 묻는다.** "FreeCAD가 꺼져 있습니다. 띄울까요? (FreeCAD `freecad_version`, `exe`)". warn 사유가 있으면 그 `message`를 함께 보여 준다(`autostart_off`: 띄운 뒤 Start Server를 직접 눌러야 함). `candidates`가 여럿(`exe_ambiguous`)이면 **번호 목록**으로 보여 주고 고르게 한다.
   - 허락 → `launch_freecad(file=열 파일이 정해져 있으면 그 경로, exe=고른 후보)`. "최대 60초 걸립니다"라고 말해 둔다.
   - 거절 → 띄우지 않는다. "FreeCAD를 켜 주시면 이어서 하겠습니다"로 끝낸다.
   - **허락 없이 부르지 않는다.** 서버가 `CADXRAY_LAUNCH=on`이면 스스로 띄우고 툴 응답에 `auto_launched`가 붙어 온다 — 그때는 "FreeCAD를 자동으로 띄웠습니다"라고 알린다.
3. **결과 처리**
   - `launched: true, addon_ready: true` → "FreeCAD <버전>이 떴습니다(<elapsed_s>초)" → `ping` → 원래 요청을 이어서 한다. `documents: 0`이면 어느 파일을 열지 묻거나 `open_document`.
   - `launched: false, reason: already_running` → 이미 떠 있다. 바로 이어서 한다.
   - `launch_timeout` → 프로세스는 남아 있다. "FreeCAD 창에 복구·저장 대화상자가 있는지, CAD X-ray 메뉴의 Auto Start가 켜져 있는지 봐 주세요"라고 하고, 사용자가 확인했다고 하면 **`ping`만** 다시 부른다(다시 띄우지 않는다).
   - `launch_failed` → 종료 코드와 함께 "FreeCAD를 직접 실행해 오류를 확인해 보세요"로 전한다.
   - `freecad_busy`(포트 열림·무응답, `port_open_no_response`) → 띄우지 않는다. "FreeCAD가 응답하지 않습니다. 대화상자나 긴 작업이 있는지 창을 확인해 주세요". 두 번째 FreeCAD를 띄우면 포트 충돌이 난다.

## 하지 않는 것

- 연달아 여러 번 띄우기 — 한 번 실패하면 사용자에게 돌아간다
- `execute_code`로 FreeCAD를 끄거나 재시작하기
- 설정 변경을 먼저 권하기 — 사용자가 "매번 묻지 말고 자동으로"라고 하면 그때 안내한다: 등록 명령 끝에 `--launch on`(예: `claude mcp add --scope user cadxray -- uvx --from git+https://github.com/WaveSimm/cadxray#subdirectory=bridge cadxray --launch on`), 또는 MCP 설정의 `env`에 `CADXRAY_LAUNCH=on`. 끄려면 `off`. 설치가 여럿이면 `--freecad-exe "<경로>"`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.