@chanmeng666/archlang-3d 0.1.1 → 0.1.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 +7 -0
- package/dist/browser.d.ts +2 -2
- package/dist/{chunk-4SDXG6GW.js → chunk-DLZMYNAR.js} +1 -1
- package/dist/{chunk-YCMINRJA.js → chunk-KIRWFAD6.js} +1 -1
- package/dist/{chunk-CIC5LCVH.js → chunk-PJMKP2ML.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/{facts-DMBpeo-q.d.ts → facts-fLIb8sZ2.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/node.d.ts +3 -3
- package/dist/node.js +2 -2
- package/dist/replay.d.ts +1 -1
- package/dist/scene3d.schema.json +1 -1
- package/dist/{strip-BMxWrvYD.d.ts → strip-DElA8ZbJ.d.ts} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.1.2] - 2026-11-02
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- A `door glazed_sliding` from the core no longer fails the scene check. It builds the closed panel a
|
|
10
|
+
`sliding` door builds, so it is not glass in the model, and `door_kind` on the node names it.
|
|
11
|
+
|
|
5
12
|
## [0.1.1] - 2026-10-31
|
|
6
13
|
|
|
7
14
|
The first version published through the release workflow, with provenance.
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReplayPayload } from './replay.js';
|
|
2
2
|
export { PREVIEW_LABEL, ReplayNode, ReplayOptions, replayPayload, viewBoxOf } from './replay.js';
|
|
3
|
-
import { S as StripItem } from './strip-
|
|
4
|
-
export { R as ReplayFacts, s as stripAt } from './strip-
|
|
3
|
+
import { S as StripItem } from './strip-DElA8ZbJ.js';
|
|
4
|
+
export { R as ReplayFacts, s as stripAt } from './strip-DElA8ZbJ.js';
|
|
5
5
|
|
|
6
6
|
interface ReplayHandle {
|
|
7
7
|
/** Render the frame at replay time `t` (clamped to [0, 1]) into the canvas, synchronously. */
|
|
@@ -431,7 +431,7 @@ function floorLifts(floors, overlaps) {
|
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
// package.json
|
|
434
|
-
var version = "0.1.
|
|
434
|
+
var version = "0.1.2";
|
|
435
435
|
|
|
436
436
|
// src/scene3d/build.ts
|
|
437
437
|
import {
|
|
@@ -817,7 +817,7 @@ var LEVEL_COLLECTIONS = {
|
|
|
817
817
|
head: integer
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
|
-
doorKind: oneOf("hinged", "sliding", "barn", "bifold", "pocket", "garage", "double"),
|
|
820
|
+
doorKind: oneOf("hinged", "sliding", "barn", "bifold", "pocket", "garage", "double", "glazed_sliding"),
|
|
821
821
|
leaves: array(array(pt, 2, 3)),
|
|
822
822
|
hinge: oneOf("left", "right"),
|
|
823
823
|
swing: oneOf("in", "out"),
|
package/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
DOOR_POSES,
|
|
4
4
|
adaptPlan,
|
|
5
5
|
buildMesh
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DLZMYNAR.js";
|
|
7
7
|
import {
|
|
8
8
|
SWIFTSHADER_ARGS,
|
|
9
9
|
checkGlb,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
renderReplay,
|
|
14
14
|
replayHtml,
|
|
15
15
|
writeGlb
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KIRWFAD6.js";
|
|
17
17
|
import {
|
|
18
18
|
ARCHLANG_3D_VERSION,
|
|
19
19
|
replayFacts
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PJMKP2ML.js";
|
|
21
21
|
import "./chunk-54YVSAVZ.js";
|
|
22
22
|
import {
|
|
23
23
|
storeysOf,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { World } from '@chanmeng666/archlang';
|
|
2
|
-
import { p as ReplayView, R as ReplayFacts } from './strip-
|
|
2
|
+
import { p as ReplayView, R as ReplayFacts } from './strip-DElA8ZbJ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The metrics strip's numbers (card G4), read from the core's public `describe()` and `lint()` for
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ResolvedPlan, RWall, Point, JoinedCut, loopsToPolygons, World, Diagnostic } from '@chanmeng666/archlang';
|
|
2
2
|
export { Point } from '@chanmeng666/archlang';
|
|
3
|
-
import { a as Scene3D, F as Floor, P as Polygon, M as Mesh3D, b as Pt, c as Shell, d as Ring3, A as Assumption, e as Furniture, f as ReplayEvent, g as ReplayState } from './strip-
|
|
4
|
-
export { D as DoorKind, E as EXPLODE_GAP_MM, h as FIXTURE_FAMILIES, i as Fence, L as Level, j as MeshNode, k as Meta, N as NodeKind, l as NodeState, O as Opening, m as Outdoor, n as PHASE, o as Provenance, R as ReplayFacts, p as ReplayView, q as Roof, r as STOP_LEAD, t as Source, u as Stage, v as Stair, S as StripItem, U as Um, W as Wall, w as authoringOrder, x as ease, y as explodeLifts, z as keyFrames, B as stateAt, C as storeysOf, s as stripAt, G as timeline, H as viewLabel, I as viewMesh } from './strip-
|
|
5
|
-
export { F as FactsOptions, r as replayFacts } from './facts-
|
|
3
|
+
import { a as Scene3D, F as Floor, P as Polygon, M as Mesh3D, b as Pt, c as Shell, d as Ring3, A as Assumption, e as Furniture, f as ReplayEvent, g as ReplayState } from './strip-DElA8ZbJ.js';
|
|
4
|
+
export { D as DoorKind, E as EXPLODE_GAP_MM, h as FIXTURE_FAMILIES, i as Fence, L as Level, j as MeshNode, k as Meta, N as NodeKind, l as NodeState, O as Opening, m as Outdoor, n as PHASE, o as Provenance, R as ReplayFacts, p as ReplayView, q as Roof, r as STOP_LEAD, t as Source, u as Stage, v as Stair, S as StripItem, U as Um, W as Wall, w as authoringOrder, x as ease, y as explodeLifts, z as keyFrames, B as stateAt, C as storeysOf, s as stripAt, G as timeline, H as viewLabel, I as viewMesh } from './strip-DElA8ZbJ.js';
|
|
5
|
+
export { F as FactsOptions, r as replayFacts } from './facts-fLIb8sZ2.js';
|
|
6
6
|
|
|
7
7
|
/** The package's own version, stamped into `meta.tool`. */
|
|
8
8
|
declare const ARCHLANG_3D_VERSION: string;
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
sectorBand,
|
|
14
14
|
slab2d,
|
|
15
15
|
slabRegion
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DLZMYNAR.js";
|
|
17
17
|
import {
|
|
18
18
|
ARCHLANG_3D_VERSION,
|
|
19
19
|
FLOOR_LIFT_UM,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
umPoint,
|
|
35
35
|
validateScene3D,
|
|
36
36
|
wallOwnership
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PJMKP2ML.js";
|
|
38
38
|
import {
|
|
39
39
|
END_AZIMUTH,
|
|
40
40
|
END_FOV,
|
package/dist/node.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { World } from '@chanmeng666/archlang';
|
|
2
|
-
import { M as Mesh3D, f as ReplayEvent, j as MeshNode, a as Scene3D, c as Shell } from './strip-
|
|
3
|
-
export { R as ReplayFacts, S as StripItem, s as stripAt } from './strip-
|
|
2
|
+
import { M as Mesh3D, f as ReplayEvent, j as MeshNode, a as Scene3D, c as Shell } from './strip-DElA8ZbJ.js';
|
|
3
|
+
export { R as ReplayFacts, S as StripItem, s as stripAt } from './strip-DElA8ZbJ.js';
|
|
4
4
|
import { ReplayOptions } from './replay.js';
|
|
5
5
|
export { PREVIEW_LABEL, replayPayload, viewBoxOf } from './replay.js';
|
|
6
|
-
export { F as FactsOptions, r as replayFacts } from './facts-
|
|
6
|
+
export { F as FactsOptions, r as replayFacts } from './facts-fLIb8sZ2.js';
|
|
7
7
|
|
|
8
8
|
/** The viewer and the parts of three.js it uses, as one minified browser script (read once). */
|
|
9
9
|
declare function viewerScript(): Promise<string>;
|
package/dist/node.js
CHANGED
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
signedVolume,
|
|
20
20
|
viewerScript,
|
|
21
21
|
writeGlb
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KIRWFAD6.js";
|
|
23
23
|
import {
|
|
24
24
|
replayFacts
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PJMKP2ML.js";
|
|
26
26
|
import {
|
|
27
27
|
PREVIEW_LABEL,
|
|
28
28
|
replayPayload,
|
package/dist/replay.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ReplayFacts, f as ReplayEvent, M as Mesh3D } from './strip-
|
|
1
|
+
import { R as ReplayFacts, f as ReplayEvent, M as Mesh3D } from './strip-DElA8ZbJ.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The replay's data (card A3), browser-safe: `replayPayload(mesh, opts)` is what a replay carries
|
package/dist/scene3d.schema.json
CHANGED
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"enum": ["door", "window", "opening"]
|
|
359
359
|
},
|
|
360
360
|
"doorKind": {
|
|
361
|
-
"enum": ["hinged", "sliding", "barn", "bifold", "pocket", "garage", "double"]
|
|
361
|
+
"enum": ["hinged", "sliding", "barn", "bifold", "pocket", "garage", "double", "glazed_sliding"]
|
|
362
362
|
},
|
|
363
363
|
"host": {
|
|
364
364
|
"type": "string"
|
|
@@ -71,7 +71,7 @@ interface Wall {
|
|
|
71
71
|
/** Ids of the openings whose cut is hosted by this wall. */
|
|
72
72
|
cuts: string[];
|
|
73
73
|
}
|
|
74
|
-
type DoorKind = "hinged" | "sliding" | "barn" | "bifold" | "pocket" | "garage" | "double";
|
|
74
|
+
type DoorKind = "hinged" | "sliding" | "barn" | "bifold" | "pocket" | "garage" | "double" | "glazed_sliding";
|
|
75
75
|
interface Opening {
|
|
76
76
|
id: string;
|
|
77
77
|
source: Source;
|
package/package.json
CHANGED