Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage cityGen.package·originates fromworld 0a0b119f-a…

scExtras

What a streetscape has besides ways and junctions: stairs as real steps (`Extras.stairs`), the faces of the street graph paved wall to wall where the plan says square, quay, sliver or roundabout (`walkFaces`, `pavedFaces`, `face`, cut into cells by `clip`), with a coping and a qu…

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

cityGen.scExtras

What a streetscape has besides ways and junctions: stairs as real steps (Extras.stairs), the faces of the street graph paved wall to wall where the plan says square, quay, sliver or roundabout (walkFaces, pavedFaces, face, cut into cells by clip), with a coping and a quay wall along the water, and Extras.rasterise for the bed. See STREETS.md in the package.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

cityGen.scExtras: what a streetscape has besides ways and junctions. Extras.stairs a stairs way as real steps: risers sized from the fall, long treads where the fall is gentle (landings), a centre handrail on the steep runs Extras.faces the faces of the street graph (walked through the model's own mouths and corners, so their outlines share every vertex with the streets) matched to the plan's blocks: squares, quays, slivers and roundabout islands are paved or planted wall to wall; along the water a paved face ends in a coping and a quay wall Extras.bed the finished surface sampled on a lattice (the terrain's): what the ground must be graded to

heightAt(e: ?, s: ?) → void

Stairs The way's height at s, between its rows.

argtypedescription
e?
s?

steps(e: ?) → void

The treads of a stairs way: { s0, s1, y } from one landing to the other, and where its risers stand.

argtypedescription
e?

bar(mesh: ?, ax: ?, ay: ?, az: ?, bx: ?, by: ?, bz: ?, half: ?, kind: ?) → void

A box between two points (a post, a rail): four long faces.

argtypedescription
mesh?
ax?
ay?
az?
bx?
by?
bz?
half?
kind?

corner(px: ?, py: ?, pz: ?, sgn: ?) → void

the face's four corners: out along n by half, along t by +-half

argtypedescription
px?
py?
pz?
sgn?

stairs(model: ?, e: ?, r0: ?, r1: ?, mesh: ?) → void

The steps of a stairs way whose middles lie between rows r0 and r1 (the last run takes the far landing).

argtypedescription
model?
e?
r0?
r1?
mesh?

frame(s: ?) → void

argtypedescription
s?

line(s: ?, y: ?, v: ?, nx: ?, ny: ?, nz: ?) → void

a level (or given) cross-line of the way's columns at s

argtypedescription
s?
y?
v?
nx?
ny?
nz?

band(a: ?, b: ?) → void

argtypedescription
a?
b?

mouthLine(r: ?, v: ?) → void

argtypedescription
r?
v?

rail(i0: ?, i1: ?) → void

argtypedescription
i0?
i1?

nextArm(node: ?, arm: ?) → void

Faces: squares, quays, islands

argtypedescription
node?
arm?

walkFaces(model: ?) → void

Walk every face of the graph once. A face: { pts = { { x, y, z, shore } }, area2, cx, cz }.

argtypedescription
model?

inside(poly: ?, x: ?, z: ?) → void

argtypedescription
poly?
x?
z?

clip(pts: ?, x0: ?, z0: ?, x1: ?, z1: ?) → void

A face's outline cut to a rectangle (Sutherland-Hodgman). A point made by the cut carries the height between its two neighbours, `cut = true`, and when it lies on the water's edge the edge's direction there.

argtypedescription
pts?
x0?
z0?
x1?
z1?

pass(list: ?, inside: ?, cross: ?) → void

argtypedescription
list?
inside?
cross?

pavedFaces(model: ?) → void

Which faces are paved wall to wall, and with what: matched to the plan's blocks by where the block's middle lies.

argtypedescription
model?

face(model: ?, f: ?, mesh: ?) → void

argtypedescription
model?
f?
mesh?

frame(x: ?, z: ?) → void

argtypedescription
x?
z?

key(i: ?, j: ?) → void

argtypedescription
i?
j?

unkey(k: ?) → void

argtypedescription
k?

rasterise(mesh: ?, grid: ?, ox: ?, oz: ?, step: ?, kinds: ?) → void

argtypedescription
mesh?
grid?
ox?
oz?
step?
kinds?

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.