@chanmeng666/archlang-3d 0.9.0 → 0.9.1
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/CHANGELOG.md +12 -0
- package/dist/{chunk-TFXNKG6J.js → chunk-42XZPE7C.js} +3 -2
- package/dist/{chunk-7FYCBISZ.js → chunk-LTMZVJIM.js} +1 -1
- package/dist/{chunk-4WHBM4NV.js → chunk-UFY6MZNL.js} +1 -1
- package/dist/{chunk-P2BDEK2Q.js → chunk-YUI76V23.js} +1 -1
- package/dist/cli.js +4 -4
- package/dist/glb.js +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/node.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.9.1] - 2026-11-23
|
|
6
|
+
|
|
7
|
+
The core peer range stays `^1.61.0` (`MIN_CORE`): nothing below reads a core export that 1.61.0 lacks.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- A room whose `room polygon` ring has an arc edge (core 1.68.0, card ARC2) lays its floor finish
|
|
12
|
+
to the curve at the chord tolerance, read from the room's exact `edges` (a public `RRoom` field
|
|
13
|
+
new in core 1.68.0), the way a `room circle`'s floor is cut from its exact circle, where it took
|
|
14
|
+
the core's fixed-step ring. The read is feature-detected: a core without the field carries no arc
|
|
15
|
+
ring, and every other room builds as before.
|
|
16
|
+
|
|
5
17
|
## [0.9.0] - 2026-11-17
|
|
6
18
|
|
|
7
19
|
The core peer range stays `^1.61.0` (`MIN_CORE`): nothing below reads a core export that 1.61.0 lacks.
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ISFIFLC7.js";
|
|
5
5
|
import {
|
|
6
6
|
version
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YUI76V23.js";
|
|
8
8
|
import {
|
|
9
9
|
CONTACT_SHADOW,
|
|
10
10
|
FENCE_PALETTE,
|
|
@@ -3974,7 +3974,8 @@ var box = (e) => ({
|
|
|
3974
3974
|
size: { w: um2(e.size.w), h: um2(e.size.h) }
|
|
3975
3975
|
});
|
|
3976
3976
|
function floorOf(r, tol) {
|
|
3977
|
-
const
|
|
3977
|
+
const edges = r.edges;
|
|
3978
|
+
const outer = r.circle ? circleRing(r.circle.c, r.circle.r, tol) : edges ? tessellateLoops([edges], tol)[0] : r.poly ?? rectRing(r.at, r.size);
|
|
3978
3979
|
return {
|
|
3979
3980
|
id: r.id,
|
|
3980
3981
|
source: source(r),
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
DOOR_POSES,
|
|
5
5
|
adaptPlan,
|
|
6
6
|
buildMesh
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-42XZPE7C.js";
|
|
8
8
|
import "./chunk-ISFIFLC7.js";
|
|
9
9
|
import {
|
|
10
10
|
SWIFTSHADER_ARGS,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
makeNodeWorld,
|
|
15
15
|
renderReplay,
|
|
16
16
|
replayHtml
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UFY6MZNL.js";
|
|
18
18
|
import {
|
|
19
19
|
replayFacts
|
|
20
20
|
} from "./chunk-E65Z5S4K.js";
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
} from "./chunk-EL4456GB.js";
|
|
28
28
|
import {
|
|
29
29
|
writeGlb
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-LTMZVJIM.js";
|
|
31
|
+
import "./chunk-YUI76V23.js";
|
|
32
32
|
import "./chunk-ONUOWO37.js";
|
|
33
33
|
|
|
34
34
|
// src/cli/run.ts
|
package/dist/glb.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -622,7 +622,8 @@ type DomeTable = ReadonlyArray<readonly [number, number]>;
|
|
|
622
622
|
/**
|
|
623
623
|
* T0 parametric furniture (archlang-3d plan §4.4, §5.1–5.3; card A2b; visual-assets V1–V3,
|
|
624
624
|
* V5–V7): pure generators that build a piece from a few parts, fitted EXACTLY to the plan's
|
|
625
|
-
* footprint. The twelve families laneway-house
|
|
625
|
+
* footprint. The twelve families laneway-house first used are here (its chairs, since RM9.6, are
|
|
626
|
+
* `t0-living.ts`'s); the living, bedroom, dining and
|
|
626
627
|
* office batch is `t0-living.ts` (V5), the kitchen, bath and utility batch `t0-utility.ts` (V6),
|
|
627
628
|
* the site (planting, garden, vehicles, terrace, the small standing objects) `t0-outdoor.ts` and
|
|
628
629
|
* the office and commercial pieces `t0-office.ts` (V7). Every catalogued family is built; a word
|
package/dist/index.js
CHANGED
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
um,
|
|
64
64
|
umPoint,
|
|
65
65
|
wallOwnership
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-42XZPE7C.js";
|
|
67
67
|
import "./chunk-ISFIFLC7.js";
|
|
68
68
|
import {
|
|
69
69
|
replayFacts,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
viewLabel,
|
|
111
111
|
viewMesh
|
|
112
112
|
} from "./chunk-EL4456GB.js";
|
|
113
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-YUI76V23.js";
|
|
114
114
|
import {
|
|
115
115
|
CONTACT_SHADOW,
|
|
116
116
|
FENCE_PALETTE,
|
package/dist/node.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
replayHtml,
|
|
14
14
|
signedVolume,
|
|
15
15
|
viewerScript
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UFY6MZNL.js";
|
|
17
17
|
import {
|
|
18
18
|
replayFacts
|
|
19
19
|
} from "./chunk-E65Z5S4K.js";
|
|
@@ -36,8 +36,8 @@ import {
|
|
|
36
36
|
nodeExtras,
|
|
37
37
|
readGlbNodes,
|
|
38
38
|
writeGlb
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-LTMZVJIM.js";
|
|
40
|
+
import "./chunk-YUI76V23.js";
|
|
41
41
|
import "./chunk-ONUOWO37.js";
|
|
42
42
|
export {
|
|
43
43
|
GLB_GENERATOR,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chanmeng666/archlang-3d",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "3D preview of an ArchLang floor plan: a separate package that reads the same .arch source and is checked against the plan: every 3D element comes from the plan's elements, and every solid is closed.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"archlang",
|