Skip to content

Commit 21dc16a

Browse files
YOYO NEW API SPEC!
1 parent 5ee6d22 commit 21dc16a

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

spec.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26670,6 +26670,25 @@
2667026670
}
2667126671
]
2667226672
},
26673+
"BodyType": {
26674+
"description": "Body type determining if the operation will create a solid or a surface.",
26675+
"oneOf": [
26676+
{
26677+
"description": "Create a body that has two caps, creating a solid object.",
26678+
"type": "string",
26679+
"enum": [
26680+
"solid"
26681+
]
26682+
},
26683+
{
26684+
"description": "Create only the surface of the body without any caps.",
26685+
"type": "string",
26686+
"enum": [
26687+
"surface"
26688+
]
26689+
}
26690+
]
26691+
},
2667326692
"BooleanIntersection": {
2667426693
"description": "The response from the 'BooleanIntersection'.",
2667526694
"type": "object",
@@ -30569,6 +30588,24 @@
3056930588
"description": "ISO 10303-21 (STEP) format.",
3057030589
"type": "object",
3057130590
"properties": {
30591+
"coords": {
30592+
"description": "Co-ordinate system of input data.\n\nDefaults to the [KittyCAD co-ordinate system].\n\n[KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html",
30593+
"default": {
30594+
"forward": {
30595+
"axis": "y",
30596+
"direction": "negative"
30597+
},
30598+
"up": {
30599+
"axis": "z",
30600+
"direction": "positive"
30601+
}
30602+
},
30603+
"allOf": [
30604+
{
30605+
"$ref": "#/components/schemas/System"
30606+
}
30607+
]
30608+
},
3057230609
"split_closed_faces": {
3057330610
"description": "Splits all closed faces into two open faces.\n\nDefaults to `false` but is implicitly `true` when importing into the engine.",
3057430611
"default": false,
@@ -32662,6 +32699,15 @@
3266232699
"description": "Command for extruding a solid 2d.",
3266332700
"type": "object",
3266432701
"properties": {
32702+
"body_type": {
32703+
"description": "Should this extrude create a solid body or a surface?",
32704+
"default": "solid",
32705+
"allOf": [
32706+
{
32707+
"$ref": "#/components/schemas/BodyType"
32708+
}
32709+
]
32710+
},
3266532711
"distance": {
3266632712
"description": "How far off the plane to extrude",
3266732713
"allOf": [
@@ -32722,6 +32768,15 @@
3272232768
"description": "Command for extruding a solid 2d to a reference geometry.",
3272332769
"type": "object",
3272432770
"properties": {
32771+
"body_type": {
32772+
"description": "Should this extrude create a solid body or a surface?",
32773+
"default": "solid",
32774+
"allOf": [
32775+
{
32776+
"$ref": "#/components/schemas/BodyType"
32777+
}
32778+
]
32779+
},
3272532780
"extrude_method": {
3272632781
"description": "Should the extrusion create a new object or be part of the existing object.",
3272732782
"default": "merge",
@@ -32785,6 +32840,15 @@
3278532840
}
3278632841
]
3278732842
},
32843+
"body_type": {
32844+
"description": "Should this extrude create a solid body or a surface?",
32845+
"default": "solid",
32846+
"allOf": [
32847+
{
32848+
"$ref": "#/components/schemas/BodyType"
32849+
}
32850+
]
32851+
},
3278832852
"center_2d": {
3278932853
"description": "Center to twist about (relative to 2D sketch)",
3279032854
"default": {
@@ -32933,6 +32997,15 @@
3293332997
"description": "If true, the axis is interpreted within the 2D space of the solid 2D's plane",
3293432998
"type": "boolean"
3293532999
},
33000+
"body_type": {
33001+
"description": "Should this extrude create a solid body or a surface?",
33002+
"default": "solid",
33003+
"allOf": [
33004+
{
33005+
"$ref": "#/components/schemas/BodyType"
33006+
}
33007+
]
33008+
},
3293633009
"opposite": {
3293733010
"description": "Should the revolution also revolve in the opposite direction along the given axis? If so, this specifies its angle.",
3293833011
"default": "None",
@@ -33039,6 +33112,15 @@
3303933112
}
3304033113
]
3304133114
},
33115+
"body_type": {
33116+
"description": "Should this extrude create a solid body or a surface?",
33117+
"default": "solid",
33118+
"allOf": [
33119+
{
33120+
"$ref": "#/components/schemas/BodyType"
33121+
}
33122+
]
33123+
},
3304233124
"edge_id": {
3304333125
"description": "The edge to use as the axis of revolution, must be linear and lie in the plane of the solid",
3304433126
"type": "string",
@@ -35435,6 +35517,15 @@
3543535517
"description": "Set the default system properties used when a specific property isn't set.",
3543635518
"type": "object",
3543735519
"properties": {
35520+
"backface_color": {
35521+
"nullable": true,
35522+
"description": "The default color to use for all backfaces",
35523+
"allOf": [
35524+
{
35525+
"$ref": "#/components/schemas/Color"
35526+
}
35527+
]
35528+
},
3543835529
"color": {
3543935530
"nullable": true,
3544035531
"description": "The default system color.",

0 commit comments

Comments
 (0)