three-usd-robot 0.14.1 → 0.14.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/dist/{MeshBinding-5Dad1EOh.d.ts → MeshBinding-K8ncIXGs.d.ts} +3 -1
- package/dist/{ThreeUsdRobotLoader-DrYXpMta.d.ts → ThreeUsdRobotLoader-AxmRaqt0.d.ts} +1 -1
- package/dist/{chunk-WQRP5IDJ.js → chunk-ONV65SOI.js} +6 -8
- package/dist/chunk-ONV65SOI.js.map +1 -0
- package/dist/{chunk-IT5RWB7A.js → chunk-SKPNWILE.js} +3 -3
- package/dist/{chunk-IT5RWB7A.js.map → chunk-SKPNWILE.js.map} +1 -1
- package/dist/{chunk-KRT4NL3H.js → chunk-Z2W5CVSK.js} +6 -3
- package/dist/chunk-Z2W5CVSK.js.map +1 -0
- package/dist/core.d.ts +3 -1
- package/dist/core.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/nodes.d.ts +1 -1
- package/dist/react.d.ts +2 -2
- package/dist/react.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-KRT4NL3H.js.map +0 -1
- package/dist/chunk-WQRP5IDJ.js.map +0 -1
package/dist/core.d.ts
CHANGED
|
@@ -562,6 +562,8 @@ declare function isUnsupportedGprim(prim: Prim): boolean;
|
|
|
562
562
|
* a `Points` cloud, or a `BasisCurves` batch.
|
|
563
563
|
*/
|
|
564
564
|
declare function isRenderableGprim(prim: Prim): boolean;
|
|
565
|
+
/** True when the prim itself authors `visibility = "invisible"`. */
|
|
566
|
+
declare function isInvisible(prim: Prim): boolean;
|
|
565
567
|
/** Depth-first iterator over all descendant prims (excluding `prim` itself). */
|
|
566
568
|
declare function iterDescendants(prim: Prim): Generator<Prim>;
|
|
567
569
|
/** Collect the prim paths of all Mesh descendants of a link prim. */
|
|
@@ -619,4 +621,4 @@ declare function getJointStatePosition(prim: Prim, kind: "angular" | "linear"):
|
|
|
619
621
|
/** Read `UsdPhysicsMassAPI` properties, or `undefined` when none are authored (M16). */
|
|
620
622
|
declare function getMassProperties(prim: Prim): LinkInertialDescription | undefined;
|
|
621
623
|
|
|
622
|
-
export { ARTICULATION_ROOT_API, AssetResolver, Axis, COLLISION_API, type CollisionApproximation, type ComposeOptions, CrateReader, type ExportMaterial, type ExportMesh, type ExportPhysicsMaterial, type ExportRobotOptions, type ExtractOptions, type JointDofInput, type JointRelativeDecomposition, JointType, LinkDescription, LinkInertialDescription, MASS_API, MESH_COLLISION_API, Mat4, MdlModuleProvider, PACKAGE_NAME, PHYSICS_MATERIAL_API, ParseError, Prim, RIGID_BODY_API, type ResolvedXform, RobotDescription, type RobotGeometryProvider, SdfPath, Stage, type TextureChannel, TokenizeError, UsdValue, UsdaFile, type UsdzPackage, VERSION, type ValidateRobotOptions, type ValidationIssue, type ValidationSeverity, Vec2, Vec3, collectMdlAssetPaths, composeFile, composeLayer, computeLocalTransform, computeWorldTransform, crateToUsdaFile, decomposeJointRelative, driveKindFor, exportRobotUsda, extractRobotDescription, gatherGprimDescendants, gatherMeshDescendants, getJointAxis, getJointBodies, getJointDrive, getJointLimits, getJointLocalFrame, getJointStatePosition, getJointType, getMassProperties, hasArticulationRootAPI, hasCollisionAPI, hasRigidBodyAPI, isBasisCurves, isMesh, isPoints, isRenderableGprim, isScope, isSolidGprim, isUnsupportedGprim, isXform, isZip, iterDescendants, jointValueFromSI, jointValueToSI, loadMdlModules, nearestAngleBranch, normalizeJointLimits, openUsdz, parseOpType, parseUsda, refineJointType, serializeUsda, stageGeometryProvider, tokenize, validateRobotDescription, writeUsdz };
|
|
624
|
+
export { ARTICULATION_ROOT_API, AssetResolver, Axis, COLLISION_API, type CollisionApproximation, type ComposeOptions, CrateReader, type ExportMaterial, type ExportMesh, type ExportPhysicsMaterial, type ExportRobotOptions, type ExtractOptions, type JointDofInput, type JointRelativeDecomposition, JointType, LinkDescription, LinkInertialDescription, MASS_API, MESH_COLLISION_API, Mat4, MdlModuleProvider, PACKAGE_NAME, PHYSICS_MATERIAL_API, ParseError, Prim, RIGID_BODY_API, type ResolvedXform, RobotDescription, type RobotGeometryProvider, SdfPath, Stage, type TextureChannel, TokenizeError, UsdValue, UsdaFile, type UsdzPackage, VERSION, type ValidateRobotOptions, type ValidationIssue, type ValidationSeverity, Vec2, Vec3, collectMdlAssetPaths, composeFile, composeLayer, computeLocalTransform, computeWorldTransform, crateToUsdaFile, decomposeJointRelative, driveKindFor, exportRobotUsda, extractRobotDescription, gatherGprimDescendants, gatherMeshDescendants, getJointAxis, getJointBodies, getJointDrive, getJointLimits, getJointLocalFrame, getJointStatePosition, getJointType, getMassProperties, hasArticulationRootAPI, hasCollisionAPI, hasRigidBodyAPI, isBasisCurves, isInvisible, isMesh, isPoints, isRenderableGprim, isScope, isSolidGprim, isUnsupportedGprim, isXform, isZip, iterDescendants, jointValueFromSI, jointValueToSI, loadMdlModules, nearestAngleBranch, normalizeJointLimits, openUsdz, parseOpType, parseUsda, refineJointType, serializeUsda, stageGeometryProvider, tokenize, validateRobotDescription, writeUsdz };
|
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { PACKAGE_NAME, VERSION, exportRobotUsda, stageGeometryProvider, validateRobotDescription, writeUsdz } from './chunk-
|
|
2
|
-
export { ARTICULATION_ROOT_API, Attribute, COLLISION_API, CrateReader, DEFAULT_METERS_PER_UNIT, Layer, MASS_API, MESH_COLLISION_API, PHYSICS_MATERIAL_API, ParseError, Prim, RIGID_BODY_API, Relationship, Stage, TokenizeError, buildKinematicTree, collectMdlAssetPaths, colorTemperatureToRgb, composeFile, composeLayer, crateToUsdaFile, driveKindFor, extractRobotDescription, gatherGprimDescendants, gatherMeshDescendants, getJointAxis, getJointBodies, getJointDrive, getJointLimits, getJointLocalFrame, getJointStatePosition, getJointType, getLightKind, getMassProperties, hasArticulationRootAPI, hasCollisionAPI, hasRigidBodyAPI, isBasisCurves, isLight, isMesh, isPoints, isRenderableGprim, isScope, isSolidGprim, isUnsupportedGprim, isUnsupportedLight, isXform, isZip, iterDescendants, jointValueFromSI, jointValueToSI, loadMdlModules, normalizeJointLimits, openUsdz, parseUsda, readLightDescription, refineJointType, serializeUsda, toBytes, tokenize } from './chunk-
|
|
1
|
+
export { PACKAGE_NAME, VERSION, exportRobotUsda, stageGeometryProvider, validateRobotDescription, writeUsdz } from './chunk-SKPNWILE.js';
|
|
2
|
+
export { ARTICULATION_ROOT_API, Attribute, COLLISION_API, CrateReader, DEFAULT_METERS_PER_UNIT, Layer, MASS_API, MESH_COLLISION_API, PHYSICS_MATERIAL_API, ParseError, Prim, RIGID_BODY_API, Relationship, Stage, TokenizeError, buildKinematicTree, collectMdlAssetPaths, colorTemperatureToRgb, composeFile, composeLayer, crateToUsdaFile, driveKindFor, extractRobotDescription, gatherGprimDescendants, gatherMeshDescendants, getJointAxis, getJointBodies, getJointDrive, getJointLimits, getJointLocalFrame, getJointStatePosition, getJointType, getLightKind, getMassProperties, hasArticulationRootAPI, hasCollisionAPI, hasRigidBodyAPI, isBasisCurves, isInvisible, isLight, isMesh, isPoints, isRenderableGprim, isScope, isSolidGprim, isUnsupportedGprim, isUnsupportedLight, isXform, isZip, iterDescendants, jointValueFromSI, jointValueToSI, loadMdlModules, normalizeJointLimits, openUsdz, parseUsda, readLightDescription, refineJointType, serializeUsda, toBytes, tokenize } from './chunk-Z2W5CVSK.js';
|
|
3
3
|
export { channelFromSamples, decomposeJointRelative, interpolate, nearestAngleBranch } from './chunk-ALC7RBKC.js';
|
|
4
4
|
export { DefaultAssetResolver, createMemoryResolver, isMdlTexture, joinPosix, parseMdl, parseMdlLiteral } from './chunk-PPPRB6KE.js';
|
|
5
5
|
export { computeCameraExposureScale, computeLocalTransform, computeWorldTransform, isCamera, parseOpType, readCameraDescription } from './chunk-ZQXYVBQI.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CollisionApproximation, ExportPhysicsMaterial, RobotGeometryProvider, ExportRobotOptions, ExportMaterial, ExportMesh } from './core.js';
|
|
2
|
-
export { ARTICULATION_ROOT_API, COLLISION_API, ComposeOptions, CrateReader, ExtractOptions, JointDofInput, JointRelativeDecomposition, MASS_API, MESH_COLLISION_API, PACKAGE_NAME, PHYSICS_MATERIAL_API, ParseError, RIGID_BODY_API, ResolvedXform, TextureChannel, TokenizeError, UsdzPackage, VERSION, ValidateRobotOptions, ValidationIssue, ValidationSeverity, collectMdlAssetPaths, composeFile, composeLayer, computeLocalTransform, computeWorldTransform, crateToUsdaFile, decomposeJointRelative, driveKindFor, exportRobotUsda, extractRobotDescription, gatherGprimDescendants, gatherMeshDescendants, getJointAxis, getJointBodies, getJointDrive, getJointLimits, getJointLocalFrame, getJointStatePosition, getJointType, getMassProperties, hasArticulationRootAPI, hasCollisionAPI, hasRigidBodyAPI, isBasisCurves, isMesh, isPoints, isRenderableGprim, isScope, isSolidGprim, isUnsupportedGprim, isXform, isZip, iterDescendants, jointValueFromSI, jointValueToSI, loadMdlModules, nearestAngleBranch, normalizeJointLimits, openUsdz, parseOpType, parseUsda, refineJointType, serializeUsda, stageGeometryProvider, tokenize, validateRobotDescription, writeUsdz } from './core.js';
|
|
2
|
+
export { ARTICULATION_ROOT_API, COLLISION_API, ComposeOptions, CrateReader, ExtractOptions, JointDofInput, JointRelativeDecomposition, MASS_API, MESH_COLLISION_API, PACKAGE_NAME, PHYSICS_MATERIAL_API, ParseError, RIGID_BODY_API, ResolvedXform, TextureChannel, TokenizeError, UsdzPackage, VERSION, ValidateRobotOptions, ValidationIssue, ValidationSeverity, collectMdlAssetPaths, composeFile, composeLayer, computeLocalTransform, computeWorldTransform, crateToUsdaFile, decomposeJointRelative, driveKindFor, exportRobotUsda, extractRobotDescription, gatherGprimDescendants, gatherMeshDescendants, getJointAxis, getJointBodies, getJointDrive, getJointLimits, getJointLocalFrame, getJointStatePosition, getJointType, getMassProperties, hasArticulationRootAPI, hasCollisionAPI, hasRigidBodyAPI, isBasisCurves, isInvisible, isMesh, isPoints, isRenderableGprim, isScope, isSolidGprim, isUnsupportedGprim, isXform, isZip, iterDescendants, jointValueFromSI, jointValueToSI, loadMdlModules, nearestAngleBranch, normalizeJointLimits, openUsdz, parseOpType, parseUsda, refineJointType, serializeUsda, stageGeometryProvider, tokenize, validateRobotDescription, writeUsdz } from './core.js';
|
|
3
3
|
import * as THREE from 'three';
|
|
4
4
|
import { b as Axis, L as LightDescription, S as Stage, J as JointDriveDescription, c as LinkInertialDescription, R as RobotDescription, K as KinematicTree, U as UsdaFile, M as Mat4 } from './usdLux-BqQlSOwG.js';
|
|
5
5
|
export { d as AssetPath, A as AssetResolver, e as Attribute, f as AttributeSpec, B as BuildTreeOptions, C as CompositionArc, D as DEFAULT_METERS_PER_UNIT, g as DEG2RAD, h as DefaultAssetResolver, i as JointDescription, j as JointMimicDescription, k as JointType, l as KinematicNode, m as Layer, n as LinkDescription, o as ListOp, p as MetadataMap, P as Prim, q as PrimSpec, r as PropertySpec, Q as Quat, s as RAD2DEG, t as Relationship, u as RelationshipSpec, v as SampleChannel, w as SdfPath, x as Specifier, T as TreeEdge, y as UpAxis, z as UsdDictionary, E as UsdLightKind, F as UsdMatrix, G as UsdValue, H as Variability, V as Vec2, a as Vec3, I as Vec4, N as buildKinematicTree, O as channelFromSamples, W as colorTemperatureToRgb, X as createMemoryResolver, Y as decomposeRigid, Z as fromUsdMatrix, _ as getLightKind, $ as getTranslation, a0 as identity4, a1 as interpolate, a2 as invert, a3 as isLight, a4 as isUnsupportedLight, a5 as joinPosix, a6 as makeEuler, a7 as makeRotationFromQuat, a8 as makeRotationX, a9 as makeRotationY, aa as makeRotationZ, ab as makeScale, ac as makeTranslation, ad as multiply, ae as multiplyAll, af as readLightDescription, ag as toUsdMatrix } from './usdLux-BqQlSOwG.js';
|
|
6
6
|
import { T as ThreeUsdRobot } from './ThreeUsdRobot-CurQqRqu.js';
|
|
7
7
|
export { A as AspectConformPolicy, B as BindCamerasOptions, J as JointObject, b as JointResidual, c as JointValuesFromLinkTransformsOptions, L as LinkObject, d as LinkPose, e as LinkPoseSpace, f as LinkPosesOptions, a as ThreeUsdRobotOptions, U as UsdBoundCamera, W as WorldUpAxis, g as bindCameras, h as conformCameraAspect } from './ThreeUsdRobot-CurQqRqu.js';
|
|
8
|
-
export { B as BindMeshesOptions, a as BuildGprimOptions, M as MaterialFactory, b as MeshKind, R as ResolveMaterialOptions, c as ResolvedMaterial, d as ResolvedTexture, e as TextureColorSpace, f as TextureOptions, T as TextureProvider, g as TextureTransform, h as TextureWrap, i as bindRobotMeshes, j as bindSceneMeshes, k as buildGprimGeometry, l as buildGprimObject, m as buildMeshGeometry, n as buildMeshMaterial, o as createTextureProvider, p as findBoundSurfaceShader, r as resolveBoundMaterial } from './MeshBinding-
|
|
9
|
-
export { a as ThreeUsdRobotLoader, T as ThreeUsdRobotLoaderOptions } from './ThreeUsdRobotLoader-
|
|
8
|
+
export { B as BindMeshesOptions, a as BuildGprimOptions, M as MaterialFactory, b as MeshKind, R as ResolveMaterialOptions, c as ResolvedMaterial, d as ResolvedTexture, e as TextureColorSpace, f as TextureOptions, T as TextureProvider, g as TextureTransform, h as TextureWrap, i as bindRobotMeshes, j as bindSceneMeshes, k as buildGprimGeometry, l as buildGprimObject, m as buildMeshGeometry, n as buildMeshMaterial, o as createTextureProvider, p as findBoundSurfaceShader, r as resolveBoundMaterial } from './MeshBinding-K8ncIXGs.js';
|
|
9
|
+
export { a as ThreeUsdRobotLoader, T as ThreeUsdRobotLoaderOptions } from './ThreeUsdRobotLoader-AxmRaqt0.js';
|
|
10
10
|
export { B as BinarySource, U as UsdSource, t as toBytes } from './bytes-CxGRGry_.js';
|
|
11
11
|
export { a as MdlMaterialDecl, b as MdlModule, M as MdlModuleProvider, c as MdlTextureValue, d as MdlValue, i as isMdlTexture, p as parseMdl, e as parseMdlLiteral } from './parseMdl-M862hSal.js';
|
|
12
12
|
export { C as CameraDescription, c as computeCameraExposureScale, i as isCamera, r as readCameraDescription } from './usdGeomCamera-BEsGuz7m.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { stageGeometryProvider, exportRobotUsda } from './chunk-
|
|
2
|
-
export { PACKAGE_NAME, VERSION, exportRobotUsda, stageGeometryProvider, validateRobotDescription, writeUsdz } from './chunk-
|
|
3
|
-
export { ThreeUsdRobotLoader, bindCameras, bindLights, bindRobotMeshes, bindSceneMeshes, buildGprimGeometry, buildGprimObject, buildMeshGeometry, buildMeshMaterial, conformCameraAspect, createTextureProvider } from './chunk-
|
|
4
|
-
import { refineJointType, buildKinematicTree } from './chunk-
|
|
5
|
-
export { ARTICULATION_ROOT_API, Attribute, COLLISION_API, CrateReader, DEFAULT_METERS_PER_UNIT, Layer, MASS_API, MESH_COLLISION_API, PHYSICS_MATERIAL_API, ParseError, Prim, RIGID_BODY_API, Relationship, Stage, TokenizeError, buildKinematicTree, collectMdlAssetPaths, colorTemperatureToRgb, composeFile, composeLayer, crateToUsdaFile, driveKindFor, extractRobotDescription, gatherGprimDescendants, gatherMeshDescendants, getJointAxis, getJointBodies, getJointDrive, getJointLimits, getJointLocalFrame, getJointStatePosition, getJointType, getLightKind, getMassProperties, hasArticulationRootAPI, hasCollisionAPI, hasRigidBodyAPI, isBasisCurves, isLight, isMesh, isPoints, isRenderableGprim, isScope, isSolidGprim, isUnsupportedGprim, isUnsupportedLight, isXform, isZip, iterDescendants, jointValueFromSI, jointValueToSI, loadMdlModules, normalizeJointLimits, openUsdz, parseUsda, readLightDescription, refineJointType, serializeUsda, toBytes, tokenize } from './chunk-
|
|
1
|
+
import { stageGeometryProvider, exportRobotUsda } from './chunk-SKPNWILE.js';
|
|
2
|
+
export { PACKAGE_NAME, VERSION, exportRobotUsda, stageGeometryProvider, validateRobotDescription, writeUsdz } from './chunk-SKPNWILE.js';
|
|
3
|
+
export { ThreeUsdRobotLoader, bindCameras, bindLights, bindRobotMeshes, bindSceneMeshes, buildGprimGeometry, buildGprimObject, buildMeshGeometry, buildMeshMaterial, conformCameraAspect, createTextureProvider } from './chunk-ONV65SOI.js';
|
|
4
|
+
import { refineJointType, buildKinematicTree } from './chunk-Z2W5CVSK.js';
|
|
5
|
+
export { ARTICULATION_ROOT_API, Attribute, COLLISION_API, CrateReader, DEFAULT_METERS_PER_UNIT, Layer, MASS_API, MESH_COLLISION_API, PHYSICS_MATERIAL_API, ParseError, Prim, RIGID_BODY_API, Relationship, Stage, TokenizeError, buildKinematicTree, collectMdlAssetPaths, colorTemperatureToRgb, composeFile, composeLayer, crateToUsdaFile, driveKindFor, extractRobotDescription, gatherGprimDescendants, gatherMeshDescendants, getJointAxis, getJointBodies, getJointDrive, getJointLimits, getJointLocalFrame, getJointStatePosition, getJointType, getLightKind, getMassProperties, hasArticulationRootAPI, hasCollisionAPI, hasRigidBodyAPI, isBasisCurves, isInvisible, isLight, isMesh, isPoints, isRenderableGprim, isScope, isSolidGprim, isUnsupportedGprim, isUnsupportedLight, isXform, isZip, iterDescendants, jointValueFromSI, jointValueToSI, loadMdlModules, normalizeJointLimits, openUsdz, parseUsda, readLightDescription, refineJointType, serializeUsda, toBytes, tokenize } from './chunk-Z2W5CVSK.js';
|
|
6
6
|
export { JointObject, LinkObject, ThreeUsdRobot, axisVector } from './chunk-HDZGWL6P.js';
|
|
7
7
|
export { channelFromSamples, decomposeJointRelative, interpolate, nearestAngleBranch } from './chunk-ALC7RBKC.js';
|
|
8
8
|
export { DefaultAssetResolver, createMemoryResolver, findBoundSurfaceShader, isMdlTexture, joinPosix, parseMdl, parseMdlLiteral, resolveBoundMaterial } from './chunk-PPPRB6KE.js';
|
package/dist/nodes.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LoadingManager } from 'three';
|
|
2
2
|
import { MeshPhysicalNodeMaterial } from 'three/webgpu';
|
|
3
|
-
import { T as TextureProvider, M as MaterialFactory } from './MeshBinding-
|
|
3
|
+
import { T as TextureProvider, M as MaterialFactory } from './MeshBinding-K8ncIXGs.js';
|
|
4
4
|
import { P as Prim } from './usdLux-BqQlSOwG.js';
|
|
5
5
|
import './parseMdl-M862hSal.js';
|
|
6
6
|
import './ThreeUsdRobot-CurQqRqu.js';
|
package/dist/react.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import * as _react_three_fiber from '@react-three/fiber';
|
|
|
2
2
|
import { ThreeElements } from '@react-three/fiber';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { T as ThreeUsdRobot } from './ThreeUsdRobot-CurQqRqu.js';
|
|
5
|
-
import { T as ThreeUsdRobotLoaderOptions } from './ThreeUsdRobotLoader-
|
|
5
|
+
import { T as ThreeUsdRobotLoaderOptions } from './ThreeUsdRobotLoader-AxmRaqt0.js';
|
|
6
6
|
import 'three';
|
|
7
7
|
import './usdLux-BqQlSOwG.js';
|
|
8
8
|
import './bytes-CxGRGry_.js';
|
|
9
|
-
import './MeshBinding-
|
|
9
|
+
import './MeshBinding-K8ncIXGs.js';
|
|
10
10
|
import './parseMdl-M862hSal.js';
|
|
11
11
|
|
|
12
12
|
/**
|
package/dist/react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ThreeUsdRobotLoader } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { ThreeUsdRobotLoader } from './chunk-ONV65SOI.js';
|
|
2
|
+
import './chunk-Z2W5CVSK.js';
|
|
3
3
|
import './chunk-HDZGWL6P.js';
|
|
4
4
|
import './chunk-ALC7RBKC.js';
|
|
5
5
|
import './chunk-PPPRB6KE.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "three-usd-robot",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "Kinematic OpenUSD robot loader for Three.js — load Isaac Sim / OpenUSD robot assets, extract joints and links, and control articulations in the browser.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|