@toolpath/api 0.1.0 → 0.2.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/README.md +1 -1
- package/dist/generated/apis/FeaturesApi.d.ts +22 -20
- package/dist/generated/apis/FeaturesApi.js +41 -33
- 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 +28 -28
- package/dist/generated/apis/PartsApi.js +49 -49
- package/dist/generated/apis/ServiceApi.d.ts +1 -1
- package/dist/generated/apis/ServiceApi.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/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/FeatureDatasheetFacts.d.ts +51 -0
- package/dist/generated/models/FeatureDatasheetFacts.js +89 -0
- 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/PartFeatureEntry.d.ts +51 -0
- package/dist/generated/models/{FeatureDatasheetEntry.js → PartFeatureEntry.js} +16 -11
- package/dist/generated/models/PartFeatureMachiningDirection.d.ts +44 -0
- package/dist/generated/models/PartFeatureMachiningDirection.js +51 -0
- package/dist/generated/models/PartFeaturesResponse.d.ts +39 -0
- package/dist/generated/models/{FeatureDatasheetsResponse.js → PartFeaturesResponse.js} +12 -12
- 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/{ComputeFeatureDatasheetsRequest.d.ts → UpdatePartFeaturesRequest.d.ts} +11 -11
- package/dist/generated/models/{ComputeFeatureDatasheetsRequest.js → UpdatePartFeaturesRequest.js} +9 -9
- package/dist/generated/models/UpdatePartFeaturesResponse.d.ts +51 -0
- package/dist/generated/models/{ComputeFeatureDatasheetsResponse.js → UpdatePartFeaturesResponse.js} +10 -10
- package/dist/generated/models/UpdatePartResponse.d.ts +51 -0
- package/dist/generated/models/{AnalyzeJobResponse.js → UpdatePartResponse.js} +10 -10
- 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 +32 -5
- package/dist/generated/models/index.js +32 -5
- package/dist/generated/runtime.d.ts +1 -1
- package/dist/generated/runtime.js +1 -1
- package/package.json +3 -3
- package/dist/generated/models/AnalyzeJobResponse.d.ts +0 -51
- package/dist/generated/models/ComputeFeatureDatasheetsResponse.d.ts +0 -51
- package/dist/generated/models/FeatureDatasheetEntry.d.ts +0 -52
- package/dist/generated/models/FeatureDatasheetsResponse.d.ts +0 -39
|
@@ -2,18 +2,18 @@
|
|
|
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.2
|
|
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 { PartReportResponseUnits } from './PartReportResponseUnits.js';
|
|
12
13
|
import type { DirectionZBounds } from './DirectionZBounds.js';
|
|
13
14
|
import type { Vec3 } from './Vec3.js';
|
|
14
15
|
import type { Region } from './Region.js';
|
|
15
16
|
import type { PartFeature } from './PartFeature.js';
|
|
16
|
-
import type { ReportUnits } from './ReportUnits.js';
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
@@ -21,109 +21,109 @@ import type { ReportUnits } from './ReportUnits.js';
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PartReportResponse {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Identifier of the part this report describes.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof PartReportResponse
|
|
27
27
|
*/
|
|
28
28
|
partId: string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Identifier of this immutable analysis report.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof PartReportResponse
|
|
33
33
|
*/
|
|
34
34
|
reportId: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Identifier of the analysis job that produced this report.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof PartReportResponse
|
|
39
39
|
*/
|
|
40
40
|
jobId: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Version of the Toolpath kernel that produced this report.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof PartReportResponse
|
|
45
45
|
*/
|
|
46
46
|
kernelVersion: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {PartReportResponseUnits}
|
|
50
50
|
* @memberof PartReportResponse
|
|
51
51
|
*/
|
|
52
|
-
units:
|
|
52
|
+
units: PartReportResponseUnits;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Recognized B-rep regions, ordered by region index.
|
|
55
55
|
* @type {Array<Region>}
|
|
56
56
|
* @memberof PartReportResponse
|
|
57
57
|
*/
|
|
58
58
|
regions: Array<Region>;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Features recognized in this analysis run.
|
|
61
61
|
* @type {Array<PartFeature>}
|
|
62
62
|
* @memberof PartReportResponse
|
|
63
63
|
*/
|
|
64
64
|
features: Array<PartFeature>;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Directions from which the part can be analyzed or machined.
|
|
67
67
|
* @type {Array<Vec3>}
|
|
68
68
|
* @memberof PartReportResponse
|
|
69
69
|
*/
|
|
70
70
|
candidateDirections: Array<Vec3>;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Part z extents for each candidate direction, or null when detail enrichment did not run.
|
|
73
73
|
* @type {Array<DirectionZBounds>}
|
|
74
74
|
* @memberof PartReportResponse
|
|
75
75
|
*/
|
|
76
76
|
directionZBounds: Array<DirectionZBounds> | null;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* Number of points in the generated mesh.
|
|
79
79
|
* @type {number}
|
|
80
80
|
* @memberof PartReportResponse
|
|
81
81
|
*/
|
|
82
82
|
meshPointCount: number;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Number of triangles in the generated mesh.
|
|
85
85
|
* @type {number}
|
|
86
86
|
* @memberof PartReportResponse
|
|
87
87
|
*/
|
|
88
88
|
meshTriangleCount: number;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* 15-minute URL for the rendered PNG thumbnail, or null when absent.
|
|
91
91
|
* @type {string}
|
|
92
92
|
* @memberof PartReportResponse
|
|
93
93
|
*/
|
|
94
94
|
thumbnailUrl: string | null;
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* 15-minute URL for the generated STL mesh, or null when absent.
|
|
97
97
|
* @type {string}
|
|
98
98
|
* @memberof PartReportResponse
|
|
99
99
|
*/
|
|
100
100
|
meshStlUrl: string | null;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* 15-minute URL for the generated GLB mesh, or null when absent.
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof PartReportResponse
|
|
105
105
|
*/
|
|
106
106
|
meshGlbUrl: string | null;
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Worker time spent downloading the source CAD file, in milliseconds.
|
|
109
109
|
* @type {number}
|
|
110
110
|
* @memberof PartReportResponse
|
|
111
111
|
*/
|
|
112
112
|
downloadMs: number;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Kernel time spent on initial part analysis, in milliseconds.
|
|
115
115
|
* @type {number}
|
|
116
116
|
* @memberof PartReportResponse
|
|
117
117
|
*/
|
|
118
118
|
recognitionMs: number;
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* Kernel time spent building per-feature details, in milliseconds.
|
|
121
121
|
* @type {number}
|
|
122
122
|
* @memberof PartReportResponse
|
|
123
123
|
*/
|
|
124
124
|
enrichmentMs: number;
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* Total worker processing time for this report, in milliseconds.
|
|
127
127
|
* @type {number}
|
|
128
128
|
* @memberof PartReportResponse
|
|
129
129
|
*/
|
|
@@ -4,18 +4,18 @@
|
|
|
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.2
|
|
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 { PartReportResponseUnitsFromJSON, PartReportResponseUnitsToJSON, } from './PartReportResponseUnits.js';
|
|
14
15
|
import { DirectionZBoundsFromJSON, DirectionZBoundsToJSON, } from './DirectionZBounds.js';
|
|
15
16
|
import { Vec3FromJSON, Vec3ToJSON } from './Vec3.js';
|
|
16
17
|
import { RegionFromJSON, RegionToJSON } from './Region.js';
|
|
17
18
|
import { PartFeatureFromJSON, PartFeatureToJSON, } from './PartFeature.js';
|
|
18
|
-
import { ReportUnitsFromJSON, ReportUnitsToJSON, } from './ReportUnits.js';
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the PartReportResponse interface.
|
|
21
21
|
*/
|
|
@@ -70,7 +70,7 @@ export function PartReportResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
70
70
|
reportId: json['reportId'],
|
|
71
71
|
jobId: json['jobId'],
|
|
72
72
|
kernelVersion: json['kernelVersion'],
|
|
73
|
-
units:
|
|
73
|
+
units: PartReportResponseUnitsFromJSON(json['units']),
|
|
74
74
|
regions: json['regions'].map(RegionFromJSON),
|
|
75
75
|
features: json['features'].map(PartFeatureFromJSON),
|
|
76
76
|
candidateDirections: json['candidateDirections'].map(Vec3FromJSON),
|
|
@@ -100,7 +100,7 @@ export function PartReportResponseToJSONTyped(value, ignoreDiscriminator = false
|
|
|
100
100
|
reportId: value['reportId'],
|
|
101
101
|
jobId: value['jobId'],
|
|
102
102
|
kernelVersion: value['kernelVersion'],
|
|
103
|
-
units:
|
|
103
|
+
units: PartReportResponseUnitsToJSON(value['units']),
|
|
104
104
|
regions: value['regions'].map(RegionToJSON),
|
|
105
105
|
features: value['features'].map(PartFeatureToJSON),
|
|
106
106
|
candidateDirections: value['candidateDirections'].map(Vec3ToJSON),
|
|
@@ -0,0 +1,52 @@
|
|
|
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.2
|
|
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
|
+
* Units used by all dimensional values in this report.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PartReportResponseUnits
|
|
16
|
+
*/
|
|
17
|
+
export interface PartReportResponseUnits {
|
|
18
|
+
/**
|
|
19
|
+
* Unit used by every length and area measurement.
|
|
20
|
+
* @type {PartReportResponseUnitsLengthEnum}
|
|
21
|
+
* @memberof PartReportResponseUnits
|
|
22
|
+
*/
|
|
23
|
+
length: PartReportResponseUnitsLengthEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Unit used by every angular measurement.
|
|
26
|
+
* @type {PartReportResponseUnitsAngleEnum}
|
|
27
|
+
* @memberof PartReportResponseUnits
|
|
28
|
+
*/
|
|
29
|
+
angle: PartReportResponseUnitsAngleEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const PartReportResponseUnitsLengthEnum: {
|
|
35
|
+
readonly Mm: "mm";
|
|
36
|
+
};
|
|
37
|
+
export type PartReportResponseUnitsLengthEnum = (typeof PartReportResponseUnitsLengthEnum)[keyof typeof PartReportResponseUnitsLengthEnum];
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const PartReportResponseUnitsAngleEnum: {
|
|
42
|
+
readonly Deg: "deg";
|
|
43
|
+
};
|
|
44
|
+
export type PartReportResponseUnitsAngleEnum = (typeof PartReportResponseUnitsAngleEnum)[keyof typeof PartReportResponseUnitsAngleEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the PartReportResponseUnits interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfPartReportResponseUnits(value: object): value is PartReportResponseUnits;
|
|
49
|
+
export declare function PartReportResponseUnitsFromJSON(json: any): PartReportResponseUnits;
|
|
50
|
+
export declare function PartReportResponseUnitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartReportResponseUnits;
|
|
51
|
+
export declare function PartReportResponseUnitsToJSON(json: any): PartReportResponseUnits;
|
|
52
|
+
export declare function PartReportResponseUnitsToJSONTyped(value?: PartReportResponseUnits | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.2
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PartReportResponseUnitsLengthEnum = {
|
|
18
|
+
Mm: 'mm',
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export const PartReportResponseUnitsAngleEnum = {
|
|
24
|
+
Deg: 'deg',
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PartReportResponseUnits interface.
|
|
28
|
+
*/
|
|
29
|
+
export function instanceOfPartReportResponseUnits(value) {
|
|
30
|
+
if (!('length' in value) || value['length'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (value['length'] !== 'mm')
|
|
33
|
+
return false;
|
|
34
|
+
if (!('angle' in value) || value['angle'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (value['angle'] !== 'deg')
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function PartReportResponseUnitsFromJSON(json) {
|
|
41
|
+
return PartReportResponseUnitsFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function PartReportResponseUnitsFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
length: json['length'],
|
|
49
|
+
angle: json['angle'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function PartReportResponseUnitsToJSON(json) {
|
|
53
|
+
return PartReportResponseUnitsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function PartReportResponseUnitsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
length: value['length'],
|
|
61
|
+
angle: value['angle'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.2
|
|
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 pocket: a walled space with a floor, and the blend where the two meet.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PocketFacts
|
|
17
|
+
*/
|
|
18
|
+
export interface PocketFacts {
|
|
19
|
+
/**
|
|
20
|
+
* Discriminator for this facts variant.
|
|
21
|
+
* @type {PocketFactsKindEnum}
|
|
22
|
+
* @memberof PocketFacts
|
|
23
|
+
*/
|
|
24
|
+
kind: PocketFactsKindEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Clearance-diameter limits for tools sweeping the pocket.
|
|
27
|
+
* @type {CdData}
|
|
28
|
+
* @memberof PocketFacts
|
|
29
|
+
*/
|
|
30
|
+
cd: CdData;
|
|
31
|
+
/**
|
|
32
|
+
* The bottom diameter a terminal tool must not exceed; negative infinity when
|
|
33
|
+
* unconstrained.
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof PocketFacts
|
|
36
|
+
*/
|
|
37
|
+
maxBottomDiameter: number;
|
|
38
|
+
/**
|
|
39
|
+
* Radius of the floor fillet; 0.0 when unfilleted.
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof PocketFacts
|
|
42
|
+
*/
|
|
43
|
+
filletRadius: number;
|
|
44
|
+
/**
|
|
45
|
+
* Height of the floor fillet; 0.0 when unfilleted.
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof PocketFacts
|
|
48
|
+
*/
|
|
49
|
+
filletHeight: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const PocketFactsKindEnum: {
|
|
55
|
+
readonly Pocket: "Pocket";
|
|
56
|
+
};
|
|
57
|
+
export type PocketFactsKindEnum = (typeof PocketFactsKindEnum)[keyof typeof PocketFactsKindEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the PocketFacts interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfPocketFacts(value: object): value is PocketFacts;
|
|
62
|
+
export declare function PocketFactsFromJSON(json: any): PocketFacts;
|
|
63
|
+
export declare function PocketFactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PocketFacts;
|
|
64
|
+
export declare function PocketFactsToJSON(json: any): PocketFacts;
|
|
65
|
+
export declare function PocketFactsToJSONTyped(value?: PocketFacts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.2
|
|
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 PocketFactsKindEnum = {
|
|
19
|
+
Pocket: 'Pocket',
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PocketFacts interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfPocketFacts(value) {
|
|
25
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (value['kind'] !== 'Pocket')
|
|
28
|
+
return false;
|
|
29
|
+
if (!('cd' in value) || value['cd'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('maxBottomDiameter' in value) || value['maxBottomDiameter'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('filletRadius' in value) || value['filletRadius'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('filletHeight' in value) || value['filletHeight'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
export function PocketFactsFromJSON(json) {
|
|
40
|
+
return PocketFactsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function PocketFactsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
kind: json['kind'],
|
|
48
|
+
cd: CdDataFromJSON(json['cd']),
|
|
49
|
+
maxBottomDiameter: json['maxBottomDiameter'],
|
|
50
|
+
filletRadius: json['filletRadius'],
|
|
51
|
+
filletHeight: json['filletHeight'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function PocketFactsToJSON(json) {
|
|
55
|
+
return PocketFactsToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function PocketFactsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
kind: value['kind'],
|
|
63
|
+
cd: CdDataToJSON(value['cd']),
|
|
64
|
+
maxBottomDiameter: value['maxBottomDiameter'],
|
|
65
|
+
filletRadius: value['filletRadius'],
|
|
66
|
+
filletHeight: value['filletHeight'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -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.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,58 @@
|
|
|
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.2
|
|
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 profile: one pass around the part's outline.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProfileFacts
|
|
17
|
+
*/
|
|
18
|
+
export interface ProfileFacts {
|
|
19
|
+
/**
|
|
20
|
+
* Discriminator for this facts variant.
|
|
21
|
+
* @type {ProfileFactsKindEnum}
|
|
22
|
+
* @memberof ProfileFacts
|
|
23
|
+
*/
|
|
24
|
+
kind: ProfileFactsKindEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Clearance-diameter limits for tools following the profile.
|
|
27
|
+
* @type {CdData}
|
|
28
|
+
* @memberof ProfileFacts
|
|
29
|
+
*/
|
|
30
|
+
cd: CdData;
|
|
31
|
+
/**
|
|
32
|
+
* How far the pass travels, mm — the outline's own length.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ProfileFacts
|
|
35
|
+
*/
|
|
36
|
+
length: number;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the outline is the part's silhouette or the bridged reading of it.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof ProfileFacts
|
|
41
|
+
*/
|
|
42
|
+
isModified: boolean;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const ProfileFactsKindEnum: {
|
|
48
|
+
readonly Profile: "Profile";
|
|
49
|
+
};
|
|
50
|
+
export type ProfileFactsKindEnum = (typeof ProfileFactsKindEnum)[keyof typeof ProfileFactsKindEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the ProfileFacts interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfProfileFacts(value: object): value is ProfileFacts;
|
|
55
|
+
export declare function ProfileFactsFromJSON(json: any): ProfileFacts;
|
|
56
|
+
export declare function ProfileFactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileFacts;
|
|
57
|
+
export declare function ProfileFactsToJSON(json: any): ProfileFacts;
|
|
58
|
+
export declare function ProfileFactsToJSONTyped(value?: ProfileFacts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.2
|
|
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 ProfileFactsKindEnum = {
|
|
19
|
+
Profile: 'Profile',
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProfileFacts interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfProfileFacts(value) {
|
|
25
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (value['kind'] !== 'Profile')
|
|
28
|
+
return false;
|
|
29
|
+
if (!('cd' in value) || value['cd'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('length' in value) || value['length'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('isModified' in value) || value['isModified'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function ProfileFactsFromJSON(json) {
|
|
38
|
+
return ProfileFactsFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ProfileFactsFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
kind: json['kind'],
|
|
46
|
+
cd: CdDataFromJSON(json['cd']),
|
|
47
|
+
length: json['length'],
|
|
48
|
+
isModified: json['isModified'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function ProfileFactsToJSON(json) {
|
|
52
|
+
return ProfileFactsToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function ProfileFactsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
kind: value['kind'],
|
|
60
|
+
cd: CdDataToJSON(value['cd']),
|
|
61
|
+
length: value['length'],
|
|
62
|
+
isModified: value['isModified'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,31 +16,37 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface Region {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Stable region index referenced by `features[].regionIdxs`.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof Region
|
|
22
22
|
*/
|
|
23
23
|
idx: number;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Report-local source-face group; equal values identify regions split from one B-rep face.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Region
|
|
28
|
+
*/
|
|
29
|
+
splitOrigin: number;
|
|
30
|
+
/**
|
|
31
|
+
* Recognized surface kind, such as Plane, Cylinder, Cone, Sphere, Torus, or Freeform.
|
|
26
32
|
* @type {string}
|
|
27
33
|
* @memberof Region
|
|
28
34
|
*/
|
|
29
35
|
shapeKind: string;
|
|
30
36
|
/**
|
|
31
|
-
*
|
|
37
|
+
* Surface area of the region, in mm².
|
|
32
38
|
* @type {number}
|
|
33
39
|
* @memberof Region
|
|
34
40
|
*/
|
|
35
41
|
area: number;
|
|
36
42
|
/**
|
|
37
|
-
*
|
|
43
|
+
* Inclusive start of this region’s triangle range in the returned mesh ordering.
|
|
38
44
|
* @type {number}
|
|
39
45
|
* @memberof Region
|
|
40
46
|
*/
|
|
41
47
|
triangleStart: number;
|
|
42
48
|
/**
|
|
43
|
-
*
|
|
49
|
+
* Exclusive end of this region’s triangle range in the returned mesh ordering.
|
|
44
50
|
* @type {number}
|
|
45
51
|
* @memberof Region
|
|
46
52
|
*/
|
|
@@ -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.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
export function instanceOfRegion(value) {
|
|
18
18
|
if (!('idx' in value) || value['idx'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
+
if (!('splitOrigin' in value) || value['splitOrigin'] === undefined)
|
|
21
|
+
return false;
|
|
20
22
|
if (!('shapeKind' in value) || value['shapeKind'] === undefined)
|
|
21
23
|
return false;
|
|
22
24
|
if (!('area' in value) || value['area'] === undefined)
|
|
@@ -36,6 +38,7 @@ export function RegionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
38
|
}
|
|
37
39
|
return {
|
|
38
40
|
idx: json['idx'],
|
|
41
|
+
splitOrigin: json['splitOrigin'],
|
|
39
42
|
shapeKind: json['shapeKind'],
|
|
40
43
|
area: json['area'],
|
|
41
44
|
triangleStart: json['triangleStart'],
|
|
@@ -51,6 +54,7 @@ export function RegionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
54
|
}
|
|
52
55
|
return {
|
|
53
56
|
idx: value['idx'],
|
|
57
|
+
splitOrigin: value['splitOrigin'],
|
|
54
58
|
shapeKind: value['shapeKind'],
|
|
55
59
|
area: value['area'],
|
|
56
60
|
triangleStart: value['triangleStart'],
|