@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 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-BMxWrvYD.js';
4
- export { R as ReplayFacts, s as stripAt } from './strip-BMxWrvYD.js';
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. */
@@ -5,7 +5,7 @@ import {
5
5
  mixedHeightJoints,
6
6
  t0Parts,
7
7
  wallOwnership
8
- } from "./chunk-CIC5LCVH.js";
8
+ } from "./chunk-PJMKP2ML.js";
9
9
 
10
10
  // src/adapter/adapt.ts
11
11
  import * as core from "@chanmeng666/archlang";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ARCHLANG_3D_VERSION,
3
3
  validateScene3D
4
- } from "./chunk-CIC5LCVH.js";
4
+ } from "./chunk-PJMKP2ML.js";
5
5
  import {
6
6
  PREVIEW_LABEL,
7
7
  replayPayload
@@ -431,7 +431,7 @@ function floorLifts(floors, overlaps) {
431
431
  }
432
432
 
433
433
  // package.json
434
- var version = "0.1.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-4SDXG6GW.js";
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-YCMINRJA.js";
16
+ } from "./chunk-KIRWFAD6.js";
17
17
  import {
18
18
  ARCHLANG_3D_VERSION,
19
19
  replayFacts
20
- } from "./chunk-CIC5LCVH.js";
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-BMxWrvYD.js';
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-BMxWrvYD.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-BMxWrvYD.js';
5
- export { F as FactsOptions, r as replayFacts } from './facts-DMBpeo-q.js';
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-4SDXG6GW.js";
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-CIC5LCVH.js";
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-BMxWrvYD.js';
3
- export { R as ReplayFacts, S as StripItem, s as stripAt } from './strip-BMxWrvYD.js';
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-DMBpeo-q.js';
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-YCMINRJA.js";
22
+ } from "./chunk-KIRWFAD6.js";
23
23
  import {
24
24
  replayFacts
25
- } from "./chunk-CIC5LCVH.js";
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-BMxWrvYD.js';
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
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chanmeng666/archlang-3d",
3
- "version": "0.1.1",
3
+ "version": "0.1.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.",
5
5
  "keywords": [
6
6
  "archlang",