SupplyNetwork
Import from bear/blueprints/mep/SupplyNetwork.
Interfaces
SupplyNetworkProps
Defined in: bear/blueprints/mep/SupplyNetwork.tsx:10
Properties
| Property | Type | Description |
|---|---|---|
branchDiameter? | Measurement | Branch pipe diameter. Default "1/2in". |
diameter? | Measurement | Trunk pipe diameter. Omit to size it from the fixture count. |
elevation? | Measurement | Z offset within the level. Default "8ft". |
entry | [Measurement, Measurement] | Where water enters the network. [x, y] |
fixtures | [Measurement, Measurement][] | Fixture locations to route to. Each is [x, y]. |
name? | string | - |
service | "hot" | "cold" | Water service type. |
Functions
SupplyNetwork()
function SupplyNetwork(__namedParameters): BearElement;Defined in: bear/blueprints/mep/SupplyNetwork.tsx:51
SupplyNetwork — dead-simple trunk-and-branch auto-router.
Runs a trunk line along X from the entry through the full X extent of fixture positions; each off-trunk fixture gets a perpendicular Y branch; every fixture gets a SupplyStub terminal. All Manhattan routing.
The routing decisions are also the flow graph: the trunk feeds each
branch and each on-trunk stub, and each branch feeds its stub, so the
topology that sized the pipes is queryable
(q(trunk).trace("feeds")) instead of discarded. The trunk diameter,
when not authored, comes from the number of fixtures downstream.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | SupplyNetworkProps |