editor icon indicating copy to clipboard operation
editor copied to clipboard

Floor height parameter

Open mvniekerk opened this issue 7 months ago • 2 comments

Problem or motivation

My house is on a hill. So, the levels are staggered (one is 1,25m higher than the other). Currently I can't model it with Pascal

Proposed solution

  1. Be able to set level heights
  2. Have things like stairs be adaptable to it

Alternatives considered

No response

Additional context

No response

mvniekerk avatar Apr 04 '26 12:04 mvniekerk

Submitted PR #312 — baseElevation (meters) on each level, MetricControl in site panel, viewer helpers thread the offset through the stack. Tests added for schema + cumulative-Y helpers.

mvanhorn avatar May 15 '26 23:05 mvanhorn

Status, since this has been quiet: #312 is an implementation of exactly this — a per-level base elevation so levels can stagger. I reviewed it in depth today. The code is real and the tests around the core arithmetic are good, but I have held it because it adds a second vertical axis to the persisted schema, and our direction for vertical positioning is to anchor ordinal 0 and treat grade as a transform on the building rather than a per-level field. Landing a second axis first means reconciling two of them later.

So this stays open, and #312 stays open as the reference implementation rather than being closed. Sequencing, not a rejection.

Worth stating what does not work today for anyone hitting this: levels stack from the storey height of the level below, so a split-level or a house on a slope cannot be modelled by offsetting one wing. The workaround is separate buildings positioned independently, which loses the shared-level relationship.

Aymericr avatar Aug 04 '26 17:08 Aymericr