@toolpath/api 0.1.0 → 0.2.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.
- package/dist/generated/apis/FeaturesApi.d.ts +1 -1
- package/dist/generated/apis/FeaturesApi.js +1 -1
- package/dist/generated/apis/JobsApi.d.ts +1 -1
- package/dist/generated/apis/JobsApi.js +1 -1
- package/dist/generated/apis/KeysApi.d.ts +1 -1
- package/dist/generated/apis/KeysApi.js +1 -1
- package/dist/generated/apis/PartsApi.d.ts +1 -1
- package/dist/generated/apis/PartsApi.js +1 -1
- package/dist/generated/apis/ServiceApi.d.ts +1 -1
- package/dist/generated/apis/ServiceApi.js +1 -1
- package/dist/generated/models/AnalyzeJobResponse.d.ts +4 -4
- package/dist/generated/models/AnalyzeJobResponse.js +1 -1
- package/dist/generated/models/BevelFacts.d.ts +62 -0
- package/dist/generated/models/BevelFacts.js +58 -0
- package/dist/generated/models/BossFacts.d.ts +64 -0
- package/dist/generated/models/BossFacts.js +68 -0
- package/dist/generated/models/CdBounds.d.ts +41 -0
- package/dist/generated/models/CdBounds.js +47 -0
- package/dist/generated/models/CdData.d.ts +52 -0
- package/dist/generated/models/CdData.js +56 -0
- package/dist/generated/models/ChamferFacts.d.ts +55 -0
- package/dist/generated/models/ChamferFacts.js +61 -0
- package/dist/generated/models/ComputeFeatureDatasheetsRequest.d.ts +2 -2
- package/dist/generated/models/ComputeFeatureDatasheetsRequest.js +1 -1
- package/dist/generated/models/ComputeFeatureDatasheetsResponse.d.ts +4 -4
- package/dist/generated/models/ComputeFeatureDatasheetsResponse.js +1 -1
- package/dist/generated/models/CreatePartResponse.d.ts +5 -5
- package/dist/generated/models/CreatePartResponse.js +1 -1
- package/dist/generated/models/DirectionZBounds.d.ts +6 -6
- package/dist/generated/models/DirectionZBounds.js +4 -4
- package/dist/generated/models/DirectionZBoundsDirection.d.ts +44 -0
- package/dist/generated/models/DirectionZBoundsDirection.js +51 -0
- package/dist/generated/models/DovetailFacts.d.ts +98 -0
- package/dist/generated/models/DovetailFacts.js +84 -0
- package/dist/generated/models/FaceFacts.d.ts +70 -0
- package/dist/generated/models/FaceFacts.js +72 -0
- package/dist/generated/models/FeatureDatasheet.d.ts +110 -0
- package/dist/generated/models/FeatureDatasheet.js +94 -0
- package/dist/generated/models/FeatureDatasheetEntry.d.ts +8 -9
- package/dist/generated/models/FeatureDatasheetEntry.js +8 -3
- package/dist/generated/models/FeatureDatasheetFacts.d.ts +51 -0
- package/dist/generated/models/FeatureDatasheetFacts.js +89 -0
- package/dist/generated/models/FeatureDatasheetsResponse.d.ts +3 -3
- package/dist/generated/models/FeatureDatasheetsResponse.js +1 -1
- package/dist/generated/models/FeatureType.d.ts +58 -0
- package/dist/generated/models/FeatureType.js +76 -0
- package/dist/generated/models/HealthResponse.d.ts +3 -3
- package/dist/generated/models/HealthResponse.js +1 -1
- package/dist/generated/models/HoleFacts.d.ts +109 -0
- package/dist/generated/models/HoleFacts.js +96 -0
- package/dist/generated/models/HoleProcess.d.ts +26 -0
- package/dist/generated/models/HoleProcess.js +44 -0
- package/dist/generated/models/JobDetail.d.ts +9 -9
- package/dist/generated/models/JobDetail.js +1 -1
- package/dist/generated/models/JobSummary.d.ts +7 -7
- package/dist/generated/models/JobSummary.js +1 -1
- package/dist/generated/models/KeyValidationResponse.d.ts +1 -1
- package/dist/generated/models/KeyValidationResponse.js +1 -1
- package/dist/generated/models/ListJobsResponse.d.ts +5 -5
- package/dist/generated/models/ListJobsResponse.js +1 -1
- package/dist/generated/models/OpenApiDocument.d.ts +2 -2
- package/dist/generated/models/OpenApiDocument.js +1 -1
- package/dist/generated/models/PartFeature.d.ts +8 -8
- package/dist/generated/models/PartFeature.js +4 -4
- package/dist/generated/models/PartFeatureAxis.d.ts +5 -5
- package/dist/generated/models/PartFeatureAxis.js +1 -1
- package/dist/generated/models/PartFeatureMachiningDirection.d.ts +44 -0
- package/dist/generated/models/PartFeatureMachiningDirection.js +51 -0
- package/dist/generated/models/PartReportResponse.d.ts +21 -21
- package/dist/generated/models/PartReportResponse.js +4 -4
- package/dist/generated/models/PartReportResponseUnits.d.ts +52 -0
- package/dist/generated/models/PartReportResponseUnits.js +63 -0
- package/dist/generated/models/PocketFacts.d.ts +65 -0
- package/dist/generated/models/PocketFacts.js +68 -0
- package/dist/generated/models/ProblemDetails.d.ts +1 -1
- package/dist/generated/models/ProblemDetails.js +1 -1
- package/dist/generated/models/ProfileFacts.d.ts +58 -0
- package/dist/generated/models/ProfileFacts.js +64 -0
- package/dist/generated/models/Region.d.ts +12 -6
- package/dist/generated/models/Region.js +5 -1
- package/dist/generated/models/ReportUnits.d.ts +3 -3
- package/dist/generated/models/ReportUnits.js +1 -1
- package/dist/generated/models/SinkFacts.d.ts +47 -0
- package/dist/generated/models/SinkFacts.js +52 -0
- package/dist/generated/models/SurfaceFacts.d.ts +97 -0
- package/dist/generated/models/SurfaceFacts.js +89 -0
- package/dist/generated/models/ThreadProcess.d.ts +26 -0
- package/dist/generated/models/ThreadProcess.js +44 -0
- package/dist/generated/models/ThreadSpec.d.ts +62 -0
- package/dist/generated/models/ThreadSpec.js +63 -0
- package/dist/generated/models/Threading.d.ts +40 -0
- package/dist/generated/models/Threading.js +49 -0
- package/dist/generated/models/ToleranceBand.d.ts +45 -0
- package/dist/generated/models/ToleranceBand.js +51 -0
- package/dist/generated/models/ToolFitResult.d.ts +44 -0
- package/dist/generated/models/ToolFitResult.js +51 -0
- package/dist/generated/models/TslotFacts.d.ts +81 -0
- package/dist/generated/models/TslotFacts.js +76 -0
- package/dist/generated/models/Vec2.d.ts +38 -0
- package/dist/generated/models/Vec2.js +47 -0
- package/dist/generated/models/Vec3.d.ts +4 -4
- package/dist/generated/models/Vec3.js +1 -1
- package/dist/generated/models/WallFacts.d.ts +46 -0
- package/dist/generated/models/WallFacts.js +56 -0
- package/dist/generated/models/index.d.ts +27 -0
- package/dist/generated/models/index.js +27 -0
- package/dist/generated/runtime.d.ts +1 -1
- package/dist/generated/runtime.js +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolpath Engine API
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SurfaceFacts } from './SurfaceFacts.js';
|
|
13
|
+
import type { BevelFacts } from './BevelFacts.js';
|
|
14
|
+
/**
|
|
15
|
+
* A chamfer, which is two things at once and carries a measurement of each: a bevel
|
|
16
|
+
* cut by a cone's flank, and a surface a ball can follow. Which one a given tool
|
|
17
|
+
* answers to is settled by the tool's own shape.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ChamferFacts
|
|
20
|
+
*/
|
|
21
|
+
export interface ChamferFacts {
|
|
22
|
+
/**
|
|
23
|
+
* Discriminator for this facts variant.
|
|
24
|
+
* @type {ChamferFactsKindEnum}
|
|
25
|
+
* @memberof ChamferFacts
|
|
26
|
+
*/
|
|
27
|
+
kind: ChamferFactsKindEnum;
|
|
28
|
+
/**
|
|
29
|
+
* Measurements for machining the chamfer with a conical tool flank.
|
|
30
|
+
* @type {BevelFacts}
|
|
31
|
+
* @memberof ChamferFacts
|
|
32
|
+
*/
|
|
33
|
+
bevel: BevelFacts;
|
|
34
|
+
/**
|
|
35
|
+
* Measurements for machining the chamfer as a followable surface.
|
|
36
|
+
* @type {SurfaceFacts}
|
|
37
|
+
* @memberof ChamferFacts
|
|
38
|
+
*/
|
|
39
|
+
three: SurfaceFacts;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export declare const ChamferFactsKindEnum: {
|
|
45
|
+
readonly Chamfer: "Chamfer";
|
|
46
|
+
};
|
|
47
|
+
export type ChamferFactsKindEnum = (typeof ChamferFactsKindEnum)[keyof typeof ChamferFactsKindEnum];
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ChamferFacts interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfChamferFacts(value: object): value is ChamferFacts;
|
|
52
|
+
export declare function ChamferFactsFromJSON(json: any): ChamferFacts;
|
|
53
|
+
export declare function ChamferFactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChamferFacts;
|
|
54
|
+
export declare function ChamferFactsToJSON(json: any): ChamferFacts;
|
|
55
|
+
export declare function ChamferFactsToJSONTyped(value?: ChamferFacts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Toolpath Engine API
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SurfaceFactsFromJSON, SurfaceFactsToJSON, } from './SurfaceFacts.js';
|
|
15
|
+
import { BevelFactsFromJSON, BevelFactsToJSON, } from './BevelFacts.js';
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export const ChamferFactsKindEnum = {
|
|
20
|
+
Chamfer: 'Chamfer',
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ChamferFacts interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfChamferFacts(value) {
|
|
26
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (value['kind'] !== 'Chamfer')
|
|
29
|
+
return false;
|
|
30
|
+
if (!('bevel' in value) || value['bevel'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('three' in value) || value['three'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function ChamferFactsFromJSON(json) {
|
|
37
|
+
return ChamferFactsFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ChamferFactsFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
kind: json['kind'],
|
|
45
|
+
bevel: BevelFactsFromJSON(json['bevel']),
|
|
46
|
+
three: SurfaceFactsFromJSON(json['three']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function ChamferFactsToJSON(json) {
|
|
50
|
+
return ChamferFactsToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function ChamferFactsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
kind: value['kind'],
|
|
58
|
+
bevel: BevelFactsToJSON(value['bevel']),
|
|
59
|
+
three: SurfaceFactsToJSON(value['three']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Toolpath Engine API
|
|
3
3
|
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ComputeFeatureDatasheetsRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Identifiers of features from one part whose datasheets should be computed.
|
|
20
20
|
* @type {Array<string>}
|
|
21
21
|
* @memberof ComputeFeatureDatasheetsRequest
|
|
22
22
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Toolpath Engine API
|
|
5
5
|
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Toolpath Engine API
|
|
3
3
|
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ComputeFeatureDatasheetsResponse {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Identifier of the queued enrichment job.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ComputeFeatureDatasheetsResponse
|
|
22
22
|
*/
|
|
23
23
|
jobId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Identifier of the part owning the requested features.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ComputeFeatureDatasheetsResponse
|
|
28
28
|
*/
|
|
29
29
|
partId: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Initial state of the accepted enrichment job.
|
|
32
32
|
* @type {ComputeFeatureDatasheetsResponseStatusEnum}
|
|
33
33
|
* @memberof ComputeFeatureDatasheetsResponse
|
|
34
34
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Toolpath Engine API
|
|
5
5
|
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Toolpath Engine API
|
|
3
3
|
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreatePartResponse {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Identifier of the newly created part.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreatePartResponse
|
|
22
22
|
*/
|
|
23
23
|
partId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Short-lived URL that accepts a direct upload of the CAD source.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreatePartResponse
|
|
28
28
|
*/
|
|
29
29
|
uploadUrl: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Object-storage bucket receiving the CAD source.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePartResponse
|
|
34
34
|
*/
|
|
35
35
|
sourceBucket: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Object-storage key assigned to the CAD source.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreatePartResponse
|
|
40
40
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Toolpath Engine API
|
|
5
5
|
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Toolpath Engine API
|
|
3
3
|
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { DirectionZBoundsDirection } from './DirectionZBoundsDirection.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,18 +18,18 @@ import type { Vec3 } from './Vec3.js';
|
|
|
18
18
|
export interface DirectionZBounds {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {DirectionZBoundsDirection}
|
|
22
22
|
* @memberof DirectionZBounds
|
|
23
23
|
*/
|
|
24
|
-
direction:
|
|
24
|
+
direction: DirectionZBoundsDirection;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Lowest part extent in this direction’s tool-axis frame, in mm.
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof DirectionZBounds
|
|
29
29
|
*/
|
|
30
30
|
zMin: number;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Highest part extent in this direction’s tool-axis frame, in mm.
|
|
33
33
|
* @type {number}
|
|
34
34
|
* @memberof DirectionZBounds
|
|
35
35
|
*/
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* Toolpath Engine API
|
|
5
5
|
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { DirectionZBoundsDirectionFromJSON, DirectionZBoundsDirectionToJSON, } from './DirectionZBoundsDirection.js';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the DirectionZBounds interface.
|
|
17
17
|
*/
|
|
@@ -32,7 +32,7 @@ export function DirectionZBoundsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
direction:
|
|
35
|
+
direction: DirectionZBoundsDirectionFromJSON(json['direction']),
|
|
36
36
|
zMin: json['zMin'],
|
|
37
37
|
zMax: json['zMax'],
|
|
38
38
|
};
|
|
@@ -45,7 +45,7 @@ export function DirectionZBoundsToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
|
-
direction:
|
|
48
|
+
direction: DirectionZBoundsDirectionToJSON(value['direction']),
|
|
49
49
|
zMin: value['zMin'],
|
|
50
50
|
zMax: value['zMax'],
|
|
51
51
|
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolpath Engine API
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Candidate machining direction whose tool-axis frame defines these bounds.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DirectionZBoundsDirection
|
|
16
|
+
*/
|
|
17
|
+
export interface DirectionZBoundsDirection {
|
|
18
|
+
/**
|
|
19
|
+
* X coordinate or direction component.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DirectionZBoundsDirection
|
|
22
|
+
*/
|
|
23
|
+
x: number;
|
|
24
|
+
/**
|
|
25
|
+
* Y coordinate or direction component.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof DirectionZBoundsDirection
|
|
28
|
+
*/
|
|
29
|
+
y: number;
|
|
30
|
+
/**
|
|
31
|
+
* Z coordinate or direction component.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof DirectionZBoundsDirection
|
|
34
|
+
*/
|
|
35
|
+
z: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the DirectionZBoundsDirection interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfDirectionZBoundsDirection(value: object): value is DirectionZBoundsDirection;
|
|
41
|
+
export declare function DirectionZBoundsDirectionFromJSON(json: any): DirectionZBoundsDirection;
|
|
42
|
+
export declare function DirectionZBoundsDirectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): DirectionZBoundsDirection;
|
|
43
|
+
export declare function DirectionZBoundsDirectionToJSON(json: any): DirectionZBoundsDirection;
|
|
44
|
+
export declare function DirectionZBoundsDirectionToJSONTyped(value?: DirectionZBoundsDirection | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Toolpath Engine API
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the DirectionZBoundsDirection interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDirectionZBoundsDirection(value) {
|
|
18
|
+
if (!('x' in value) || value['x'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('y' in value) || value['y'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('z' in value) || value['z'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function DirectionZBoundsDirectionFromJSON(json) {
|
|
27
|
+
return DirectionZBoundsDirectionFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function DirectionZBoundsDirectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
x: json['x'],
|
|
35
|
+
y: json['y'],
|
|
36
|
+
z: json['z'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function DirectionZBoundsDirectionToJSON(json) {
|
|
40
|
+
return DirectionZBoundsDirectionToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function DirectionZBoundsDirectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
x: value['x'],
|
|
48
|
+
y: value['y'],
|
|
49
|
+
z: value['z'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolpath Engine API
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CdData } from './CdData.js';
|
|
13
|
+
/**
|
|
14
|
+
* A dovetail groove: overhanging walls leaning back at one angle over a floor, so the
|
|
15
|
+
* space widens with depth and a tool has to enter through an opening narrower than where
|
|
16
|
+
* it cuts.
|
|
17
|
+
*
|
|
18
|
+
* That inversion is why this carries widths rather than a medial-axis measurement. All
|
|
19
|
+
* three are clearance diameters read at their own heights, with `0.0` standing for a
|
|
20
|
+
* measurement that failed — which is what `isInvalidGeometry` reports.
|
|
21
|
+
* @export
|
|
22
|
+
* @interface DovetailFacts
|
|
23
|
+
*/
|
|
24
|
+
export interface DovetailFacts {
|
|
25
|
+
/**
|
|
26
|
+
* Discriminator for this facts variant.
|
|
27
|
+
* @type {DovetailFactsKindEnum}
|
|
28
|
+
* @memberof DovetailFacts
|
|
29
|
+
*/
|
|
30
|
+
kind: DovetailFactsKindEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Between the overhanging wall and the tool axis, degrees, positive however the
|
|
33
|
+
* wall leans.
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof DovetailFacts
|
|
36
|
+
*/
|
|
37
|
+
taperDeg: number;
|
|
38
|
+
/**
|
|
39
|
+
* Radius of the blend between wall and floor; 0.0 for the sharp kind.
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof DovetailFacts
|
|
42
|
+
*/
|
|
43
|
+
filletRadius: number;
|
|
44
|
+
/**
|
|
45
|
+
* The widest clearance over the floor — the width the groove cuts at.
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof DovetailFacts
|
|
48
|
+
*/
|
|
49
|
+
floorWidth: number;
|
|
50
|
+
/**
|
|
51
|
+
* The clearance through the opening at the top of the groove.
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof DovetailFacts
|
|
54
|
+
*/
|
|
55
|
+
topOpeningWidth: number;
|
|
56
|
+
/**
|
|
57
|
+
* The clearance just above the floor, under the overhangs.
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof DovetailFacts
|
|
60
|
+
*/
|
|
61
|
+
bottomOpeningWidth: number;
|
|
62
|
+
/**
|
|
63
|
+
* The groove's inner clearances vary from place to place — it runs out somewhere —
|
|
64
|
+
* rather than being the one constant width a closed internal dovetail has.
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof DovetailFacts
|
|
67
|
+
*/
|
|
68
|
+
isExternal: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Derived from the widths and the taper, not measured off an axis, so the three
|
|
71
|
+
* regimes hold one answer.
|
|
72
|
+
* @type {CdData}
|
|
73
|
+
* @memberof DovetailFacts
|
|
74
|
+
*/
|
|
75
|
+
cd: CdData;
|
|
76
|
+
/**
|
|
77
|
+
* A width could not be measured at all, so `cd` is arithmetic over a zero and no
|
|
78
|
+
* tool should be offered on its strength.
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof DovetailFacts
|
|
81
|
+
*/
|
|
82
|
+
isInvalidGeometry: boolean;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* @export
|
|
86
|
+
*/
|
|
87
|
+
export declare const DovetailFactsKindEnum: {
|
|
88
|
+
readonly Dovetail: "Dovetail";
|
|
89
|
+
};
|
|
90
|
+
export type DovetailFactsKindEnum = (typeof DovetailFactsKindEnum)[keyof typeof DovetailFactsKindEnum];
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the DovetailFacts interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfDovetailFacts(value: object): value is DovetailFacts;
|
|
95
|
+
export declare function DovetailFactsFromJSON(json: any): DovetailFacts;
|
|
96
|
+
export declare function DovetailFactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DovetailFacts;
|
|
97
|
+
export declare function DovetailFactsToJSON(json: any): DovetailFacts;
|
|
98
|
+
export declare function DovetailFactsToJSONTyped(value?: DovetailFacts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Toolpath Engine API
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { CdDataFromJSON, CdDataToJSON } from './CdData.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const DovetailFactsKindEnum = {
|
|
19
|
+
Dovetail: 'Dovetail',
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DovetailFacts interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfDovetailFacts(value) {
|
|
25
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (value['kind'] !== 'Dovetail')
|
|
28
|
+
return false;
|
|
29
|
+
if (!('taperDeg' in value) || value['taperDeg'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('filletRadius' in value) || value['filletRadius'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('floorWidth' in value) || value['floorWidth'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('topOpeningWidth' in value) || value['topOpeningWidth'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('bottomOpeningWidth' in value) || value['bottomOpeningWidth'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('isExternal' in value) || value['isExternal'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('cd' in value) || value['cd'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('isInvalidGeometry' in value) || value['isInvalidGeometry'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
export function DovetailFactsFromJSON(json) {
|
|
48
|
+
return DovetailFactsFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function DovetailFactsFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
kind: json['kind'],
|
|
56
|
+
taperDeg: json['taperDeg'],
|
|
57
|
+
filletRadius: json['filletRadius'],
|
|
58
|
+
floorWidth: json['floorWidth'],
|
|
59
|
+
topOpeningWidth: json['topOpeningWidth'],
|
|
60
|
+
bottomOpeningWidth: json['bottomOpeningWidth'],
|
|
61
|
+
isExternal: json['isExternal'],
|
|
62
|
+
cd: CdDataFromJSON(json['cd']),
|
|
63
|
+
isInvalidGeometry: json['isInvalidGeometry'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export function DovetailFactsToJSON(json) {
|
|
67
|
+
return DovetailFactsToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
export function DovetailFactsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
kind: value['kind'],
|
|
75
|
+
taperDeg: value['taperDeg'],
|
|
76
|
+
filletRadius: value['filletRadius'],
|
|
77
|
+
floorWidth: value['floorWidth'],
|
|
78
|
+
topOpeningWidth: value['topOpeningWidth'],
|
|
79
|
+
bottomOpeningWidth: value['bottomOpeningWidth'],
|
|
80
|
+
isExternal: value['isExternal'],
|
|
81
|
+
cd: CdDataToJSON(value['cd']),
|
|
82
|
+
isInvalidGeometry: value['isInvalidGeometry'],
|
|
83
|
+
};
|
|
84
|
+
}
|