editor icon indicating copy to clipboard operation
editor copied to clipboard

core/viewer: StairOpeningSystem, material library expansion, and UI refinements

Open sudhir9297 opened this issue 6 months ago • 0 comments

What does this PR do?

This PR introduces several architectural improvements and features across the core, viewer, and editor packages:

  • Core: Implements StairOpeningSystem to handle automated stair opening updates in slabs and ceilings, moving this logic out of the viewer.
  • Material Library: Expands the catalog with new high-quality wood and flooring textures while cleaning up legacy asset references.
  • Elevator: Fixes stop order preservation and handles viewport resize issues. Enhanced placement preview.
  • Fence: Improved drawing logic to continue between segments.
  • Visuals: Refined wall chaining, door arch clipping, and floorplan rendering for window types.
  • UI: Removed redundant material strips from several panels to declutter the interface.

How to test

  1. Open the editor and place different stair types (straight, curved, spiral). Verify that automated openings in slabs/ceilings are correctly synchronized.
  2. Check the material picker for wood/flooring and verify new textures load correctly.
  3. Test elevator placement and multi-level stops to ensure order is preserved.
  4. Draw fences and verify they chain together smoothly.
  5. Enter walkthrough mode and verify camera distance constraints.

Screenshots / screen recording

N/A — Visual and architectural changes.

Checklist

  • [x] I've tested this locally with bun dev
  • [x] My code follows the existing code style (run bun check to verify)
  • [ ] I've updated relevant documentation (if applicable)
  • [x] This PR targets the main branch

sudhir9297 avatar May 15 '26 11:05 sudhir9297