Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nodetool-3d-scene

БесплатноБез исполняемых скриптовНе проверен

Build, edit, validate or render a NodeTool 3D model: glTF primitives, transforms, lights, material colors, blockout sets with posed figures and named cameras…

nodetool-aiот nodetool-ai★ 674 звезды на GitHub

Об этом скилле

Work a NodeTool 3D model

A 3D model is a .glb or .gltf asset, addressed by its asset id. The capabilities edit the stored glTF in place and save it back over the same asset, so the id stays valid and an open editor reloads it.

For a playable game, 2D or 3D, use native-game: it authors 3D games with dimension: "3d". For a 3D clip inside a cut, build the model here and place it on a timeline.

The loop

  1. Find it. list_model3ds returns asset id, name, content type and size. Nothing to start from: create_model3d {name, ops?} makes an empty glTF scene and can apply the whole scene in the same call.
  2. Read it. get_model3d {model_id} lists every object with its uuid, name, type, visibility, transform and material color, plus the scene's world-space bounds. A figure also lists its figure (body, pose, height, entityId, label) and a camera its camera (fovDeg, aspectRatio, znear, zfar). Call this before editing, for the uuids.
  3. Edit. edit_model3d {model_id, ops: [...]}. Operations run in order. Anything they do not name — meshes, textures, skins, animations — is kept, so an imported model survives an edit.
  4. Validate. validate_model3d {model_id | document}.
  5. Render, when a picture is asked for. render_model3d {model_id} goes through headless Blender, honors scene cameras and lights, and stores a PNG asset. It needs Blender on the server and is not offered on the cloud profile. engine is eevee (default, fast) or cycles (slower); camera_mode is auto, scene or orbit. A Cycles render blocks the call, so pass background: true to get a generation_id at once and collect the PNG with await_generation.

A real mesh

The ops add primitives only. For an object with real geometry, generate one: run_node with nodetool.model3d.TextTo3D {model, prompt} or nodetool.model3d.ImageTo3D {model, image} returns a model_3d output. Read get_node_info first for the model field's shape. These call a paid provider, so confirm with the user before generating. The other nodetool.model3d.* nodes (Decimate, RepairMesh, FormatConverter, Transform3D, …) and the nodetool.blender.* nodes process a mesh inside a workflow.

edit_model3d ops

Op Fields
add_object kind: box, sphere, plane, cylinder, torus, directionalLight, pointLight, figure, camera. Optional name, position. A figure also takes body, pose, height, color, entityId, label. A camera also takes fovDeg, lookAt, aspectRatio, znear, zfar
add_model model: a .glb/.gltf id or asset:// URI from list_model3ds. Optional name, position (where its bottom center stands), height in meters. The model is copied in as one object with its meshes, textures and animations. A .gltf whose buffers or images are separate files is refused
delete_object target
set_transform position, rotation (Euler degrees), scale, each [x, y, z]
set_visibility visible
rename_object target, name
set_material_color color as a CSS hex string, meshes and figures
select_object target, or null to clear
set_figure target, and any of body, pose, height, color, entityId, label
set_camera target, and any of position, lookAt, fovDeg, aspectRatio, znear, zfar

target is a uuid or a name. Object ids are stamped into node.extras.nodetool_id, because glTF addresses nodes by array index and a delete renumbers them. Duplicate names make addressing ambiguous, which validate_model3d warns about.

delete_object keeps the file valid: an animation left with no channels is removed, and so is a skin that lost a joint, which leaves its mesh in the bind pose. set_material_color recolors only the named object, copying a material or mesh it shares with another object first.

These are the ui_3d_* verbs with no editor open. The operations, the units and the addressing live in @nodetool-ai/model3d, shared with the browser editor, so a model built headlessly opens there unchanged. Headlessly, a light is a directionalLight or pointLight and a material can only be recolored. Light settings, other material fields and parenting need the open editor: ui_3d_set_light, ui_3d_set_material, ui_3d_set_parent.

Blockout sets

A blockout is a rough set that a timeline model3d clip films as a reference for a video model: boxes for walls and furniture, figures for the cast, and named cameras for the views. The scene is +Y up, in meters, with the ground at y = 0.

Figures. add_object {kind: "figure"} adds a jointed mannequin of plain meshes. Its origin is on the ground under the hips, it faces +Z, and its left side is +X. Turn it with set_transform rotation: [0, degrees, 0].

Field Values
body male (1.8 m, default), female (1.65 m), child (1.2 m)
Полный SKILL.md на GitHub

Установить nodetool-3d-scene в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл nodetool-3d-scene?

Build, edit, validate or render a NodeTool 3D model: glTF primitives, transforms, lights, material colors, blockout sets with posed figures and named cameras, generated meshes, and headless Blender renders. For a playable 3D game, use native-game.

Как установить скилл nodetool-3d-scene?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nodetool-3d-scene запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nodetool-3d-scene с