Command Palette

Search for a command to run...

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

houdini

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

SideFX Houdini is a node-based 3D application for procedural modeling, simulation, visual effects and USD scene assembly, scripted with VEX and Python (the…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

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

SideFX Houdini — Procedural 3D & VFX

Overview

Houdini builds everything as networks of nodes: change a parameter upstream and everything downstream recooks. An agent cannot click in the interface, so its useful work is text: VEX snippets for wrangle nodes, Python that drives the hou module, shell commands for the batch tools (hython, hbatch, hrender, husk), and node recipes the artist wires by hand.

Houdini is closed source. Node type names, parameter names and function signatures change between versions, so take them from the installed version (section 3 shows how) or from the documentation at sidefx.com/docs/houdini, never from memory.

Instructions

1. Know the network types

Network What it holds
SOP (geometry) Modeling and geometry processing; also SOP-level solvers for pyro, FLIP, Vellum, RBD, MPM
DOP (dynamics) Low-level simulation networks; working in them directly needs Houdini FX
LOP (Solaris) USD scene assembly, lookdev, lighting, Karma render settings
TOP (PDG) Work items and dependencies for batch jobs and farm submission
COP (Copernicus) Image processing and texture generation
CHOP, VOP Channel/motion data; visual VEX networks
ROP (/out) Render and export nodes: USD Render, Karma, Mantra, Geometry, Alembic, Filmbox FBX

Objects live under /obj, render nodes under /out, the default TOP network under /tasks, LOP networks under /stage.

2. Run Houdini's tools from a shell

The command-line programs sit in $HFS/bin. Load the environment first:

cd /opt/hfs22.0.459 && source houdini_setup    # Linux
# macOS: open "Houdini Terminal" from the Utilities folder of the install
# Windows: Start menu > Side Effects Software > Houdini > Command Line Tools
hython shots/sh010.hip        # Python shell with hou imported and the scene loaded
hython build_scene.py         # run a Python script
hbatch shots/sh010.hip        # HScript shell: "render mantra1" at its prompt renders that ROP
hrender -e -f 1001 1048 -d /out/mantra1 shots/sh010.hip    # render a frame range of one ROP
husk -h                       # most programs in $HFS/bin print usage with -h

hython and hbatch check out a Houdini Engine licence first, then Core, then FX; hython --list-license-checks prints the list. To change that, put licence options in HOUDINI_HYTHON_LIC_OPT, for example --check-licenses=Houdini-Escape --skip-licenses=Houdini-Engine,Houdini-Master for Core only (Escape is the internal name of Core, Master of FX). The older HOUDINI_SCRIPT_LICENSE variable is deprecated. A plain Python interpreter can also import hou once $HFS/houdini/pythonX.Ylibs is on sys.path; that uses a licence too, and hou.releaseLicense() gives it back.

3. Script scenes with Python (hou)

# build_scene.py — run with: hython build_scene.py
import hou

hou.hipFile.clear()
geo = hou.node("/obj").createNode("geo", "crate")
box = geo.createNode("box")
subd = geo.createNode("subdivide")
subd.parm("iterations").set(3)
subd.setFirstInput(box)

wrangle = geo.createNode("attribwrangle", "color_by_height")
wrangle.setInput(0, subd)
wrangle.parm("snippet").set("@Cd = set(fit(@P.y, -0.5, 0.5, 0, 1), 0.4, 0.1);")
wrangle.setDisplayFlag(True)
wrangle.setRenderFlag(True)
geo.layoutChildren()

geometry = wrangle.geometry()                 # cooks the node if needed
print(len(geometry.points()), "points")
for point in geometry.points()[:3]:
    print(point.number(), point.position(), point.attribValue("Cd"))

geometry.saveToFile("crate.bgeo")
hou.hipFile.save("crate.hip")

Find the real names instead of guessing them:

node = hou.node("/obj/crate/color_by_height")
node.type().name()                               # type name to pass to createNode()
[p.name() for p in node.parms()]                 # internal parameter names
print(node.asCode())                             # Python that recreates this node
sorted(hou.sopNodeTypeCategory().nodeTypes())    # every SOP type in this build
node.errors(), node.warnings()                   # messages from the last cook

Other calls worth knowing: hou.hipFile.load(path) raises hou.LoadWarning when the file loads with warnings (catch it and continue); hou.node("/out/mantra1").render(frame_range=(1001, 1048), verbose=True) renders a ROP; hou.parm("/obj/crate/tx").set(2.5) and hou.node("/obj/crate").parmTuple("t").set((1, 2, 3)) set values; with hou.undos.group("Rename props"): makes a block of changes one undo step in an interactive session.

4. Write VEX for wrangle nodes

An Attribute Wrangle runs the snippet once per point, primitive, vertex or once for the whole geometry (its Run Over parameter). Rules that matter:

  • @name reads or writes an attribute; writing a new one creates it. Unknown attributes are float unless prefixed: f@ float, i@ int, v@ vector, u@ vector2, p@ vector4, s@ string, 3@/4@ matrices.
  • Known withou
Полный SKILL.md на GitHub

Установить houdini в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

_scores.json

FAQ

Что делает скилл houdini?

SideFX Houdini is a node-based 3D application for procedural modeling, simulation, visual effects and USD scene assembly, scripted with VEX and Python (the hou module). Use when a user asks to "write a VEX wrangle", "script Houdini with Python", "run hython from the command line", "render a USD file with husk", "set up a pyro, FLIP, Vellum or RBD simulation", "batch-process assets with PDG", or "build a Houdini digital asset (HDA)". Covers Houdini 22: network types, VEX snippets, hou scripting, the command-line tools, Solaris and Karma, PDG/TOPs, HDAs and licence editions.

Как установить скилл houdini?

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

Скилл houdini запускает скрипты?

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

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

Сравнить houdini с