@wandelbots/nova-api 25.9.0-dev.32 → 25.9.0-dev.34
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/v1/index.d.ts +177 -177
- package/dist/v2/index.cjs +17 -22
- package/dist/v2/index.d.cts +13 -34
- package/dist/v2/index.d.ts +141 -162
- package/dist/v2/index.js +17 -22
- package/package.json +1 -1
package/dist/v2/index.js
CHANGED
|
@@ -3887,10 +3887,9 @@ var MotionGroupApi = class extends BaseAPI {
|
|
|
3887
3887
|
*/
|
|
3888
3888
|
const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
3889
3889
|
return {
|
|
3890
|
-
getMotionGroupCollisionModel: async (
|
|
3891
|
-
assertParamExists("getMotionGroupCollisionModel", "cell", cell);
|
|
3890
|
+
getMotionGroupCollisionModel: async (motionGroupModel, options = {}) => {
|
|
3892
3891
|
assertParamExists("getMotionGroupCollisionModel", "motionGroupModel", motionGroupModel);
|
|
3893
|
-
const localVarPath = `/
|
|
3892
|
+
const localVarPath = `/motion-group-models/{motion-group-model}/collision`.replace(`{motion-group-model}`, encodeURIComponent(String(motionGroupModel)));
|
|
3894
3893
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3895
3894
|
let baseOptions;
|
|
3896
3895
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -3915,10 +3914,8 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
|
3915
3914
|
options: localVarRequestOptions
|
|
3916
3915
|
};
|
|
3917
3916
|
},
|
|
3918
|
-
getMotionGroupModels: async (
|
|
3919
|
-
|
|
3920
|
-
const localVarPath = `/cells/{cell}/motion-group-models`.replace(`{cell}`, encodeURIComponent(String(cell)));
|
|
3921
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3917
|
+
getMotionGroupModels: async (options = {}) => {
|
|
3918
|
+
const localVarUrlObj = new URL(`/motion-group-models`, DUMMY_BASE_URL);
|
|
3922
3919
|
let baseOptions;
|
|
3923
3920
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
3924
3921
|
const localVarRequestOptions = {
|
|
@@ -3951,14 +3948,14 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
|
3951
3948
|
const MotionGroupModelsApiFp = function(configuration) {
|
|
3952
3949
|
const localVarAxiosParamCreator = MotionGroupModelsApiAxiosParamCreator(configuration);
|
|
3953
3950
|
return {
|
|
3954
|
-
async getMotionGroupCollisionModel(
|
|
3955
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupCollisionModel(
|
|
3951
|
+
async getMotionGroupCollisionModel(motionGroupModel, options) {
|
|
3952
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupCollisionModel(motionGroupModel, options);
|
|
3956
3953
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3957
3954
|
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupCollisionModel"]?.[localVarOperationServerIndex]?.url;
|
|
3958
3955
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3959
3956
|
},
|
|
3960
|
-
async getMotionGroupModels(
|
|
3961
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModels(
|
|
3957
|
+
async getMotionGroupModels(options) {
|
|
3958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModels(options);
|
|
3962
3959
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3963
3960
|
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupModels"]?.[localVarOperationServerIndex]?.url;
|
|
3964
3961
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3972,11 +3969,11 @@ const MotionGroupModelsApiFp = function(configuration) {
|
|
|
3972
3969
|
const MotionGroupModelsApiFactory = function(configuration, basePath, axios) {
|
|
3973
3970
|
const localVarFp = MotionGroupModelsApiFp(configuration);
|
|
3974
3971
|
return {
|
|
3975
|
-
getMotionGroupCollisionModel(
|
|
3976
|
-
return localVarFp.getMotionGroupCollisionModel(
|
|
3972
|
+
getMotionGroupCollisionModel(motionGroupModel, options) {
|
|
3973
|
+
return localVarFp.getMotionGroupCollisionModel(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
3977
3974
|
},
|
|
3978
|
-
getMotionGroupModels(
|
|
3979
|
-
return localVarFp.getMotionGroupModels(
|
|
3975
|
+
getMotionGroupModels(options) {
|
|
3976
|
+
return localVarFp.getMotionGroupModels(options).then((request) => request(axios, basePath));
|
|
3980
3977
|
}
|
|
3981
3978
|
};
|
|
3982
3979
|
};
|
|
@@ -3990,25 +3987,23 @@ var MotionGroupModelsApi = class extends BaseAPI {
|
|
|
3990
3987
|
/**
|
|
3991
3988
|
* Returns the default collision link chain for a given motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Attach additional shapes to the link reference frames by extending the link dictionaries before further use. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
3992
3989
|
* @summary Get Collision Model
|
|
3993
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3994
3990
|
* @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
|
|
3995
3991
|
* @param {*} [options] Override http request option.
|
|
3996
3992
|
* @throws {RequiredError}
|
|
3997
3993
|
* @memberof MotionGroupModelsApi
|
|
3998
3994
|
*/
|
|
3999
|
-
getMotionGroupCollisionModel(
|
|
4000
|
-
return MotionGroupModelsApiFp(this.configuration).getMotionGroupCollisionModel(
|
|
3995
|
+
getMotionGroupCollisionModel(motionGroupModel, options) {
|
|
3996
|
+
return MotionGroupModelsApiFp(this.configuration).getMotionGroupCollisionModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
4001
3997
|
}
|
|
4002
3998
|
/**
|
|
4003
|
-
* Returns
|
|
3999
|
+
* Returns the list of supported motion group models.
|
|
4004
4000
|
* @summary Motion Group Models
|
|
4005
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4006
4001
|
* @param {*} [options] Override http request option.
|
|
4007
4002
|
* @throws {RequiredError}
|
|
4008
4003
|
* @memberof MotionGroupModelsApi
|
|
4009
4004
|
*/
|
|
4010
|
-
getMotionGroupModels(
|
|
4011
|
-
return MotionGroupModelsApiFp(this.configuration).getMotionGroupModels(
|
|
4005
|
+
getMotionGroupModels(options) {
|
|
4006
|
+
return MotionGroupModelsApiFp(this.configuration).getMotionGroupModels(options).then((request) => request(this.axios, this.basePath));
|
|
4012
4007
|
}
|
|
4013
4008
|
};
|
|
4014
4009
|
/**
|