Module scan_proposals

Module scan_proposals 

Source
Expand description

Scan-to-BIM element proposals (#6894): planes and cylinders from scan_segmentation become proposed walls, slabs, columns and pipes in the IFC model frame, each with a confidence, its source detections and their fit statistics. Nothing is created here; the viewer reviews the proposals and creates the accepted ones through its modelling commands.

  1. frame: every detection moves into the model frame (Z up, metres) through the scanToModel similarity; planes are reclassified there.
  2. levels: horizontal planes become floors or ceilings.
  3. walls: opposite vertical faces pair into walls; single faces get a default thickness behind their scanned side.
  4. slabs: ceilings pair with the floor above; single ones get a default thickness on their solid side.
  5. cylinders: vertical axes are columns, others pipes.

Confidence is described in score. Every stage is quadratic at worst in the plane count, which is bounded by MAX_PLANES.

Structs§

DetectionRef
A detection the proposal came from: an index into the segmentation report’s planes or cylinders.
ProposalFit
Fit statistics over all sources, in the model frame.
ScanElementProposal
ScanProposalOptions
ScanProposalReport
ScanProposalStats

Enums§

DetectionKind
ProposalBasis
How the proposal was derived from its sources.
ProposalClass
The IFC class a proposal would create (EXPRESS names).
ProposalGeometry
ProposalSchema
Schema of the model the proposals are for: it decides the pipe class.

Constants§

MAX_CYLINDERS
MAX_PLANES
Input bound: pairing is quadratic in the vertical plane count.

Functions§

propose_scan_elements
Propose IFC elements for the detections in report.