# Third-party code — furniture editor

Modified/extracted 19–20 October 2026. Code licenses below are separate from the CC0 model catalogue. No donor models, textures, trademarks or catalogue artwork were imported.

## SpaceForge — MIT

Copyright (c) 2026 Amirka314.
Source: https://github.com/Amirka314/spaceforge/tree/96aaa85af639ce92a7cd255ed343f9af3f925a2b

`HistoryManager.ts`, `UpdateEntitiesCommand` from `commands.ts`, `snapping.ts`, relevant `core/geometry.ts` helpers are copied/transpiled/adapted under `web/src/furniture-editor/vendor/`. Interaction/highlight/TransformControls integration and template caching adapt the cited source portions in `ThreeView.ts`, `ModelLibrary.ts` and `FurnitureFactory.ts`. No renderer, camera, lighting or procedural asset factory was copied. Changes: JavaScript host schema; XZ/radian conversion at boundary; disposal callbacks; existing host renderer and GLB catalogue.

Full license: [SpaceForge MIT](licenses/spaceforge-MIT.txt).

## threejs-sims-house-builder — MIT

Copyright (c) 2026 Bassem Chagra.
Source: https://github.com/ch-bas/threejs-sims-house-builder/tree/0eeb2cafe01d3e5e5cb26132196adf655bf35a14

`three/drag-handlers.ts` and pure functions from `lib/geometry.ts` are copied/transpiled/adapted. Changes: host root supplier and visibility filtering, capture-phase camera exclusion, control-state restoration, Escape/cleanup cancellation; geometry receives the host's elevations and architecture adapter. No React/Next.js runtime or donor assets were added.

Full license: [Sims Builder MIT](licenses/sims-builder-MIT.txt).

## Room Studio — Apache-2.0

Source: https://github.com/achieve0410/room-studio/tree/2a5f266a3450a9b341da0e9ebf3c4b4fdb853244

`createStudioEditSession` from `src/studio3d-edit.js` is extracted into `vendor/edit-session.js`. Modified 19–20 October 2026: item-only prepare/apply adapters for the host record schema; zone, opening and wall logic removed. The preview/refresh/commit/cancel lifecycle is preserved. This file is a modified derivative, not an unmodified upstream distribution.

Full license: [Apache-2.0](licenses/room-studio-Apache-2.0.txt). The pinned repository has no root `NOTICE` file. Its `THIRD_PARTY_NOTICES.md` covers other subsystems (OCR, data and assets) that were not imported; their dependencies are not used by this extraction.

## Three.js — MIT

The existing host dependency remains Three.js 0.180.0. TransformControls, Raycaster, BoxHelper, GLTFLoader, MeshoptDecoder and SkeletonUtils come from that dependency. No upgrade to the donors' newer Three.js versions was made. Full license: [Three.js MIT](licenses/three-MIT.txt).

The application must distribute these license texts with substantial copied code. MIT/Apache-2.0 code is not CC0.

## Architectural editor — OpenPlan3D (MIT)

Copyright (c) 2026 theLodgeStudio.
Source: https://github.com/laanlabs/openPlan3D/tree/fdb96751f255a9f30f2aae6f2797cc4b23ab9e87

Pure wall editing, translation, subdivision, room graph/nesting/slab/profile helpers and selected projection functions are transpiled/adapted in `web/src/architecture-editor/vendor/`. The ShapeGeometry ceiling recipe is adapted to the existing host scene. No Svelte viewer, renderer or donor media is included. Full license: [OpenPlan3D MIT](licenses/openplan3d-MIT.txt). Exact file/function map, changes and checksums: [architecture-editor-reuse.md](licenses/architecture-editor-reuse.md).

SpaceForge `src/engine/builders.ts:buildWallGroup` at the existing pinned revision additionally supplies the half-thickness endpoint extension recipe in `architecture-editor/scene.js`; its MIT copyright and license above apply. The architecture editor shares the existing SpaceForge history instance.

## Architectural editor — Aedifex (MIT)

Copyright (c) 2026 Pascal Group Inc. (https://github.com/pascalorg/editor)
Copyright (c) 2026 Aedifex Inc.
Source: https://github.com/TangSY/aedifex/tree/9eecc352128a6e4c7aa7eed94bf346a9285f6e0f

Only the rectangle-overlap predicate from `packages/core/src/building/wall-openings.ts:findWallChildOverlap` is adapted to host opening records in `architecture-editor/model.js`. No node graph, storey runtime, assets or monorepo dependencies are included. Full license: [Aedifex MIT](licenses/aedifex-MIT.txt).
