topology nodes
28 node types in the topology category.
- bound
- clean
- decimate
- dissolve
- edge_collapse
- edge_divide
- facet
- fill_holes
- fuse
- grid_split
- knife
- lod
- mesh_repair
- normal
- poly_bevel
- poly_extrude
- polybridge
- polyfill
- polysplit
- remesh
- remesh_isotropic
- remesh_quad
- remove_interior
- reverse
- solidify
- sort
- subdivide
- triangulate
bound#
aliases: bbox bounding_box
Bounding box of the input (whole or per connected piece) as a box mesh.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
padding | vec3 | [0,0,0] | extra size added on each side | |
per_piece | bool | false | one box per connected piece | |
divisions | ivec3 | [1,1,1] | 1..512 | box divisions |
Example
{ "type": "bound", "params": { "padding": [0.1, 0.1, 0.1] } }
clean#
aliases: cleanup
Tidy geometry: weld duplicates, drop degenerate/zero-area prims and unused points, optionally fix winding.
For holes, non-manifold edges, inconsistent winding and self-intersections use mesh_repair.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
fuse_distance | float | 0 | 0.. | weld points within this distance first (0 = off) |
remove_degenerate | bool | true | remove prims with repeated/too few points | |
min_area | float | 1e-12 | 0.. | remove polygons with smaller area (0 = keep); a closed mesh stays closed: a tiny face collapses into a point, a thin sliver hands its middle point to the face across its long side |
remove_unused_points | bool | true | remove points not used by prims (only when the geometry has prims) | |
fix_winding | bool | false | make the winding consistent in each connected piece (most of its area decides, so a few flipped faces turn back), then turn closed pieces outward; a closed piece inside another one (the inner wall of a hollow solid) stays inward |
Example
{ "type": "clean", "params": { "fuse_distance": 0.0001, "fix_winding": true } }
decimate#
aliases: polyreduce simplify reduce decimate_points
Reduce triangle count while preserving shape, uv seams and attributes (meshoptimizer). Output is triangles; also thins point clouds.
Houdini: PolyReduce SOP. Polygons are triangulated first and the result is triangles. meshoptimizer simplifyWithAttributes collapses edges by quadric error: corners whose vertex attributes differ (uv seams, hard normals) and borders between prims with different string attributes or prim groups stay intact, and the "attributes" (float point or vertex attributes with weights) steer which edges go. Points keep their exact positions and attributes (meshoptimizer only removes points); corners copy the corner they stand for. max_error stops early (relative to the mesh extent, or in scene units with error_absolute); the achieved error is written to detail "error" (and "error_abs" in scene units). prune lets whole small pieces vanish; aggressive (sloppy) ignores topology and seams to reach any target. group decimates only those prims (points shared with other prims stay; sparse speeds up small groups of big meshes). keep_uv: a collapse keeps its corners' uv, so it can fold the uv where the map bends (bevels, curved chart borders) even with uv steering; when the input uv has no overlaps, the reduction is checked and, where it folds, goes in steps that lock the points around each fold, so the output has none (it may stop above the target there; the warning names the parts; not with group or aggressive). Reducing before uv_unwrap gives the full reduction. mode points (or auto on a point cloud) thins points with simplifyPoints, keeping an even spread and the point_attributes (Cd, pscale).
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh or point cloud |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
ratio | float | 0.25 | 0..1 | target fraction of triangles (or points) to keep aliases: percentage keep |
target_count | int | 0 | 0..2147483647 | target number of triangles (points in points mode); > 0 overrides ratio aliases: count target final_count |
max_error | float | 0.05 | 0.. | stop when the deviation reaches this (relative to the mesh extent, or scene units with error_absolute) aliases: error target_error |
error_absolute | bool | false | max_error (and detail "error") in scene units instead of relative to the mesh size | |
lock_border | bool | true | keep open borders fixed (tiles and pieces still stitch) | |
attributes | string | "uv N Cd" | float point/vertex attributes that steer the reduction, with optional weights: "uv:2 N:0.5 Cd" (weight 1 ≈ a change of 1 costs like moving across the whole mesh); missing ones are skipped aliases: attribs weights | |
prune | bool | false | allow small disconnected pieces to disappear entirely | |
sparse | bool | false | faster when the group is a small part of a big mesh (use error_absolute for consistent errors) (advanced) | |
regularize | bool | false | favour evenly sized triangles over exact shape (advanced) | |
aggressive | bool | false | sloppy mode: ignores topology and seams, reaches any target aliases: sloppy | |
keep_uv | bool | true | when the input uv has no overlaps, keep the output free of uv folds: where a collapse would fold the uv, reduce in steps around it (can stop above the target); off = one plain reduction (not checked with group or aggressive) | |
group | group (prim) | "" | prims to decimate ("" = all); points shared with other prims stay | |
lock | group (point) | "" | point group that must not move or disappear ("" = none) aliases: lock_points | |
mode | enum | "auto" | auto = points when the input has no polygons; points thins a point cloud options: auto mesh points | |
point_attributes | string | "Cd pscale" | points mode: float point attributes kept apart (up to 3 components in total, with optional weights) |
Writes: triangles; detail float error, error_abs; points mode keeps the chosen points with all attributes
Example
{ "type": "decimate", "params": { "ratio": 0.2, "attributes": "uv:1 N:0.5" } }
Used in the example blob_creature.
dissolve#
aliases: polydissolve edge_dissolve dissolve_edges dissolve_points
Remove edges (or points) and merge the polygons around them into one; inline points of the dissolved edges removed.
class edge: each set of faces joined by grouped edges becomes one polygon (its outline); edges whose two faces end up in the same polygon vanish too. Boundary and non-manifold edges cannot be dissolved and are skipped, and a region whose outline is not a single loop (a ring of faces, a whole closed surface) is left as it was. remove_inline_points then removes points of the dissolved edges that are left with exactly two edges (e.g. the points of a dissolved edge loop), keeping polygons at three corners or more. class point (Blender "dissolve vertices"): every polygon edge at the selected points is dissolved and the points are removed. Unlike delete (class edge), no hole is left. Merged polygons keep the attributes of their lowest-numbered face; all points are kept 1:1, so groups survive.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (edge) | "" | edges to dissolve ("" = all interior edges); class point: a point pattern aliases: edges | |
class | enum | "edge" | edge = dissolve the edges; point = dissolve the points (merge all their faces) options: edge pointaliases: type dissolve_class | |
remove_inline_points | bool | true | remove points of dissolved edges left with two edges aliases: inline removeinlinepoints | |
remove_degenerate | bool | true | drop polygons with fewer than 3 distinct points or no area |
Writes: prim group dissolved (merged polygons)
Example
{
"nodes": {
"grid": {
"type": "grid",
"params": { "size": [2, 2], "divisions": [6, 6] }
},
"d": {
"type": "dissolve",
"in": ["grid"],
"params": { "group": "loop:p10-17" }
}
},
"output": "d"
}
edge_collapse#
aliases: collapse collapse_edges edgecollapse merge_edges
Collapse edges to points (midpoint, or the first/last point); chains collapse to one point; degenerate faces are removed.
Points joined by grouped edges merge (connected chains and loops become one point at their centroid in center mode, the midpoint for a single edge). Polygons drop repeated corners; polygons left with fewer than three corners (polylines: two) are removed, so collapsing an edge of a triangle removes the triangle and a quad becomes a triangle. Attributes of merged points are averaged (center) or taken from the kept point. Edge groups follow the merge.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygons and/or polylines |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (edge) | "" | edges to collapse ("" = all), e.g. "p0-1", "length<0.05", an edge group | |
mode | enum | "center" | where merged points go: centre of the merged points, or the lowest / highest point number among them options: center first lastaliases: position collapse_to |
Writes: point group collapsed (the merged points)
Example
{ "type": "edge_collapse", "params": { "group": "length<0.05" } }
edge_divide#
aliases: divide_edges edgedivide subdivide_edges split_edges
Split edges into equal segments (polygons using them gain the new points); optionally connect them across quads like a loop cut.
Every edge in "group" gets divisions-1 evenly spaced new points; all polygons (and polylines) using the edge gain them, so closed meshes stay closed. connect: a quad whose two opposite sides were divided (and whose other two were not) is split by edges joining their new points, so dividing a ring of parallel edges (e.g. group "ring:p0-1") inserts edge loops, like polysplit.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygons and/or polylines |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (edge) | "" | edges to divide ("" = all), e.g. "p0-1", "ring:p0-1", "boundary", an edge group | |
divisions | int | 2 | 2..256 | segments per edge (2 = one new point in the middle) aliases: numdivs segments |
connect | bool | false | join the new points across quads with exactly two opposite sides divided |
Writes: point group divided (new points); edge group divided (connecting edges, with connect)
Example
{
"type": "edge_divide",
"params": { "group": "ring:p0-1", "divisions": 3, "connect": true }
}
facet#
aliases: unique_points split_points
Unique points per prim (hard, faceted look; pieces fall apart) or consolidate shared points.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
mode | enum | "unique" | unique = every prim gets its own points; consolidate = fuse identical positions options: unique consolidate |
Example
{ "type": "facet", "params": { "mode": "unique" } }
fill_holes#
aliases: polycap cap_holes close_holes
Cap open boundary loops with new polygons (makes meshes watertight).
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | mesh with holes |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
max_edges | int | 0 | 0..2147483647 | only fill holes with at most this many edges (0 = all) |
triangulate | bool | false | fan-triangulate the caps |
Writes: prim group filled
Example
{
"nodes": {
"pipe": { "type": "tube", "params": { "caps": false } },
"capped": { "type": "fill_holes", "in": ["pipe"] }
},
"output": "capped"
}
fuse#
aliases: weld merge_points
Weld points closer than a distance; collapsed prims are removed.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
distance | float | 0.0001 | 0.. | snap distance aliases: dist tolerance |
average | bool | false | move fused points to their average position (default keeps the first) | |
group | group (point) | "" | point group pattern to affect ("" = all). e.g. "top", "!top", "0-9", "@P.y>0" |
Example
{ "type": "fuse", "params": { "distance": 0.001 } }
grid_split#
aliases: divide_quads facade_split quad_split split_faces
Split selected quads into a grid of cells by target size or division counts. Shared edges stay welded.
Selected quads divide into cells. Neighbours agree on their shared edges, and faces next to split quads gain points along those edges. Opposite edges of a split quad have the same count. In size mode the longest edge in each connected set sets the count. In count mode the largest requested count wins. Run grid_split before a boolean to divide faces that the cut would turn into n-gons.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh (selected quads form grids; adjacent faces gain shared edge points) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (prim) | "" | quads to split ("" = all) | |
mode | enum | "size" | size = round the longest linked edge length / its target size; count = use the largest requested divisions along linked edges options: size count | |
size | vec2 | [1,1] | target cell size [horizontal, vertical]: edges mostly along Y use the 2nd value | |
divisions | ivec2 | [2,2] | 1..256 | count mode: cells along the quad's first and second edge |
Writes: prim int cell_u, cell_v (cell indices within the original quad)
Example
{
"nodes": {
"facade": { "type": "box", "params": { "size": [6, 3, 4] } },
"cells": {
"type": "grid_split",
"in": ["facade"],
"params": { "size": [1.5, 1] }
}
},
"output": "cells"
}
Used in the example town_from_lots.
knife#
aliases: polycut_plane plane_cut cut_plane polyknife_plane
Cut polygons along planes keeping topology: new points on crossed edges, crossed polygons split in two, the cut in edge and point group "cut".
Unlike clip, both sides stay connected (keep both) and the mesh stays watertight: a point is inserted once per crossed edge, so every polygon using the edge gets it. Concave polygons are split into as many pieces as the plane makes (crossings are paired along the cut line). Points within tolerance of the plane are used as cut points instead of making new ones. Polylines are split at the plane (or trimmed with keep above/below). Several planes ("planes") cut one after another; keep above/below then keeps the region on that side of every plane. The cut edge group holds the edges lying in a cutting plane (new and existing). Polygons outside "group" are not split but gain the new points of shared edges. Point/vertex attributes are interpolated at the cut.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygons and/or polylines |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
origin | vec3 | [0,0,0] | a point on the cutting plane aliases: center position pos | |
direction | vec3 | [0,1,0] | plane normal; "above" is the side it points to aliases: normal dir n | |
keep | enum | "both" | both = split and keep everything (prim groups above/below); above/below = drop the other side, like clip but with the cut grouped options: both above below | |
planes | json | [] | several cutting planes as [[origin, normal], ...], applied in order (replaces origin/direction when not empty), e.g. [[[0,0,0],[1,0,0]], [[0,0,0],[0,0,1]]] | |
group | group (prim) | "" | polygons/polylines to cut ("" = all) | |
tolerance | float | 0.000001 | 0.. | points closer than this to a plane count as on it |
Writes: edge group cut (edges lying in a cutting plane), point group cut; prim groups above/below (keep both, single plane)
Example
{
"type": "knife",
"params": { "origin": [0, 0.1, 0], "direction": [0.2, 1, 0] }
}
lod#
aliases: lod_tree polyreduce_lod lod_create lods
Levels of detail in one go: decimated copies tagged with prim lod and named {name}_lod0, {name}_lod1 … (merged), or one level (switch); optionally of one group only.
Houdini: PolyReduce per level + a name per level (LOD Create). Each level is decimated from the input with the decimate kernel (attribute steering, uv seams kept, optional lock_border, prune small pieces); level 0 with ratio 1 is the triangulated input. Levels come from ratios (fractions of the triangle count; missing entries keep halving) or, when screen_sizes is given, from screen sizes (fraction of the screen height the object covers, like Unreal LOD screen size): each such level reduces as far as an error of pixel_error pixels at screen_height allows. Every level's prims get prim int "lod" and prim "name" = name_format with {name} = the prim's input name (or base_name) and {level} = the level, by default "{name}_lod{level}" (gun_lod0, gun_lod1), so exporters that split by name (export split_by_name, glTF/USD) write one mesh per level. merge outputs all levels together; spacing offsets level k by k·spacing for side-by-side previews. switch outputs only level "level", named the same way (gun_lod2; name_format "{name}" keeps the input names). group reduces only those prims (e.g. "@name=magazine"): the others pass through once, unchanged and unnamed by the levels. A ratio level that stops well short of its target warns with what held it: uv seams, hard normals (vertex N), prim attribute or group borders and open borders, with point counts (or the max_error limit), or the parts where a plain reduction folds the uv (keep_uv, as in decimate: a level never folds a clean uv atlas). A level that would have more triangles than the previous level copies that mesh and gets its own name, lod tag and spacing. Detail "lod" is a JSON list of {level, ratio | screen_size, triangles, error}; detail int[] "lod_tris" the triangle counts.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
levels | int | 4 | 1..12 | number of levels (LOD0 … LODn-1) aliases: count num_levels |
ratios | json | [1,0.5,0.25,0.125] | triangle fraction per level, e.g. [1, 0.5, 0.25, 0.125]; missing entries keep halving | |
screen_sizes | json | [] | error-driven levels instead: screen size per level, e.g. [1, 0.5, 0.25, 0.1] (fraction of screen height); [] = use ratios | |
pixel_error | float | 1 | 0.. | screen_sizes: allowed error in pixels (advanced) |
screen_height | int | 1080 | 1.. | screen_sizes: screen height in pixels (advanced) |
max_error | float | 1 | 0.. | ratio levels: stop early at this relative error (1 = reach the ratio) aliases: error |
attributes | string | "uv N Cd" | float point/vertex attributes that steer the reduction, with optional weights ("uv:2 N:0.5") | |
lock_border | bool | false | keep open borders fixed in every level | |
prune | bool | true | let small disconnected pieces (leaves, bolts) vanish in coarse levels | |
keep_uv | bool | true | when the input uv has no overlaps, keep every level free of uv folds (as decimate keep_uv: reduce in steps around a fold; a level can stop above its target); off = plain reductions | |
mode | enum | "merge" | merge = all levels in one geometry; switch = only "level" options: merge switch | |
level | int | 0 | 0.. | switch mode: the level to output |
name_format | string | "{name}_lod{level}" | prim name of each level: {name} = the input prim name (or base_name), {level} = the level number (merge needs {level}) aliases: name_pattern suffix_format | |
base_name | string | "mesh" | the {name} of prims without a "name" attribute (mesh_lod0 …) aliases: name | |
group | group (prim) | "" | prims to make levels of ("" = all); the others pass through once, unchanged | |
spacing | vec3 | [0,0,0] | offset of level k = k * spacing (side-by-side previews; keep 0 for export) aliases: offset |
Writes: prim int lod, prim string name (name_format, default {name}_lod{level}); detail string lod (JSON per level), detail int[] lod_tris
Example
{
"type": "lod",
"params": {
"levels": 4,
"ratios": [1, 0.5, 0.25, 0.1],
"spacing": [2.5, 0, 0]
}
}
Used in the example asset_cleanup.
mesh_repair#
aliases: repair polydoctor mesh_doctor fix_mesh
Diagnose and fix meshes: fuse duplicates, degenerate/duplicate faces, non-manifold edges, winding, small holes, self-intersections.
Houdini: PolyDoctor SOP (plus Clean). Steps run in this order, each can be switched off: fuse points within tolerance (by default only where one of the two lies on an open border: cracks and polygon soups close, solids that merely touch, like fracture pieces, keep their own points); drop repeated points and faces with < 3 distinct points, zero-area triangles hand their middle point to the neighbour across their long side (no slit is left); duplicate faces (compared by position: a copy with the same winding goes, an opposite-winding pair on the same points, i.e. an internal wall, goes entirely); non-manifold edges (3+ faces): keep, remove the extra faces, or split (faces around the edge are paired by angle and orientation, then every point whose corners form several fans (also bowtie points) is duplicated so each fan is manifold); winding made consistent across manifold edges (each piece keeps its majority orientation); holes with at most max_hole_edges edges ear-clipped (no new points, attributes from the neighbouring faces, prim group "filled"); closed pieces turned outward (signed volume); optional self-intersection test (BVH, triangle pairs that cross; report → prim group "self_intersecting", remove_faces → delete them and fill the holes); points no prim uses removed. When max_hole_edges is 0, repair revisits open edges. It also revisits non-manifold edges in split and remove mode. Detail string "repair_report" holds the counts as JSON (with input/output topology summaries); the node warns with a summary when it changed or found something (warn off: only the detail string). Polylines pass through. For a quick tidy without topology changes use clean; for meshes beyond repair, remesh (voxel) rebuilds a watertight surface.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
fuse | enum | "borders" | weld points within tolerance: borders = only where one of the two is on an open border (cracks, polygon soups; touching solids stay separate); all = every pair options: borders all off | |
tolerance | float | 0.00001 | 0.. | fuse distance (0 = exactly coincident points only) aliases: distance fuse_distance |
remove_degenerate | bool | true | remove faces with repeated points or zero area (collinear triangles merge into their neighbour) | |
remove_duplicates | bool | true | remove faces that use the same points as an earlier face | |
non_manifold | enum | "split" | edges with 3+ faces: split = duplicate points so every fan is manifold; remove = delete the extra faces; keep options: split remove keep | |
fix_winding | bool | true | make face winding consistent across shared edges | |
outward | bool | true | turn closed pieces so their normals face outward (needs fix_winding) | |
fill_holes | bool | true | cap small holes | |
max_hole_edges | int | 8 | 0..2147483647 | only fill holes with at most this many edges (0 = any size) |
self_intersections | enum | "off" | find faces that cross other faces: report (prim group self_intersecting) or remove them and fill the holes options: off report remove_faces | |
remove_isolated | bool | true | remove points no prim uses (only when the geometry has prims) | |
warn | bool | true | warn with a summary when something was found or changed (off: the counts are only in repair_report, e.g. for meshes known to need the fixes) aliases: warnings report_warning |
Writes: detail string repair_report (JSON counts); prim groups filled, self_intersecting (report mode)
Example
{
"nodes": {
"box": { "type": "box", "params": { "divisions": [2, 2, 2] } },
"hole": { "type": "delete", "in": ["box"], "params": { "group": "0" } },
"flipped": {
"type": "reverse",
"in": ["hole"],
"params": { "group": "1-4" }
},
"fixed": {
"type": "mesh_repair",
"in": ["flipped"],
"params": { "self_intersections": "report", "warn": false }
}
},
"output": "fixed"
}
Used in the examples asset_cleanup, blob_creature.
normal#
aliases: normals compute_normals
Compute normals N on points (smooth), vertices (hard edges above the cusp angle) or prims (flat).
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
class | enum | "vertex" | vertex = smooth with hard edges past cusp_angle options: vertex point prim | |
cusp_angle | float | 60 | 0..180 | vertex mode: faces meeting sharper than this keep hard edges |
hard_edges | group | "" | vertex mode: edge group or edge pattern that is always hard, on top of cusp_angle ("" = none), e.g. "seams", "boundary", "angle>30", "p0-1-2" aliases: hardedges hard_edge_group |
Example
{ "type": "normal", "params": { "class": "vertex", "cusp_angle": 30 } }
Used in the examples asset_cleanup, cloth_drape, corridor_panels, fracture_settle, growth, image_cutouts, lsystem_tree, machined_bracket, rusty_drum, scifi_panel, town_from_lots, weathered_cabinet, worn_machine.
poly_bevel#
aliases: polybevel bevel chamfer
Bevel edges (chamfer strips or round profiles with corner patches) or points; watertight on closed meshes (Houdini PolyBevel).
Edge mode: every edge in "group" becomes a strip of divisions+1 quads; the faces on both sides shrink by "offset" (measured across each face, Houdini "Distance"). Where bevelled edges meet, a corner patch fills the hole: a polygon for a chamfer (triangle at a box corner), rings of quads for round bevels (a sphere octant at a box corner). A bevelled edge ending at an unbevelled point slides its offset along the neighbouring edges and ends flush; two bevelled edges meeting at a point with one other edge (a cylinder rim) are mitred. Boundary and non-manifold edges are skipped with a warning (chamfering open-mesh boundary edges is out of scope). clamp shrinks the offsets only around edges that would cross (huge offsets stay clean; one short edge does not flatten every bevel), and leaves an edge sharp when a zero-length neighbour leaves no room. Point mode truncates the selected points: every edge at the point is cut at "offset", the corner becomes a polygon, or a dome of "divisions" rings. Faces keep their attributes (uv is interpolated inside each face), strips take prim attributes from the larger neighbouring face, corner patches from the first face around the point; N is recomputed if present. Select edges with patterns: "angle>80" (sharp edges), "border:top" (rim of a prim group), "p0-1-2-3-0" (chains), edge groups from the group node; the output edge group bevel_edges (where the bevel meets the faces) lets a second bevel soften the first.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh (closed meshes stay watertight) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group | "" | edges to bevel (edge pattern or group: "angle>80", "border:top", "p0-1", "rim"; "" = every edge shared by two polygons where the surface bends: flat edges inside a plane, such as the splits a boolean leaves in a cut face, are skipped); with mode "points", a point pattern ("" = all points) aliases: edges edge_group points | |
mode | enum | "edges" | bevel edges, or truncate points options: edges pointsaliases: bevel_type class | |
offset | float | 0.1 | 0.. | distance from the edge across each adjacent face (points mode: along each edge) aliases: distance width radius size amount |
offset_mode | enum | "distance" | distance = offset in scene units; fraction = offset x the shortest edge at the edge's points (stays proportional on small faces) options: distance fractionaliases: distance_mode offsetmode | |
clamp | bool | true | shrink the offsets where bevels would cross their neighbours, or the edge facing them across a narrow face (the two rims of a thin band), only at the edges involved (Houdini Clamp Offset, applied locally); warns when it does aliases: clamp_offset clamp_overlap | |
divisions | int | 0 | 0..64 | 0 = flat chamfer (one strip of quads per edge); n = round profile with n+1 strips aliases: segments divs subdivisions |
shape | float | 0 | -1..1 | profile convexity for round bevels: 0 = circular arc, 1 = bulges out to a nearly square corner, -0.5 = straight, -1 = concave cove aliases: profile_shape convexity profile |
Writes: prim groups bevel (strips and corner patches), bevel_corner (corner patches); edge group bevel_edges (edges where the bevel meets the original faces)
Example
{
"type": "poly_bevel",
"params": { "group": "angle>80", "offset": 0.1, "divisions": 3 }
}
Used in the examples cloth_drape, machined_bracket, scifi_panel, weathered_cabinet, worn_machine.
poly_extrude#
aliases: polyextrude extrude_faces inset
Extrude/inset faces along normals (individually or as connected regions). Groups: front, side.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (prim) | "" | faces to extrude ("" = all) | |
distance | float | 0.2 | extrusion along the normal aliases: dist depth height | |
inset | float | 0 | move edges inward by this distance (0 = plain extrude; distance 0 + inset = inset faces) | |
mode | enum | "connected" | connected keeps shared edges of selected faces together options: individual connected | |
divisions | int | 1 | 1..10000 | segments along the sides |
keep_back | bool | false | keep the original faces (reversed) underneath |
Writes: prim groups front, side
Example
{
"type": "poly_extrude",
"params": { "group": "@P.y>0.4", "distance": 0.3, "inset": 0.1 }
}
Used in the examples scifi_panel, town_from_lots.
polybridge#
aliases: bridge bridge_loops bridge_edges bridge_edge_loops
Connect two edge chains/loops with a strip of quads (divisions, twist, curved blend); optionally removes the faces the loops enclose.
source and target are edge patterns that must each form one open or closed chain, e.g. "border:hole_a" (the border of a prim group), "boundary" edges selected by group nodes, or "p0-1-2-3-0". Where a chain is a mesh boundary the bridge winds against the existing edges, so the result is consistent and bridging two holes of a closed mesh gives a closed mesh; otherwise the target direction is chosen geometrically. Closed chains are aligned by the rotation with the shortest rungs, then rotated by twist. Chains with different point counts are matched by normalised arc length (intermediate rows take the larger count; the smaller chain is zipped to them with triangles where needed). blend bends the rungs into cubic curves that leave and enter along the openings' directions (each loop's Newell normal, signed to point out of the opening). delete_inner_faces removes the faces each loop cuts off (the smaller side), so selecting the borders of two faces and bridging them punches a tunnel.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | mesh containing both chains |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
source | group (edge) | "" | first chain as an edge pattern, e.g. "border:hole1", "p0-1-2-3-0", an edge group aliases: source_group from a | |
target | group (edge) | "" | second chain as an edge pattern aliases: target_group to b | |
divisions | int | 1 | 1..256 | rows of polygons along the bridge aliases: segments rows |
twist | int | 0 | closed chains: rotate the target by this many points aliases: offset pairing_shift | |
blend | float | 0 | 0..1 | 0 = straight rungs; 1 = curves leaving/entering along the openings' normals aliases: curvature smoothness tangent |
reverse | bool | false | flip the winding of the bridge polygons aliases: flip reverse_winding | |
delete_inner_faces | bool | false | remove the faces each closed chain encloses (the smaller side), e.g. to bridge two faces into a tunnel aliases: delete_faces remove_caps |
Writes: prim group bridge
Example
{
"nodes": {
"box": { "type": "box", "params": { "divisions": [3, 3, 3] } },
"front": {
"type": "group",
"in": ["box"],
"params": {
"name": "hole_a",
"bbox_min": [-0.1, -0.1, 0.4],
"bbox_max": [0.1, 0.1, 0.6]
}
},
"back": {
"type": "group",
"in": ["front"],
"params": {
"name": "hole_b",
"bbox_min": [-0.1, -0.1, -0.6],
"bbox_max": [0.1, 0.1, -0.4]
}
},
"tunnel": {
"type": "polybridge",
"in": ["back"],
"params": {
"source": "border:hole_a",
"target": "border:hole_b",
"divisions": 4,
"delete_inner_faces": true
}
}
},
"output": "tunnel"
}
polyfill#
aliases: fill_quads quad_fill grid_fill poly_fill cap_quads
Fill boundary loops (holes) with quads, a quad grid, triangles or one n-gon. New faces in prim group "fill".
quads: loops that are star-shaped around their centroid get a quad fan around a centre point (Houdini "Quadrilateral Fan"; an odd loop keeps one triangle), other loops are ear-clipped and the triangles paired into convex quads by quality (quad-dominant); interior points then get smooth_iterations Laplacian steps projected onto the loop plane. grid (Houdini "Quadrilateral Grid"): loops with an even point count are split into four sides a, b, a, b at their sharpest turns and filled with an a×b Coons-patch grid (smoothed by smooth_iterations); odd loops fall back to quads. triangles: ear clipping. single: one n-gon (fill_holes). New faces wind like the surrounding surface, so filling the holes of a mesh makes it watertight; they take point/vertex attributes from the loop and prim attributes from a neighbouring face.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | mesh with holes |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
mode | enum | "quads" | quads = quad fan / paired quads; grid = Coons quad grid (even loops); triangles = ear clipping; single = one n-gon options: quads grid triangles singlealiases: fill_mode fillmode | |
group | group (point) | "" | only loops touching these points ("" = every boundary loop) | |
max_edges | int | 0 | 0..2147483647 | skip loops with more edges than this (0 = no limit) aliases: max_size |
smooth_iterations | int | 10 | 0..1000 | Laplacian relaxation steps for interior points aliases: smooth iterations relax |
Writes: prim group fill
Example
{ "type": "polyfill", "params": { "mode": "grid" } }
polysplit#
aliases: edge_loop_insert loopcut loop_cut insert_edge_loop polysplit2
Insert edge loops across a ring of quads (loop cut), or split polygons along a path of points. New edges in edge group "split".
loop mode: the seed edge (first edge matching "edge") defines an edge ring: the opposite sides of successive quads, stopping at non-quads and boundaries (a closed ring goes all the way round). Every quad of the ring is split by "count" parallel loops. count 1: the loop sits at "fraction" along the seed edge, measured from its lower to its higher point number (flip measures from the other end) and at the same fraction along every rung. count > 1: loops evenly spaced at k/(count+1); fraction slides them together (0.5 = even). Faces next to the ring that are not quads get the new points on their shared edges, so the mesh stays watertight. path mode: "points" lists tokens "pN" (existing point N) or "pA-B:t" (new point at fraction t from A to B on edge A-B; t defaults to 0.5). Consecutive tokens must lie on a common polygon (corner or point on one of its edges); the polygon is split between them. Repeat the first token at the end to close the path. New points are shared by every polygon using their edge.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
mode | enum | "loop" | loop = insert loops across a quad ring; path = split along "points" options: loop path | |
edge | group (edge) | "" | loop: seed edge as an edge pattern; the first matching edge is used, e.g. "p3-7" or an edge group name ("" = edge 0) aliases: seed seed_edge | |
fraction | float | 0.5 | 0..1 | loop: position along the seed edge (lower → higher point number); with count > 1 slides all loops aliases: position slide percent |
count | int | 1 | 1..64 | loop: number of parallel loops aliases: cuts number numloops |
flip | bool | false | loop: measure fraction from the higher-numbered point of the seed edge | |
points | json | [] | path: tokens "pN" (existing point) or "pA-B:t" (point at fraction t on edge A-B), e.g. ["p0", "p5-6:0.5", "p12"]; a string "p0 p5-6:0.5 p12" also works aliases: path |
Writes: edge group split (new edges), point group split (new points)
Example
{ "type": "polysplit", "params": { "edge": "p0-1", "count": 2 } }
remesh#
aliases: remesh_voxel
Voxel remesh: rebuild a closed mesh as an even, watertight triangle mesh (mesh → SDF → isosurface).
Always watertight and merges overlapping parts, but sharp edges round off and attributes are dropped. To keep the surface, sharp edges, boundaries, uv and other attributes use remesh_isotropic (Houdini Remesh SOP).
Inputs
| # | name | description |
|---|---|---|
| 0 | mesh | closed mesh (may self-intersect; overlapping parts get merged) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
edge_length | float | 0 | 0.. | target edge length (0 = auto from divisions) |
divisions | int | 48 | 8..256 | resolution across the largest dimension when edge_length = 0 |
offset | float | 0 | grow (+) / shrink (−) the surface |
Example
{ "type": "remesh", "params": { "divisions": 40, "offset": 0.02 } }
Used in the example asset_cleanup.
remesh_isotropic#
aliases: remesh_iso isotropic_remesh
Isotropic remesh (Botsch–Kobbelt): even triangles of a target edge length on the input surface; keeps sharp edges, seams, boundaries and attributes.
Houdini: Remesh SOP (Target Size, Iterations, Hard Edges, adaptive sizing). Each iteration splits edges longer than 4/3·L, collapses edges shorter than 4/5·L, flips edges toward valence 6, relaxes points tangentially and projects them back onto the input with a BVH. Polygons are triangulated first; the output is triangles. Feature edges (dihedral angle above feature_angle, uv/vertex-attribute seams, borders between prims with different string attributes or prim groups, the edge_groups) are never flipped, are resampled along themselves and keep their points on the input feature curve; corners where 3+ features meet stay fixed. Boundaries are resampled along themselves unless preserve_boundary. With group, only those prims are remeshed and the border of the group stays exactly as it was. Adaptive: target_attrib is a point float attribute with the wanted edge length per point (e.g. from measure curvature or a distance), interpolated on the surface. Attributes: point attributes are interpolated at each new point's closest location on the input, vertex attributes (uv) the same way per side of each seam, prim attributes and groups come from the input prim under each face. Which remesh? remesh_isotropic keeps the surface, its sharp edges, boundaries and attributes (use it before uv_unwrap, decimate/lod, simulation); remesh (voxel) rebuilds a closed, possibly self-intersecting or broken mesh through an SDF: always watertight, but sharp edges round off and attributes are dropped.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
target_length | float | 0 | 0.. | target edge length L (0 = mean edge length of the input or group) aliases: edge_length target_size length size |
iterations | int | 6 | 0..50 | split / collapse / flip / relax rounds (more = more even; 5–10 is typical) aliases: iters |
target_attrib | string | "" | point float attribute giving the target edge length per point (adaptive density); "" = uniform target_length aliases: size_attrib adaptive_attrib | |
feature_angle | float | 45 | 0..180 | edges whose faces meet at more than this angle (degrees) are kept as sharp features (0 = no automatic features) aliases: hard_angle sharp_angle |
preserve_boundary | bool | false | keep boundary points and edges exactly (off = resample the boundary along itself; corners stay) | |
group | group (prim) | "" | prims to remesh ("" = all); the border of the group stays fixed | |
edge_groups | group (edge) | "" | edge group(s) or pattern to keep as feature edges ("" = none), e.g. "creases" or "seam*"; named groups follow the new feature edges aliases: hard_edges features | |
keep_prim_borders | bool | true | keep borders between prims with different string attributes (name, material) or prim groups as feature edges | |
relax_passes | int | 1 | 1..10 | relaxation + projection passes per iteration (advanced) |
max_triangles | int | 4000000 | 1000..50000000 | refuse to run when the estimated output has more triangles than this (advanced) |
Writes: triangles; point/vertex/prim attributes and groups by provenance; feature edge groups (edge_groups) follow the new edges
Example
{
"type": "remesh_isotropic",
"params": { "target_length": 0.05, "iterations": 8, "feature_angle": 40 }
}
Used in the examples asset_cleanup, growth, image_cutouts.
remesh_quad#
aliases: quadremesh quad_remesh instant_meshes
Field-aligned quad-dominant remeshing in Rust/WASM, with feature alignment and source attribute transfer.
Smooths a four-way orientation field and a position field through a multiresolution hierarchy, then extracts mostly quads on the original surface. Density is approximate: target_faces takes precedence over target_length; 0 for both uses the input scale. Quads-only splits residual non-quads and their affected neighbors conformingly; locked group borders can retain triangles. Cleanup removes avoidable topology defects. Feature edges, explicit creases and material/group borders constrain the fields; UV seams constrain the orientation field without fixing the position field. Original seam geometry is retained for attribute transfer. Selected group borders stay fixed and unselected primitives pass through. Point attributes interpolate from final source-triangle barycentrics, vertex attributes interpolate per seam wedge, and prim attributes copy the source triangle. Existing normals are recomputed. Detail quality statistics describe the remeshed region. irregular_fraction is the number of interior vertices with valence other than four divided by all remeshed vertices. This is an independent implementation, not the Instant Meshes library.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | consistently oriented manifold polygon mesh |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
target_length | float | 0 | 0.. | target quad edge length in scene units (0 = automatic input scale) aliases: edge_length target_size |
target_faces | int | 0 | 0..50000000 | approximate target face count (> 0 overrides target_length) |
mode | enum | "quad_dominant" | quad_dominant permits triangles; quads_only conformingly splits residual non-quads when unlocked options: quad_dominant quads_only | |
feature_angle | float | 45 | 0..180 | dihedral threshold in degrees for automatic sharp-feature alignment (0 disables it) |
align_boundaries | bool | true | align the orientation field along open boundaries | |
smooth_iterations | int | 8 | 0..100 | orientation and position field smoothing passes per hierarchy level |
preserve_sharp | bool | true | constrain extraction to detected sharp feature curves | |
cleanup | bool | true | remove avoidable irregular vertices and short edges after extraction | |
crease_group | group (edge) | "" | edge group or pattern used as hard alignment constraints (empty = none) | |
group | group (prim) | "" | primitives to remesh (empty = all); edges shared with the remainder stay fixed | |
max_faces | int | 1000000 | 1..50000000 | refuse estimated or extracted output above this primitive count, including the retained group complement (advanced) |
Writes: quad-dominant polygons; interpolated point/vertex attributes and copied prim attributes; detail quad_fraction, singularities, irregular_fraction and edge/planarity statistics
Example
{
"type": "remesh_quad",
"in": ["mesh"],
"params": { "target_faces": 1000, "feature_angle": 45 }
}
remove_interior#
aliases: remove_hidden remove_inside hidden_faces interior_faces
Delete faces buried inside other closed parts (kitbashed pieces that overlap): they can never be seen.
Parts are told apart by connectivity (or by the prim attribute name). A face goes when its centre and every corner, pulled a hair toward the centre, lie inside one other part that is a closed solid; a face only partly inside stays (cut it with boolean union instead). Faces touching another part face to face stay too. The parts are left open where their buried faces were: that is the point, nothing inside is rendered or baked.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | overlapping parts (each closed part hides what is inside it) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (prim) | "" | faces that may be removed ("" = all) | |
parts | enum | "connected" | what makes a part: connected polygons, or the prim attribute name options: connected name | |
output | enum | "delete" | delete the hidden faces, or keep them in prim group "interior" options: delete group |
Writes: prim group interior (output group)
Example
{
"nodes": {
"body": { "type": "box", "params": { "size": [1, 0.4, 0.4] } },
"boss": {
"type": "tube",
"params": { "radius": 0.1, "height": 0.3, "caps": true }
},
"place": {
"type": "transform",
"in": ["boss"],
"params": { "rotate": [0, 0, 90], "translate": [0.5, 0, 0] }
},
"parts": { "type": "merge", "in": ["body", "place"] },
"tidy": { "type": "remove_interior", "in": ["parts"] }
},
"output": "tidy"
}
reverse#
aliases: flip flip_normals
Flip polygon winding (normals).
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (prim) | "" | prim group pattern to affect ("" = all). e.g. "top", "!top", "0-9", "@P.y>0" |
Example
{ "type": "reverse", "params": { "group": "@P.y<0" } }
Used in the example asset_cleanup.
solidify#
aliases: shell thicken solidify_surface wall_thickness
Give a consistently wound polygon surface a constant wall thickness (inside, centred or outside), with rim faces; invalid results are errors, never repaired.
Blender: Solidify (complex mode); Houdini: PolyExtrude with output back + side, or Thicken. Select the intended surface upstream. Every point moves along the mitre of its faces' offset planes, so each face of both surface copies is exactly its share of thickness away from the original: folds keep their full wall (mitred corners), open boundaries get rim faces. offset -1 grows the wall behind the surface (against the face normal; the input stays the outer face), 0 centres it, +1 grows it outward (the input becomes the inner face). Groups outer, inner, rim; attributes follow their source elements; uv is copied to both surfaces and the rim gets metric uv (u along the boundary, v across the thickness); N and tangent are dropped (recompute downstream). Errors instead of a broken shell: polylines, non-manifold edges or points, inconsistent winding, collapsed faces, mitres longer than miter_limit × thickness, corners whose offset planes do not meet (saddles, twists), surface copies that turn inside out, and any self-intersection of the result (crossings, coplanar overlaps, contacts beyond shared edges). Use poly_extrude for per-face extrusion and sdf shells for organic thickening.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | a polygon surface with consistent winding (a sheet, a folded panel or a closed hull) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
thickness | float | 0.01 | 0.. | wall thickness in metres (must be positive) aliases: thick width depth |
offset | float | 0 | -1..1 | where the wall grows relative to the face winding: -1 inside (behind the normal), 0 centred, +1 outside aliases: bias side |
fill_rim | bool | true | close open boundaries with rim faces (off: two separate surfaces) aliases: rim cap_rim fill | |
miter_limit | float | 4 | 1.. | largest allowed point offset as a multiple of the thickness at folds (4 ≈ folds up to 150°) aliases: mitre_limit miter |
Writes: the shell: prim groups outer, inner, rim
Example
{
"nodes": {
"panel": {
"type": "grid",
"params": { "size": [0.4, 0.3], "rows": 3, "cols": 4 }
},
"fold": {
"type": "wrangle",
"in": ["panel"],
"params": {
"snippet": "if (@P.x > 0.05) { @P.y = @P.x - 0.05; @P.x = 0.05; }"
}
},
"wall": {
"type": "solidify",
"in": ["fold"],
"params": { "thickness": 0.01, "offset": -1 }
}
},
"output": "wall"
}
sort#
Reorder points or prims: by axis, random, attribute value, or reverse.
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
class | enum | "point" | what to sort options: point prim | |
by | enum | "x" | sort key options: x y z random attribute reverse | |
attrib | string | "" | attribute for by=attribute (first component) | |
descending | bool | false | reverse the order | |
seed | float | 0 | random seed |
Example
{ "type": "sort", "params": { "class": "prim", "by": "random", "seed": 3 } }
subdivide#
aliases: subd catmull_clark subdivision
Catmull-Clark (smooth) or linear subdivision with semi-sharp creases; all attributes and groups interpolated.
Creases (DeRose/Kass/Truong): edges in the "creases" edge group/pattern get crease_weight, and a crease attribute (default "creaseweight", Houdini convention: vertex class = from the vertex to the next one in its polygon; point class = both endpoints; prim class = every side of the prim) adds its values; the larger wins. Sharpness s >= 1 uses the sharp rules (edge midpoint, crease vertex 3/4·v + 1/8·neighbours, corner where 3+ creases meet stays fixed), 0 < s < 1 blends with the smooth rules, and s drops by 1 per level, so weight 1 is sharp for one level then smooths out; weight >= levels stays fully sharp. Boundary points touched by an interior crease become corners. The output keeps edge groups on the child edges and writes the remaining sharpness back to the crease attribute (prim class becomes vertex class).
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | polygon mesh |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
levels | int | 1 | 0..6 | subdivision depth (each level ~4x faces; 0 = pass the input through) aliases: depth iterations |
method | enum | "catmull_clark" | smooth or flat subdivision options: catmull_clark linear | |
boundary | enum | "smooth" | open boundary rule options: smooth sharp | |
creases | group | "" | edge group or edge pattern to crease ("" = none), e.g. "sharp", "angle>40", "p0-1-2-3-0" aliases: crease_group creasegroup | |
crease_weight | float | 10 | 0.. | sharpness for the creases edges (>= levels = fully sharp; 1 = sharp for one level; 0.5 = half way) aliases: creaseweight sharpness |
crease_attrib | string | "creaseweight" | vertex/point/prim attribute with crease weights ("" = ignore) |
Example
{
"type": "subdivide",
"params": { "levels": 3, "creases": "p2-1-6-5-2", "crease_weight": 10 }
}
Used in the example cloth_drape.
triangulate#
aliases: divide triangles
Split polygons into triangles (ear clipping for concave n-gons).
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (prim) | "" | prim group pattern to affect ("" = all). e.g. "top", "!top", "0-9", "@P.y>0" |
Example
{ "type": "triangulate", "params": { "group": "@P.y>0" } }
Used in the example guided_town.