@kittycad/lib 3.1.3 → 3.1.4
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/cjs/index.cjs +1 -1
- package/dist/mjs/index.js +1 -1
- package/dist/types/src/api/ml/create_proprietary_to_kcl.d.ts +8 -0
- package/dist/types/src/api/ml/create_proprietary_to_kcl.d.ts.map +1 -1
- package/dist/types/src/api/payments/delete_payment_method_for_user.d.ts +3 -1
- package/dist/types/src/api/payments/delete_payment_method_for_user.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +385 -9
- package/dist/types/src/models.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -46,18 +46,224 @@ export interface Angle {
|
|
|
46
46
|
*/
|
|
47
47
|
value: number;
|
|
48
48
|
}
|
|
49
|
+
export interface AnnotationBasicDimension {
|
|
50
|
+
/** Basic dimension parameters (symbol and tolerance) */
|
|
51
|
+
dimension: AnnotationMbdBasicDimension;
|
|
52
|
+
/**
|
|
53
|
+
* {
|
|
54
|
+
* "format": "uint32",
|
|
55
|
+
* "minimum": 0,
|
|
56
|
+
* "description": "The point size of the fonts used to generate the annotation label. Very large values can negatively affect performance."
|
|
57
|
+
* }
|
|
58
|
+
*/
|
|
59
|
+
font_point_size: number;
|
|
60
|
+
/** format:float, description:The scale of the font label in 3D space */
|
|
61
|
+
font_scale: number;
|
|
62
|
+
/** format:uuid, description:Entity to measure the dimension from */
|
|
63
|
+
from_entity_id: string;
|
|
64
|
+
/** Normalized position within the entity to position the dimension from */
|
|
65
|
+
from_entity_pos: Point2d;
|
|
66
|
+
/** 2D Position offset of the annotation within the plane. */
|
|
67
|
+
offset: Point2d;
|
|
68
|
+
/**
|
|
69
|
+
* {
|
|
70
|
+
* "format": "uuid",
|
|
71
|
+
* "description": "Orientation plane. The annotation will lie in this plane which is positioned about the leader position as its origin."
|
|
72
|
+
* }
|
|
73
|
+
*/
|
|
74
|
+
plane_id: string;
|
|
75
|
+
/**
|
|
76
|
+
* {
|
|
77
|
+
* "format": "uint32",
|
|
78
|
+
* "minimum": 0,
|
|
79
|
+
* "description": "Number of decimal places to use when displaying tolerance and dimension values"
|
|
80
|
+
* }
|
|
81
|
+
*/
|
|
82
|
+
precision: number;
|
|
83
|
+
/** format:uuid, description:Entity to measure the dimension to */
|
|
84
|
+
to_entity_id: string;
|
|
85
|
+
/** Normalized position within the entity to position the dimension to */
|
|
86
|
+
to_entity_pos: Point2d;
|
|
87
|
+
}
|
|
88
|
+
export interface AnnotationFeatureControl {
|
|
89
|
+
/** nullable:true, description:MBD Control frame for geometric control */
|
|
90
|
+
control_frame?: AnnotationMbdControlFrame;
|
|
91
|
+
/**
|
|
92
|
+
* {
|
|
93
|
+
* "nullable": true,
|
|
94
|
+
* "minLength": 1,
|
|
95
|
+
* "maxLength": 1,
|
|
96
|
+
* "description": "Set if this annotation is defining a datum"
|
|
97
|
+
* }
|
|
98
|
+
*/
|
|
99
|
+
defined_datum?: string;
|
|
100
|
+
/** nullable:true, description:Basic dimensions */
|
|
101
|
+
dimension?: AnnotationMbdBasicDimension;
|
|
102
|
+
/** format:uuid, description:Entity to place the annotation leader from */
|
|
103
|
+
entity_id: string;
|
|
104
|
+
/** Normalized position within the entity to position the annotation leader from */
|
|
105
|
+
entity_pos: Point2d;
|
|
106
|
+
/**
|
|
107
|
+
* {
|
|
108
|
+
* "format": "uint32",
|
|
109
|
+
* "minimum": 0,
|
|
110
|
+
* "description": "The point size of the fonts used to generate the annotation label. Very large values can negatively affect performance."
|
|
111
|
+
* }
|
|
112
|
+
*/
|
|
113
|
+
font_point_size: number;
|
|
114
|
+
/** format:float, description:The scale of the font label in 3D space */
|
|
115
|
+
font_scale: number;
|
|
116
|
+
/** Type of leader to use */
|
|
117
|
+
leader_type: AnnotationLineEnd;
|
|
118
|
+
/** 2D Position offset of the annotation within the plane. */
|
|
119
|
+
offset: Point2d;
|
|
120
|
+
/**
|
|
121
|
+
* {
|
|
122
|
+
* "format": "uuid",
|
|
123
|
+
* "description": "Orientation plane. The annotation will lie in this plane which is positioned about the leader position as its origin."
|
|
124
|
+
* }
|
|
125
|
+
*/
|
|
126
|
+
plane_id: string;
|
|
127
|
+
/**
|
|
128
|
+
* {
|
|
129
|
+
* "format": "uint32",
|
|
130
|
+
* "minimum": 0,
|
|
131
|
+
* "description": "Number of decimal places to use when displaying tolerance and dimension values"
|
|
132
|
+
* }
|
|
133
|
+
*/
|
|
134
|
+
precision: number;
|
|
135
|
+
/**
|
|
136
|
+
* {
|
|
137
|
+
* "nullable": true,
|
|
138
|
+
* "description": "Prefix text which will appear before the basic dimension"
|
|
139
|
+
* }
|
|
140
|
+
*/
|
|
141
|
+
prefix?: string;
|
|
142
|
+
/**
|
|
143
|
+
* {
|
|
144
|
+
* "nullable": true,
|
|
145
|
+
* "description": "Suffix text which will appear after the basic dimension"
|
|
146
|
+
* }
|
|
147
|
+
*/
|
|
148
|
+
suffix?: string;
|
|
149
|
+
}
|
|
150
|
+
export interface AnnotationFeatureTag {
|
|
151
|
+
/** format:uuid, description:Entity to place the annotation leader from */
|
|
152
|
+
entity_id: string;
|
|
153
|
+
/** Normalized position within the entity to position the annotation leader from */
|
|
154
|
+
entity_pos: Point2d;
|
|
155
|
+
/**
|
|
156
|
+
* {
|
|
157
|
+
* "format": "uint32",
|
|
158
|
+
* "minimum": 0,
|
|
159
|
+
* "description": "The point size of the fonts used to generate the annotation label. Very large values can negatively affect performance."
|
|
160
|
+
* }
|
|
161
|
+
*/
|
|
162
|
+
font_point_size: number;
|
|
163
|
+
/** format:float, description:The scale of the font label in 3D space */
|
|
164
|
+
font_scale: number;
|
|
165
|
+
/** Tag key */
|
|
166
|
+
key: string;
|
|
167
|
+
/** Type of leader to use */
|
|
168
|
+
leader_type: AnnotationLineEnd;
|
|
169
|
+
/** 2D Position offset of the annotation within the plane. */
|
|
170
|
+
offset: Point2d;
|
|
171
|
+
/**
|
|
172
|
+
* {
|
|
173
|
+
* "format": "uuid",
|
|
174
|
+
* "description": "Orientation plane. The annotation will lie in this plane which is positioned about the leader position as its origin."
|
|
175
|
+
* }
|
|
176
|
+
*/
|
|
177
|
+
plane_id: string;
|
|
178
|
+
/** Whether or not to display the key on the annotation label */
|
|
179
|
+
show_key: boolean;
|
|
180
|
+
/** Tag value */
|
|
181
|
+
value: string;
|
|
182
|
+
}
|
|
49
183
|
export declare type AnnotationLineEnd =
|
|
50
184
|
/** Annotation line end type */
|
|
51
|
-
'none' | 'arrow';
|
|
185
|
+
'none' | 'arrow' | 'dot';
|
|
52
186
|
export interface AnnotationLineEndOptions {
|
|
53
187
|
/** How to style the end of the annotation line. */
|
|
54
188
|
end: AnnotationLineEnd;
|
|
55
189
|
/** How to style the start of the annotation line. */
|
|
56
190
|
start: AnnotationLineEnd;
|
|
57
191
|
}
|
|
192
|
+
export interface AnnotationMbdBasicDimension {
|
|
193
|
+
/**
|
|
194
|
+
* {
|
|
195
|
+
* "nullable": true,
|
|
196
|
+
* "format": "double",
|
|
197
|
+
* "description": "The explicitly defined dimension. Only required if the measurement is not automatically calculated."
|
|
198
|
+
* }
|
|
199
|
+
*/
|
|
200
|
+
dimension?: number;
|
|
201
|
+
/**
|
|
202
|
+
* {
|
|
203
|
+
* "nullable": true,
|
|
204
|
+
* "description": "Type of symbol to use for this dimension (if required)"
|
|
205
|
+
* }
|
|
206
|
+
*/
|
|
207
|
+
symbol?: MbdSymbol;
|
|
208
|
+
/** format:double, description:The tolerance of the dimension */
|
|
209
|
+
tolerance: number;
|
|
210
|
+
}
|
|
211
|
+
export interface AnnotationMbdControlFrame {
|
|
212
|
+
/**
|
|
213
|
+
* {
|
|
214
|
+
* "nullable": true,
|
|
215
|
+
* "description": "Diameter symbol (if required) whether the geometric control requires a cylindrical or diameter tolerance"
|
|
216
|
+
* }
|
|
217
|
+
*/
|
|
218
|
+
diameter_symbol?: MbdSymbol;
|
|
219
|
+
/** nullable:true, description:Feature of size or tolerance modifiers */
|
|
220
|
+
modifier?: MbdSymbol;
|
|
221
|
+
/**
|
|
222
|
+
* {
|
|
223
|
+
* "nullable": true,
|
|
224
|
+
* "minLength": 1,
|
|
225
|
+
* "maxLength": 1,
|
|
226
|
+
* "description": "Primary datum"
|
|
227
|
+
* }
|
|
228
|
+
*/
|
|
229
|
+
primary_datum?: string;
|
|
230
|
+
/**
|
|
231
|
+
* {
|
|
232
|
+
* "nullable": true,
|
|
233
|
+
* "minLength": 1,
|
|
234
|
+
* "maxLength": 1,
|
|
235
|
+
* "description": "Secondary datum"
|
|
236
|
+
* }
|
|
237
|
+
*/
|
|
238
|
+
secondary_datum?: string;
|
|
239
|
+
/** Geometric symbol, the type of geometric control specified */
|
|
240
|
+
symbol: MbdSymbol;
|
|
241
|
+
/**
|
|
242
|
+
* {
|
|
243
|
+
* "nullable": true,
|
|
244
|
+
* "minLength": 1,
|
|
245
|
+
* "maxLength": 1,
|
|
246
|
+
* "description": "Tertiary datum"
|
|
247
|
+
* }
|
|
248
|
+
*/
|
|
249
|
+
tertiary_datum?: string;
|
|
250
|
+
/**
|
|
251
|
+
* {
|
|
252
|
+
* "format": "double",
|
|
253
|
+
* "description": "Tolerance value - the total tolerance of the geometric control. The unit is based on the drawing standard."
|
|
254
|
+
* }
|
|
255
|
+
*/
|
|
256
|
+
tolerance: number;
|
|
257
|
+
}
|
|
58
258
|
export interface AnnotationOptions {
|
|
59
259
|
/** nullable:true, description:Color to render the annotation */
|
|
60
260
|
color?: Color;
|
|
261
|
+
/** nullable:true, description:Set as an MBD measured basic dimension annotation */
|
|
262
|
+
dimension?: AnnotationBasicDimension;
|
|
263
|
+
/** nullable:true, description:Set as an MBD Feature control annotation */
|
|
264
|
+
feature_control?: AnnotationFeatureControl;
|
|
265
|
+
/** nullable:true, description:Set as a feature tag annotation */
|
|
266
|
+
feature_tag?: AnnotationFeatureTag;
|
|
61
267
|
/** nullable:true, description:How to style the start and end of the line */
|
|
62
268
|
line_ends?: AnnotationLineEndOptions;
|
|
63
269
|
/** nullable:true, format:float, description:Width of the annotation's line */
|
|
@@ -169,6 +375,14 @@ export interface ApiCallWithPrice {
|
|
|
169
375
|
* }
|
|
170
376
|
*/
|
|
171
377
|
response_body?: string;
|
|
378
|
+
/**
|
|
379
|
+
* {
|
|
380
|
+
* "nullable": true,
|
|
381
|
+
* "format": "int32",
|
|
382
|
+
* "description": "The number of seconds the API call was billed for."
|
|
383
|
+
* }
|
|
384
|
+
*/
|
|
385
|
+
seconds?: number;
|
|
172
386
|
/**
|
|
173
387
|
* {
|
|
174
388
|
* "nullable": true,
|
|
@@ -1377,6 +1591,45 @@ export interface CustomerBalance {
|
|
|
1377
1591
|
}
|
|
1378
1592
|
export declare type CutStrategy = 'basic' | 'csg' | 'automatic';
|
|
1379
1593
|
export declare type CutType = 'fillet' | 'chamfer';
|
|
1594
|
+
export declare type CutTypeV2 = {
|
|
1595
|
+
fillet: {
|
|
1596
|
+
/** The radius of the fillet. */
|
|
1597
|
+
radius: LengthUnit;
|
|
1598
|
+
/**
|
|
1599
|
+
* {
|
|
1600
|
+
* "nullable": true,
|
|
1601
|
+
* "description": "The second length affects the edge length of the second face of the cut. This will cause the fillet to take on the shape of a conic section, instead of an arc."
|
|
1602
|
+
* }
|
|
1603
|
+
*/
|
|
1604
|
+
second_length?: LengthUnit;
|
|
1605
|
+
};
|
|
1606
|
+
} | {
|
|
1607
|
+
chamfer: {
|
|
1608
|
+
/** nullable:true, description:The angle of the chamfer, default is 45deg. */
|
|
1609
|
+
angle?: Angle;
|
|
1610
|
+
/** The distance from the edge to cut on each face. */
|
|
1611
|
+
distance: LengthUnit;
|
|
1612
|
+
/**
|
|
1613
|
+
* {
|
|
1614
|
+
* "nullable": true,
|
|
1615
|
+
* "description": "The second distance affects the edge length of the second face of the cut."
|
|
1616
|
+
* }
|
|
1617
|
+
*/
|
|
1618
|
+
second_distance?: LengthUnit;
|
|
1619
|
+
/** If true, the second distance or angle is applied to the other face of the cut. */
|
|
1620
|
+
swap: boolean;
|
|
1621
|
+
};
|
|
1622
|
+
} | {
|
|
1623
|
+
custom: {
|
|
1624
|
+
/**
|
|
1625
|
+
* {
|
|
1626
|
+
* "format": "uuid",
|
|
1627
|
+
* "description": "The path that will be used for the custom profile."
|
|
1628
|
+
* }
|
|
1629
|
+
*/
|
|
1630
|
+
path: string;
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1380
1633
|
export interface DefaultCameraCenterToScene {
|
|
1381
1634
|
}
|
|
1382
1635
|
export interface DefaultCameraCenterToSelection {
|
|
@@ -1721,6 +1974,35 @@ export interface ExtendedUserResultsPage {
|
|
|
1721
1974
|
export interface Extrude {
|
|
1722
1975
|
}
|
|
1723
1976
|
export declare type ExtrudeMethod = 'new' | 'merge';
|
|
1977
|
+
export declare type ExtrudeReference = {
|
|
1978
|
+
entity_reference: {
|
|
1979
|
+
/** format:uuid, description:The UUID of the entity to extrude to. */
|
|
1980
|
+
entity_id: string;
|
|
1981
|
+
};
|
|
1982
|
+
} | {
|
|
1983
|
+
axis: {
|
|
1984
|
+
/** The axis to extrude to. */
|
|
1985
|
+
axis: Point3d;
|
|
1986
|
+
/**
|
|
1987
|
+
* {
|
|
1988
|
+
* "default": {
|
|
1989
|
+
* "x": 0,
|
|
1990
|
+
* "y": 0,
|
|
1991
|
+
* "z": 0
|
|
1992
|
+
* },
|
|
1993
|
+
* "description": "Point the axis goes through. Defaults to (0, 0, 0)."
|
|
1994
|
+
* }
|
|
1995
|
+
*/
|
|
1996
|
+
point?: Point3d;
|
|
1997
|
+
};
|
|
1998
|
+
} | {
|
|
1999
|
+
point: {
|
|
2000
|
+
/** The point to extrude to. */
|
|
2001
|
+
point: Point3d;
|
|
2002
|
+
};
|
|
2003
|
+
};
|
|
2004
|
+
export interface ExtrudeToReference {
|
|
2005
|
+
}
|
|
1724
2006
|
export interface ExtrudedFaceInfo {
|
|
1725
2007
|
/**
|
|
1726
2008
|
* {
|
|
@@ -2322,6 +2604,13 @@ export interface Invoice {
|
|
|
2322
2604
|
* }
|
|
2323
2605
|
*/
|
|
2324
2606
|
paid?: boolean;
|
|
2607
|
+
/**
|
|
2608
|
+
* {
|
|
2609
|
+
* "nullable": true,
|
|
2610
|
+
* "description": "Identifier for the payment intent backing this invoice."
|
|
2611
|
+
* }
|
|
2612
|
+
*/
|
|
2613
|
+
payment_intent_id?: string;
|
|
2325
2614
|
/** nullable:true, format:uri, description:The link to download the PDF for the invoice. */
|
|
2326
2615
|
pdf?: string;
|
|
2327
2616
|
/** This is the transaction number that appears on email receipts sent for this invoice. */
|
|
@@ -2503,7 +2792,7 @@ export interface KclCodeCompletionRequest {
|
|
|
2503
2792
|
/**
|
|
2504
2793
|
* {
|
|
2505
2794
|
* "nullable": true,
|
|
2506
|
-
* "description": "Zoo provided model, or
|
|
2795
|
+
* "description": "Zoo provided model, or custom model which should be used to process this request."
|
|
2507
2796
|
* }
|
|
2508
2797
|
*/
|
|
2509
2798
|
model_version?: string;
|
|
@@ -2570,6 +2859,9 @@ export interface Mass {
|
|
|
2570
2859
|
/** The output unit for the mass. */
|
|
2571
2860
|
output_unit: UnitMass;
|
|
2572
2861
|
}
|
|
2862
|
+
export declare type MbdSymbol =
|
|
2863
|
+
/** MBD symbol type */
|
|
2864
|
+
'none' | 'arclength' | 'between' | 'degrees' | 'plusminus' | 'angularity' | 'cylindricity' | 'roundness' | 'concentricity' | 'straightness' | 'parallelism' | 'flatness' | 'profileofline' | 'surfaceprofile' | 'symmetry' | 'perpendicularity' | 'runout' | 'totalrunout' | 'position' | 'centerline' | 'partingline' | 'isoenvelope' | 'isoenvelopenony145m' | 'freestate' | 'statisticaltolerance' | 'continuousfeature' | 'independency' | 'depth' | 'start' | 'leastcondition' | 'maxcondition' | 'conicaltaper' | 'projected' | 'slope' | 'micro' | 'tangentplane' | 'unilateral' | 'squarefeature' | 'countersink' | 'spotface' | 'target' | 'diameter' | 'radius' | 'sphericalradius' | 'sphericaldiameter' | 'controlledradius' | 'boxstart' | 'boxbar' | 'boxbarbetween' | 'letterbackwardunderline' | 'punctuationbackwardunderline' | 'modifierbackwardunderline' | 'numericbackwardunderline' | 'boxend' | 'datumup' | 'datumleft' | 'datumright' | 'datumdown' | 'datumtriangle' | 'halfspace' | 'quarterspace' | 'eighthspace' | 'modifierspace';
|
|
2573
2865
|
export declare type Method = 'OPTIONS' | 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'TRACE' | 'CONNECT' | 'PATCH' | 'EXTENSION';
|
|
2574
2866
|
export declare type MlCopilotClientMessage = {
|
|
2575
2867
|
headers: {
|
|
@@ -2837,11 +3129,12 @@ export interface ModelingAppSubscriptionTier {
|
|
|
2837
3129
|
/**
|
|
2838
3130
|
* {
|
|
2839
3131
|
* "title": "double",
|
|
3132
|
+
* "default": 0,
|
|
2840
3133
|
* "format": "money-usd",
|
|
2841
3134
|
* "description": "The monetary value of pay-as-you-go API credits the individual or org gets outside the modeling app per month. This re-ups on the 1st of each month."
|
|
2842
3135
|
* }
|
|
2843
3136
|
*/
|
|
2844
|
-
monthly_pay_as_you_go_api_credits_monetary_value
|
|
3137
|
+
monthly_pay_as_you_go_api_credits_monetary_value?: number;
|
|
2845
3138
|
/** The name of the tier. */
|
|
2846
3139
|
name: ModelingAppSubscriptionTierName;
|
|
2847
3140
|
/**
|
|
@@ -2849,7 +3142,7 @@ export interface ModelingAppSubscriptionTier {
|
|
|
2849
3142
|
* "title": "double",
|
|
2850
3143
|
* "default": 0,
|
|
2851
3144
|
* "format": "money-usd",
|
|
2852
|
-
* "description": "The price of an API credit (meaning 1 credit = 1
|
|
3145
|
+
* "description": "The price of an API credit (meaning 1 credit = 1 second of API usage)."
|
|
2853
3146
|
* }
|
|
2854
3147
|
*/
|
|
2855
3148
|
pay_as_you_go_api_credit_price?: number;
|
|
@@ -2887,6 +3180,13 @@ export declare type ModelingCmd = {
|
|
|
2887
3180
|
to: Point3d;
|
|
2888
3181
|
type: 'move_path_pen';
|
|
2889
3182
|
} | {
|
|
3183
|
+
/**
|
|
3184
|
+
* {
|
|
3185
|
+
* "nullable": true,
|
|
3186
|
+
* "description": "Optional label to associate with the new path segment."
|
|
3187
|
+
* }
|
|
3188
|
+
*/
|
|
3189
|
+
label?: string;
|
|
2890
3190
|
/** The ID of the command which created the path. */
|
|
2891
3191
|
path: ModelingCmdId;
|
|
2892
3192
|
/** Segment to append to the path. This segment will implicitly begin at the current "pen" location. */
|
|
@@ -2919,6 +3219,26 @@ export declare type ModelingCmd = {
|
|
|
2919
3219
|
/** Which sketch to extrude. Must be a closed 2D solid. */
|
|
2920
3220
|
target: ModelingCmdId;
|
|
2921
3221
|
type: 'extrude';
|
|
3222
|
+
} | {
|
|
3223
|
+
/**
|
|
3224
|
+
* {
|
|
3225
|
+
* "default": "merge",
|
|
3226
|
+
* "description": "Should the extrusion create a new object or be part of the existing object."
|
|
3227
|
+
* }
|
|
3228
|
+
*/
|
|
3229
|
+
extrude_method?: ExtrudeMethod;
|
|
3230
|
+
/**
|
|
3231
|
+
* {
|
|
3232
|
+
* "nullable": true,
|
|
3233
|
+
* "description": "Which IDs should the new faces have? If this isn't given, the engine will generate IDs."
|
|
3234
|
+
* }
|
|
3235
|
+
*/
|
|
3236
|
+
faces?: ExtrudedFaceInfo;
|
|
3237
|
+
/** Reference to extrude to. Extrusion occurs along the target's normal until it is as close to the reference as possible. */
|
|
3238
|
+
reference: ExtrudeReference;
|
|
3239
|
+
/** Which sketch to extrude. Must be a closed 2D solid. */
|
|
3240
|
+
target: ModelingCmdId;
|
|
3241
|
+
type: 'extrude_to_reference';
|
|
2922
3242
|
} | {
|
|
2923
3243
|
/**
|
|
2924
3244
|
* {
|
|
@@ -3255,8 +3575,13 @@ export declare type ModelingCmd = {
|
|
|
3255
3575
|
cylinder_id: string;
|
|
3256
3576
|
/** Is the helix rotation clockwise? */
|
|
3257
3577
|
is_clockwise: boolean;
|
|
3258
|
-
/**
|
|
3259
|
-
|
|
3578
|
+
/**
|
|
3579
|
+
* {
|
|
3580
|
+
* "nullable": true,
|
|
3581
|
+
* "description": "Length of the helix. If None, the length of the cylinder will be used instead."
|
|
3582
|
+
* }
|
|
3583
|
+
*/
|
|
3584
|
+
length?: LengthUnit;
|
|
3260
3585
|
/** format:double, description:Number of revolutions. */
|
|
3261
3586
|
revolutions: number;
|
|
3262
3587
|
/** default:{unit:degrees, value:0}, description:Start angle. */
|
|
@@ -3526,6 +3851,28 @@ export declare type ModelingCmd = {
|
|
|
3526
3851
|
/** The maximum acceptable surface gap computed between the filleted surfaces. Must be positive (i.e. greater than zero). */
|
|
3527
3852
|
tolerance: LengthUnit;
|
|
3528
3853
|
type: 'solid3d_fillet_edge';
|
|
3854
|
+
} | {
|
|
3855
|
+
/** The cut type and information required to perform the cut. */
|
|
3856
|
+
cut_type: CutTypeV2;
|
|
3857
|
+
/**
|
|
3858
|
+
* {
|
|
3859
|
+
* "format": "uuid"
|
|
3860
|
+
* }
|
|
3861
|
+
*/
|
|
3862
|
+
edge_ids?: string[];
|
|
3863
|
+
/**
|
|
3864
|
+
* {
|
|
3865
|
+
* "format": "uuid"
|
|
3866
|
+
* }
|
|
3867
|
+
*/
|
|
3868
|
+
extra_face_ids?: string[];
|
|
3869
|
+
/** format:uuid, description:Which object is being cut. */
|
|
3870
|
+
object_id: string;
|
|
3871
|
+
/** default:automatic, description:Which cutting algorithm to use. */
|
|
3872
|
+
strategy?: CutStrategy;
|
|
3873
|
+
/** The maximum acceptable surface gap computed between the cut surfaces. Must be positive (i.e. greater than zero). */
|
|
3874
|
+
tolerance: LengthUnit;
|
|
3875
|
+
type: 'solid3d_cut_edges';
|
|
3529
3876
|
} | {
|
|
3530
3877
|
/** format:uuid, description:Which face is being queried. */
|
|
3531
3878
|
object_id: string;
|
|
@@ -4164,6 +4511,14 @@ export declare type OkModelingCmdResponse = {
|
|
|
4164
4511
|
*/
|
|
4165
4512
|
data: Extrude;
|
|
4166
4513
|
type: 'extrude';
|
|
4514
|
+
} | {
|
|
4515
|
+
/**
|
|
4516
|
+
* {
|
|
4517
|
+
* "$ref": "#/components/schemas/ExtrudeToReference"
|
|
4518
|
+
* }
|
|
4519
|
+
*/
|
|
4520
|
+
data: ExtrudeToReference;
|
|
4521
|
+
type: 'extrude_to_reference';
|
|
4167
4522
|
} | {
|
|
4168
4523
|
/**
|
|
4169
4524
|
* {
|
|
@@ -4332,6 +4687,14 @@ export declare type OkModelingCmdResponse = {
|
|
|
4332
4687
|
*/
|
|
4333
4688
|
data: Solid3dFilletEdge;
|
|
4334
4689
|
type: 'solid3d_fillet_edge';
|
|
4690
|
+
} | {
|
|
4691
|
+
/**
|
|
4692
|
+
* {
|
|
4693
|
+
* "$ref": "#/components/schemas/Solid3dCutEdges"
|
|
4694
|
+
* }
|
|
4695
|
+
*/
|
|
4696
|
+
data: Solid3dCutEdges;
|
|
4697
|
+
type: 'solid3d_cut_edges';
|
|
4335
4698
|
} | {
|
|
4336
4699
|
/**
|
|
4337
4700
|
* {
|
|
@@ -6155,6 +6518,8 @@ export interface SketchModeDisable {
|
|
|
6155
6518
|
}
|
|
6156
6519
|
export interface Solid2dAddHole {
|
|
6157
6520
|
}
|
|
6521
|
+
export interface Solid3dCutEdges {
|
|
6522
|
+
}
|
|
6158
6523
|
export interface Solid3dFilletEdge {
|
|
6159
6524
|
}
|
|
6160
6525
|
export interface Solid3dGetAdjacencyInfo {
|
|
@@ -6364,7 +6729,7 @@ export interface TextToCadCreateBody {
|
|
|
6364
6729
|
/**
|
|
6365
6730
|
* {
|
|
6366
6731
|
* "nullable": true,
|
|
6367
|
-
* "description": "Zoo provided model, or
|
|
6732
|
+
* "description": "Zoo provided model, or custom model which should be used to process this request."
|
|
6368
6733
|
* }
|
|
6369
6734
|
*/
|
|
6370
6735
|
model_version?: string;
|
|
@@ -7753,11 +8118,12 @@ export declare type ZooProductSubscription = {
|
|
|
7753
8118
|
/**
|
|
7754
8119
|
* {
|
|
7755
8120
|
* "title": "double",
|
|
8121
|
+
* "default": 0,
|
|
7756
8122
|
* "format": "money-usd",
|
|
7757
8123
|
* "description": "The monetary value of pay-as-you-go API credits the individual or org gets outside the modeling app per month. This re-ups on the 1st of each month."
|
|
7758
8124
|
* }
|
|
7759
8125
|
*/
|
|
7760
|
-
monthly_pay_as_you_go_api_credits_monetary_value
|
|
8126
|
+
monthly_pay_as_you_go_api_credits_monetary_value?: number;
|
|
7761
8127
|
/** The name of the tier. */
|
|
7762
8128
|
name: ModelingAppSubscriptionTierName;
|
|
7763
8129
|
/**
|
|
@@ -7765,7 +8131,7 @@ export declare type ZooProductSubscription = {
|
|
|
7765
8131
|
* "title": "double",
|
|
7766
8132
|
* "default": 0,
|
|
7767
8133
|
* "format": "money-usd",
|
|
7768
|
-
* "description": "The price of an API credit (meaning 1 credit = 1
|
|
8134
|
+
* "description": "The price of an API credit (meaning 1 credit = 1 second of API usage)."
|
|
7769
8135
|
* }
|
|
7770
8136
|
*/
|
|
7771
8137
|
pay_as_you_go_api_credit_price?: number;
|
|
@@ -7834,8 +8200,13 @@ export interface Models {
|
|
|
7834
8200
|
AddressDetails: AddressDetails;
|
|
7835
8201
|
AdjacencyInfo: AdjacencyInfo;
|
|
7836
8202
|
Angle: Angle;
|
|
8203
|
+
AnnotationBasicDimension: AnnotationBasicDimension;
|
|
8204
|
+
AnnotationFeatureControl: AnnotationFeatureControl;
|
|
8205
|
+
AnnotationFeatureTag: AnnotationFeatureTag;
|
|
7837
8206
|
AnnotationLineEnd: AnnotationLineEnd;
|
|
7838
8207
|
AnnotationLineEndOptions: AnnotationLineEndOptions;
|
|
8208
|
+
AnnotationMbdBasicDimension: AnnotationMbdBasicDimension;
|
|
8209
|
+
AnnotationMbdControlFrame: AnnotationMbdControlFrame;
|
|
7839
8210
|
AnnotationOptions: AnnotationOptions;
|
|
7840
8211
|
AnnotationTextAlignmentX: AnnotationTextAlignmentX;
|
|
7841
8212
|
AnnotationTextAlignmentY: AnnotationTextAlignmentY;
|
|
@@ -7898,6 +8269,7 @@ export interface Models {
|
|
|
7898
8269
|
CustomerBalance: CustomerBalance;
|
|
7899
8270
|
CutStrategy: CutStrategy;
|
|
7900
8271
|
CutType: CutType;
|
|
8272
|
+
CutTypeV2: CutTypeV2;
|
|
7901
8273
|
DefaultCameraCenterToScene: DefaultCameraCenterToScene;
|
|
7902
8274
|
DefaultCameraCenterToSelection: DefaultCameraCenterToSelection;
|
|
7903
8275
|
DefaultCameraFocusOn: DefaultCameraFocusOn;
|
|
@@ -7958,6 +8330,8 @@ export interface Models {
|
|
|
7958
8330
|
ExtendedUserResultsPage: ExtendedUserResultsPage;
|
|
7959
8331
|
Extrude: Extrude;
|
|
7960
8332
|
ExtrudeMethod: ExtrudeMethod;
|
|
8333
|
+
ExtrudeReference: ExtrudeReference;
|
|
8334
|
+
ExtrudeToReference: ExtrudeToReference;
|
|
7961
8335
|
ExtrudedFaceInfo: ExtrudedFaceInfo;
|
|
7962
8336
|
ExtrusionFaceCapType: ExtrusionFaceCapType;
|
|
7963
8337
|
ExtrusionFaceInfo: ExtrusionFaceInfo;
|
|
@@ -8010,6 +8384,7 @@ export interface Models {
|
|
|
8010
8384
|
MakeOffsetPath: MakeOffsetPath;
|
|
8011
8385
|
MakePlane: MakePlane;
|
|
8012
8386
|
Mass: Mass;
|
|
8387
|
+
MbdSymbol: MbdSymbol;
|
|
8013
8388
|
Method: Method;
|
|
8014
8389
|
MlCopilotClientMessage: MlCopilotClientMessage;
|
|
8015
8390
|
MlCopilotServerMessage: MlCopilotServerMessage;
|
|
@@ -8127,6 +8502,7 @@ export interface Models {
|
|
|
8127
8502
|
SideFace: SideFace;
|
|
8128
8503
|
SketchModeDisable: SketchModeDisable;
|
|
8129
8504
|
Solid2dAddHole: Solid2dAddHole;
|
|
8505
|
+
Solid3dCutEdges: Solid3dCutEdges;
|
|
8130
8506
|
Solid3dFilletEdge: Solid3dFilletEdge;
|
|
8131
8507
|
Solid3dGetAdjacencyInfo: Solid3dGetAdjacencyInfo;
|
|
8132
8508
|
Solid3dGetAllEdgeFaces: Solid3dGetAllEdgeFaces;
|