Utility node ยท time dependent

python

Free-form Python SOP: full control for anything no node covers. Variables: inputs (list of Geometry copies), geo (= inputs[0] or empty Geometry), Geometry, np, math, noise, mat_trs, rng, F, T, scene, params (dict from 'params' json). Set `geo` (or return via `result = Geometry`) to produce the output. Example: pts = rng.uniform(-5, 5, (200, 3)); pts[:,1] = 0 geo = Geometry.from_arrays(pts) geo.point_attribs['pscale'] = rng.uniform(0.2, 1, 200)

Inputs

Parameters 3

codecode

Python source; see node doc

geo = inputs[0] if inputs else Geometry()
paramsstring
Default {}

JSON dict passed as `params`

seedint
Default 0

No description.

Use it

Add it from the node menu (right-click empty graph space or Tab, then type python), ask the AI for it by name, or add it with a graph op from the API or MCP:

{"op":"add","type":"python","name":"my_python","params":{},"inputs":["src"]}

Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.