@chanmeng666/archlang-3d 0.9.1 → 0.9.2
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 +18 -0
- package/dist/{chunk-UFY6MZNL.js → chunk-6L7D6P5F.js} +1 -1
- package/dist/{chunk-LTMZVJIM.js → chunk-77AJ2KNP.js} +1 -1
- package/dist/{chunk-42XZPE7C.js → chunk-ESOW7ZGT.js} +5 -3
- package/dist/{chunk-YUI76V23.js → chunk-GLKM75WU.js} +1 -1
- package/dist/cli.js +4 -4
- package/dist/glb.js +2 -2
- package/dist/index.js +2 -2
- package/dist/node.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.9.2] - 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
|
+
- With a core that measures a door on a curved wall where it draws it (core 1.68.1, card ARC1b), an
|
|
12
|
+
opening on an `arc` wall takes its jambs, and a door its leaves, from the two ends of the
|
|
13
|
+
joinery's cut, through `doorSwing`/`doorLeaves` as before. The plan pose and the GLB build the
|
|
14
|
+
leaf where the plan draws it. Which face a window's sill goes on (`insideOf`) is now probed from
|
|
15
|
+
the opening's centre whenever the jambs' chord stands 1 mm or more off it, as the core's own
|
|
16
|
+
face probe does. Otherwise the chord's sagitta could pass a wall thickness and find floor on
|
|
17
|
+
both faces (a 1700 mm window on R1300). Every opening on a straight wall builds as before.
|
|
18
|
+
Under `--doors plan` the example `aquarium` now ledgers `door-leaf-through-wall` for `d_rot_n`
|
|
19
|
+
(and its node carries `through_wall: true`): its leaf crosses the sliver of the straight
|
|
20
|
+
partition running tangent to the rotunda at that doorway. It always did, and the 19-point
|
|
21
|
+
sampler stepped over the sliver until the leaf moved onto the jamb.
|
|
22
|
+
|
|
5
23
|
## [0.9.1] - 2026-11-23
|
|
6
24
|
|
|
7
25
|
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-GLKM75WU.js";
|
|
8
8
|
import {
|
|
9
9
|
CONTACT_SHADOW,
|
|
10
10
|
FENCE_PALETTE,
|
|
@@ -4598,8 +4598,10 @@ function insideOf(o, t, level) {
|
|
|
4598
4598
|
if (!f) return null;
|
|
4599
4599
|
const mid = f.w / 2;
|
|
4600
4600
|
const d = Math.max(t, 1);
|
|
4601
|
-
const
|
|
4602
|
-
const
|
|
4601
|
+
const [uc, vc] = toFrame(o, o.centre);
|
|
4602
|
+
const [u, v] = Math.abs(vc) < MM ? [mid, 0] : [uc, vc];
|
|
4603
|
+
const plus = floorAt(level, f.at(u, v + d));
|
|
4604
|
+
const minus = floorAt(level, f.at(u, v - d));
|
|
4603
4605
|
return plus && minus ? "both" : plus ? 1 : minus ? -1 : null;
|
|
4604
4606
|
}
|
|
4605
4607
|
var CLASH_UM2 = 1e6;
|
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-ESOW7ZGT.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-6L7D6P5F.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-77AJ2KNP.js";
|
|
31
|
+
import "./chunk-GLKM75WU.js";
|
|
32
32
|
import "./chunk-ONUOWO37.js";
|
|
33
33
|
|
|
34
34
|
// src/cli/run.ts
|
package/dist/glb.js
CHANGED
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-ESOW7ZGT.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-GLKM75WU.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-6L7D6P5F.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-77AJ2KNP.js";
|
|
40
|
+
import "./chunk-GLKM75WU.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.2",
|
|
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",
|