Building node
fence
Build a fence along input curves (every polyline/polygon of input 0; default: a 20 m arc): posts every post_spacing, horizontal rails between posts and optional pickets or boards. Pieces are closed boxes. Output prim attribs material, name ('fence/posts', 'fence/rails', 'fence/pickets'), Cd.
Inputs
- 0curve
Parameters 13
stylemenurail = posts + horizontal rails (farm), picket = rails + vertical pickets (garden), panel = solid boards between posts.
heightfloatFence height (m).
post_spacingfloatDistance between posts along the curve (m).
post_sizefloatPost cross-section (m).
railsintNumber of horizontal rails.
rail_sizefloatRail thickness (m).
picket_spacingfloatPicket style: centre spacing of pickets (m).
picket_widthfloatPicket width (m).
materialmenuMaterial name.
colorcolourBase colour (slightly varied per piece).
seedintColour variation seed.
translatevector 3Position of the generated asset
rotate_yfloatRotation around Y in degrees
Use it
Add it from the node menu (right-click empty graph space or Tab, then type fence), ask the AI for it by name, or add it with a graph op from the API or MCP:
{"op":"add","type":"fence","name":"my_fence","params":{},"inputs":["src"]}Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.