@kruschdev/pascal-plugin-furnishings 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +70 -2
- package/docs/ARCHITECTURE.md +56 -0
- package/docs/CAD-CATALOG.md +124 -0
- package/package.json +92 -4
- package/src/agent-operations.ts +851 -0
- package/src/agent-tools.ts +273 -0
- package/src/cad/catalog.ts +107 -0
- package/src/cad/electronics-geometry.ts +298 -0
- package/src/cad/furniture-geometry.ts +846 -0
- package/src/cad/index.ts +10 -0
- package/src/cad/materials.ts +274 -0
- package/src/cad/plants-geometry.ts +506 -0
- package/src/furnishings/audit.ts +711 -0
- package/src/furnishings/autopopulate.ts +1474 -0
- package/src/furnishings/catalog.ts +1848 -0
- package/src/furnishings/geometry.ts +753 -0
- package/src/furnishings/index.ts +14 -0
- package/src/furnishings/schedule.ts +503 -0
- package/src/furnishings/spatial-grounding.ts +1753 -0
- package/src/furnishings/types.ts +416 -0
- package/src/index.ts +145 -0
- package/src/nodes/assembly.ts +105 -0
- package/src/nodes/electronics.ts +187 -0
- package/src/nodes/glb-hydration.ts +269 -0
- package/src/nodes/item.ts +202 -0
- package/src/nodes/parametrics.ts +102 -0
- package/src/nodes/plant.ts +197 -0
- package/src/render.ts +55 -0
- package/src/ui/chat-card.tsx +119 -0
- package/src/ui/furnishings-panel.tsx +679 -0
- package/src/ui/inspector-card.tsx +350 -0
- package/src/ui/schedule-view.tsx +336 -0
- package/src/ui/store.ts +94 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Kevin Ruschman (@kruschdev)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,71 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Pascal Plugin Furnishings (`@kruschdev/pascal-plugin-furnishings`)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](./LICENSE)
|
|
4
|
+
[](https://github.com/pascalorg/editor)
|
|
5
|
+
[](https://github.com/kruschdev/pascal-mep-kernel)
|
|
6
|
+
[](#all-7-covered-domains-86-non-cabinetry-items)
|
|
7
|
+
|
|
8
|
+
An open-source, MIT-licensed **FF&E, Consumer Electronics/AV/Workstations, Architectural Lighting, Soft Goods, Outdoor Living, and Procedural Botanicals & Landscape Plants** plugin for [Pascal Editor](https://github.com/pascalorg/editor).
|
|
9
|
+
|
|
10
|
+
## Walkthrough Video (Recorded Live in Pascal Editor)
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
**[Watch Full 720p HD Narrated Walkthrough Video Recorded in Pascal Editor (`v0.1.0` Release Asset, 2m 35s)](https://github.com/kruschdev/pascal-plugin-furnishings/releases/download/v0.1.0/demo-walkthrough.mp4)**
|
|
15
|
+
|
|
16
|
+
### All 86 Procedural MIT 3D CAD Models (Zero External Server Required)
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
I built `@kruschdev/pascal-plugin-furnishings` (`pluginId: 'krusch:furnishings'`) on top of [`@kruschdev/pascal-mep-kernel`](https://github.com/kruschdev/pascal-mep-kernel) to furnish complete interiors and exterior landscapes with zero external server required. Every item renders immediately via a clean-room procedural Three.js CAD engine (including organic branching trees, bushes, hedges, shrubs, grasses, potted houseplants, architectural chandeliers/pendants/sconces/ceiling fans/recessed cans/track lights, OLED TVs, Dolby soundbars, floorstanding speaker arrays, dual-monitor and ultrawide desktop PCs, sofas, tables, desks, beds, rugs, lamps, and patio living), with optional `customGlbUrl` overrides per item and full binary `.glb` export (`bun run export:cad`).
|
|
21
|
+
|
|
22
|
+
**Strict Non-Cabinetry Boundary & Real-SKU Cabinetry Split:** `krusch:furnishings` explicitly excludes built-in kitchen and bath cabinetry (which belong in real manufacturer SKU catalogs such as `@kruschdev/pascal-plugin-catalog`), millwork countertops (`@kruschdev/pascal-plugin-surfaces`), and built-in MEP gear (`structural`, `plumbing`, `hvac`, `electrical`) so schedules and CSI BOMs never double-count across plugins.
|
|
23
|
+
|
|
24
|
+
**Live Electrical Coordination (`@kruschdev/pascal-plugin-electrical`):** Placing a wall-mounted OLED TV, ceiling projector, desktop PC workstation, AV rack, or hardwired architectural luminaire publishes standardized `electricalDemand` metadata so `@kruschdev/pascal-plugin-electrical` automatically provisions recessed behind-TV media outlets, 20A workstation duplexes, ceiling projector receptacles, and room-appropriate switched lighting (automatic paired 3-way switches for hallways, multi-entry rooms, and large open spaces; single-pole switches for small single-door rooms).
|
|
25
|
+
|
|
26
|
+
## All 7 Covered Domains (86 Non-Cabinetry Items)
|
|
27
|
+
|
|
28
|
+
| # | Domain | Count | Highlights | CSI Division |
|
|
29
|
+
|---|---|---|---|---|
|
|
30
|
+
| 1 | **Seating** | 12 | 3-seat sofa, L-shaped sectional, loveseat, accent armchair, power recliner, ottoman, dining chair, bar stool, ergonomic office chair, entryway bench, chaise lounge, oversized lounger | `12 51 00` / `12 52 00` |
|
|
31
|
+
| 2 | **Tables & Desks** | 11 | Rectangular & round dining tables, coffee table, side/end table, entryway console, electric dual-motor standing desk, executive desk, L-shaped corner desk, 2-drawer nightstand, bistro table, conference table | `12 51 00` / `12 52 00` |
|
|
32
|
+
| 3 | **Beds & Freestanding Storage** | 9 | King/Queen/Twin platform beds, twin bunk bed, 6-drawer dresser, 5-tier open bookshelf, slatted media console, dining credenza/sideboard, freestanding wardrobe armoire | `12 52 00` |
|
|
33
|
+
| 4 | **TVs, Audio & Computers** | 14 | 65"/77" wall & tabletop 4K OLED TVs, 4K laser ceiling projector, 120" projection screen, Dolby Atmos soundbar, floorstanding tower speakers, bookshelf monitors, center channel, 12" powered subwoofer, 9.2ch AV receiver rack, hi-fi turntable, dual-27" & 49" curved ultrawide desktop PC rigs, laptop + 32" dock setup | `27 41 00` |
|
|
34
|
+
| 5 | **Rugs, Architectural Lights, Grates & Decor** | 19 | 8×10 rectangular & 7 ft round woven area rugs, arched floor lamp, ceramic table lamp, framed gallery art, full-length mirror, pinch-pleat drapes, decor vignette, **8 hardwired architectural luminaires**, **plus 3 architectural HVAC register grates & return grilles** (`vent-grate-floor-brass`, `vent-grate-wall-linear`, `vent-grille-return-flush`) that auto-duct in `@kruschdev/pascal-plugin-hvac` | `12 48 00` / `26 51 00` / `23 37 13` |
|
|
35
|
+
| 6 | **Outdoor & Patio Living** | 6 | Teak patio sofa, slatted teak patio dining table, Adirondack chair, 10 ft octagonal patio umbrella, architectural gas fire pit table, poolside sun lounger | `12 93 00` |
|
|
36
|
+
| 7 | **Trees, Bushes & Plants** | 15 | Red Oak shade tree, Japanese Red Maple, Pine/Spruce evergreen, Italian columnar cypress, Mediterranean fan palm, ornamental olive tree, trimmed boxwood globe bush, clipped privacy hedge, flowering hydrangea shrub, fountain ornamental grass, potted fiddle-leaf fig, potted monstera, tall snake plant, cascading Boston fern, modern raised succulent trough | `32 93 00` / `12 45 00` |
|
|
37
|
+
|
|
38
|
+
## Core Capabilities
|
|
39
|
+
|
|
40
|
+
- **Room- & Site-Aware Auto-Furnishing + Exterior Landscaping (`furnishings_autopopulate`)**: Consumes `@kruschdev/pascal-mep-kernel/anatomy` (`compileBuildingAnatomy`) to detect rooms (living, media/theater, bedroom, dining, home office, entryway, patio), solid opening-free walls, doorway swing zones, and the building exterior footprint. Stages style-coherent furniture, AV/workstations, indoor houseplants, foundation bushes, rear privacy hedges, and shade/ornamental trees outside foundation root setbacks.
|
|
41
|
+
- **Procedural Botanical Engine**: Seeded deterministic branching (`mulberry32`) for deciduous trees, evergreens, palms, shrubs, hedges, ornamental grasses, and potted houseplants with live **season switching** (`spring`, `summer`, `autumn`, `winter` bare deciduous branches), **growth maturity** (`sapling`, `juvenile`, `mature`, `specimen`), and **pot/planter styles** (`none`, `terracotta`, `ceramic-white`, `ceramic-charcoal`, `woven-basket`, `concrete-trough`, `cedar-box`).
|
|
42
|
+
- **Ergonomics, Clearance, AV Acoustics, Electrical & Botanical Audits (`furnishings_audit_layout`)**:
|
|
43
|
+
- `FRN-CLR-01` / `FRN-CLR-02` / `FRN-CLR-03`: 3D footprint overlap, doorway egress clearance (`>= 0.914m / 36"`), and window-opening occlusion checks for wall-mounted TVs, decor, sconces, and tall furniture.
|
|
44
|
+
- `FRN-ERG-01`: Coffee table to sofa legroom reach check (`0.35m–0.55m`).
|
|
45
|
+
- `FRN-AV-01` / `FRN-AV-02`: TV viewing distance (THX/SMPTE FOV), eye-level mounting height, and L/R stereo speaker symmetry checks.
|
|
46
|
+
- `FRN-ELC-01` / `FRN-ELC-02`: Room plug-in AV/workstation load aggregation (`> 1440W` 80% 15A branch circuit warning) and receptacle proximity check against `krusch:electrical`.
|
|
47
|
+
- `FRN-BOT-01` / `FRN-BOT-02` / `FRN-BOT-03`: Exterior tree-to-foundation root clearance, outdoor-tree-indoors detection, and tree canopy crowding.
|
|
48
|
+
- **5-Tab FF&E & Landscape Schedule + CSI Div 12 / 23 / 26 / 27 / 32 Priced BOM (`FurnishingsScheduleView`)**: Room staging breakdown, electrical load handoff table for `krusch:electrical`, botanical species schedule, interactive audit diagnostics, and formula-safe CSV exports (`csvCell`).
|
|
49
|
+
|
|
50
|
+
## Subpath Exports & Entry Boundary Purity
|
|
51
|
+
|
|
52
|
+
| Subpath | Purpose | Runtime Constraints |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| `@kruschdev/pascal-plugin-furnishings` | Full Pascal Editor plugin, left-rail panel, 5-tab schedule view, live inspector, chat cards | Browser + `@pascal-app/editor` |
|
|
55
|
+
| `@kruschdev/pascal-plugin-furnishings/render` | Read-only 3D/2D node renderer manifest (`furnishingsRenderPlugin`) | Zero `@pascal-app/editor` or `next` |
|
|
56
|
+
| `@kruschdev/pascal-plugin-furnishings/furnishings` | Pure 86-item catalog, anatomy adapter, auto-furnisher, audit engine, schedule & CSI BOM + CSV | Zero React, Three.js, or `@pascal-app/*` |
|
|
57
|
+
| `@kruschdev/pascal-plugin-furnishings/cad` | 86 procedural MIT Three.js CAD builders + per-build memoized PBR material pool | Zero React or `@pascal-app/*` |
|
|
58
|
+
| `@kruschdev/pascal-plugin-furnishings/agent-tools` | 8 pure Zod tool contracts for Pascal AI Chat & MCP | Zero React, Three.js, or `@pascal-app/editor` |
|
|
59
|
+
| `@kruschdev/pascal-plugin-furnishings/agent-operations` | Pure headless scene operations returning `{ result, changes }` | Zero React, Three.js, or `@pascal-app/editor` |
|
|
60
|
+
|
|
61
|
+
## Commands
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
bun install
|
|
65
|
+
bun run check # tsc --noEmit + bun test suite + 5/5 entry boundary gates + production dist/ build
|
|
66
|
+
bun run export:cad # Export all 86 clean-room binary .glb models into assets/cad/
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## License
|
|
70
|
+
|
|
71
|
+
MIT. Created by Kevin Ruschman ([@kruschdev](https://github.com/kruschdev)).
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Architecture & Entrypoint Purity (`@kruschdev/pascal-plugin-furnishings`)
|
|
2
|
+
|
|
3
|
+
## 1. Layered Package Architecture
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
src/
|
|
7
|
+
├── furnishings/ # Layer 1: Pure framework-free TS (zero React, Three.js, @pascal-app/*)
|
|
8
|
+
│ ├── types.ts # Canonical enums, style presets, finish & botanical palettes
|
|
9
|
+
│ ├── catalog.ts # 86 curated non-cabinetry item specs across 7 domains + search/swap/CSV/URL guards
|
|
10
|
+
│ ├── geometry.ts # @kruschdev/pascal-mep-kernel/anatomy adapter (rooms, walls, doors, outlets, yard)
|
|
11
|
+
│ ├── autopopulate.ts # Room- & site-aware auto-furnisher + exterior landscaper
|
|
12
|
+
│ ├── audit.ts # 14-rule ergonomics, clearance, AV acoustics, electrical & botanical auditor
|
|
13
|
+
│ ├── schedule.ts # Room staging, electrical load handoff, botanical schedule & CSI Div 12/23/26/27/32 BOM
|
|
14
|
+
│ └── index.ts
|
|
15
|
+
├── cad/ # Layer 2: Procedural Three.js CAD engine (zero React, @pascal-app/*)
|
|
16
|
+
│ ├── materials.ts # Fresh-per-build PBR material pool + procedural DataTextures
|
|
17
|
+
│ ├── furniture-geometry.ts # 57 furniture, lighting, HVAC grates, decor & outdoor patio procedural builders
|
|
18
|
+
│ ├── electronics-geometry.ts # 14 TV, speaker, projector, AV rack & desktop/laptop PC builders
|
|
19
|
+
│ ├── plants-geometry.ts # 15 seeded organic tree, bush, hedge, grass & houseplant builders
|
|
20
|
+
│ ├── catalog.ts # 86-model FURNISHINGS_CAD_CATALOG + unified dispatcher
|
|
21
|
+
│ └── index.ts
|
|
22
|
+
├── nodes/ # Layer 3: Pascal Plugin API v1 NodeDefinitions (editor-free)
|
|
23
|
+
│ ├── glb-hydration.ts # Safe optional customGlbUrl loader (URL guard, LRU cache, isolated cloning)
|
|
24
|
+
│ ├── assembly.ts # furnishings:assembly
|
|
25
|
+
│ ├── item.ts # furnishings:item
|
|
26
|
+
│ ├── electronics.ts # furnishings:electronics
|
|
27
|
+
│ ├── plant.ts # furnishings:plant
|
|
28
|
+
│ └── parametrics.ts # Auto-derived Inspector Parametrics
|
|
29
|
+
├── render.ts # Editor-free ./render entry
|
|
30
|
+
├── agent-tools.ts # Pure Zod-only ./agent-tools entry (8 tools, DECISIONS.md E-016)
|
|
31
|
+
├── agent-operations.ts # Pure headless ./agent-operations entry (DECISIONS.md E-018)
|
|
32
|
+
├── ui/ # Layer 5: Scoped Pascal Editor UI (isolated Zustand store)
|
|
33
|
+
│ ├── store.ts
|
|
34
|
+
│ ├── furnishings-panel.tsx
|
|
35
|
+
│ ├── inspector-card.tsx
|
|
36
|
+
│ ├── schedule-view.tsx
|
|
37
|
+
│ └── chat-card.tsx
|
|
38
|
+
└── index.ts # Main browser entry (furnishingsPlugin, HostPanel, ScheduleView, ChatExtension)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 2. Entry Boundary Purity Gates (`bun run check:render`)
|
|
42
|
+
|
|
43
|
+
All 5 isolation gates plus a negative root probe are enforced by `scripts/check-render-entry.ts`:
|
|
44
|
+
|
|
45
|
+
1. `./render` — zero `@pascal-app/editor` or `next` imports.
|
|
46
|
+
2. `./cad` — zero `react`, `react-dom`, `@pascal-app/editor`, or `next` imports.
|
|
47
|
+
3. `./agent-tools` — zero `three`, `react`, `react-dom`, `@pascal-app/viewer`, `@pascal-app/editor`, or `next` imports.
|
|
48
|
+
4. `./agent-operations` — zero `three`, `react`, `react-dom`, `@pascal-app/viewer`, `@pascal-app/editor`, or `next` imports.
|
|
49
|
+
5. `./furnishings` — zero `three`, `react`, `react-dom`, `@pascal-app/*`, or `next` imports.
|
|
50
|
+
6. Root negative probe — confirms `.` reaches `@pascal-app/editor` so the gate cannot pass silently.
|
|
51
|
+
|
|
52
|
+
## 3. Cross-Plugin Coordination & Non-Cabinetry Invariant
|
|
53
|
+
|
|
54
|
+
- **No Cabinetry Overlap**: Built-in kitchen/bath cabinetry and millwork vanities are explicitly excluded from `FURNISHINGS_CATALOG` and rejected by `furnishings_place_item`.
|
|
55
|
+
- **Kernel Integration**: Consumes `@kruschdev/pascal-mep-kernel/anatomy` (`compileBuildingAnatomy`) as an external dependency (`build-dist.ts` verifies it is never inlined).
|
|
56
|
+
- **Electrical Coordination (`krusch:electrical`)**: Aggregates all plug-in TV, speaker, subwoofer, AV receiver, desktop PC, standing desk, and lamp wattages per room (`electricalDemandW`), warns when any room exceeds 80% of a 15A 120V branch circuit (`1440W`), and checks receptacle cord reach (`<= 2.4m`) whenever `electrical:device` outlets are present in the scene.
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# 86-Model Procedural MIT 3D CAD Catalog (`@kruschdev/pascal-plugin-furnishings`)
|
|
2
|
+
|
|
3
|
+
Generated via `bun run export:cad` from `src/cad/` into `assets/cad/*.glb` (0 NaN vertices, grounded at `y = 0`, fresh per-build PBR materials, strict non-cabinetry scope) and visually verified via `bun run render:cad-thumbs` (`assets/cad-furnishings-catalog.png`).
|
|
4
|
+
|
|
5
|
+
## Seating (12 models)
|
|
6
|
+
|
|
7
|
+
| Kind ID | Label | Dimensions (W×D×H m) | CSI | Est. USD | Wattage | GLB Size |
|
|
8
|
+
|---|---|---|---|---|---|---|
|
|
9
|
+
| `sofa-3seat` | 3-Seat Upholstered Sofa | 2.24×0.94×0.84 | 12 52 00 | $1650 | 0W | 35.3 KB |
|
|
10
|
+
| `sofa-sectional-l` | L-Shaped Sectional Sofa | 2.85×1.95×0.84 | 12 52 00 | $2950 | 0W | 38.7 KB |
|
|
11
|
+
| `loveseat` | 2-Seat Loveseat | 1.62×0.9×0.82 | 12 52 00 | $1180 | 0W | 31.7 KB |
|
|
12
|
+
| `armchair-accent` | Accent Lounge Armchair | 0.82×0.84×0.84 | 12 52 00 | $640 | 0W | 20.7 KB |
|
|
13
|
+
| `recliner` | Theater Power Recliner | 0.94×0.98×1.02 | 12 52 00 | $980 | 65W | 12.9 KB |
|
|
14
|
+
| `ottoman` | Upholstered Storage Ottoman | 0.86×0.62×0.44 | 12 52 00 | $320 | 0W | 17.0 KB |
|
|
15
|
+
| `dining-chair` | Sculpted Dining Chair | 0.48×0.52×0.82 | 12 52 00 | $245 | 0W | 24.6 KB |
|
|
16
|
+
| `bar-stool` | Counter / Bar Stool | 0.44×0.46×0.96 | 12 52 00 | $260 | 0W | 29.0 KB |
|
|
17
|
+
| `office-ergonomic-chair` | Ergonomic Task Office Chair | 0.66×0.66×1.06 | 12 51 00 | $590 | 0W | 40.4 KB |
|
|
18
|
+
| `bench-entryway` | Entryway / Foot-of-Bed Bench | 1.28×0.42×0.47 | 12 52 00 | $340 | 0W | 13.0 KB |
|
|
19
|
+
| `chaise-lounge` | Indoor Chaise Lounge | 0.78×1.62×0.82 | 12 52 00 | $890 | 0W | 20.9 KB |
|
|
20
|
+
| `beanbag-lounger` | Oversized Foam Lounger | 1.05×1.05×0.68 | 12 52 00 | $280 | 0W | 14.3 KB |
|
|
21
|
+
|
|
22
|
+
## Tables & Desks (11 models)
|
|
23
|
+
|
|
24
|
+
| Kind ID | Label | Dimensions (W×D×H m) | CSI | Est. USD | Wattage | GLB Size |
|
|
25
|
+
|---|---|---|---|---|---|---|
|
|
26
|
+
| `dining-table-rect` | Rectangular Dining Table (6-8 Seat) | 2×1×0.76 | 12 52 00 | $1350 | 0W | 10.8 KB |
|
|
27
|
+
| `dining-table-round` | Round Pedestal Dining Table (4-6 Seat) | 1.32×1.32×0.76 | 12 52 00 | $1080 | 0W | 18.1 KB |
|
|
28
|
+
| `coffee-table` | Low Coffee Table w/ Shelf | 1.28×0.68×0.42 | 12 52 00 | $490 | 0W | 11.1 KB |
|
|
29
|
+
| `side-end-table` | Round Side / End Table | 0.5×0.5×0.56 | 12 52 00 | $210 | 0W | 15.9 KB |
|
|
30
|
+
| `console-table` | Slim Entryway Console Table | 1.36×0.36×0.8 | 12 52 00 | $460 | 0W | 16.4 KB |
|
|
31
|
+
| `standing-desk` | Electric Dual-Motor Standing Desk | 1.6×0.76×0.75 | 12 51 00 | $780 | 120W | 12.9 KB |
|
|
32
|
+
| `executive-desk` | Executive Writing Desk | 1.75×0.82×0.76 | 12 51 00 | $1120 | 0W | 12.8 KB |
|
|
33
|
+
| `l-shaped-desk` | L-Shaped Corner Workstation Desk | 1.72×1.48×0.75 | 12 51 00 | $940 | 0W | 9.3 KB |
|
|
34
|
+
| `nightstand` | 2-Drawer Bedside Nightstand | 0.56×0.44×0.58 | 12 52 00 | $295 | 0W | 18.8 KB |
|
|
35
|
+
| `bistro-table` | Cafe Bistro Table (2-Seat) | 0.78×0.78×0.75 | 12 52 00 | $340 | 0W | 18.3 KB |
|
|
36
|
+
| `conference-table` | Conference Table (8-10 Seat) | 2.8×1.15×0.75 | 12 51 00 | $2150 | 0W | 12.9 KB |
|
|
37
|
+
|
|
38
|
+
## Beds & Freestanding Storage (9 models)
|
|
39
|
+
|
|
40
|
+
| Kind ID | Label | Dimensions (W×D×H m) | CSI | Est. USD | Wattage | GLB Size |
|
|
41
|
+
|---|---|---|---|---|---|---|
|
|
42
|
+
| `bed-king` | King Platform Bed w/ Headboard | 2.02×2.16×1.18 | 12 52 00 | $1980 | 0W | 24.3 KB |
|
|
43
|
+
| `bed-queen` | Queen Platform Bed w/ Headboard | 1.62×2.14×1.14 | 12 52 00 | $1540 | 0W | 24.4 KB |
|
|
44
|
+
| `bed-twin` | Twin Platform Bed | 1.06×2×1.02 | 12 52 00 | $890 | 0W | 22.4 KB |
|
|
45
|
+
| `bunk-bed` | Twin-Over-Twin Bunk Bed | 1.08×2.04×1.72 | 12 52 00 | $1290 | 0W | 28.7 KB |
|
|
46
|
+
| `dresser-6drawer` | 6-Drawer Wide Dresser | 1.52×0.48×0.84 | 12 52 00 | $920 | 0W | 25.8 KB |
|
|
47
|
+
| `bookshelf-tall` | Tall 5-Tier Open Bookshelf | 0.94×0.34×1.92 | 12 52 00 | $480 | 0W | 52.5 KB |
|
|
48
|
+
| `media-console` | Low Slatted Media Console | 1.92×0.46×0.56 | 12 52 00 | $860 | 0W | 29.6 KB |
|
|
49
|
+
| `credenza-sideboard` | Dining Credenza / Sideboard | 1.68×0.45×0.78 | 12 52 00 | $1050 | 0W | 29.4 KB |
|
|
50
|
+
| `wardrobe-armoire` | Freestanding Wardrobe Armoire | 1.04×0.58×1.98 | 12 52 00 | $1180 | 0W | 14.8 KB |
|
|
51
|
+
|
|
52
|
+
## TVs, Audio & Computers (14 models)
|
|
53
|
+
|
|
54
|
+
| Kind ID | Label | Dimensions (W×D×H m) | CSI | Est. USD | Wattage | GLB Size |
|
|
55
|
+
|---|---|---|---|---|---|---|
|
|
56
|
+
| `tv-oled-wall` | Wall-Mounted 65" 4K OLED TV | 1.45×0.06×0.83 | 27 41 00 | $1899 | 165W | 8.2 KB |
|
|
57
|
+
| `tv-oled-stand` | Tabletop 55" 4K OLED TV on Stand | 1.23×0.24×0.76 | 27 41 00 | $1399 | 135W | 7.9 KB |
|
|
58
|
+
| `projector-ceiling` | 4K Laser Ceiling Projector | 0.44×0.38×0.32 | 27 41 00 | $2499 | 320W | 16.7 KB |
|
|
59
|
+
| `projector-screen` | 120" Fixed-Frame Projection Screen | 2.74×0.05×1.58 | 27 41 00 | $790 | 0W | 4.3 KB |
|
|
60
|
+
| `soundbar-dolby` | Dolby Atmos Soundbar | 1.14×0.12×0.08 | 27 41 00 | $899 | 60W | 6.1 KB |
|
|
61
|
+
| `speaker-tower` | Floorstanding Hi-Fi Tower Speaker | 0.28×0.34×1.06 | 27 41 00 | $750 | 150W | 72.2 KB |
|
|
62
|
+
| `speaker-bookshelf` | Bookshelf Studio Monitor Speaker | 0.22×0.26×0.36 | 27 41 00 | $340 | 80W | 37.3 KB |
|
|
63
|
+
| `speaker-center` | Dedicated Center Channel Speaker | 0.58×0.26×0.19 | 27 41 00 | $420 | 100W | 52.0 KB |
|
|
64
|
+
| `subwoofer-powered` | 12" Powered Home Theater Subwoofer | 0.4×0.42×0.42 | 27 41 00 | $649 | 300W | 31.9 KB |
|
|
65
|
+
| `av-receiver-rack` | 9.2ch AV Receiver & Media Stack | 0.44×0.38×0.34 | 27 41 00 | $1199 | 480W | 15.2 KB |
|
|
66
|
+
| `turntable-hifi` | Belt-Drive Hi-Fi Turntable | 0.44×0.36×0.14 | 27 41 00 | $549 | 15W | 21.8 KB |
|
|
67
|
+
| `desktop-pc-dual-monitor` | Dual-27" Desktop PC Workstation | 1.38×0.58×0.54 | 27 41 00 | $2450 | 520W | 48.2 KB |
|
|
68
|
+
| `desktop-pc-ultrawide` | 49" Curved Ultrawide Workstation | 1.24×0.54×0.52 | 27 41 00 | $2690 | 460W | 24.3 KB |
|
|
69
|
+
| `laptop-dock-setup` | Laptop + 32" External Display Dock | 1.12×0.52×0.5 | 27 41 00 | $1680 | 140W | 19.3 KB |
|
|
70
|
+
|
|
71
|
+
## Rugs, Lights, Grates & Decor (19 models)
|
|
72
|
+
|
|
73
|
+
| Kind ID | Label | Dimensions (W×D×H m) | CSI | Est. USD | Wattage | GLB Size |
|
|
74
|
+
|---|---|---|---|---|---|---|
|
|
75
|
+
| `area-rug-rect` | 8×10 Woven Area Rug | 3.05×2.44×0.018 | 12 48 00 | $540 | 0W | 2.2 KB |
|
|
76
|
+
| `area-rug-round` | 7 ft Round Braided Area Rug | 2.13×2.13×0.018 | 12 48 00 | $380 | 0W | 8.2 KB |
|
|
77
|
+
| `floor-lamp-arc` | Arched Marble-Base Floor Lamp | 0.46×0.92×1.92 | 12 46 00 | $290 | 18W | 18.5 KB |
|
|
78
|
+
| `table-lamp` | Ceramic Bedside / Table Lamp | 0.32×0.32×0.56 | 12 46 00 | $135 | 12W | 14.4 KB |
|
|
79
|
+
| `wall-art-framed` | Large Framed Gallery Canvas | 1.2×0.05×0.86 | 12 12 00 | $280 | 0W | 4.1 KB |
|
|
80
|
+
| `floor-mirror` | Full-Length Arched Floor Mirror | 0.72×0.14×1.84 | 12 46 00 | $310 | 0W | 4.2 KB |
|
|
81
|
+
| `curtain-drape` | Full-Height Pinch-Pleat Drapes | 2.1×0.16×2.52 | 12 22 00 | $240 | 0W | 26.7 KB |
|
|
82
|
+
| `fireplace-mantel-decor` | Sculptural Vase & Books Vignette | 0.54×0.28×0.34 | 12 46 00 | $145 | 0W | 13.4 KB |
|
|
83
|
+
| `light-chandelier-modern` | Modern 6-Globe Architectural Chandelier | 0.86×0.86×0.62 | 26 51 00 | $540 | 48W | 76.6 KB |
|
|
84
|
+
| `light-pendant-island` | Suspended Dome Pendant Light | 0.36×0.36×0.72 | 26 51 00 | $210 | 15W | 20.4 KB |
|
|
85
|
+
| `light-recessed-can-6in` | 6" Architectural Recessed LED Downlight | 0.18×0.18×0.05 | 26 51 00 | $42 | 12W | 11.8 KB |
|
|
86
|
+
| `light-flush-mount-drum` | Low-Profile Linen Drum Flush Mount Light | 0.42×0.42×0.16 | 26 51 00 | $145 | 24W | 12.1 KB |
|
|
87
|
+
| `light-wall-sconce` | Architectural Brass & Opal Wall Sconce | 0.16×0.2×0.36 | 26 51 00 | $165 | 10W | 17.3 KB |
|
|
88
|
+
| `light-track-spotlight` | 4-Head Linear LED Track Spotlight | 1.18×0.16×0.18 | 26 51 00 | $195 | 36W | 33.9 KB |
|
|
89
|
+
| `light-ceiling-fan-modern` | 52" Modern 3-Blade Ceiling Fan w/ LED | 1.32×1.32×0.36 | 26 51 00 | $380 | 55W | 24.6 KB |
|
|
90
|
+
| `light-exterior-sconce` | Weatherproof Outdoor Architectural Wall Lantern | 0.16×0.18×0.38 | 26 56 00 | $155 | 16W | 7.7 KB |
|
|
91
|
+
| `vent-grate-floor-brass` | 4"x10" Architectural Floor Supply Register Grate | 0.28×0.14×0.025 | 23 37 13 | $58 | 0W | 21.7 KB |
|
|
92
|
+
| `vent-grate-wall-linear` | 12"x6" Architectural Linear Wall Supply Register Grate | 0.32×0.04×0.16 | 23 37 13 | $74 | 0W | 18.1 KB |
|
|
93
|
+
| `vent-grille-return-flush` | 20"x20" Flush Architectural Return Air Grille | 0.54×0.54×0.03 | 23 37 13 | $112 | 0W | 23.4 KB |
|
|
94
|
+
|
|
95
|
+
## Outdoor & Patio (6 models)
|
|
96
|
+
|
|
97
|
+
| Kind ID | Label | Dimensions (W×D×H m) | CSI | Est. USD | Wattage | GLB Size |
|
|
98
|
+
|---|---|---|---|---|---|---|
|
|
99
|
+
| `patio-sofa-set` | Teak Outdoor Patio Sofa | 2.1×0.88×0.78 | 12 93 00 | $1480 | 0W | 18.1 KB |
|
|
100
|
+
| `patio-dining-table` | Slatted Teak Patio Dining Table | 1.9×0.96×0.75 | 12 93 00 | $1150 | 0W | 19.7 KB |
|
|
101
|
+
| `adirondack-chair` | Classic Adirondack Lounge Chair | 0.78×0.92×0.94 | 12 93 00 | $310 | 0W | 14.6 KB |
|
|
102
|
+
| `patio-umbrella` | 10 ft Octagonal Patio Umbrella | 2.8×2.8×2.55 | 12 93 00 | $420 | 0W | 11.7 KB |
|
|
103
|
+
| `fire-pit-table` | Architectural Gas Fire Pit Table | 1.18×1.18×0.44 | 12 93 00 | $980 | 0W | 24.8 KB |
|
|
104
|
+
| `outdoor-lounger` | Poolside Sun Chaise Lounger | 0.74×2.02×0.76 | 12 93 00 | $590 | 0W | 12.9 KB |
|
|
105
|
+
|
|
106
|
+
## Trees, Bushes & Plants (15 models)
|
|
107
|
+
|
|
108
|
+
| Kind ID | Label | Dimensions (W×D×H m) | CSI | Est. USD | Wattage | GLB Size |
|
|
109
|
+
|---|---|---|---|---|---|---|
|
|
110
|
+
| `tree-oak-deciduous` | Mature Red Oak Shade Tree | 4.8×4.8×6.4 | 32 93 00 | $680 | 0W | 122.5 KB |
|
|
111
|
+
| `tree-maple-japanese` | Japanese Red Maple Tree | 2.8×2.8×3.4 | 32 93 00 | $420 | 0W | 111.4 KB |
|
|
112
|
+
| `tree-pine-evergreen` | Conifer Pine / Spruce Evergreen | 3.2×3.2×6.2 | 32 93 00 | $520 | 0W | 16.7 KB |
|
|
113
|
+
| `tree-cypress-columnar` | Italian Columnar Cypress | 1.05×1.05×4.8 | 32 93 00 | $260 | 0W | 54.3 KB |
|
|
114
|
+
| `tree-palm-fan` | Mediterranean Fan Palm Tree | 3×3×4.6 | 32 93 00 | $590 | 0W | 43.1 KB |
|
|
115
|
+
| `tree-olive-ornamental` | Silver-Leaf Ornamental Olive Tree | 2.3×2.3×3.1 | 32 93 00 | $380 | 0W | 126.0 KB |
|
|
116
|
+
| `bush-boxwood-round` | Trimmed Boxwood Globe Bush | 0.96×0.96×0.88 | 32 93 00 | $68 | 0W | 60.1 KB |
|
|
117
|
+
| `bush-hedge-row` | Clipped Privacy Hedge Segment | 2.4×0.72×1.45 | 32 93 00 | $195 | 0W | 53.3 KB |
|
|
118
|
+
| `bush-flowering-hydrangea` | Flowering Hydrangea Shrub | 1.25×1.25×1.08 | 32 93 00 | $84 | 0W | 189.5 KB |
|
|
119
|
+
| `plant-ornamental-grass` | Fountain Ornamental Grass Clump | 0.92×0.92×0.96 | 32 93 00 | $48 | 0W | 53.1 KB |
|
|
120
|
+
| `plant-fiddle-leaf-fig` | Potted Fiddle-Leaf Fig Tree | 0.72×0.72×1.78 | 12 45 00 | $165 | 0W | 67.9 KB |
|
|
121
|
+
| `plant-monstera-potted` | Potted Monstera Deliciosa | 0.68×0.68×1.05 | 12 45 00 | $95 | 0W | 70.4 KB |
|
|
122
|
+
| `plant-snake-planter` | Tall Snake Plant Floor Planter | 0.42×0.42×0.96 | 12 45 00 | $78 | 0W | 35.7 KB |
|
|
123
|
+
| `plant-fern-hanging` | Cascading Boston Fern Planter | 0.62×0.62×0.64 | 12 45 00 | $64 | 0W | 113.6 KB |
|
|
124
|
+
| `plant-succulent-trough` | Modern Raised Planter Trough | 1.24×0.42×0.68 | 32 93 00 | $215 | 0W | 51.5 KB |
|
package/package.json
CHANGED
|
@@ -1,6 +1,94 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kruschdev/pascal-plugin-furnishings",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "FF&E, Consumer Electronics/AV/Computers, Architectural Lighting, Decorative HVAC Grates, Soft Goods, Outdoor Living, and Procedural Botanicals & Landscape Plants (trees, bushes, hedges, houseplants) plugin for Pascal Editor with 86 parametric 3D CAD items, room-aware auto-furnishing, ergonomics/clearance/AV/electrical audits, and CSI Div 12/23/26/27/32 priced BOMs.",
|
|
5
|
+
"author": "Kevin Ruschman <kruschdev@users.noreply.github.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/kruschdev/pascal-plugin-furnishings.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/kruschdev/pascal-plugin-furnishings",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/kruschdev/pascal-plugin-furnishings/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./src/index.ts",
|
|
17
|
+
"types": "./src/index.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": "./src/index.ts",
|
|
20
|
+
"./render": "./src/render.ts",
|
|
21
|
+
"./furnishings": "./src/furnishings/index.ts",
|
|
22
|
+
"./cad": "./src/cad/index.ts",
|
|
23
|
+
"./agent-tools": "./src/agent-tools.ts",
|
|
24
|
+
"./agent-operations": "./src/agent-operations.ts",
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"src",
|
|
29
|
+
"!src/__tests__",
|
|
30
|
+
"docs",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "NODE_ENV=production bun scripts/build-dist.ts",
|
|
36
|
+
"check-types": "tsc --noEmit",
|
|
37
|
+
"test": "bun test src",
|
|
38
|
+
"check:render": "bun scripts/check-render-entry.ts",
|
|
39
|
+
"export:cad": "bun scripts/export-cad-catalog.ts",
|
|
40
|
+
"render:cad-thumbs": "bun scripts/render-cad-thumbnails.ts",
|
|
41
|
+
"render:walkthrough": "bun scripts/render-walkthrough-video.ts",
|
|
42
|
+
"bench:homes": "bun scripts/bench-community-homes.ts",
|
|
43
|
+
"check": "bun run check-types && bun test && bun run check:render && bun run build"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@kruschdev/pascal-mep-kernel": "^0.2.0"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"@pascal-app/core": ">=1.0.0 <2",
|
|
50
|
+
"@pascal-app/editor": ">=1.0.0 <2",
|
|
51
|
+
"@pascal-app/viewer": ">=1.0.0 <2",
|
|
52
|
+
"react": "^18 || ^19",
|
|
53
|
+
"three": ">=0.185 <1",
|
|
54
|
+
"zod": "^4",
|
|
55
|
+
"zustand": "^5"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@pascal-app/core": "1.1.6",
|
|
59
|
+
"@pascal-app/editor": "1.1.6",
|
|
60
|
+
"@pascal-app/viewer": "1.1.6",
|
|
61
|
+
"@types/blob-stream": "^0.1.33",
|
|
62
|
+
"@types/bun": "^1.3.5",
|
|
63
|
+
"@types/node": "^22.19.12",
|
|
64
|
+
"@types/pdfkit": "^0.17.7",
|
|
65
|
+
"@types/react": "^19.2.2",
|
|
66
|
+
"@types/react-dom": "^19.2.2",
|
|
67
|
+
"@types/three": "^0.187.0",
|
|
68
|
+
"react": "^19.3.1",
|
|
69
|
+
"react-dom": "^19.3.1",
|
|
70
|
+
"three": "^0.187.0",
|
|
71
|
+
"typescript": "^5.9.3",
|
|
72
|
+
"zod": "^4.6.7",
|
|
73
|
+
"zustand": "^5.1.0"
|
|
74
|
+
},
|
|
75
|
+
"keywords": [
|
|
76
|
+
"pascal",
|
|
77
|
+
"pascal-plugin",
|
|
78
|
+
"furnishings",
|
|
79
|
+
"furniture",
|
|
80
|
+
"ffe",
|
|
81
|
+
"electronics",
|
|
82
|
+
"home-theater",
|
|
83
|
+
"speakers",
|
|
84
|
+
"computers",
|
|
85
|
+
"trees",
|
|
86
|
+
"bushes",
|
|
87
|
+
"plants",
|
|
88
|
+
"landscaping",
|
|
89
|
+
"cad",
|
|
90
|
+
"glb",
|
|
91
|
+
"bim",
|
|
92
|
+
"3d"
|
|
93
|
+
]
|
|
94
|
+
}
|