Communitygithub.com

cli-anything-blender

Blender 3D 씬 편집을 위한 상태 저장 명령줄 인터페이스(CLI)로, GIMP CLI 하네스와 동일한 패턴을 따릅니다.

cli-anything-blender란 무엇인가요?

cli-anything-blender는 Blender의 3D 씬 편집을 위해 설계된 상태 저장 명령줄 인터페이스입니다. GIMP CLI 하네스와 동일한 패턴을 따라 JSON 씬 설명 형식을 사용하며, 실제 Blender 렌더링을 위해 bpy 스크립트를 생성합니다. CLI는 물체 추가, 변형, 재질 적용, 카메라/조명 관리, 애니메이션 키프레임 설정, 렌더링 설정 구성, 그리고 실시간 미리보기 세션을 포함한 포괄적인 3D 편집 기능을 제공합니다. Python 3.10+와 Blender 4.2+가 필요하며, JSON 출력 모드를 지원하여 AI 에이전트가 구조화된 데이터를 쉽게 소비할 수 있습니다. 특히 'preview capture' 및 'preview live' 명령어를 통해 시각적 검증 기능을 제공하여, 에이전트가 단순한 JSON 데이터만으로 씬 품질을 추론하는 대신 실제 렌더링 결과를 확인할 수 있도록 합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-blender

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

cli-anything-blender은(는) 무엇을 하나요?

GIMP CLI 하네스와 동일한 패턴을 따르는 3D 씬 편집용 상태 저장 명령줄 인터페이스입니다. 실제 Blender 렌더링을 위해 bpy 스크립트 생성을 포함한 JSON 씬 설명 형식을 사용합니다.

설치

이 CLI는 cli-anything-blender 패키지의 일부로 설치됩니다:

pip install cli-anything-blender

전제 조건:

  • Python 3.10+
  • 시스템에 Blender (>= 4.2)가 설치되어 있어야 합니다

사용법

기본 명령어

# 도움말 표시
cli-anything-blender --help

# 대화형 REPL 모드 시작
cli-anything-blender

# 새 씬 프로젝트 생성
cli-anything-blender scene new -o scene.blend-cli.json

# JSON 출력으로 실행 (에이전트 소비용)
cli-anything-blender --json --project scene.blend-cli.json scene info

REPL 모드

하위 명령어 없이 호출하면 CLI가 대화형 REPL 세션에 진입합니다:

cli-anything-blender
# 탭 완성 및 히스토리와 함께 대화형으로 명령어 입력

명령어 그룹

Scene (씬)

씬 관리 명령어입니다.

명령어설명
new새 씬 생성
open기존 씬 열기
save현재 씬 저장
info씬 정보 표시
profiles사용 가능한 씬 프로필 목록
json원시 씬 JSON 출력

Object Group (오브젝트 그룹)

3D 오브젝트 관리 명령어입니다.

명령어설명
add3D 기본 오브젝트 추가
remove인덱스로 오브젝트 제거
duplicate오브젝트 복제
transform오브젝트 변형 (이동, 회전, 크기 조절)
set오브젝트 속성 설정 (이름, 가시성, 위치, 회전, 크기, 부모)
list모든 오브젝트 나열
get오브젝트에 대한 상세 정보 가져오기

Material (재질)

재질 관리 명령어입니다.

명령어설명
create새 재질 생성
assign오브젝트에 재질 할당
set재질 속성 설정 (색상, 금속성, 거칠기, 반사도, 알파 등)
list모든 재질 나열
get재질에 대한 상세 정보 가져오기

Modifier Group (모디파이어 그룹)

모디파이어 관리 명령어입니다.

명령어설명
list-available사용 가능한 모든 모디파이어 나열
info모디파이어에 대한 세부 정보 표시
add오브젝트에 모디파이어 추가
remove인덱스로 모디파이어 제거
set모디파이어 매개변수 설정
list오브젝트의 모디파이어 나열

Camera (카메라)

카메라 관리 명령어입니다.

명령어설명
add씬에 카메라 추가
set카메라 속성 설정
set-active활성 카메라 설정
list모든 카메라 나열

Light (조명)

조명 관리 명령어입니다.

명령어설명
add씬에 조명 추가
set조명 속성 설정
list모든 조명 나열

Animation (애니메이션)

애니메이션 및 키프레임 명령어입니다.

명령어설명
keyframe오브젝트에 키프레임 설정
remove-keyframe오브젝트에서 키프레임 제거
frame-range애니메이션 프레임 범위 설정
fps애니메이션 FPS 설정
list-keyframes오브젝트의 키프레임 나열

Render Group (렌더 그룹)

렌더 설정 및 출력 명령어입니다.

명령어설명
settings렌더 설정 구성
info현재 렌더 설정 표시
presets사용 가능한 렌더 프리셋 나열
execute씬 렌더링 (bpy 스크립트 생성)
script렌더링 없이 bpy 스크립트 생성

Preview (미리보기)

실제 미리보기 번들 캡처 및 실시간 미리보기 세션 명령어입니다.

명령어설명
preview recipes사용 가능한 미리보기 레시피 나열
preview capture활성 씬의 실제 미리보기 번들 렌더링
preview latest가장 최근의 기존 미리보기 번들 반환
preview live start실시간 미리보기 세션 시작 및 첫 번째 번들 게시
preview live push실시간 세션에 새로 고침된 번들 게시
preview live status렌더링 없이 현재 실시간 세션 상태 읽기
preview live stop아티팩트 삭제 없이 실시간 세션 중지

레시피 quick의 일반적인 번들 아티팩트:

  • hero.png (실제 Eevee 미리보기 렌더링)
  • workbench.png (실제 Blender Workbench 렌더링)

실시간 세션 지속성:

  • session.json (변경 가능한 헤드)
  • 불변 번들 디렉터리
  • trajectory.json (추가 전용 명령-미리보기 히스토리)

뷰어 측:

  • cli-hub previews inspect <번들-또는-세션>
  • cli-hub previews html <번들-또는-세션> -o page.html
  • cli-hub previews watch <세션-디렉터리> --open
  • cli-hub previews open <번들-또는-세션>

Session (세션)

세션 관리 명령어입니다.

명령어설명
status세션 상태 표시
undo마지막 작업 실행 취소
redo마지막으로 취소한 작업 다시 실행
history실행 취소 기록 표시

예제

새 프로젝트 만들기

새 Blender 씬 프로젝트 파일을 만듭니다.

cli-anything-blender scene new -o myscene.blend-cli.json
# 또는 프로그램적 사용을 위한 JSON 출력
cli-anything-blender --json scene new -o myscene.blend-cli.json

대화형 REPL 세션

실행 취소/다시 실행 지원으로 대화형 세션을 시작합니다.

cli-anything-blender
# 대화형으로 명령어 입력
# 사용 가능한 명령어를 보려면 'help' 사용
# 기록 탐색을 위해 'undo' 및 'redo' 사용

상태 관리

CLI는 다음을 통해 세션 상태를 유지합니다:

  • 실행 취소/다시 실행: 최대 50단계의 기록
  • 프로젝트 지속성: JSON으로 프로젝트 상태 저장/로드
  • 세션 추적: 수정 사항 및 변경 사항 추적

출력 형식

모든 명령어는 이중 출력 모드를 지원합니다:

  • 사람이 읽을 수 있는 형식 (기본값): 표, 색상, 서식화된 텍스트
  • 기계가 읽을 수 있는 형식 (--json 플래그): 에이전트 소비를 위한 구조화된 JSON
# 사람 출력
cli-anything-blender --project scene.blend-cli.json scene info

# 에이전트용 JSON 출력
cli-anything-blender --json --project scene.blend-cli.json scene info

미리보기 워크플로우

에이전트가 신뢰할 수 있는 시각적 체크포인트가 필요할 때 Blender 미리보기를 사용하세요:

# 미리보기 레시피 나열
cli-anything-blender --project scene.blend-cli.json preview recipes

# 실제 미리보기 번들 캡처
cli-anything-blender --json --project scene.blend-cli.json preview capture --recipe quick

# 실시간 미리보기 루프 시작
cli-anything-blender --json --project scene.blend-cli.json preview live start --recipe quick --mode poll --source-poll-ms 500

# 렌더링 없이 현재 실시간 헤드 쿼리
cli-anything-blender --json --project scene.blend-cli.json preview live status --recipe quick

에이전트의 경우, preview capture --json은 번들 메타데이터와 아티팩트 파일 경로를 반환합니다. preview live status --json은 세션 메타데이터와 간결한 trajectory_summary를 반환합니다.

AI 에이전트용

이 CLI를 프로그래밍 방식으로 사용할 때:

  1. 항상 --json 플래그 사용 - 파싱 가능한 출력을 위해
  2. 반환 코드 확인 - 0은 성공, 0이 아니면 오류
  3. stderr 파싱 - 실패 시 오류 메시지 확인
  4. 필수: 모든 파일 작업에 절대 경로 사용 (렌더링, 프로젝트 파일). 상대 경로는 백그라운드 실행에서 실패하기 쉽습니다.
  5. 시각적 확인을 위해 preview capture 또는 preview live ... 사용 - JSON만으로 씬 품질을 추론하지 마십시오
  6. 반환된 아티팩트 경로 읽기 (예: hero.png 및 workbench.png); JSON 페이로드는 파일을 참조할 뿐, 이미지 바이트를 인라인으로 포함하지 않습니다
  7. _bundle_dir을 하나의 스냅샷으로만 처리; 안정적인 실시간 기록을 위해서는 _session_dir과 _trajectory_path를 사용하십시오
  8. cli-hub previews ...는 기존 미리보기를 검사하거나 여는 데만 사용; 미리보기 생성 자체는 항상 cli-anything-blender preview ...를 통해 이루어집니다

추가 정보

  • 전체 문서: 패키지의 README.md 참조
  • 테스트 적용 범위: 패키지의 TEST.md 참조
  • 방법론: cli-anything-plugin의 HARNESS.md 참조

버전

1.0.0

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

cli-anything-inkscape

>-

관련 스킬