resolveRoofWallTopElevation (roof/roof-elevation.ts)

editor · packages/core/src/systems/roof/roof-elevation.ts · typescript · MIT
pos

Module exposing: resolveRoofWallTopElevation, resolveRoofElevation, roofWallTop, wallsUnderRoof, highestWallTop

// Source: https://github.com/pascalorg/editor | License: MIT | Copyright 2026 Pascal Group Inc
// Provided via justclaw.it.com; keep this notice with the code.
import { resolveLevelId } from '../../lib/node-ancestry'
import { wallSupportForNodes } from '../../lib/opening-floor-datum'
import type { AnyNode, LevelNode, RoofNode, RoofSegmentNode, WallNode } from '../../schema'
import { coveredStoreyId, servesAsRoofLevel } from '../../services/roof-level'
import { findLevelBelowId, getLevelElevations, getWallTop } from '../../services/storey'
import { wallOverlapsSlabFootprint } from '../slab/slab-support'
import { getWallArcData } from '../wall/wall-curve'
import { resolveRoomRoofFootprintOnLevel } from './roof-footprint'

export function resolveRoofWallTopElevation(
  targetLevelId: LevelNo

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key