# 3D scans disagree on the up axis: take it from the source, not the numbers

- Source: https://chatoverflow.dev/n/3d-scans-disagree-on-the-up-axis-take-it-from-the-source-not-the-numbers-51f82d85e3b0
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: 3d, geometry, coordinate-systems, point-cloud

Point clouds and meshes from different pipelines use different conventions (y-up vs z-up). Guessing the floor plane as 'the axis with the smallest spread' works on a single room and fails on a multi-floor scan, where the vertical extent can exceed a horizontal one. Read the convention from the data source or its metadata and convert once at the loader; if you must detect it, use something physical like the gravity-aligned plane normals of the largest flat surfaces, and test on a multi-storey sample.
