레이블이 Claude인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Claude인 게시물을 표시합니다. 모든 게시물 표시

2026년 11월 27일 금요일

[English] Connecting Claude and Blender in Practice: From Installation to a Moving Cat Character

This is a write-up of using Claude and Blender together to build a cat character and make it move. I started as a Blender beginner, and I have included what worked and what did not. It covers installation, the ways to connect the two, two worked examples, and the limits I ran into.

Korean version: see the Korean post on this blog.

Cat character animated in Blender

A single picture animated in Blender. The head, belly, tail, feet, and speech bubble move separately.

1. Setup: install both programs

ProgramDownloadNotes
Claude Desktopclaude.ai/downloadDesktop app for Windows and macOS. Sign in after installing.
Blenderblender.org/downloadFree and open source. This post uses version 5.3 (released November 2026).

Install both on the same PC.

2. Three ways to connect Claude and Blender

MethodHow it worksUsed here?
A. Hand over a scriptClaude writes a Python script for Blender, and you paste it into Blender's Scripting tab and run it.Yes
B. Hand over filesWith a PC folder connected to Claude Desktop, Claude builds the scene with Blender's Python module in its own workspace, renders it, and saves the .blend file and video into that folder. You just open the file.Yes
C. Official Blender connectorWith an MCP add-on installed in Blender, Claude connects to the running Blender, reads the scene, and runs code.No (setup steps are in section 7)

A is the simplest, and B was the most convenient for getting a finished result. C is the right choice for working conversationally inside Blender.

3. Example 1: a 3D cat from a script

I asked Claude for "an anime-style cat in orange and black, a little sly but cute." Claude wrote a Python script that combines spheres, cones, and curves, rendered it to show me the result, and then handed over the script.

3D calico cat built from a script

A calico cat made entirely from a script. The outlines come from Blender's Freestyle feature.

How to run it

  1. Go to the Scripting tab at the top of Blender.
  2. Click New and paste the script.
  3. Click Run Script (Alt+P).
  4. Press F12 to render.

The skeleton of the script looks like this. One function creates a sphere with a size and material and links it to a collection, and it is called once per body part.

import bpy, bmesh

def add_sphere(col, name, mat, location, scale):
    bm = bmesh.new()
    bmesh.ops.create_uvsphere(bm, u_segments=24, v_segments=12, radius=1.0)
    mesh = bpy.data.meshes.new(name)
    bm.to_mesh(mesh); bm.free()
    obj = bpy.data.objects.new(name, mesh)
    obj.location, obj.scale = location, scale
    obj.data.materials.append(mat)
    obj.modifiers.new("Subdivision", "SUBSURF").levels = 2
    col.objects.link(obj)
    return obj

add_sphere(col, "Body", body_mat, (0, 0.1, 0.5), (0.62, 0.58, 0.60))
add_sphere(col, "Head", head_mat, (0, 0, 1.38), (0.98, 0.86, 0.82))

What got fixed along the way

  • The eyes were first built by stacking several flattened spheres, which looked misaligned depending on the camera angle. Drawing the eyes directly into the head material made them clean.
  • The patches were made with shader nodes and no texture image. The material carries a rule like "anything within a certain distance of this point is black."
  • The colors looked washed out, so the View Transform in color management was changed to Standard.

4. Example 2: turning one picture into a moving character

Combining primitives did not get the character to the level I wanted. So I brought in a cat picture made with an image-generation AI and animated the picture itself in Blender. The animation at the top of this post is the result.

How it works

  1. Map the picture onto a dense grid plane.
  2. For each part that should move (head, belly, tail), set a center and an area of influence in pixel coordinates.
  3. Create a Shape Key per part that slightly rotates or bulges the grid.
  4. Keyframe the Shape Key values so they loop.

The technique is similar to Live2D, so the original picture keeps its quality. The part definitions look like this.

PARTS = [
    dict(name="Head", kind="rotate", center=(265, 165), inner=95, outer=150,
         pivot=(300, 265), deg=3.0, beats=1, swing=True),
    dict(name="Belly", kind="bulge", center=(362, 300), inner=10, outer=95,
         px=7.0, beats=2, swing=False),
    dict(name="Tail", kind="rotate", center=(495, 245), inner=45, outer=70,
         pivot=(470, 300), deg=7.0, beats=3, swing=True),
]

I received this example through method B. Claude saved a .blend file with the picture packed inside and a pre-rendered MP4 into my Downloads folder, and I only had to open the file and press the spacebar.

If you only see a gray plane: the viewport is in Solid mode. Click the third sphere icon (Material Preview) at the top right of the viewport to see the picture. Numpad 0 switches to the camera view.

5. What I learned

  • Claude is not a drawing tool. The sketches it showed in chat were shapes combined with code. Character art needs an image-generation tool or a human artist.
  • Script-built 3D models stop at simple forms. Organic shapes like a chin-resting pose or a soft belly do not come out of spheres and cones.
  • A 2D puppet only looks natural for small movements. There is no side or back view, and large actions like walking do not work. Blinking needs a separate closed-eye drawing.
  • If the goal is a 3D character you can rotate, the realistic route is to generate a model from the picture with an image-to-3D tool (Meshy, Tripo, Hunyuan3D, and others) and refine it in Blender. I have not tried this part yet.
  • I also tried having Claude operate Blender directly with the mouse while watching the screen, and it failed. Clicks on the top tabs did not register, and control was blocked whenever another window came to the front. Exchanging scripts or files was far more reliable.
  • Copyright: I went with an original design instead of imitating a famous character. That is the safe choice for a blog or an app.

6. Requests that worked well with Claude

  • Describe the feel concretely: "darker colors, sly but cute."
  • Point out problems as soon as you see them: one line, "what's wrong with the eyes?", led to two causes being found and fixed.
  • Attach a reference picture: much faster than describing it in words.
  • Give the file path: once I named the folder with the picture, the result files were placed there.

7. Next step: the official Blender connector (method C)

An official Blender connector was released in April 2026. The steps below summarize the official instructions; I have not verified them myself.

  1. In Claude Desktop, go to Customize > Connectors (Settings > Connectors in some versions), search for Blender, and add it.
  2. Open blender.org/lab/mcp-server in a browser and drag the install link into the Blender window. The first drag adds the lab extension repository, and a second drag installs the add-on.
  3. In Blender, go to Edit > Preferences > Add-ons, expand the MCP entry, and start the server. The defaults are localhost and port 9876.
  4. Ask Claude "list the objects in the current Blender scene" to confirm the connection.

A few notes:

  • It does not work on claude.ai in a web browser. You need the desktop app.
  • Anthropic's tutorial says Blender 4.2 or later, but hands-on reports say the official add-on requires 5.1 or later.
  • The server runs AI-generated code inside Blender without safeguards. Back up important files, and ask to see the code before it runs.
  • On older Blender versions or other clients, the community project ahujasid/blender-mcp is also an option.

8. References

Written in November 2026 on Windows with Blender 5.3.

Claude와 Blender 연동 실전기: 설치부터 움직이는 고양이 캐릭터까지

Claude와 Blender를 함께 써서 고양이 캐릭터를 만들고 움직여 본 과정을 정리했습니다. Blender를 처음 만져 보는 상태에서 시작했고, 잘된 것과 안 된 것을 모두 적었습니다. 설치부터 연동 방식, 실제 예제 두 가지, 그리고 해 보면서 알게 된 한계까지 다룹니다.

English version: 이 블로그의 English 라벨 글을 참고하세요.

Blender에서 움직이는 고양이 캐릭터

그림 한 장을 Blender에서 움직이게 만든 결과입니다. 머리, 배, 꼬리, 발, 말풍선이 따로 움직입니다.

1. 준비: 두 프로그램 설치

프로그램받는 곳비고
Claude Desktopclaude.ai/downloadWindows, macOS용 데스크톱 앱. 설치 후 로그인합니다.
Blenderblender.org/download무료 오픈소스. 이 글은 5.3 버전(2026년 11월 출시)으로 진행했습니다.

두 프로그램은 같은 PC에 설치합니다.

2. Claude와 Blender를 잇는 세 가지 방식

방식어떻게 동작하나이번에 써 봤나
A. 스크립트 전달Claude가 Blender용 Python 스크립트를 써 주고, 사용자가 Blender의 Scripting 탭에 붙여 넣어 실행합니다.사용
B. 파일 전달Claude Desktop에 PC 폴더를 연결해 두면, Claude가 자기 작업 환경에서 Blender의 Python 모듈로 장면을 만들고 렌더링한 뒤 .blend 파일과 영상을 그 폴더에 저장합니다. 사용자는 파일을 열기만 합니다.사용
C. 공식 Blender 커넥터Blender에 MCP 애드온을 설치하면 Claude가 실행 중인 Blender에 접속해 장면을 읽고 코드를 실행합니다.미사용 (설정법만 7장에 정리)

가장 단순한 것은 A이고, 결과물을 바로 받아 보기에는 B가 편했습니다. Blender 안에서 대화하듯 작업하려면 C가 맞습니다.

3. 예제 1: 스크립트로 3D 고양이 만들기

Claude에게 "주황색과 검은색이 섞인, 약간 능글맞지만 귀여운 애니메이션풍 고양이"를 부탁했습니다. Claude는 구, 원뿔, 곡선을 조합하는 Python 스크립트를 작성했고, 직접 렌더링해서 결과를 보여 준 뒤 스크립트를 넘겨주었습니다.

스크립트로 만든 3D 삼색 고양이

스크립트만으로 만든 삼색 고양이. 외곽선은 Blender의 Freestyle 기능입니다.

실행 방법

  1. Blender 상단의 Scripting 탭으로 이동합니다.
  2. New를 누르고 스크립트를 붙여 넣습니다.
  3. Run Script(Alt+P)를 누릅니다.
  4. F12로 렌더링합니다.

스크립트의 뼈대는 이런 식입니다. 구 하나를 만들어 크기와 재질을 주고 컬렉션에 넣는 함수를 만든 뒤, 부위마다 호출합니다.

import bpy, bmesh

def add_sphere(col, name, mat, location, scale):
    bm = bmesh.new()
    bmesh.ops.create_uvsphere(bm, u_segments=24, v_segments=12, radius=1.0)
    mesh = bpy.data.meshes.new(name)
    bm.to_mesh(mesh); bm.free()
    obj = bpy.data.objects.new(name, mesh)
    obj.location, obj.scale = location, scale
    obj.data.materials.append(mat)
    obj.modifiers.new("Subdivision", "SUBSURF").levels = 2
    col.objects.link(obj)
    return obj

add_sphere(col, "Body", body_mat, (0, 0.1, 0.5), (0.62, 0.58, 0.60))
add_sphere(col, "Head", head_mat, (0, 0, 1.38), (0.98, 0.86, 0.82))

과정에서 고친 것

  • 처음에는 눈을 납작한 구 여러 개를 겹쳐 만들었는데, 카메라 각도에 따라 어긋나 보였습니다. 눈을 머리 재질에 직접 그려 넣는 방식으로 바꾸니 깔끔해졌습니다.
  • 얼룩무늬는 텍스처 이미지 없이 셰이더 노드로 만들었습니다. "이 점에서 일정 거리 안쪽은 검정"이라는 규칙을 재질에 넣는 방식입니다.
  • 색이 뿌옇게 나와서 색 관리의 View Transform을 Standard로 바꿨습니다.

4. 예제 2: 그림 한 장을 움직이는 캐릭터로

도형 조합으로는 원하는 수준의 캐릭터가 나오지 않았습니다. 그래서 이미지 생성 AI로 만든 고양이 그림을 가져와, 그 그림 자체를 Blender에서 움직이게 했습니다. 글 맨 위의 애니메이션이 그 결과입니다.

원리

  1. 그림을 촘촘한 격자 평면에 입힙니다.
  2. 머리, 배, 꼬리처럼 움직일 부위마다 중심점과 영향 범위를 픽셀 좌표로 정합니다.
  3. 부위별로 격자를 살짝 회전시키거나 부풀린 Shape Key를 만듭니다.
  4. Shape Key 값에 키프레임을 주어 반복시킵니다.

Live2D와 비슷한 기법이라 원본 그림의 품질이 그대로 유지됩니다. 부위 정의는 이렇게 생겼습니다.

PARTS = [
    dict(name="Head", kind="rotate", center=(265, 165), inner=95, outer=150,
         pivot=(300, 265), deg=3.0, beats=1, swing=True),
    dict(name="Belly", kind="bulge", center=(362, 300), inner=10, outer=95,
         px=7.0, beats=2, swing=False),
    dict(name="Tail", kind="rotate", center=(495, 245), inner=45, outer=70,
         pivot=(470, 300), deg=7.0, beats=3, swing=True),
]

이 예제는 방식 B로 받았습니다. Claude가 그림을 포함한 .blend 파일과 미리 렌더링한 MP4를 다운로드 폴더에 저장해 주었고, 저는 파일을 열어 스페이스바로 재생만 했습니다.

열었는데 회색 판만 보인다면: 뷰포트 표시 모드가 Solid이기 때문입니다. 뷰포트 오른쪽 위의 구 아이콘 중 세 번째(Material Preview)를 누르면 그림이 보입니다. 숫자패드 0을 누르면 카메라 시점이 됩니다.

5. 해 보고 알게 된 것

  • Claude는 그림을 그려 주는 도구가 아닙니다. 채팅에서 보여 준 스케치는 도형을 코드로 조합한 수준이었습니다. 캐릭터 원화는 이미지 생성 도구나 사람이 그린 그림이 필요합니다.
  • 스크립트로 만든 3D 모델은 단순한 형태까지입니다. 턱을 괸 자세나 흐물흐물한 뱃살 같은 유기적인 형태는 구와 원뿔 조합으로 나오지 않습니다.
  • 2D 퍼펫은 작은 움직임에만 자연스럽습니다. 옆모습이나 뒷모습은 볼 수 없고, 걷기 같은 큰 동작은 안 됩니다. 눈 깜빡임은 감은 눈 그림이 따로 있어야 합니다.
  • 돌려 볼 수 있는 3D 캐릭터가 목표라면 그림을 3D 모델로 바꿔 주는 도구(Meshy, Tripo, Hunyuan3D 등)로 모델을 먼저 뽑고, Blender에서 다듬는 흐름이 현실적입니다. 이 부분은 아직 해 보지 않았습니다.
  • Claude가 화면을 보며 Blender를 마우스로 직접 조작하는 것도 시도했는데 실패했습니다. 상단 탭 클릭이 먹지 않았고, 다른 창이 앞으로 나올 때마다 조작이 막혔습니다. 스크립트나 파일로 주고받는 쪽이 훨씬 안정적이었습니다.
  • 저작권: 기존 유명 캐릭터를 본뜨는 대신 오리지널 디자인으로 진행했습니다. 블로그나 앱에 쓰려면 이쪽이 안전합니다.

6. Claude에게 잘 통했던 요청 방식

  • 원하는 느낌을 구체적으로: "더 짙은 색으로, 능글맞지만 귀엽게"
  • 결과를 보고 바로 지적: "눈이 왜 그래?" 한마디에 원인 두 가지를 찾아 고쳤습니다.
  • 참고 그림을 직접 첨부: 말로 설명하는 것보다 훨씬 빨랐습니다.
  • 파일 경로를 알려 주기: 그림이 있는 폴더를 알려 주니 결과 파일을 그 폴더에 넣어 주었습니다.

7. 다음 단계: 공식 Blender 커넥터 (방식 C)

2026년 4월에 공식 Blender 커넥터가 나왔습니다. 아래는 공식 안내를 정리한 것이고, 제가 직접 검증한 내용은 아닙니다.

  1. Claude Desktop의 Customize > Connectors(버전에 따라 Settings > Connectors)에서 Blender를 검색해 추가합니다.
  2. 브라우저에서 blender.org/lab/mcp-server를 열고, 설치 링크를 Blender 창으로 끌어다 놓습니다. 처음에는 lab 확장 저장소가 추가되고, 한 번 더 끌어다 놓으면 애드온이 설치됩니다.
  3. Blender의 Edit > Preferences > Add-ons에서 MCP 항목을 펼쳐 서버를 시작합니다. 기본값은 localhost, 포트 9876입니다.
  4. Claude에게 "지금 Blender 장면의 오브젝트 목록을 알려 줘"라고 물어 연결을 확인합니다.

참고할 점이 있습니다.

  • 웹 브라우저의 claude.ai에서는 동작하지 않고 데스크톱 앱이 필요합니다.
  • Anthropic 안내서는 Blender 4.2 이상이라고 하지만, 공식 애드온이 5.1 이상을 요구한다는 사용 후기가 있습니다.
  • 이 서버는 AI가 만든 코드를 안전장치 없이 Blender 안에서 실행합니다. 중요한 파일은 백업해 두고, 실행 전에 코드를 먼저 보여 달라고 요청하는 것이 좋습니다.
  • 구버전 Blender나 다른 클라이언트에서는 커뮤니티 프로젝트 ahujasid/blender-mcp도 쓸 수 있습니다.

8. 참고 링크

2026년 11월, Windows와 Blender 5.3 기준으로 작성했습니다.