@pinkaphant/kolmo 0.1.0 → 0.1.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.
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import * as THREE from "three";
3
+ import type { CalibrationMetrics, GateDomain } from "./gateStore.js";
4
+ import type { ChopPartRole } from "./surfaceCutter.js";
5
+ import type { MeshIsland } from "./meshIslands.js";
6
+ export declare function makeStarterDomainScene(domain: GateDomain): THREE.Group;
7
+ /**
8
+ * Spatial 3D `@react-three/uikit` tags floating directly inside the Step-1 Calibration Plinth:
9
+ * - SI Bounding-Box Dimension Tag (`W × H × L m · Y-floor`)
10
+ * - Interactive 3D Pills over tagged `Wheel` & `Door`/`Hood`/`Trunk` islands as you orbit around the model.
11
+ */
12
+ export declare function ImporterPlinthUikitTags({ cal, islands, wheelColors, partPicks, explodeAmount, onClickIsland, }: {
13
+ readonly cal: CalibrationMetrics;
14
+ readonly islands: readonly MeshIsland[];
15
+ readonly wheelColors: ReadonlyMap<number, string>;
16
+ readonly partPicks: Readonly<Record<number, ChopPartRole>>;
17
+ readonly explodeAmount: number;
18
+ readonly onClickIsland: (id: number) => void;
19
+ }): React.JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import type { PaperShellAssembly } from "@khr3/vehicles/paper-shell";
2
2
  import React from "react";
3
3
  import * as THREE from "three";
4
- import { type GateDomain } from "./gateStore.js";
4
+ import { makeStarterDomainScene } from "./ImporterPlinthUikitTags.js";
5
+ export { makeStarterDomainScene };
6
+ import { type WheelVisualSource } from "./khrCompiler.js";
5
7
  import { type ChopPartRole, type CutVec3, type FaceSelection, type SurfaceSelectMode } from "./surfaceCutter.js";
6
8
  import { type MeshIsland, type WheelAxle } from "./meshIslands.js";
7
- import { type WheelVisualSource } from "./khrCompiler.js";
8
- export declare function makeStarterDomainScene(domain: GateDomain): THREE.Group;
9
9
  export interface Step1FaceHit {
10
10
  readonly islandId: number;
11
11
  readonly faceIndex: number;
@@ -1,3 +1,3 @@
1
1
  import { a as e, i as t, o as n, s as r } from "../kolmoSurface-DTnrFXH0.js";
2
- import { $ as i, A as a, B as o, C as s, D as c, E as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, N as v, O as y, P as b, Q as x, R as S, S as C, T as w, U as T, V as E, W as D, X as O, Y as k, Z as ee, _ as A, a as j, b as M, c as N, d as P, et as F, f as I, g as L, h as R, i as z, j as B, k as V, l as H, m as U, n as W, nt as G, o as K, p as q, q as J, r as Y, s as X, t as Z, tt as Q, u as $, v as te, w as ne, x as re, y as ie, z as ae } from "../importer-Cz5w0mnC.js";
2
+ import { $ as i, A as a, B as o, C as s, D as c, E as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, N as v, O as y, P as b, Q as x, R as S, S as C, T as w, U as T, V as E, W as D, X as O, Y as k, Z as ee, _ as A, a as j, b as M, c as N, d as P, et as F, f as I, g as L, h as R, i as z, j as B, k as V, l as H, m as U, n as W, nt as G, o as K, p as q, q as J, r as Y, s as X, t as Z, tt as Q, u as $, v as te, w as ne, x as re, y as ie, z as ae } from "../importer-D9bdcGTh.js";
3
3
  export { N as C12_TICK_M, D as CHOP_ROLES, v as ChopShopPanel, ne as DAMP_ZETA, V as DomainWorkshopPanel, w as FREQ_HZ, s as GateHudBar, Z as GlbImportGate, Z as ImporterWorkbench, X as ImperativeVehicleRig, te as Step1CalibrationPlinth, K as Step2UniversalPad, H as UNIFIED_ANCHOR_NAMES, j as VfxEmitterPool, B as bakeArticulatedLauncherGlb, W as bakeUniversalGateGlb, M as buildImporterWebMcpTools, _ as buildLauncherSceneFromPlan, t as buildPatchPreviewEmitters, u as buildSelectionOverlayGeometry, d as buildSurfaceTopology, b as compileKhrAssetGlb, $ as computeC12Metrics, e as computeChopPartHinge, Y as convertUsdToGlb, p as createFleet12GonWheelGroup, n as createVehiclePanelAnimator, P as defaultTargetMeters, I as detectSceneAnchors, a as enforceRetroPersonMaterials, k as extractMeshIslands, g as findMirrorIslandId, h as floodFillByCrease, l as gateTelemetry, J as getIslandTopology, re as getNavigatorModelContext, c as isGateStep1Unlocked, z as isUsdFileName, q as khrBoxToRapierHalfExtents, ie as makeStarterDomainScene, U as measureAssemblyCalibration, R as measureNormalizedSceneCalibration, i as measureSelection, m as mirrorTriangles, r as normalToMinusZQuaternion, O as normalizeSceneToSi, S as peelIslandSelection, ae as previewLoopPolyline, o as refineMeshAlongLoop, E as remapIslandIds, f as selectFacesByClick, T as selectFacesByLoop, ee as separateVehicleMeshes, x as sliceMeshTriangles, L as snapMetersToC12, F as suggestCarAxles, Q as suggestMotorcycleWheels, G as toggleIslandSelection, y as useGateStore, C as useImporterWebMcp, A as wrapSingleMeshWithPaperShellProxy };