package nodes

45 outputs of TopoTopo's own packages, the packages of its built-in library (see TopoTopo's own packages), by full name; a built-in package's name alone is its default output, which lines its outputs up. A package's graph names one like any node, and its first use copies the package's version into the package. Their parameters are the outputs' typed vars and their inputs the graphs' input nodes; assets {action: "fork"} copies one's graph into the package's assets to edit.

topotopo/architecture#

kind: mesh · tags: lineup architecture

TopoTopo's architecture package, its 17 outputs side by side at their defaults.

The package's default output and its preview, from arch to window_frame along +X, 1 m apart. topotopo/architecture 1.0: first version The default output of package topotopo/architecture 1.0: it cooks node "lineup" of the package's graph "lineup"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

None.

topotopo/architecture/arch#

kind: mesh · tags: arch opening masonry stone modular

Stone arch: a wall block with a round, pointed (equilateral gothic) or flat-topped opening cut by a 2D boolean and extruded, with impost blocks at the spring line and a keystone.

topotopo/architecture/arch thumbnail

Pivot at the centre of the base (the opening is centred on x = 0, depth along Z). Pieces: arch (stone), arch_trim (stone_dark). Every piece is closed. topotopo/architecture 1.0: first version Output "arch" of package topotopo/architecture 1.0 (Arch): it cooks node "out" of the package's graph "arch"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
widthfloat20.4..10opening width (m)
heightfloat30.5..15opening height at the apex (m)
thicknessfloat0.50.1..3masonry around the opening (m)
depthfloat0.60.1..5depth along Z (m)
styleenum"round"shape of the opening's top
options: round pointed flat
segmentsint164..64segments of the curved top
keystonebooltruekeystone at the apex and impost blocks at the spring line

topotopo/architecture/beam_truss#

kind: mesh · tags: truss beam structural steel timber industrial

Planar truss in the XY plane: top and bottom chords, verticals and diagonals in Warren, Pratt or Howe layout, swept with a steel I-section or a square timber section.

topotopo/architecture/beam_truss thumbnail

Spans x = -span/2 … span/2. Pivot at the centre of the bottom chord's underside. Pieces: truss_chords, truss_web (steel or wood_dark). Every member is closed. topotopo/architecture 1.0: first version Output "beam_truss" of package topotopo/architecture 1.0 (Truss): it cooks node "out" of the package's graph "beam_truss"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
spanfloat81..40span along X (m)
heightfloat1.20.2..6depth of the truss, chord centre to chord centre (m)
panelsint62..30panels along the span (even counts are symmetric)
member_sizefloat0.120.03..0.6member section size (m)
layoutenum"warren"web layout
options: warren pratt howe
steelbooltruesteel I-sections (false = square timber)

topotopo/architecture/brick_wall#

kind: mesh · tags: wall brick masonry modular

Brick wall from x = 0 to x = wall_length: individual bricks in running, stack, English or Flemish bond, cut to the wall ends and top, with random offset, yaw and tint, standing slightly proud of a recessed mortar core.

topotopo/architecture/brick_wall thumbnail

One wythe deep (headers are drawn as half bricks). Pivot at the start of the wall, on the ground, centred in thickness. Pieces: brick_wall_bricks (brick), brick_wall_mortar (mortar). Every piece is a closed box. topotopo/architecture 1.0: first version Output "brick_wall" of package topotopo/architecture 1.0 (Brick wall): it cooks node "out" of the package's graph "brick_wall"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
wall_lengthfloat30.3..40length along X (m)
heightfloat1.80.1..5height (m)
brick_lengthfloat0.2150.1..0.5brick length (m); depth is half of it
brick_heightfloat0.0650.03..0.3brick height (m)
mortarfloat0.010.002..0.04joint width (m)
bondenum"running"brick pattern
options: running stack english flemish
jitterfloat0.40..1random offset and yaw of each brick (0 = perfect)
seedint00..1000random seed

topotopo/architecture/door_frame#

kind: mesh · tags: door wall-opening modular building

Door for a wall opening: jambs and head that fill the opening (width × height), a panelled leaf hinged on the left (-X) that swings towards -Z by open_angle, and lever handles on both sides.

topotopo/architecture/door_frame thumbnail

Pivot at the bottom centre of the opening, centred in depth. Pieces: door_frame (paint_white), door_leaf (door_paint), door_handle (brass). Every piece is a closed box. topotopo/architecture 1.0: first version Output "door_frame" of package topotopo/architecture 1.0 (Door): it cooks node "out" of the package's graph "door_frame"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
widthfloat10.5..3opening width (m)
heightfloat2.11.5..4opening height (m)
depthfloat0.160.06..0.6frame depth along Z (m)
frame_widthfloat0.080.03..0.25jamb and head width (m)
panelsint20..5raised panels on each face of the leaf
open_anglefloat00..110how far the leaf is open (degrees)

Used in the example town_from_lots.

topotopo/architecture/hex_grid_floor#

kind: mesh · tags: floor paving hexagonal tiles

Hexagonal paving: flat-topped hexagonal prisms on a hex lattice filling a rectangle (tiles whose centre lies inside), with gaps and random height and tint.

topotopo/architecture/hex_grid_floor thumbnail

Pivot at the centre of the base. Piece: hex_tiles (paving). Every tile is a closed prism. topotopo/architecture 1.0: first version Output "hex_grid_floor" of package topotopo/architecture 1.0 (Hexagonal paving): it cooks node "out" of the package's graph "hex_grid_floor"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
size_xfloat50.5..40area size along X (m)
size_zfloat50.5..40area size along Z (m)
radiusfloat0.30.05..3hexagon circumradius including the gap (m)
gapfloat0.020..0.2gap between tiles (m)
heightfloat0.080.01..1tile height (m)
height_jitterfloat0.0150..0.5random height variation (m)
seedint00..1000random seed

topotopo/architecture/house#

kind: mesh · tags: house building residential footprint modular

House built from a footprint polygon: one wall_segment per footprint edge (facing outward, floors stacked, a door on the first edge), topped with a roof_skeleton hip roof that follows the footprint exactly (straight skeleton: L-shapes, courtyards and any simple polygon get correct valleys and ridges).

topotopo/architecture/house thumbnail

Input 0 is an optional closed polygon on the XZ ground plane; without it a width × depth rectangle is used. The walls, windows, doors and roof are this package's own wall_segment and roof_skeleton outputs, so a change to those changes every house. Pivot: the footprint's origin on the ground. Pieces come from those outputs (wall, window_frame, door_frame, roof). topotopo/architecture 1.0: first version Output "house" of package topotopo/architecture 1.0 (House): it cooks node "out" of the package's graph "house"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0footprint: a closed polygon on the XZ plane (optional) (optional)

Parameters

nametypedefaultrangedescription
widthfloat83..30default footprint along X (m), used when no footprint is connected
depthfloat63..30default footprint along Z (m)
floorsint21..4number of floors (wall segments stacked)
floor_heightfloat32.4..4.5height of one floor (m)
window_spacingfloat2.51.5..6one window per this length of wall (m)
pitchfloat325..65roof slope (degrees)
overhangfloat0.50..2eave overhang (m)
doorbooltruea door on the first footprint edge

Used in the example guided_town.

topotopo/architecture/lineup#

kind: mesh · tags: lineup architecture

TopoTopo's architecture package, its 17 outputs side by side at their defaults.

The package's default output and its preview, from arch to window_frame along +X, 1 m apart. topotopo/architecture 1.0: first version Output "lineup" of package topotopo/architecture 1.0 (Architecture line-up): it cooks node "lineup" of the package's graph "lineup"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

None.

topotopo/architecture/pillar#

kind: mesh · tags: pillar column classical stone

Classical pillar: a round, fluted or square shaft with an optional plinth base and capital.

topotopo/architecture/pillar thumbnail

Pivot at the centre of the base. Pieces: pillar_shaft, pillar_base, pillar_capital (all stone_light). Every piece is closed. topotopo/architecture 1.0: first version Output "pillar" of package topotopo/architecture 1.0 (Pillar): it cooks node "out" of the package's graph "pillar"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
heightfloat30.5..15total height (m)
radiusfloat0.220.05..2shaft radius (half width for square) (m)
styleenum"fluted"shaft section
options: round fluted square
flutesint166..32fluted style: number of flutes
basebooltrueplinth and torus at the foot
capitalbooltrueechinus and abacus at the top

topotopo/architecture/railing#

kind: mesh · tags: railing balustrade along-curve metal

Railing along a curve (input 0; without one, a straight run of run_length along +X from the origin): posts at even spacing including both ends, a handrail on top, lower rails and balusters.

topotopo/architecture/railing thumbnail

Sits on the curve (pivot = the curve). Pieces: railing_posts, railing_rails, railing_balusters (all metal_dark). topotopo/architecture 1.0: first version Output "railing" of package topotopo/architecture 1.0 (Railing): it cooks node "out" of the package's graph "railing"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0curve to follow (polyline); optional (optional)

Parameters

nametypedefaultrangedescription
run_lengthfloat40.5..30run length along +X when no curve is connected (m)
heightfloat10.4..2handrail height above the curve (m)
post_spacingfloat1.50.3..6maximum distance between posts (m)
baluster_spacingfloat0.150..1distance between balusters (m); 0 = none
railsint20..6horizontal rails below the handrail (the lowest at 0.1 m)
profileenum"round"tube or square section for posts and rails
options: round square

topotopo/architecture/roof_gable#

kind: mesh · tags: roof gable-roof building modular

Gable roof for a width × depth footprint: two pitched slabs meeting at a ridge along X with a ridge cap, overhanging eaves and verges, and optional triangular gable walls under it.

topotopo/architecture/roof_gable thumbnail

Pivot at the centre of the wall-top plane (put it on top of the walls); the eaves hang below y = 0 by overhang × tan(pitch). Pieces: roof (roof_tiles on top, wood_dark on edges and underside), roof_ridge (roof_tiles), roof_gables (plaster). Every piece is closed. topotopo/architecture 1.0: first version Output "roof_gable" of package topotopo/architecture 1.0 (Gable roof): it cooks node "out" of the package's graph "roof_gable"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
widthfloat81..40footprint along X, the ridge direction (m)
depthfloat61..30footprint along Z, the span (m)
pitchfloat355..65roof slope (degrees)
overhangfloat0.40..2eave and verge overhang beyond the footprint (m)
thicknessfloat0.180.03..0.6slab thickness (m)
gable_wallsbooltruefill the gable triangles under the roof with wall

Used in the example market_street.

topotopo/architecture/roof_hip#

kind: mesh · tags: roof hip-roof building modular

Hip roof for a width × depth footprint: four slopes at the same pitch meeting at a ridge along the longer side (a pyramid on a square), a fascia band and a flat soffit under overhanging eaves, and a ridge cap.

topotopo/architecture/roof_hip thumbnail

Built as one closed solid (the attic is filled); there is no straight skeleton node yet, so footprints are rectangles. Pivot at the centre of the wall-top plane; the eaves hang below y = 0 by overhang × tan(pitch). Pieces: roof (roof_tiles on the slopes, wood_dark fascia and soffit), roof_ridge (roof_tiles). Every piece is closed. topotopo/architecture 1.0: first version Output "roof_hip" of package topotopo/architecture 1.0 (Hip roof): it cooks node "out" of the package's graph "roof_hip"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
widthfloat81..40footprint along X (m)
depthfloat61..40footprint along Z (m)
pitchfloat305..65roof slope (degrees)
overhangfloat0.50..2eave overhang beyond the footprint (m)
thicknessfloat0.20.03..0.6fascia height measured square to the slope (m)

Used in the example market_street.

topotopo/architecture/roof_skeleton#

kind: mesh · tags: roof hip-roof footprint building

Straight-skeleton hip roof from an optional XZ footprint, including concave outlines and courtyard holes.

topotopo/architecture/roof_skeleton thumbnail

Without input it uses a width by depth rectangle. Negative offset distance adds the overhang before the roof is built; a connected extrusion gives the roof shell thickness along averaged vertex normals. Pivot is the wall-top plane. Every face carries the source contour edge as edge; the roof is one closed shell per connected footprint. topotopo/architecture 1.0: first version Output "roof_skeleton" of package topotopo/architecture 1.0 (Roof on a footprint): it cooks node "paint" of the package's graph "roof_skeleton"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0footprint: closed XZ polygons, optional (optional)

Parameters

nametypedefaultrangedescription
widthfloat81..40default footprint width along X (m)
depthfloat61..40default footprint depth along Z (m)
pitchfloat325..65roof face slope (degrees)
overhangfloat0.40..2outward footprint offset before roofing (m)
thicknessfloat0.160.03..0.6shell extrusion along averaged vertex normals (m)

topotopo/architecture/scaffold#

kind: mesh · tags: scaffold construction industrial modular

Tube-and-fitting scaffold: standards (verticals) on base plates, ledgers along X and transoms along Z at every lift, zig-zag face braces on the front (+Z), board decks on the lifts and guard rails at the top.

topotopo/architecture/scaffold thumbnail

Runs along +X from x = 0. Pivot at the start, on the ground, centred in depth. Pieces: scaffold_tubes (galvanized), scaffold_boards (wood_light), scaffold_plates (metal_dark). Every piece is closed. topotopo/architecture 1.0: first version Output "scaffold" of package topotopo/architecture 1.0 (Scaffold): it cooks node "out" of the package's graph "scaffold"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
baysint31..12bays along X
liftsint31..10lifts (levels)
bay_widthfloat2.10.8..3.5bay width along X (m)
lift_heightfloat21.2..3height of one lift (m)
depthfloat1.20.6..2.5distance between the front and back standards (m)
boardsbooltrueboard decks on every lift
bracesbooltruediagonal braces on the front face

topotopo/architecture/spiral_stairs#

kind: mesh · tags: stairs spiral staircase interior

Spiral staircase: wedge treads turning counter-clockwise (seen from above) around a central column, with an optional helical handrail on posts.

topotopo/architecture/spiral_stairs thumbnail

Pivot at the foot of the column. Pieces: spiral_treads (wood), spiral_column (metal_dark), spiral_railing (metal_dark). Every piece is closed. topotopo/architecture 1.0: first version Output "spiral_stairs" of package topotopo/architecture 1.0 (Spiral stairs): it cooks node "out" of the package's graph "spiral_stairs"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
stepsint162..60number of treads
risefloat0.20.1..0.3height of one step (m)
turnfloat22.510..45rotation per step (degrees)
radiusfloat1.10.5..4outer radius (m)
column_radiusfloat0.10.03..0.5column radius (m)
railingbooltruehandrail along the outer edge

topotopo/architecture/stairs#

kind: mesh · tags: stairs staircase concrete wooden

Straight stairs climbing along +Z: a solid concrete flight (one watertight sawtooth solid) or open wooden treads between two stringers, with optional handrails on both sides.

topotopo/architecture/stairs thumbnail

Pivot at the bottom of the first step, centred in width. Pieces: stairs_flight (concrete) or stairs_treads (wood) + stairs_stringers (wood_dark), stairs_railing (metal_dark). topotopo/architecture 1.0: first version Output "stairs" of package topotopo/architecture 1.0 (Stairs): it cooks node "out" of the package's graph "stairs"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
stepsint121..40number of steps
risefloat0.180.08..0.3height of one step (m)
runfloat0.280.15..0.5depth of one step (m)
widthfloat1.20.5..5width along X (m)
styleenum"solid"solid concrete flight or open treads on stringers
options: solid open
railingbooltruehandrails with posts on both sides

topotopo/architecture/tile_floor#

kind: mesh · tags: floor tiles interior

Tiled floor: square tiles in a grid, offset (half-tile) or checker pattern with grout gaps, random height and tint, cut to the floor edges, on a grout bed.

topotopo/architecture/tile_floor thumbnail

Pivot at the centre of the base; the tile tops are at the bed thickness + tile thickness. Pieces: tile_floor_tiles (tile_light; tile_dark for the checker's dark squares), tile_floor_grout (grout). Every piece is a closed box. topotopo/architecture 1.0: first version Output "tile_floor" of package topotopo/architecture 1.0 (Tiled floor): it cooks node "out" of the package's graph "tile_floor"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
size_xfloat40.2..30floor size along X (m)
size_zfloat40.2..30floor size along Z (m)
tile_sizefloat0.50.1..2tile edge length including the gap (m)
gapfloat0.0120..0.08grout gap (m)
thicknessfloat0.020.005..0.1tile thickness (m)
patternenum"checker"tile layout
options: grid offset checker
height_jitterfloat0.0020..0.02random tile height variation (m)
seedint00..1000random seed

topotopo/architecture/wall_segment#

kind: mesh · tags: wall window building modular

Straight wall from x = 0 to x = wall_length with window (and an optional door) openings cut by a boolean, filled with this package's window_frame and door_frame outputs.

topotopo/architecture/wall_segment thumbnail

The openings are spread in equal bays; the door takes the middle bay. Modular: segments placed end to end line up. Pivot at the start of the wall, on the ground, centred in thickness (+Z = outside). Pieces: wall (plaster) plus the frames' pieces. Every piece is closed (the wall is one watertight solid). topotopo/architecture 1.0: first version Output "wall_segment" of package topotopo/architecture 1.0 (Wall): it cooks node "out" of the package's graph "wall_segment"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
wall_lengthfloat40.5..60length along X (m)
heightfloat31..10height (m)
thicknessfloat0.250.05..1thickness along Z (m)
windowsint20..24number of window openings
window_widthfloat10.3..4window opening width (m), clamped to fit the bay
window_heightfloat1.30.3..4window opening height (m), clamped to fit under the top
sill_heightfloat0.90..3height of the window openings above the ground (m)
doorboolfalseadd a 1.0 × 2.1 m door in the middle bay
framesbooltruefill the openings with window_frame / door_frame

Used in the example market_street.

topotopo/architecture/window_frame#

kind: mesh · tags: window glass wall-opening modular building

Window for a wall opening: a frame that fills the opening (width × height), mullions, a glass pane and a stone sill that sticks out at the front (+Z).

topotopo/architecture/window_frame thumbnail

Pivot at the bottom centre of the opening, centred in depth. Pieces: window_frame (paint_white), window_glass (glass), window_sill (stone). Every piece is a closed box. topotopo/architecture 1.0: first version Output "window_frame" of package topotopo/architecture 1.0 (Window): it cooks node "out" of the package's graph "window_frame"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
widthfloat10.3..4opening width (m)
heightfloat1.30.3..4opening height (m)
depthfloat0.120.04..0.5frame depth along Z (m)
frame_widthfloat0.070.02..0.25frame member width (m)
mullions_xint10..6vertical glazing bars
mullions_yint10..6horizontal glazing bars
sillbooltrueadd a sill below the opening
sill_depthfloat0.080..0.5how far the sill reaches in front of the frame (m)

topotopo/nature#

kind: scene · tags: lineup nature

TopoTopo's nature package, its 8 outputs side by side at their defaults.

The package's default output and its preview, from bush to tree_lowpoly along +X, 1 m apart. topotopo/nature 1.0: first version The default output of package topotopo/nature 1.0: it cooks node "lineup" of the package's graph "lineup"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

None.

topotopo/nature/bush#

kind: mesh · tags: bush foliage vegetation low-poly

Low-poly bush: overlapping faceted blobs, cut flat at the ground.

topotopo/nature/bush thumbnail

Pivot at the centre of the base. Piece: bush (foliage_dark). Open at the bottom. topotopo/nature 1.0: first version Output "bush" of package topotopo/nature 1.0 (Bush): it cooks node "out" of the package's graph "bush"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
sizefloat1.20.2..5width (m)
heightfloat0.80.1..4approximate height (m)
blobsint61..16number of blobs
roughnessfloat0.20..0.5blob displacement (fraction of the blob radius)
seedint00..1000random seed

Used in the examples guided_town, market_street.

topotopo/nature/cliff_block#

kind: mesh · tags: cliff rock mountain low-poly

Cliff block: a tall rock mass with ridged noise, horizontal strata ledges and banded colour, flat on the ground.

topotopo/nature/cliff_block thumbnail

Pivot at the centre of the base. Piece: cliff (cliff_rock). Closed (watertight). topotopo/nature 1.0: first version Output "cliff_block" of package topotopo/nature 1.0 (Cliff block): it cooks node "out" of the package's graph "cliff_block"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
widthfloat41..20size along X (m)
heightfloat51..30height (m)
depthfloat31..20size along Z (m)
roughnessfloat0.50..1noise and ledge strength (0 = smooth block)
strataint60..20number of strata ledges (0 = none)
seedint00..1000noise seed

topotopo/nature/forest_patch#

kind: instances · tags: forest trees conifer vegetation scatter low-poly

Forest on a surface (input 0; without one, a 30 × 30 m ground patch at y = 0): trees scattered by density with a minimum spacing on faces flatter than max_slope, kept upright with random yaw and height, as packed copies of three tree_lowpoly variants (conifer, round, poplar) picked by conifer_ratio, plus optional bushes between them.

topotopo/nature/forest_patch thumbnail

Output: packed instances (unpack for polygons); the input surface is not included. Pivot = the surface. Pieces: tree_trunk, tree_canopy, bush. topotopo/nature 1.0: first version Output "forest_patch" of package topotopo/nature 1.0 (Forest): it cooks node "out" of the package's graph "forest_patch"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0surface to plant on (polygons); optional (optional)

Parameters

nametypedefaultrangedescription
densityfloat0.020.001..0.5trees per square metre before spacing
min_distancefloat30.5..20minimum distance between trees (m)
min_heightfloat41..30smallest tree height (m)
max_heightfloat91..40largest tree height (m)
conifer_ratiofloat0.50..1share of conifers; the rest is split between round and poplar trees
max_slopefloat300..90no trees on faces steeper than this (degrees)
bushesbooltruescatter bushes (three times the tree density)
ground_sizefloat302..200size of the ground patch used when nothing is connected (m)
seedint00..1000random seed

topotopo/nature/grass_clumps#

kind: instances · tags: grass foliage vegetation ground-cover scatter

Grass clumps on a surface (input 0; without one, a 4 × 4 m ground patch at y = 0): each clump is a fan of thin two-sided blades leaning outwards; clumps are scattered by density on faces flatter than max_slope and copied as packed instances of two variants with random yaw and size.

topotopo/nature/grass_clumps thumbnail

Output: packed instances (unpack for polygons); the input surface is not included. Pivot = the surface. Piece: grass (grass, double sided). topotopo/nature 1.0: first version Output "grass_clumps" of package topotopo/nature 1.0 (Grass): it cooks node "out" of the package's graph "grass_clumps"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0surface to grow on (polygons); optional (optional)

Parameters

nametypedefaultrangedescription
densityfloat80.1..40clumps per square metre
heightfloat0.350.05..2blade height (m)
bladesint123..30blades per clump
spreadfloat0.50..1.5how far the blades lean out (fraction of the height)
max_slopefloat450..90no grass on faces steeper than this (degrees)
ground_sizefloat40.5..20size of the ground patch used when nothing is connected (m)
seedint00..1000random seed

topotopo/nature/lineup#

kind: scene · tags: lineup nature

TopoTopo's nature package, its 8 outputs side by side at their defaults.

The package's default output and its preview, from bush to tree_lowpoly along +X, 1 m apart. topotopo/nature 1.0: first version Output "lineup" of package topotopo/nature 1.0 (Nature line-up): it cooks node "lineup" of the package's graph "lineup"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

None.

topotopo/nature/log#

kind: mesh · tags: log deadwood wood low-poly

Felled log lying along X: a tapered trunk with ridged bark, light end grain and a few branch stubs.

topotopo/nature/log thumbnail

Pivot at the centre of the base (the log rests on y = 0). Pieces: log_trunk (bark, ends wood_end), log_stubs (bark). The trunk is closed. topotopo/nature 1.0: first version Output "log" of package topotopo/nature 1.0 (Log): it cooks node "out" of the package's graph "log"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
log_lengthfloat2.40.4..8length along X (m)
radiusfloat0.20.05..0.8radius at the thick end (m)
taperfloat0.20..0.6how much thinner the other end is (fraction of radius)
roughnessfloat0.120..0.3bark displacement as a fraction of radius
stubsint30..10branch stubs
seedint00..1000random seed (bark noise, stubs)

topotopo/nature/rock#

kind: mesh · tags: rock stone boulder low-poly

Low-poly rock: a noise-displaced icosphere, flattened, with faceted shading and a mottled tint.

topotopo/nature/rock thumbnail

Pivot at the centre of the base (sink lowers it into the ground). Piece: rock (rock). Closed (watertight). topotopo/nature 1.0: first version Output "rock" of package topotopo/nature 1.0 (Rock): it cooks node "out" of the package's graph "rock"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
sizefloat10.1..6approximate width (m)
roughnessfloat0.350..0.8displacement as a fraction of the size
flatnessfloat0.650.2..1height / width
levelint21..4icosphere subdivision level (2 = 162 points)
sinkfloat00..0.5part of the height below y = 0
seedint00..1000shape seed

Used in the examples forest_on_terrain, unreal_landscape.

topotopo/nature/scatter_rocks#

kind: instances · tags: rocks stone ground-cover scatter

Rocks scattered on a surface (input 0; without one, an 8 × 8 m ground patch at y = 0): the slope mask keeps faces flatter than max_slope, scatter by density with a minimum spacing, rocks aligned to the surface with random yaw, tilt and scale, overlaps pruned, then packed copies of three rock variants (this package's rock output) sunk slightly into the ground.

topotopo/nature/scatter_rocks thumbnail

Output: packed instances (unpack for polygons); the input surface is not included. Pivot = the surface. Piece: rock (rock). topotopo/nature 1.0: first version Output "scatter_rocks" of package topotopo/nature 1.0 (Scattered rocks): it cooks node "out" of the package's graph "scatter_rocks"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0surface to scatter on (polygons); optional (optional)

Parameters

nametypedefaultrangedescription
densityfloat0.40.01..5rocks per square metre before pruning
min_scalefloat0.350.05..5smallest rock width (m)
max_scalefloat1.10.05..8largest rock width (m)
max_slopefloat400..90no rocks on faces steeper than this (degrees)
ground_sizefloat81..60size of the ground patch used when nothing is connected (m)
seedint00..1000random seed

topotopo/nature/tree_lowpoly#

kind: mesh · tags: tree conifer deciduous vegetation low-poly

Low-poly tree in three styles: round (a cluster of faceted blobs), conifer (stacked cones) and poplar (a tall narrow crown).

topotopo/nature/tree_lowpoly thumbnail

Pivot at the base of the trunk. Pieces: tree_trunk (bark), tree_canopy (foliage, or foliage_dark for conifers). Every piece is closed. topotopo/nature 1.0: first version Output "tree_lowpoly" of package topotopo/nature 1.0 (Tree): it cooks node "out" of the package's graph "tree_lowpoly"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
heightfloat61.5..25total height (m)
trunk_radiusfloat0.180.04..1trunk radius at the base (m)
canopy_radiusfloat1.80.4..8crown radius (m)
styleenum"round"crown shape
options: round conifer poplar
seedint00..1000random seed (blob placement, rotation, tint)

Used in the examples forest_on_terrain, guided_town, market_street, unreal_landscape.

topotopo/props#

kind: mesh · tags: lineup props

TopoTopo's props package, its 5 outputs side by side at their defaults.

The package's default output and its preview, from barrel to sandbag_wall along +X, 1 m apart. topotopo/props 1.0: first version The default output of package topotopo/props 1.0: it cooks node "lineup" of the package's graph "lineup"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

None.

topotopo/props/barrel#

kind: mesh · tags: barrel container wooden prop

Wooden barrel: a bulged body of faceted staves with a recessed lid, and metal hoops.

topotopo/props/barrel thumbnail

Pivot at the centre of the base, axis Y. Pieces: barrel_body (wood), barrel_hoops (metal_dark). Every piece is closed. topotopo/props 1.0: first version Output "barrel" of package topotopo/props 1.0 (Barrel): it cooks node "out" of the package's graph "barrel"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
heightfloat0.90.3..2.5height (m)
radiusfloat0.280.1..1.2radius at the ends (m)
bulgefloat0.140..0.35extra radius at the middle, as a fraction of radius
stavesint186..48number of staves (facets around)
hoopsint40..8number of metal hoops
seedint00..1000random seed of the stave tint

topotopo/props/crate#

kind: mesh · tags: crate container wooden prop

Wooden crate: plank walls with gaps on all six sides inside a frame of edge battens.

topotopo/props/crate thumbnail

Pivot at the centre of the base. Pieces: crate_planks (wood), crate_frame (wood_dark). Every piece is a closed box. topotopo/props 1.0: first version Output "crate" of package topotopo/props 1.0 (Crate): it cooks node "out" of the package's graph "crate"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
widthfloat10.3..3outer size along X (m)
heightfloat0.80.3..3outer size along Y (m)
depthfloat0.80.3..3outer size along Z (m)
planksint42..10planks per face
frame_widthfloat0.080.03..0.15edge batten width (m)
gapfloat0.010..0.03gap between planks (m)
seedint00..1000random seed of the plank tint

topotopo/props/lineup#

kind: mesh · tags: lineup props

TopoTopo's props package, its 5 outputs side by side at their defaults.

The package's default output and its preview, from barrel to sandbag_wall along +X, 1 m apart. topotopo/props 1.0: first version Output "lineup" of package topotopo/props 1.0 (Props line-up): it cooks node "lineup" of the package's graph "lineup"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

None.

topotopo/props/pallet#

kind: mesh · tags: pallet warehouse wooden prop

Block pallet (EUR style): bottom boards, a 3 × 3 grid of blocks, cross boards and a top deck.

topotopo/props/pallet thumbnail

Pivot at the centre of the base; deck boards run along X. Pieces: pallet_boards (wood_light), pallet_blocks (wood). Every piece is a closed box. topotopo/props 1.0: first version Output "pallet" of package topotopo/props 1.0 (Pallet): it cooks node "out" of the package's graph "pallet"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
widthfloat1.20.6..2.4size along X (m), the deck board direction
depthfloat0.80.5..2size along Z (m)
deck_boardsint53..11top deck boards
board_thicknessfloat0.0220.015..0.05board thickness (m)
block_heightfloat0.0780.04..0.2height of the blocks between the board layers (m)
seedint00..1000random seed of the board tint

topotopo/props/pipe_run#

kind: mesh · tags: pipe industrial along-curve metal

Pipe run along a polyline (input 0; without one, a default run that turns and rises): corners rounded into elbows of bend_radius, flanges at both ends and every flange_spacing metres, and floor stands under horizontal stretches.

topotopo/props/pipe_run thumbnail

Pivot = the curve (the default run starts at the origin, 0.5 m up). Pieces: pipe (pipe_paint), pipe_flanges (steel), pipe_supports (metal_dark). Every piece is closed. topotopo/props 1.0: first version Output "pipe_run" of package topotopo/props 1.0 (Pipe run): it cooks node "out" of the package's graph "pipe_run"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0pipe centre line (polyline); optional (optional)

Parameters

nametypedefaultrangedescription
radiusfloat0.080.01..0.6pipe radius (m)
bend_radiusfloat0.350..3elbow radius at the corners (m); 0 = mitred corners
flange_spacingfloat2.50..20distance between flange joints (m); 0 = only at the ends
segmentsint144..48sides of the pipe section
supportsbooltruestands from y = 0 under horizontal stretches
support_spacingfloat30.5..20distance between stands (m)

topotopo/props/sandbag_wall#

kind: mesh · tags: sandbags barrier cover wall

Sandbag wall from x = 0 to x = wall_length: rows of pillow-shaped bags in running bond, squashed onto each other, with random yaw, offset and tint.

topotopo/props/sandbag_wall thumbnail

Pivot at the start of the wall, on the ground, centred in depth. Piece: sandbags (burlap). Every bag is closed. topotopo/props 1.0: first version Output "sandbag_wall" of package topotopo/props 1.0 (Sandbag wall): it cooks node "out" of the package's graph "sandbag_wall"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
wall_lengthfloat30.6..15length along X (m)
rowsint51..10number of rows
bag_lengthfloat0.60.3..1.2bag length (m)
bag_heightfloat0.160.06..0.4bag height (m)
jitterfloat0.50..1random yaw and offset (0 = neat)
seedint00..1000random seed

topotopo/street#

kind: mesh · tags: lineup street

TopoTopo's street package, its 7 outputs side by side at their defaults.

The package's default output and its preview, from bench to sign_post along +X, 1 m apart. topotopo/street 1.0: first version The default output of package topotopo/street 1.0: it cooks node "lineup" of the package's graph "lineup"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

None.

topotopo/street/bench#

kind: mesh · tags: bench seating park street-furniture

Park bench along X: wooden seat slats and an optional reclined backrest on cast-iron side frames (two, or three on long benches).

topotopo/street/bench thumbnail

The seat faces +Z. Pivot at the centre of the base. Pieces: bench_slats (wood), bench_frames (metal_dark). Every piece is closed. topotopo/street 1.0: first version Output "bench" of package topotopo/street 1.0 (Bench): it cooks node "out" of the package's graph "bench"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
bench_lengthfloat1.80.6..5length along X (m)
seat_heightfloat0.450.25..0.8seat height (m)
depthfloat0.450.25..0.8seat depth along Z (m)
slatsint52..10seat slats
backrestbooltrueadd the backrest
seedint00..1000random seed of the slat tint

Used in the examples guided_town, market_street.

topotopo/street/bollard#

kind: mesh · tags: bollard barrier street-furniture

Street bollard: a round post with a domed top or a square post with a pyramid cap, an optional reflective band and a base ring.

topotopo/street/bollard thumbnail

Pivot at the centre of the base. Pieces: bollard_body (metal_dark), bollard_band (reflective). Every piece is closed. topotopo/street 1.0: first version Output "bollard" of package topotopo/street 1.0 (Bollard): it cooks node "out" of the package's graph "bollard"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
heightfloat0.90.3..2height (m)
radiusfloat0.10.03..0.4post radius (half width for square) (m)
styleenum"round"post section
options: round square
bandbooltruereflective band near the top

topotopo/street/cable#

kind: mesh · tags: cable power-line utility-pole street-furniture

Hanging cable between two points: a catenary that sags by sag below the straight line at mid-span, swept as a tube, with optional wooden poles (with a cross arm and insulators) standing on y = 0 under the ends.

topotopo/street/cable thumbnail

With the default end points the pivot is the foot of the first pole. Pieces: cable (rubber), cable_poles (wood_dark), cable_insulators (ceramic). Every piece is closed. topotopo/street 1.0: first version Output "cable" of package topotopo/street 1.0 (Cable): it cooks node "out" of the package's graph "cable"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
startvec3[0,5,0]first end point (m)
endvec3[10,4.6,0]second end point (m)
sagfloat0.80..10drop below the straight line at mid-span (m)
radiusfloat0.0150.003..0.2cable radius (m)
segmentsint322..200segments along the cable
polesbooltruepoles under both ends

topotopo/street/fence#

kind: mesh · tags: fence barrier garden along-curve

Fence along a curve (input 0; without one, a straight run of run_length along +X from the origin) in three styles: picket (white pointed pickets on two rails), plank (horizontal boards) and rail (three ranch rails).

topotopo/street/fence thumbnail

Posts at even spacing including both ends. Sits on the curve (pivot = the curve). Pieces: fence_posts, fence_infill (paint_white, wood or wood_dark by style). topotopo/street 1.0: first version Output "fence" of package topotopo/street 1.0 (Fence): it cooks node "out" of the package's graph "fence"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0curve to follow (polyline); optional (optional)

Parameters

nametypedefaultrangedescription
run_lengthfloat60.5..40run length along +X when no curve is connected (m)
heightfloat1.10.4..2.5fence height (m)
styleenum"picket"infill style
options: picket plank rail
post_spacingfloat20.5..5maximum distance between posts (m)
picket_spacingfloat0.150.08..0.5picket style: distance between pickets (m)
seedint00..1000random seed of the board tint

Used in the examples guided_town, market_street.

topotopo/street/lamp_post#

kind: mesh · tags: lamp street-light lighting street-furniture

Street lamp: a tapered pole on a flared base with 1–4 curved arms carrying shades and glowing glass (arms 0 = a lantern on top of the pole).

topotopo/street/lamp_post thumbnail

The first arm points along +X. Pivot at the centre of the base. Pieces: lamp_pole, lamp_arms, lamp_heads (metal_dark), lamp_glass (lamp_glass, emissive). Every piece is closed. topotopo/street 1.0: first version Output "lamp_post" of package topotopo/street 1.0 (Lamp post): it cooks node "out" of the package's graph "lamp_post"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
heightfloat4.51.5..12height of the lamp heads (m)
arm_lengthfloat10.2..4horizontal reach of each arm (m)
armsint10..4number of arms (0 = lantern on top)
pole_radiusfloat0.070.03..0.3pole radius at the base (m)
lamp_sizefloat0.40.15..1.2shade diameter (m)

Used in the examples guided_town, market_street.

topotopo/street/lineup#

kind: mesh · tags: lineup street

TopoTopo's street package, its 7 outputs side by side at their defaults.

The package's default output and its preview, from bench to sign_post along +X, 1 m apart. topotopo/street 1.0: first version Output "lineup" of package topotopo/street 1.0 (Street line-up): it cooks node "lineup" of the package's graph "lineup"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

None.

topotopo/street/road_strip#

kind: mesh · tags: road street asphalt sidewalk along-curve

Road along a curve (input 0; without one, a gentle 24 m S-curve along X): an asphalt ribbon of width centred on the curve with solid white edge lines, dashed lane lines between lanes lanes, and kerbs with sidewalks on both sides.

topotopo/street/road_strip thumbnail

Follows the curve's height (drape the curve on a terrain first). Pivot = the curve. Pieces: road_surface (asphalt), road_markings (road_paint), road_kerbs (concrete), road_sidewalks (paving). topotopo/street 1.0: first version Output "road_strip" of package topotopo/street 1.0 (Road): it cooks node "out" of the package's graph "road_strip"; its params are the vars of that graph the node reads.

Inputs

#namedescription
0input0road centre line (polyline); optional (optional)

Parameters

nametypedefaultrangedescription
widthfloat72..30asphalt width (m)
lanesint21..8number of lanes (dashed lines between them)
edge_linesbooltruesolid lines 0.2 m inside both edges
dash_lengthfloat30.5..10length of the lane dashes (gaps are as long) (m)
kerb_heightfloat0.150..0.4kerb height above the asphalt (m); 0 = no kerbs or sidewalks
sidewalk_widthfloat20..8sidewalk width behind each kerb (m); 0 = none

Used in the examples guided_town, market_street.

topotopo/street/sign_post#

kind: mesh · tags: sign street-sign text street-furniture

Street name sign: a post with a ball cap and a green blade (two crossed blades for a corner) carrying raised white lettering on both faces, scaled to fit.

topotopo/street/sign_post thumbnail

The first blade faces ±Z. Pivot at the centre of the base. Pieces: sign_post (galvanized), sign_panel (sign_green), sign_text (sign_white). Every piece is closed. topotopo/street 1.0: first version Output "sign_post" of package topotopo/street 1.0 (Street sign): it cooks node "out" of the package's graph "sign_post"; its params are the vars of that graph the node reads.

Inputs

None (generator).

Parameters

nametypedefaultrangedescription
heightfloat2.81..6post height (m)
panel_widthfloat0.90.3..3blade width (m)
panel_heightfloat0.220.08..1blade height (m)
textstring"MAIN ST"lettering on the first blade
cross_textstring"1ST AVE"lettering on the second blade (empty = one blade)