Roadmap 0.11, Suggestions and email, 2026-11-10 to 11-13

MEP.2 BimCraft: route sanitary drainage automatically: fixtures to stacks to the outlet, by gravity, with minimum slopes and real fittings

  • Feature
  • Partly built
  • BimCraft

Built in the lab (BimCraft a Discord member), partly. Fixtures' drains to a stack and a building drain, by gravity: the plan is the MEP.1 router kept in one plane, the fall is worked out after (every run falls at least the smallest slope its size allows, IPC 704.1 table as in mep/pipes.js), sizes from the fixture units each piece carries (IPC 710.1 tables as in mep/drainage.js; NBR 8160 under the Brazilian standard), never smaller than the fixture drains served, tails of at least 100 mm under each fixture, an outlet invert typed or worked out (highest that keeps every tail), 'no fall, short by N mm' when it cannot, stack sized by the units above it, vent stubs marked at each fixture. Tested: a two-bathroom house (6 fixtures, 12 DFU), BimCraft's own Size the drains finds nothing to grow, IFC4 read back with every fixture in one connected network; drainage run in the real /lab page (7 checks).

Not done: junctions are drawn as tees (the run model has no wye; the fitting is noted for the person), several storeys at different levels route one level at a time, no help topic yet, fixture trap-to-vent distances are not checked. The tables are cited in code; their worked examples are not in the repo, so the known answers are table lookups and hand arithmetic.

Shared engine lib/mep-route (route.js, network.js, plus gravity.js, water.js, refrigerant.js), copied to bimcraft a Discord member/mep-route by tools/mep-route/sync.mjs; adapter a Discord member/mep/route-systems.js; panel Clash check > Route other systems automatically (mep/route-systems-ui.js). Tests: node lib/mep-route/test/{test,gravity,water,refrigerant}.mjs; node tools/mep-route/systems-test.mjs (a small house routed, IFC4 saved and read back, ports connected); tools/mep-route/browser-systems.mjs (drainage in /lab). Log docs/0.10-sessions/mep-10.md. No code compliance is claimed; a qualified person checks the design.

Waits on: The wye as a fitting kind in the run model (Bim core); the help topic copied in; the code's trap-to-vent table typed by the person

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.