Skip to content

Commit

Permalink
Update api spec (#259)
Browse files Browse the repository at this point in the history
* YOYO NEW API SPEC!

* Generated new lib

* 0.0.76

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent c95cda0 commit faff488
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kittycad/lib",
"version": "0.0.75",
"version": "0.0.76",
"description": "Javascript library for KittyCAD API",
"type": "module",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -21706,7 +21706,7 @@
}
},
"padding": {
"description": "How much to pad the view frame by.",
"description": "How much to pad the view frame by, as a fraction of the object(s) bounding box size. Negative padding will crop the view of the object proportionally. e.g. padding = 0.2 means the view will span 120% of the object(s) bounding box, and padding = -0.2 means the view will span 80% of the object(s) bounding box.",
"type": "number",
"format": "float"
},
Expand Down
5 changes: 4 additions & 1 deletion src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2813,7 +2813,10 @@ export type ModelingCmd_type =
"format": "uuid"
}*/
object_ids: string[];
/* format:float, description:How much to pad the view frame by. */
/*{
"format": "float",
"description": "How much to pad the view frame by, as a fraction of the object(s) bounding box size. Negative padding will crop the view of the object proportionally. e.g. padding = 0.2 means the view will span 120% of the object(s) bounding box, and padding = -0.2 means the view will span 80% of the object(s) bounding box."
}*/
padding: number;
type: 'zoom_to_fit';
}
Expand Down

0 comments on commit faff488

Please sign in to comment.