Skip to main content

Module path

Module path 

Source

Structs§

RenderedPath

Enums§

RenderSegment

Constants§

HOP_FLAT 🔒
Width of the hop’s flat top, in world units.
HOP_HALF_BASE 🔒
Half the on-wire footprint of a hop. The 45° sides span HOP_HEIGHT horizontally (rise == run), plus half the flat top.
HOP_HEIGHT 🔒
Height a hop rises above the wire, in world units.

Functions§

render_path_with_chamfered_corners
splice_hops 🔒
Splice a small flat-topped bump into points at each crossing that lies on an axis-aligned run: two 45° segments with a flat top, bulging perpendicular to the run (up for a horizontal wire, right for a vertical one). Diagonal chamfer runs never match a crossing and pass through untouched.