feat(tabletop): show surface bounds and lay parts flat

Add a toggleable surface plane, bounds outline, and constant-size HTML
label. Scale placement and mount anchors to world units so parts land on
the surface, and rotate parts to face up.
This commit is contained in:
2026-08-09 23:04:51 +08:00
parent abf901418b
commit 5808e15c45
6 changed files with 116 additions and 11 deletions
+2
View File
@@ -33,6 +33,8 @@ export { resolveMountTree } from './mount.js';
export type { MountNode, MountTree } from './mount.js';
export { WorldSurfaceView, SurfaceNode } from './surfaces/WorldSurfaceView.js';
export { HudSurfaceView } from './surfaces/HudSurfaceView.js';
export { SurfaceBounds } from './surfaces/SurfaceBounds.js';
export { SurfacePlane } from './surfaces/SurfacePlane.js';
// Part placement.
export { PartPlacement } from './placement.js';