@bitbybit-dev/cad-cloud-sdk 1.6.2 → 1.8.0

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.
@@ -50,6 +50,112 @@ export type DracoCompressionOptions = components["schemas"]["DracoCompressionOpt
50
50
  export type DragonCupBody = components["schemas"]["DragonCupBody"];
51
51
  /** Dragon Cup model parameters - all optional, sane defaults apply */
52
52
  export type DragonCupParams = components["schemas"]["DragonCupParams"];
53
+ /** Which of the annotations the STEP file stores a sheet draws, and where: one product's, moved to where one of its instances stands, or the whole model's; and whether views are added for them and the general notes drawn, or both left to another sheet of the set. */
54
+ export type DrawingAnnotatedProduct = components["schemas"]["DrawingAnnotatedProduct"];
55
+ /** What became of the annotations the STEP file stores. */
56
+ export type DrawingAnnotationsUsed = components["schemas"]["DrawingAnnotationsUsed"];
57
+ /** Balloons around one view or one section, each with a leader to a part it names. */
58
+ export type DrawingBalloons = components["schemas"]["DrawingBalloons"];
59
+ /** One dimension drawn on the sheet: its kind, view, text and line, in millimetres on paper. */
60
+ export type DrawingDimensionUsed = components["schemas"]["DrawingDimensionUsed"];
61
+ /** Draw a sheet, or a set of sheets, of the model in an uploaded STEP file: views laid out and aligned, hidden lines, sections with hatches, dimensions, holes, parts lists with balloons, flat patterns, the file's own annotations and a title block. A set is one PDF with a page for each sheet and one DXF and one SVG with the sheets side by side. */
62
+ export type DrawingDrawBody = components["schemas"]["DrawingDrawBody"];
63
+ /** What the exact method was predicted to take on CAD Cloud, given whenever a view was drawn by sight: the drawing kernel predicts the seconds a native build takes, and CAD Cloud's kernel was measured to take 1.2 times as long, so the prediction is given times 1.2. An order of magnitude, not a promise: a single model may take from a tenth to several times it. */
64
+ export type DrawingExactEstimate = components["schemas"]["DrawingExactEstimate"];
65
+ /** A filled triangle, an arrowhead: its three corners as six numbers. */
66
+ export type DrawingFill = components["schemas"]["DrawingFill"];
67
+ /** How a sheet-metal part is unfolded for its flat pattern. */
68
+ export type DrawingFlat = components["schemas"]["DrawingFlat"];
69
+ /** A floor of readability the sheet breaks, and why. */
70
+ export type DrawingFloor = components["schemas"]["DrawingFloor"];
71
+ /** A view frame in the model's space, which is Y-up as a STEP file is read: millimetres, an origin, a normal and a direction. */
72
+ export type DrawingFrame = components["schemas"]["DrawingFrame"];
73
+ /** One group of paths on the sheet: the view it belongs to (-1 for the sheet's own marks), what it is, its layer, line type, line weight in millimetres and how many paths it holds. */
74
+ export type DrawingGroup = components["schemas"]["DrawingGroup"];
75
+ /** The hatch on what a section's plane cuts: ansi31 at 45 degrees, 3 mm apart, when left out. */
76
+ export type DrawingHatch = components["schemas"]["DrawingHatch"];
77
+ /** A hatched cut: the group whose closed paths bound it, the view, the part and the hatch's pattern, angle and spacing. */
78
+ export type DrawingHatchUsed = components["schemas"]["DrawingHatchUsed"];
79
+ /** A hole table alone: the sheet is these rows and nothing else, in columns as a parts list alone stands. A set writes such sheets after a part's sheet whose hole table runs over it. */
80
+ export type DrawingHoleTable = components["schemas"]["DrawingHoleTable"];
81
+ /** One row of a hole table, as texts: the hole's tag, its X and Y from the lower left corner of the part's box in the first view, its size and its depth. A text left out is empty. */
82
+ export type DrawingHoleTableRow = components["schemas"]["DrawingHoleTableRow"];
83
+ /** Read the model in an uploaded STEP file for a drawing without drawing it: its parts and size, the plan with every setting resolved, the layout that plan gives, the sections it could have, the views the file saved ('savedViews'), every part with the name of its product ('parts') and every sheet of the plan written out ('set'). */
84
+ export type DrawingInspectBody = components["schemas"]["DrawingInspectBody"];
85
+ /** Every sheet of a set written out, each with its fingerprint, the set as a plan with a list of sheets (sent back, it draws the same sheets, with the same fingerprints), and every part with the product it is drawn as. */
86
+ export type DrawingInspectedSet = components["schemas"]["DrawingInspectedSet"];
87
+ /** One sheet of the set an inspection writes out: as the set will draw it, with the fingerprint the sheet will have when the plan of the set is drawn. */
88
+ export type DrawingInspectedSheet = components["schemas"]["DrawingInspectedSheet"];
89
+ /** The model as a drawing would read it, without drawing: how many parts it holds, its size, the plan of the first sheet with every setting resolved, the layout that plan gives, the scale each standard sheet would allow, sections the model could be cut by, the views the file saved, every part with its name, and every sheet of the plan written out, ready to edit and send to the draw route. A report delivered as a result always has ok true: when the kernel refuses a run, the task fails with the kernel's reason instead. */
90
+ export type DrawingInspection = components["schemas"]["DrawingInspection"];
91
+ /** A radius callout or a balloon of this sheet's view that another sheet of the set carries: left out here without a warning. */
92
+ export type DrawingLeftMark = components["schemas"]["DrawingLeftMark"];
93
+ /** One part of the model: its number, as a plan's parts name it; the name of the product the set draws it as, as the sheets of a set name it ('Part n' for a part the file left unnamed, the uploaded file's name for a file whose root the file left unnamed; an unnamed product holding a single part is merged into the product that places it); the product, by the number a sheet's product takes; and which of the product's instances it belongs to, counted from 0 in the order of the model's structure, depth first, as a plan's annotations count them. A part the set draws under no product, such as loose curves beside solids, has an empty name and neither product nor instance. */
94
+ export type DrawingModelPart = components["schemas"]["DrawingModelPart"];
95
+ /** Where the model the sheets were drawn from came from, and whether this task kept it. */
96
+ export type DrawingModelRun = components["schemas"]["DrawingModelRun"];
97
+ /** The sheets of the set to draw, by their index in it counting from 0, as the inspection's 'set' and a drawn set's report list them; the others are not drawn. Each sheet is drawn and written as it is in the whole set, its title block numbering it among all of them (SHEET 2 / 5) and its DXF and SVG in the unit the whole set's are, that of its first sheet, and the files hold only the sheets named, in the set's order, laid out as a set of their own; each sheet of the report gives its 'index' and the report gives 'setSheets', how many the whole set has. An index past the set's last sheet fails the task. Left out, every sheet is drawn. With the 'fingerprint' every sheet of an inspection's set and of a drawing carries, an app that keeps the sheets it drew asks only for those whose fingerprint it does not hold. */
98
+ export type DrawingOnlySheets = components["schemas"]["DrawingOnlySheets"];
99
+ /** Which formats the drawing sheet is written in. */
100
+ export type DrawingOutputOptions = components["schemas"]["DrawingOutputOptions"];
101
+ /** A parts list drawn above the title block. */
102
+ export type DrawingPartsList = components["schemas"]["DrawingPartsList"];
103
+ /** One row of a parts list: as texts, the item number, the name, the quantity and the sheet the part is drawn on, and the number of the product it lists. */
104
+ export type DrawingPartsListRow = components["schemas"]["DrawingPartsListRow"];
105
+ /** What to draw: one sheet, or a set of sheets. Every setting has a default, so an empty plan draws a default sheet; the inspect route returns the plan with every setting spelled out and every sheet of a set written out, ready to edit and send to the draw route. A request body takes at most 128 KB, so a set written out past that, of a model with hundreds of sheets or thousands of parts beneath every level, is uploaded as a JSON file and named in 'planFileId', or sent as its rule. */
106
+ export type DrawingPlan = components["schemas"]["DrawingPlan"];
107
+ /** How the sheet reads, measured on paper: the height of its own text, the smallest annotation letter, how full the frame is, each view's ink, and the floors it breaks with the reason. A setting the plan states is kept even where it breaks a floor, and the floor is named here. */
108
+ export type DrawingQuality = components["schemas"]["DrawingQuality"];
109
+ /** The drawing kernel's own answer when it refuses the plan or cannot draw. No result carries it: the API fails the task with its error instead. */
110
+ export type DrawingReportError = components["schemas"]["DrawingReportError"];
111
+ /** The drawing kernel's own answer when it refuses the plan or cannot draw. No result carries it: the API fails the task with its error instead. */
112
+ export type DrawingReportErrorOutput = components["schemas"]["DrawingReportErrorOutput"];
113
+ /** One row of an assembly's parts list: its item number from 1, the product's name, how many go directly into the assembly, the product, the index of the sheet that shows it (-1 when none does) and the parts of all its instances. */
114
+ export type DrawingResolvedRow = components["schemas"]["DrawingResolvedRow"];
115
+ /** One row of the revision table. */
116
+ export type DrawingRevision = components["schemas"]["DrawingRevision"];
117
+ /** How the drawing was made: the hidden-line method, the method each view was drawn by and the rule that chose it, the seconds each view took and, when a view was drawn by sight, what the exact method would have taken. */
118
+ export type DrawingRun = components["schemas"]["DrawingRun"];
119
+ /** A view the STEP file saved (an AP242 model view): its name, which a plan's view gives as 'saved', and how many of the file's annotations it shows. */
120
+ export type DrawingSavedView = components["schemas"]["DrawingSavedView"];
121
+ /** A drawing scale, numerator to denominator: 1 to 50 is { numerator: 1, denominator: 50 }. Between 1:1000 and 100:1. */
122
+ export type DrawingScale = components["schemas"]["DrawingScale"];
123
+ /** One section through the model. */
124
+ export type DrawingSection = components["schemas"]["DrawingSection"];
125
+ /** A section the model could be cut by: what it runs through, its frame, the view that sees it edge-on (-1 when none does), how many parts it cuts and the area cut. Adding its frame to a plan's sections draws it. */
126
+ export type DrawingSectionCandidate = components["schemas"]["DrawingSectionCandidate"];
127
+ /** A part as the set draws it: its number, the product it is drawn as and that product's name as the sheets give it, and which of the product's instances it belongs to, counted from 0 in the order of the model's structure, depth first. */
128
+ export type DrawingSetPart = components["schemas"]["DrawingSetPart"];
129
+ /** What was drawn: the set as a plan with every sheet written out (sending it back draws the same sheets), the space the sheets take side by side, and each sheet with its place and its report. A PDF has the sheets as pages in this order. Warnings name their sheet when there are several. */
130
+ export type DrawingSetReport = components["schemas"]["DrawingSetReport"];
131
+ /** Sheets made from the model's product structure, each product once, its instances counted as its quantity. The plan's sections are drawn on the overview sheet alone and every sheet draws a product of the model, so a plan with a rule takes no balloons around a section and no parts list or hole table alone. */
132
+ export type DrawingSetRule = components["schemas"]["DrawingSetRule"];
133
+ /** One sheet of a set: the settings it states replace the plan's, except sheet and titleBlock, whose fields are laid over the plan's one by one. */
134
+ export type DrawingSetSheet = components["schemas"]["DrawingSetSheet"];
135
+ /** What a sheet shares with the other sheets of its part. A resolved set writes it into the pages of a sheet it paginated, a continuation sheet for each view that did not fit or would not read beside the others, for the callouts and balloons the first sheet had no room for, and for general notes, so the set, sent back, draws the same sheets. Not given on a parts list or a hole table alone. */
136
+ export type DrawingShared = components["schemas"]["DrawingShared"];
137
+ /** A radius callout or a balloon another sheet had no room for, drawn on this sheet with a leader to the point it marks. */
138
+ export type DrawingSharedMark = components["schemas"]["DrawingSharedMark"];
139
+ /** The sheet a drawing is laid out on. */
140
+ export type DrawingSheet = components["schemas"]["DrawingSheet"];
141
+ /** The sheet's fingerprint, 64 hexadecimal digits: a SHA-256 over all a sheet is drawn from - the checksum of the STEP file and the unit it is read in, how its parts are read, the sheet's plan as the drawing kernel takes it, the file's annotations it is drawn with, the build of the drawing kernel and the build of the CAD Cloud server that reads the file and writes the sheet's files. Drawing is deterministic: a sheet with the same fingerprint is drawn again the same, written byte for byte as before in its files, with the same report but for 'run', which says how long it took. A deploy of the server gives every sheet a new fingerprint. An app can keep a sheet it drew under its fingerprint, and a sheet whose fingerprint changed is stale. */
142
+ export type DrawingSheetFingerprint = components["schemas"]["DrawingSheetFingerprint"];
143
+ /** A standard sheet, whether the plan's views fit it, and the scale an automatic scale would take on it. */
144
+ export type DrawingSheetFit = components["schemas"]["DrawingSheetFit"];
145
+ /** The sheet as drawn: its size in millimetres, the frame inside its border, the unit and places its lengths are printed in, the scale used and the series it comes from. */
146
+ export type DrawingSheetUsed = components["schemas"]["DrawingSheetUsed"];
147
+ /** One text on the sheet: where its baseline starts, its height in millimetres, how far it was narrowed to fit and which end it is anchored by. */
148
+ export type DrawingText = components["schemas"]["DrawingText"];
149
+ /** The fields of the title block. Every field is empty unless given. */
150
+ export type DrawingTitleBlock = components["schemas"]["DrawingTitleBlock"];
151
+ /** One view of the model on the sheet. */
152
+ export type DrawingView = components["schemas"]["DrawingView"];
153
+ /** How one view reads: its smallest annotation letter, how much of it is ink, and what was done to a view too dense to read. */
154
+ export type DrawingViewQuality = components["schemas"]["DrawingViewQuality"];
155
+ /** One view as drawn: its place on the sheet, its scale and whether it is in line with the base view. */
156
+ export type DrawingViewUsed = components["schemas"]["DrawingViewUsed"];
157
+ /** One sheet as drawn: what the set says of it, where it lies beside the others, its fingerprint and its report. */
158
+ export type DrawnSetSheet = components["schemas"]["DrawnSetSheet"];
53
159
  /** Structured error information with machine-readable code and optional debugging context */
54
160
  export type ErrorDetail = components["schemas"]["ErrorDetail"];
55
161
  /** Standard error envelope */
@@ -104,6 +210,76 @@ export type ModelParamApiType = components["schemas"]["ModelParamApiType"];
104
210
  export type ModelParamDefinition = components["schemas"]["ModelParamDefinition"];
105
211
  /** Submit a parametric model for generation with specified parameters and output formats */
106
212
  export type ModelSubmissionBody = components["schemas"]["ModelSubmissionBody"];
213
+ /** Read the parts of uploaded STEP files as nesting would, without nesting them: each part's file, kind, outline size, area and cut length, or why it cannot be nested. */
214
+ export type NestingInspectBody = components["schemas"]["NestingInspectBody"];
215
+ /** The settings that change how parts are read (tolerance, xDirection); no stock is needed. Every length is in the parts' units: millimetres on the nesting routes, which read their STEP files in millimetres, and the unit a pipeline models its shapes in for an occtPro.nesting step. */
216
+ export type NestingInspectOptions = components["schemas"]["NestingInspectOptions"];
217
+ /** Each part as nesting reads it, without nesting. Every length is in the parts' units, millimetres for parts read from STEP files. A report delivered as a result always has ok true: when the kernel refuses a run, the task fails with the kernel's reason instead. */
218
+ export type NestingInspection = components["schemas"]["NestingInspection"];
219
+ /** Copies of a part that were not placed, and why. */
220
+ export type NestingLeft = components["schemas"]["NestingLeft"];
221
+ /** Copies of a part that were not placed, and why. */
222
+ export type NestingLeftOutput = components["schemas"]["NestingLeftOutput"];
223
+ /** Nest the flat parts of uploaded STEP files onto sheets or a strip. A part is a planar face, coplanar faces such as an unfolded sheet-metal part, a plate solid, or a drawing of closed wires; 'stepFileIds' says how parts are read from a file. */
224
+ export type NestingNestBody = components["schemas"]["NestingNestBody"];
225
+ /** The stock, the per-part options and the settings of a nesting run. Every length is in the parts' units: millimetres on the nesting routes, which read their STEP files in millimetres, and the unit a pipeline models its shapes in for an occtPro.nesting step. */
226
+ export type NestingOptions = components["schemas"]["NestingOptions"];
227
+ /** A full circle. */
228
+ export type NestingOutlineCircle = components["schemas"]["NestingOutlineCircle"];
229
+ /** A full circle. */
230
+ export type NestingOutlineCircleOutput = components["schemas"]["NestingOutlineCircleOutput"];
231
+ /** An ellipse or an arc of one. */
232
+ export type NestingOutlineEllipse = components["schemas"]["NestingOutlineEllipse"];
233
+ /** An ellipse or an arc of one. */
234
+ export type NestingOutlineEllipseOutput = components["schemas"]["NestingOutlineEllipseOutput"];
235
+ /** Lines and arcs from vertex to vertex. */
236
+ export type NestingOutlinePolyline = components["schemas"]["NestingOutlinePolyline"];
237
+ /** Lines and arcs from vertex to vertex. */
238
+ export type NestingOutlinePolylineOutput = components["schemas"]["NestingOutlinePolylineOutput"];
239
+ /** A B-spline or NURBS curve. */
240
+ export type NestingOutlineSpline = components["schemas"]["NestingOutlineSpline"];
241
+ /** A B-spline or NURBS curve. */
242
+ export type NestingOutlineSplineOutput = components["schemas"]["NestingOutlineSplineOutput"];
243
+ /** The cut paths of every placed copy in the frame of its sheet: x along the sheet's width and y along its height from the corner, as the report's placement boxes are; the 'outlines' result of a nest. */
244
+ export type NestingOutlines = components["schemas"]["NestingOutlines"];
245
+ /** The formats of the nested sheets: 'step' or 'stpz' (each sheet one part, holding its placed parts and its outline), 'gltf', 'decomposed-mesh' (the placed parts, triangulated), 'dxf' (an AutoCAD 2000 drawing in millimetres, or in the unit 'outputs.unit' names: the sheets' outlines on layer SHEETS and the parts' cut paths on layer PARTS, every arc, ellipse and spline exact), 'svg' (the same drawing as an SVG file in the same unit, each layer a group), or 'outlines' (the same cut paths as JSON, each copy in the frame of its sheet and named by its placement, for drawing the layout). A 'dxf' or 'svg' too large to write is left out while every other format is still written, and the task's metadata says why under 'outputsLeftOut' (format to reason); a caveat about a cut file that was written, such as a part whose faces could not be joined into one outline, is given under 'outputNotes' (format to note). */
246
+ export type NestingOutputFormat = components["schemas"]["NestingOutputFormat"];
247
+ /** Which formats the nested sheets are written in, their mesh quality, and the unit of the DXF and SVG cut files. */
248
+ export type NestingOutputOptions = components["schemas"]["NestingOutputOptions"];
249
+ /** How one part was read, and how many of its copies were placed. */
250
+ export type NestingPartEntry = components["schemas"]["NestingPartEntry"];
251
+ /** How one part was read, and how many of its copies were placed. */
252
+ export type NestingPartEntryOutput = components["schemas"]["NestingPartEntryOutput"];
253
+ /** The options of one part, paired with the part of the same index. */
254
+ export type NestingPartOptions = components["schemas"]["NestingPartOptions"];
255
+ /** Where one copy of a part was placed. */
256
+ export type NestingPlacement = components["schemas"]["NestingPlacement"];
257
+ /** Where one copy of a part was placed. */
258
+ export type NestingPlacementOutput = components["schemas"]["NestingPlacementOutput"];
259
+ /** The layout of a nesting run: the used sheets, every placement with its transform, each part as read, what was left and why, and the totals. Every length is in the parts' units, millimetres for parts read from STEP files. Positions are in the working space, right-handed with Y up; a STEP output turns that space to Z up, a quarter turn about X. A report delivered as a result always has ok true: when the kernel refuses a run, the task fails with the kernel's reason instead. */
260
+ export type NestingReport = components["schemas"]["NestingReport"];
261
+ /** The nesting kernel's own answer when it refuses the options or is stopped before any part was nested. No result carries it: the API fails the task with its error instead. */
262
+ export type NestingReportError = components["schemas"]["NestingReportError"];
263
+ /** The nesting kernel's own answer when it refuses the options or is stopped before any part was nested. No result carries it: the API fails the task with its error instead. */
264
+ export type NestingReportErrorOutput = components["schemas"]["NestingReportErrorOutput"];
265
+ /** How a part may turn on the sheet: a fixed list of angles, steps that divide a full turn, or any angle. Without it a part turns in steps of 90 degrees. */
266
+ export type NestingRotations = components["schemas"]["NestingRotations"];
267
+ /** How the search ran: whether the same seed gives the same layout again, and whether it was stopped or ran out of time. */
268
+ export type NestingRun = components["schemas"]["NestingRun"];
269
+ /** How the search ran: whether the same seed gives the same layout again, and whether it was stopped or ran out of time. */
270
+ export type NestingRunOutput = components["schemas"]["NestingRunOutput"];
271
+ /** One kind of rectangular stock. */
272
+ export type NestingSheet = components["schemas"]["NestingSheet"];
273
+ /** One used sheet: its stock, where it lies in the working space, and how much of it the parts fill. */
274
+ export type NestingSheetEntry = components["schemas"]["NestingSheetEntry"];
275
+ /** One used sheet: its stock, where it lies in the working space, and how much of it the parts fill. */
276
+ export type NestingSheetEntryOutput = components["schemas"]["NestingSheetEntryOutput"];
277
+ /** One strip of open length; it stands alone, never beside other stock. */
278
+ export type NestingStrip = components["schemas"]["NestingStrip"];
279
+ /** Totals over every used sheet. */
280
+ export type NestingTotals = components["schemas"]["NestingTotals"];
281
+ /** Totals over every used sheet. */
282
+ export type NestingTotalsOutput = components["schemas"]["NestingTotalsOutput"];
107
283
  /** Output file format: 'step' (raw STEP), 'stpz' (gzip-compressed STEP), 'decomposed-mesh' (triangulated JSON), 'gltf' (glTF 2.0 binary .glb). Note: 'step' and 'stpz' are mutually exclusive - choose one or the other, not both. */
108
284
  export type OutputFormat = components["schemas"]["OutputFormat"];
109
285
  /** Controls which output formats are generated and their quality settings */
@@ -116,7 +292,7 @@ export type PhoneNestParams = components["schemas"]["PhoneNestParams"];
116
292
  export type PipelineAnyStep = components["schemas"]["PipelineAnyStep"];
117
293
  /** Execute a chain of Bitbybit CAD operations sequentially. Supports $ref:N step references, $file:N file inputs, map iteration, and choice conditionals. */
118
294
  export type PipelineBody = components["schemas"]["PipelineBody"];
119
- /** Pipeline output file format. Includes all standard formats plus: 'json' (JSON data), 'csv' (CSV text), 'stl' (binary STL mesh - Manifold/JSCAD only), '3mf' (3MF mesh package - Manifold/JSCAD only), 'brep' (OpenCascade BREP as text, which OCCT-based tools such as FreeCAD read) and 'brep-binary' (OpenCascade binary BREP, the smallest and fastest exact form, which keeps the numbering of faces and edges; read back with occt.io.loadBrepBinary) - both OCCT only, without triangulation. */
295
+ /** Pipeline output file format. Includes all standard formats plus: 'json' (JSON data), 'csv' (CSV text), 'stl' (binary STL mesh - Manifold/JSCAD only), '3mf' (3MF mesh package - Manifold/JSCAD only), 'brep' (OpenCascade BREP as text) and 'brep-binary' (OpenCascade binary BREP, the smallest and fastest exact form, which keeps the numbering of faces and edges) - both OCCT only, without triangulation, and both in the frame the pipeline modelled the shape in (Y up), so occt.io.loadBrep and occt.io.loadBrepBinary read them back exactly as they were; a Z-up tool such as FreeCAD shows them lying on their backs, where a 'step' output stands upright. */
120
296
  export type PipelineOutputFormat = components["schemas"]["PipelineOutputFormat"];
121
297
  /** Controls which output formats are generated for pipeline results. Supports additional formats (json, csv, stl, 3mf, brep, brep-binary) beyond standard model outputs. */
122
298
  export type PipelineOutputOptions = components["schemas"]["PipelineOutputOptions"];
@@ -164,6 +340,10 @@ export type TaskResultsDownload = components["schemas"]["TaskResultsDownload"];
164
340
  export type TaskResultsResponse = components["schemas"]["TaskResultsResponse"];
165
341
  /** Task lifecycle state: waiting (pending dependencies), queued (in queue), processing (actively computing), completed (result available), failed (error occurred), cancelled (user-cancelled), expired (result TTL exceeded) */
166
342
  export type TaskStatus = components["schemas"]["TaskStatus"];
343
+ /** Flatten every constant-thickness sheet-metal solid in an uploaded STEP file and nest the flat patterns on sheets in the same call: the per-solid unfold report, the nesting report and the nested sheets, without writing the flats to a file and reading them back. */
344
+ export type UnfoldAndNestBody = components["schemas"]["UnfoldAndNestBody"];
345
+ /** Which formats the nested sheets and the flat patterns are written in, their mesh quality, and the unit of the DXF and SVG cut files. */
346
+ export type UnfoldAndNestOutputOptions = components["schemas"]["UnfoldAndNestOutputOptions"];
167
347
  /** One bend: line, angle, radii (inner/outer/neutral and per-end for cones), and developed lengths. */
168
348
  export type UnfoldBend = components["schemas"]["UnfoldBend"];
169
349
  /** One bend: line, angle, radii (inner/outer/neutral and per-end for cones), and developed lengths. */
@@ -178,6 +358,8 @@ export type UnfoldFaceReport = components["schemas"]["UnfoldFaceReport"];
178
358
  export type UnfoldFaceReportBody = components["schemas"]["UnfoldFaceReportBody"];
179
359
  /** Unfold a single developable face of an uploaded STEP shape to a flat face. */
180
360
  export type UnfoldFaceToFlatBody = components["schemas"]["UnfoldFaceToFlatBody"];
361
+ /** How the flat patterns of an unfold are nested: the stock, the copies, how each flat may turn, and the search settings. Every length is in millimetres. */
362
+ export type UnfoldNestingOptions = components["schemas"]["UnfoldNestingOptions"];
181
363
  /** A sub-shape laid into the flat compound, mapped back to its source face (compound order). */
182
364
  export type UnfoldPlaced = components["schemas"]["UnfoldPlaced"];
183
365
  /** A sub-shape laid into the flat compound, mapped back to its source face (compound order). */