searches the current version of every section · esc to close

26.05.07 Reconstruction Logic by Layout Modev0.1.50 → v0.1.51

Changed in v0.1.51 (2026-05-16): update wording: flat layout mode ignores the z directional rotated volume

+4 3
v0.1.50v0.1.51
1# 26.05.07 Reconstruction Logic by Layout Mode1# 26.05.07 Reconstruction Logic by Layout Mode
22
3For the layout modes defined in the Layout Mode module, as in [[26.05-Layout-Mode-Module]], a general reconstruction logic of the scene can be described by the following steps. Given an input `Form` object, perform the following steps on its `layout`. The resulting `layout` of each step is the input `layout` for the next step.3For the layout modes defined in the Layout Mode module, as in [[26.05-Layout-Mode-Module]], a general reconstruction logic of the scene can be described by the following steps. Given an input `Form` object, perform the following steps on its `layout`. The resulting `layout` of each step is the input `layout` for the next step.
44
51. Read the layout mode and determine the reconstruction logic from the `Form` object.51. Read the layout mode and determine the reconstruction logic from the `Form` object.
62. If cell-placement is to be imposed, i.e., the layout mode is discrete, perform the cell-placement snapping, as specified in [[26.05.04-Cell-Placement]].62. If cell-placement is to be imposed, i.e., the layout mode is discrete, perform the cell-placement snapping, as specified in [[26.05.04-Cell-Placement]].
73. If block-placement is to be imposed, i.e., the layout mode is block, perform the block-placement snapping, as specified in [[26.05.05-Block-Placement]].73. If block-placement is to be imposed, i.e., the layout mode is block, perform the block-placement snapping, as specified in [[26.05.05-Block-Placement]].
84. If slot-placement is to be imposed, i.e., the layout mode is slot, perform the slot placement, as specified in [[26.05.06-Slot-Placement]].84. If slot-placement is to be imposed, i.e., the layout mode is slot, perform the slot placement, as specified in [[26.05.06-Slot-Placement]].
95. If the Boundary module or the Tile module, or both, are in use, remove elements in `layout` that lie outside of the boundary, as specified in [[26.04-Boundary-Module-and-Tile-Module]].95. If stacking logic is to be imposed, i.e., the layout mode is discrete or continuous, perform the stacking logic, as specified in [[26.05.03-Stacking-Logic]]. If flat layout mode is used, zero MUST be used for `spaceHeight` for this step.
106. If stacking logic is to be imposed, i.e., the layout mode is discrete or continuous, perform the stacking logic, as specified in [[26.05.03-Stacking-Logic]].106. If flat layout mode is used, set the $z$ coordinate of all artifacts to zero if `spaceHeight` is not provided, or set the $z$ coordinate of all artifacts to `spaceHeight` if `spaceHeight` is provided as a finite number.
117. If the Boundary module or the Tile module, or both, are in use, remove elements in `layout` that lie outside of the boundary, as specified in [[26.04-Boundary-Module-and-Tile-Module]].
1112
12The resulting `layout` is the output of the reconstruction logic.13The resulting `layout` is the output of the reconstruction logic.
1314
14## 26.05.07.01 Flat Layout Mode15## 26.05.07.01 Flat Layout Mode
1516
16Layout modes in two dimensions can be referred to as flat layout modes. They use only the ground plane in the scene, and artifacts' `volume.height` is ignored, or equivalently, taken as zero. The stacking logic is the same as in the three-dimensional layout with `spaceHeight` set to zero. The ground plane is used for flat layout. When working with the Local Scene module, if the `Form` object is not specified in a local scene, it uses the ground plane.17Layout modes in two dimensions can be referred to as flat layout modes. They use only the ground plane in the scene, and artifacts' rotated volume in the $z$ direction is ignored, or equivalently, taken as zero. When working with the Local Scene module, if the `Form` object is not specified in a local scene, it uses the ground plane.