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

Parameters 13

stylemenu
Default picketOptions rail picket panel

rail = posts + horizontal rails (farm), picket = rails + vertical pickets (garden), panel = solid boards between posts.

heightfloat
Default 1.2Range 0.1 to …

Fence height (m).

post_spacingfloat
Default 2.4Range 0.2 to …

Distance between posts along the curve (m).

post_sizefloat
Default 0.1Range 0.01 to …

Post cross-section (m).

railsint
Default 2Range 0 to 10

Number of horizontal rails.

rail_sizefloat
Default 0.06Range 0.005 to …

Rail thickness (m).

picket_spacingfloat
Default 0.15Range 0.02 to …

Picket style: centre spacing of pickets (m).

picket_widthfloat
Default 0.08Range 0.005 to …

Picket width (m).

materialmenu
Default woodOptions wood metal stone

Material name.

colorcolour
Default [0.45, 0.31, 0.18]

Base colour (slightly varied per piece).

seedint
Default 0

Colour variation seed.

translatevector 3
Default [0, 0, 0]

Position of the generated asset

rotate_yfloat
Default 0

Rotation 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.