File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 21333
21333
"type"
21334
21334
]
21335
21335
},
21336
+ {
21337
+ "description": "Fit the view to the specified object(s).",
21338
+ "type": "object",
21339
+ "properties": {
21340
+ "object_ids": {
21341
+ "nullable": true,
21342
+ "description": "Which objects to fit to",
21343
+ "type": "array",
21344
+ "items": {
21345
+ "type": "string",
21346
+ "format": "uuid"
21347
+ }
21348
+ },
21349
+ "padding": {
21350
+ "description": "How much to pad the view frame by.",
21351
+ "type": "number",
21352
+ "format": "float"
21353
+ },
21354
+ "type": {
21355
+ "type": "string",
21356
+ "enum": [
21357
+ "zoom_to_fit"
21358
+ ]
21359
+ }
21360
+ },
21361
+ "required": [
21362
+ "padding",
21363
+ "type"
21364
+ ]
21365
+ },
21336
21366
{
21337
21367
"description": "Get a concise description of all of an extrusion's faces.",
21338
21368
"type": "object",
Original file line number Diff line number Diff line change @@ -2673,6 +2673,15 @@ export type ModelingCmd_type =
2673
2673
parameters ?: PerspectiveCameraParameters_type ;
2674
2674
type : 'default_camera_set_perspective' ;
2675
2675
}
2676
+ | {
2677
+ /*{
2678
+ "format": "uuid"
2679
+ }*/
2680
+ object_ids : string [ ] ;
2681
+ /* format:float, description:How much to pad the view frame by. */
2682
+ padding : number ;
2683
+ type : 'zoom_to_fit' ;
2684
+ }
2676
2685
| {
2677
2686
/* format:uuid, description:Any edge that lies on the extrusion base path. */
2678
2687
edge_id : string ;
You can’t perform that action at this time.
0 commit comments