@wandelbots/wandelbots-js-react-components
Version:
React UI toolkit for building applications on top of the Wandelbots platform
25 lines • 926 B
TypeScript
import type { Object3D } from "three";
import type { GLTF } from "three-stdlib";
export declare function defaultGetModel(modelFromController: string): string;
/**
* Finds all the joint groups in a GLTF tree, as identified
* by the _Jxx name ending convention.
*/
export declare function collectJoints(rootObject: Object3D): Object3D[];
/**
* Checks if a specified threejs object represents the flange of a
* robot, based on the _FLG name ending convention.
*/
export declare function isFlange(node: Object3D): boolean;
/**
* Checks if a specified threejs object represents a joint of a
* robot, based on the _Jxx name ending convention.
*/
export declare function isJoint(node: Object3D): boolean;
/**
* Validates that the loaded GLTF file has six joints and a flange group.
*/
export declare function parseRobotModel(gltf: GLTF, filename: string): {
gltf: GLTF;
};
//# sourceMappingURL=robotModelLogic.d.ts.map