Releases: pascalorg/editor
Releases · pascalorg/editor
v0.3.0 — 2D Editing
What's new in v0.3.0
2D Floorplan panel
A full top-down drafting view for drawing and editing building layouts:
- Draw walls with snap-to-grid at 0.5m increments
- Place doors and windows directly on walls
- Edit zone and slab polygons with vertex and midpoint drag handles
- Pan, zoom, marquee selection, multi-select (⌘/Ctrl+click)
- Wall endpoint dragging with junction miter recalculation
- Overlay reference images as tracing guides
- Dark/light theme support
Wall measurement labels
3D overlay labels that show wall lengths in the viewport. They follow the camera, respect your unit preference (metric/imperial), and account for wall miter geometry so measurements are accurate even at junctions.
Command palette rewrite
Rebuilt from scratch with a registry-based architecture:
useCommandRegistryandusePaletteViewRegistrystores for extensibility- Commands grouped by category (View, Edit, Navigate, Create)
- Visual keyboard shortcut tokens
- Navigable pages and full-screen modes
Wall footprint geometry
New getWallPlanFootprint() in core — generates miter-aware 2D polygons for walls, used by both the floorplan panel and measurement labels.
Other improvements
- Node action menu — quick operations on selected scene nodes
- Selection manager — improved multi-select with ⌘/Ctrl+click toggle
- Camera focus —
camera-controls:focusevent centers the camera on a node's bounding box - Error boundary — broken item models show a fallback instead of crashing the viewer
- Ground occluder fix — upper floor shadows no longer bleed through lower levels
- Undo history — pauses correctly during batch operations (space detection, AI actions)
- Dirty marking — siblings and parents marked dirty on deletion so wall miters recalculate
Packages
Install
npm install @pascal-app/core@0.3.0 @pascal-app/viewer@0.3.0Numbers
95 files changed. +12,379 / −1,394 lines. No breaking changes.
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's new in v0.2.0
Roof system rewrite
- Complete rewrite of roof geometry generation with proper hip, gable, and mansard support
- New
roof-segmentnode type for individual roof face control - Dedicated roof materials system with per-segment material overrides
Scene store refactor
- Rearchitected scene store for better performance and cleaner state management
- Improved node action handlers with roof-segment awareness
Spatial grid improvements
- Spatial grid manager and sync layer updates for new node types
- Wall spatial grid refinements
Viewer enhancements
- Item light system — new pooled lighting system for item nodes
- Perf monitor — built-in performance overlay component
- Post-processing — updated effects pipeline
- Selection manager — improved multi-select and hover behavior
- Roof segment renderer with material support
- Item renderer improvements
- Site renderer updates
- Wall cutout refinements
Other
- New
layers.tsutility for render layer management - R3F type declarations (
r3f.d.ts) - Node event hook additions
- Viewer store extensions
Packages
Install
npm install @pascal-app/core@0.2.0 @pascal-app/viewer@0.2.0