You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapitor/tests/types/kittycad.rs.gen
+99-7
Original file line number
Diff line number
Diff line change
@@ -7685,15 +7685,15 @@ pub enum InputFormat {
7685
7685
Obj {
7686
7686
#[doc = "Co-ordinate system of input data.\n\nDefaults to the [KittyCAD co-ordinate system].\n\n[KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html"]
7687
7687
coords: System,
7688
-
#[doc = "The units of the input data. This is very important for correct scaling and when calculating physics properties like mass, etc.\n\nDefaults to meters."]
7688
+
#[doc = "The units of the input data.\n\nThis is very important for correct scaling and when calculating physics properties like mass, etc.\n\nDefaults to millimeters."]
7689
7689
units: UnitLength,
7690
7690
},
7691
7691
#[doc = "The PLY Polygon File Format."]
7692
7692
#[serde(rename = "ply")]
7693
7693
Ply {
7694
7694
#[doc = "Co-ordinate system of input data.\n\nDefaults to the [KittyCAD co-ordinate system].\n\n[KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html"]
7695
7695
coords: System,
7696
-
#[doc = "The units of the input data. This is very important for correct scaling and when calculating physics properties like mass, etc."]
7696
+
#[doc = "The units of the input data.\n\nThis is very important for correct scaling and when calculating physics properties like mass, etc.\n\nDefaults to millimeters."]
7697
7697
units: UnitLength,
7698
7698
},
7699
7699
#[doc = "SolidWorks part (SLDPRT) format."]
@@ -7715,7 +7715,7 @@ pub enum InputFormat {
7715
7715
Stl {
7716
7716
#[doc = "Co-ordinate system of input data.\n\nDefaults to the [KittyCAD co-ordinate system].\n\n[KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html"]
7717
7717
coords: System,
7718
-
#[doc = "The units of the input data. This is very important for correct scaling and when calculating physics properties like mass, etc."]
7718
+
#[doc = "The units of the input data.\n\nThis is very important for correct scaling and when calculating physics properties like mass, etc.\n\nDefaults to millimeters."]
7719
7719
units: UnitLength,
7720
7720
},
7721
7721
}
@@ -10389,6 +10389,26 @@ pub enum ModelingCmd {
10389
10389
#[doc = "Which curve to query."]
10390
10390
curve_id: uuid::Uuid,
10391
10391
},
10392
+
#[doc = "Project an entity on to a plane."]
10393
+
#[serde(rename = "project_entity_to_plane")]
10394
+
ProjectEntityToPlane {
10395
+
#[doc = "Which entity to project (vertex or edge)."]
10396
+
entity_id: uuid::Uuid,
10397
+
#[doc = "Which plane to project entity_id onto."]
10398
+
plane_id: uuid::Uuid,
10399
+
#[doc = "If true: the projected points are returned in the plane_id's coordinate system, else: the projected points are returned in the world coordinate system."]
10400
+
use_plane_coords: bool,
10401
+
},
10402
+
#[doc = "Project a list of points on to a plane."]
10403
+
#[serde(rename = "project_points_to_plane")]
10404
+
ProjectPointsToPlane {
10405
+
#[doc = "The id of the plane used for the projection."]
10406
+
plane_id: uuid::Uuid,
10407
+
#[doc = "The list of points that will be projected."]
10408
+
points: Vec<Point3D>,
10409
+
#[doc = "If true: the projected points are returned in the plane_id's coordinate sysetm. else: the projected points are returned in the world coordinate system."]
10410
+
use_plane_coords: bool,
10411
+
},
10392
10412
#[doc = "Take a snapshot of the current view."]
10393
10413
#[serde(rename = "take_snapshot")]
10394
10414
TakeSnapshot {
@@ -10499,7 +10519,7 @@ pub enum ModelingCmd {
10499
10519
#[doc = "Input file format."]
10500
10520
format: InputFormat,
10501
10521
},
10502
-
#[doc = "Set the units of the scene. For all following commands, the units will be interpreted as the given units."]
10522
+
#[doc = "Set the units of the scene. For all following commands, the units will be interpreted as the given units. Any previously executed commands will not be affected or have their units changed. They will remain in the units they were originally executed in."]
#[doc = "The response from the `CurveGetControlPoints` command."]
11448
11468
data: CurveGetControlPoints,
11449
11469
},
11470
+
#[serde(rename = "project_entity_to_plane")]
11471
+
ProjectEntityToPlane {
11472
+
#[doc = "The response from the `ProjectEntityToPlane` command."]
11473
+
data: ProjectEntityToPlane,
11474
+
},
11475
+
#[serde(rename = "project_points_to_plane")]
11476
+
ProjectPointsToPlane {
11477
+
#[doc = "The response from the `ProjectPointsToPlane` command."]
11478
+
data: ProjectPointsToPlane,
11479
+
},
11450
11480
#[serde(rename = "curve_get_type")]
11451
11481
CurveGetType {
11452
11482
#[doc = "The response from the `CurveGetType` command."]
@@ -12336,7 +12366,7 @@ pub enum OutputFormat {
12336
12366
Obj {
12337
12367
#[doc = "Co-ordinate system of output data.\n\nDefaults to the [KittyCAD co-ordinate system].\n\n[KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html"]
12338
12368
coords: System,
12339
-
#[doc = "Export length unit.\n\nDefaults to meters."]
12369
+
#[doc = "Export length unit.\n\nDefaults to millimeters."]
12340
12370
units: UnitLength,
12341
12371
},
12342
12372
#[doc = "The PLY Polygon File Format."]
@@ -12348,7 +12378,7 @@ pub enum OutputFormat {
12348
12378
selection: Selection,
12349
12379
#[doc = "The storage for the output PLY file."]
12350
12380
storage: PlyStorage,
12351
-
#[doc = "Export length unit.\n\nDefaults to meters."]
12381
+
#[doc = "Export length unit.\n\nDefaults to millimeters."]
12352
12382
units: UnitLength,
12353
12383
},
12354
12384
#[doc = "ISO 10303-21 (STEP) format."]
@@ -12366,7 +12396,7 @@ pub enum OutputFormat {
12366
12396
selection: Selection,
12367
12397
#[doc = "Export storage."]
12368
12398
storage: StlStorage,
12369
-
#[doc = "Export length unit.\n\nDefaults to meters."]
12399
+
#[doc = "Export length unit.\n\nDefaults to millimeters."]
12370
12400
units: UnitLength,
12371
12401
},
12372
12402
}
@@ -13307,6 +13337,68 @@ impl tabled::Tabled for PrivacySettings {
13307
13337
}
13308
13338
}
13309
13339
13340
+
#[doc = "The response from the `ProjectEntityToPlane` command."]
#[doc = "A raw file with unencoded contents to be passed over binary websockets. When raw files come back for exports it is sent as binary/bson, not text/json."]
0 commit comments