Skip to content

Bend Along Curve

Bend Along Curve repeats one piece along a curve and bends every copy to follow it. Feed it a wall section from a modular kit and a drawn curve, and you get a curved courtyard wall, a fence along a road, or a trim running around a room. It works out how many copies fit, bends them through the curve’s turns, and joins them on a clean miter at sharp corners.

Mesh module

The piece to repeat, such as a wall section from a modular kit.

Curve path

The curve the run follows. Every contour gets its own run.

Mesh

The copies, bent along the curve, merged into one mesh (each copy its own piece).

Parameter What it does Default
Mode Bend each copy to follow the curve, or keep every copy straight and lay it on the curve like a chain of straight pieces. Options: Bend, Rigid Bend
Length axis Which axis of the module runs along the curve. Its length on that axis is one module. Options: X, Z X
Fit How copies fill the curve: stretch a rounded number of them to fit exactly, stretch a set number, or keep their real size and leave a gap. Options: Stretch to fit, Count, Keep size Stretch to fit
Count How many copies go along each contour of the curve. Shown when Fit is Count. 4
Align Where the copies sit when they don’t fill the curve: from its start, centred (the gap split between both ends), or against its end. Options: Start, Center, End Shown when Fit is Keep size. Start
Spacing A gap between copies. Negative overlaps them, which hides seams on some kits. 0 cm
Length scale Scales the module along its length before the fit, so it counts as a longer or shorter piece. 1
Height scale Scales the module’s height. 1
Bend resolution The longest straight piece a copy is bent through. Smaller follows tight curves more smoothly but adds more geometry. Shown when Mode is Bend. 25 cm
Upright Keeps the module standing straight up, so walls stay plumb on a sloped curve. Off follows the curve’s own orientation, like Extrude Along Curve. On
Flip side Turns the module around so it sits on and faces the other side of the curve. Off
Side offset Pushes the whole run sideways off the curve. 0 cm
  • Length axis is the axis your piece is long on (X for most kits). Its length on that axis is one module, and +Y stays up.
  • Where it sits across the curve comes from where the piece sits relative to its origin. A wall built with its back face at Z = 0 hugs the curve; a wall centred on the origin straddles it. Flip side puts it on the other side, and Side offset pushes the whole run away.
  • How many copies: Stretch to fit picks the nearest whole number and stretches the copies slightly so the run ends exactly on the curve’s end. Keep size never stretches: the copies keep their real length and Align decides where the leftover gap goes. Copies are never cut in half.

Mode decides what happens to each copy on a turn.

  • Bend (the default) cuts each copy along its length and bends it through the curve, so a run of walls follows a circle as one smooth band. Bend resolution sets how finely it is cut.
  • Rigid keeps every copy exactly as you built it, with no cuts and no bending. Each copy sits on the straight line between its start and end points on the curve, like the links of a chain. Use it for kit art that must stay straight, such as panels with straight trim, windows or brick courses, or when a low-poly piece must stay low-poly. On a bend, expect a wedge-shaped gap on the outside between neighbouring copies, and a small overlap on the inside. A shorter module, or a Negative Spacing, makes the gaps smaller.

In Rigid mode, Stretch to fit and Count still stretch each copy along its length so it spans its straight line exactly. Keep size keeps every copy at its real length, with both of its ends on the curve.

A thick wall needs room to turn: its inside face has to start turning before the corner does. In Bend mode, wherever two turns on the same side of the curve sit closer together than the wall is thick, they become a single corner where the straight parts on either side would meet. A tiny jog in a hand-drawn curve, or a smooth bend tighter than the wall’s thickness, therefore comes out as one clean mitred corner instead of the wall folding inside out. The path moves by no more than about the wall’s thickness. A turn one way followed closely by a turn the other way (a step) is kept as drawn, because it can’t fold.

Two turns on the same side that together double back (a U-turn narrower than the wall) can’t become one corner. The node leaves them as drawn and shows a warning; space them further apart.

With Upright on, the piece stays standing straight up: on a curve that climbs a hill the wall leans into the slope while its vertical edges stay vertical, the way a real wall sits on terrain. A Rigid copy can’t lean like that without bending, so with Upright on it stays level from side to side and tilts along its length to follow the slope. Turn it off for pieces that should roll with the curve, like a banked rail. The piece then follows the curve’s own orientation, which you set on the Curve node with Orientation and Twist, exactly as Extrude Along Curve does.

To leave a gap for a door or end the wall before a pillar, cut the curve first with Trim Curve, then wire the trimmed curve into the path input.

  • Curve: draw the path. A Polyline curve gives sharp, mitred corners; Smooth and Bézier curves bend.
  • Trim Curve: use only part of the path.
  • Import: bring in a kit piece from a .glb file.
  • Curve nodes: the other nodes that take a curve in.