diff --git a/package.json b/package.json index b525c80..5de62f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kittycad/lib", - "version": "0.0.75", + "version": "0.0.76", "description": "Javascript library for KittyCAD API", "type": "module", "keywords": [ diff --git a/spec.json b/spec.json index e248b36..72692ea 100644 --- a/spec.json +++ b/spec.json @@ -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" }, diff --git a/src/models.ts b/src/models.ts index c76a16d..dc91219 100644 --- a/src/models.ts +++ b/src/models.ts @@ -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'; }