v0.5.0

pascalorg/editorv0.5.0Apr 13, 2026by open-pascal

AI Summary

Introduces move/rotate building tools and a building-relative coordinate system.

Key Highlights

  • Move/rotate building tool with grid snapping
  • Building-relative coordinate system
  • 2D floorplan rendering follows building rotation correctly
  • Wall, slab, ceiling, and stair flows use building-local coordinates

New Features

  • Move/rotate building tool with R/T rotation and Esc cancel
  • Floating building action menu
  • Building helper overlay with keyboard shortcuts
  • BuildingRenderer applies persisted position and rotation
  • Wall, slab, ceiling, stair, roof, zone, polygon editor flows use building-local coordinates
  • 2D floorplan rendering rotation fix
  • Pointer-to-plan conversion un-rotation fix
  • 2D grid events include localPosition

Full Release Notes

## Architecture

- Building-relative coordinate system via `GridEvent.localPosition`
- `ToolManager` runs building-relative tools inside a building-local `<group>`
- Placement coordinator adds `worldToBuildingLocal` conversion for cursor positioning

## Features

- Move/rotate building tool with grid snapping, `R` / `T` rotation, and `Esc` cancel
- Floating building action menu with a move action for selected buildings
- Building helper overlay with keyboard shortcut hints
- `BuildingRenderer` now applies persisted building `position` and `rotation`
- Wall, slab, ceiling, stair, roof, zone, polygon editor, and placement flows now use building-local coordinates
- 2D floorplan rendering now follows building rotation correctly

## Fixes

- Pointer-to-plan conversion now un-rotates correctly when a building is rotated
- 2D grid events now include `localPosition`

## Packages

- `@pascal-app/core@0.5.0`
- `@pascal-app/viewer@0.5.0`
- `@pascal-app/editor@0.4.0` (unchanged)

**Full Changelog**: https://github.com/pascalorg/editor/compare/v0.4.0...v0.5.0