@nebula-spatial/viewer 0.5.7 → 0.5.9
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 +54 -0
- package/README.md +59 -2
- package/USD-VISUAL-MATERIAL-SUPPORT.md +52 -4
- package/dist/assets/types.d.ts +2 -0
- package/dist/assets/{usd-worker-B-HuMXLo.js → usd-worker-B9O1idq-.js} +196 -193
- package/dist/collision-debug-FutuxXPm.js +2896 -0
- package/dist/{index-BTAC6njT.js → index-BQn4yVNd.js} +4575 -3421
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{mjcf-visual-BVT3h87h.js → mjcf-visual-BxcQ3hIg.js} +1 -1
- package/dist/{mujoco-runtime-CAyK0LHM.js → mujoco-runtime-DNqHIXvQ.js} +1 -1
- package/dist/session-9j-PNz4O.js +2519 -0
- package/dist/{session-BQ8eCFRL.js → session-S3ZuhqY8.js} +186 -186
- package/dist/{stage-DUC-YNhD.js → stage-Ck2xORK4.js} +22 -15
- package/dist/types.d.ts +46 -3
- package/dist/ui/types.d.ts +2 -0
- package/dist/urdf-session-DJs9oT_G.js +1264 -0
- package/dist/usd-session-BEjswMmU.js +7461 -0
- package/dist/version.d.ts +1 -1
- package/dist/{xacro-F7rdDouN.js → xacro-CFFshEJJ.js} +1 -1
- package/package.json +1 -1
- package/dist/collision-debug-B2CISPB9.js +0 -792
- package/dist/session-Dwoi1H46.js +0 -965
- package/dist/urdf-session-E0Nnr4Vs.js +0 -3266
- package/dist/usd-session-BUD3KtCr.js +0 -6875
package/dist/index.d.ts
CHANGED
|
@@ -17,5 +17,5 @@ export { USD_RESOURCE_AUTH, USD_RESOURCE_EXTERNAL_DENIED, USD_RESOURCE_FETCH, US
|
|
|
17
17
|
export type { Disposable, ToolbarItem, ViewerState, ViewerInteractionHooks, ViewerContributionPoint, ViewerPlugin, ViewerPluginContext, ViewerPluginRegistry, } from './plugins';
|
|
18
18
|
export { configureViewerText } from './cad/text';
|
|
19
19
|
export type { ViewerTextBuilderOptions } from './cad/text';
|
|
20
|
-
export type { CadBlockModel, CadDocumentHandle, CadDocumentUnits, CadFontResolver, CadFontRequest, CadResolvedFont, CadResolvedTextFont, CadTextWarmupOptions, CadHudModel, CadHudSnapshot, CadInspectorModel, CadInspectorSnapshot, CadLayerModel, CadLayerRow, CadBlockUsageRow, CadSessionPhase, CadWorldBounds, CadScaleRulerState, CadInsertDetails, CadInsertSelection, CadInsertSelectionId, CadTextDetails, CadTextSelection, CadTextSelectionId, CadSelection, CadHit, CadViewerSnapshot, CadLoadProgress, CadViewerErrorCode, CadViewerErrorEvent, CadLoadSource, CadOpenOptions, CadSessionLoadTiming, RenderDebugBreakdownEntry, SplitBlockLayerDetail, CadViewerCapability, ResolveTextFont, CadViewerEventMap, CameraStateStore, Viewer, ViewerEventMap, ViewerEnvironment, ViewerFitViewOptions, ViewerHighlightOptions, ViewerOptions, ViewerPickOptions, ViewerPickResult, ViewerPointerEvent, ViewerObjectOptions, ViewerPreviewDragPreset, ViewerCameraSnapshot, ViewerOrthographicSnapshot, ViewerOrbitSnapshot, ViewerRenderStats, ViewerDocumentRect, ViewerCadUiKeyboardOptions, ViewerUiOptions, ViewerCadUiParts, ViewerCadUiOptions, ViewerUiPreset, ViewerCadUiStateStore, ViewerUiTheme, ViewerViewMode, CadInteractionMode, CameraChangeReason, ViewerUiTokens, } from './types';
|
|
20
|
+
export type { CadBlockModel, CadDocumentHandle, CadDocumentUnits, CadFontResolver, CadFontRequest, CadResolvedFont, CadResolvedTextFont, CadTextWarmupOptions, CadHudModel, CadHudSnapshot, CadInspectorModel, CadInspectorSnapshot, CadLayerModel, CadLayerRow, CadBlockUsageRow, CadSessionPhase, CadWorldBounds, CadScaleRulerState, CadInsertDetails, CadInsertSelection, CadInsertSelectionId, CadTextDetails, CadTextSelection, CadTextSelectionId, CadSelection, CadHit, CadViewerSnapshot, CadLoadProgress, CadViewerErrorCode, CadViewerErrorEvent, CadLoadSource, CadOpenOptions, CadSessionLoadTiming, RenderDebugBreakdownEntry, SplitBlockLayerDetail, CadViewerCapability, ResolveTextFont, CadViewerEventMap, CameraStateStore, Viewer, ViewerEventMap, ViewerEnvironment, ViewerEnvironmentState, ViewerEnvironmentTexture, ViewerFitViewOptions, ViewerHighlightOptions, ViewerOptions, ViewerPickOptions, ViewerPickResult, ViewerPointerEvent, ViewerObjectOptions, ViewerPreviewDragPreset, ViewerCameraSnapshot, ViewerOrthographicSnapshot, ViewerOrbitSnapshot, ViewerRenderStats, ViewerDocumentRect, ViewerCadUiKeyboardOptions, ViewerUiOptions, ViewerCadUiParts, ViewerCadUiOptions, ViewerUiPreset, ViewerCadUiStateStore, ViewerUiTheme, ViewerViewMode, CadInteractionMode, CameraChangeReason, ViewerUiTokens, } from './types';
|
|
21
21
|
export type { JointInspection, JointInspectionJoint, JointInspectionSnapshot, AssetInspection, UrdfEntityKind, UrdfInspection, UrdfInspectionEntity, UrdfInspectionIssue, UrdfInspectionJoint, UrdfInspectionLink, UrdfInspectionMode, UrdfInspectionNode, UrdfInspectionOverlays, UrdfInspectionRobot, UrdfInspectionSnapshot, UrdfSourceRange } from './inspection/types';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as s, t as r, y as o, u as U, U as E, s as _, w as d, z as D, A as R, B as S, C as i, j as u, E as c, F as C, G as O } from "./index-
|
|
1
|
+
import { D as s, t as r, y as o, u as U, U as E, s as _, w as d, z as D, A as R, B as S, C as i, j as u, E as c, F as C, G as O } from "./index-BQn4yVNd.js";
|
|
2
2
|
import { configureCadTextBuilder as m } from "@nebula-spatial/cad-loader";
|
|
3
3
|
export {
|
|
4
4
|
s as DEFAULT_GROUND_GRID_SCALE,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as v, s as E } from "./session-
|
|
1
|
+
import { c as v, s as E } from "./session-S3ZuhqY8.js";
|
|
2
2
|
import { Group as q, Euler as z, BoxGeometry as G, SphereGeometry as N, CylinderGeometry as P, CapsuleGeometry as $, PlaneGeometry as I, Mesh as X } from "three";
|
|
3
3
|
import { disposeModelResources as j } from "./resources-CHhCm2f7.js";
|
|
4
4
|
function U(f) {
|
|
@@ -3,7 +3,7 @@ var B = (v, t, e) => t in v ? F(v, t, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var f = (v, t, e) => B(v, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import L from "@mujoco/mujoco";
|
|
5
5
|
import { Quaternion as D, Vector3 as q } from "three";
|
|
6
|
-
import { b as R, x as C } from "./index-
|
|
6
|
+
import { b as R, x as C } from "./index-BQn4yVNd.js";
|
|
7
7
|
let z = 0;
|
|
8
8
|
function V(v, t) {
|
|
9
9
|
const e = `/viewer-simulation-${++z}`;
|