diff --git a/docs/kcl/angleToMatchLengthX.md b/docs/kcl/angleToMatchLengthX.md index e332f1335..4fcf3947f 100644 --- a/docs/kcl/angleToMatchLengthX.md +++ b/docs/kcl/angleToMatchLengthX.md @@ -166,7 +166,7 @@ const extrusion = extrude(5, sketch001) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -180,7 +180,7 @@ const extrusion = extrude(5, sketch001) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/angleToMatchLengthY.md b/docs/kcl/angleToMatchLengthY.md index de2814f5b..89a03594d 100644 --- a/docs/kcl/angleToMatchLengthY.md +++ b/docs/kcl/angleToMatchLengthY.md @@ -170,7 +170,7 @@ const extrusion = extrude(5, sketch001) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -184,7 +184,7 @@ const extrusion = extrude(5, sketch001) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/angledLine.md b/docs/kcl/angledLine.md index 8f1f5e3a0..01568daf9 100644 --- a/docs/kcl/angledLine.md +++ b/docs/kcl/angledLine.md @@ -85,7 +85,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -99,7 +99,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -497,7 +497,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -511,7 +511,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/angledLineOfXLength.md b/docs/kcl/angledLineOfXLength.md index 997196c7e..fb56c97df 100644 --- a/docs/kcl/angledLineOfXLength.md +++ b/docs/kcl/angledLineOfXLength.md @@ -84,7 +84,7 @@ const extrusion = extrude(10, sketch001) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -98,7 +98,7 @@ const extrusion = extrude(10, sketch001) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -496,7 +496,7 @@ const extrusion = extrude(10, sketch001) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -510,7 +510,7 @@ const extrusion = extrude(10, sketch001) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/angledLineOfYLength.md b/docs/kcl/angledLineOfYLength.md index 02aee097f..4ae557a2a 100644 --- a/docs/kcl/angledLineOfYLength.md +++ b/docs/kcl/angledLineOfYLength.md @@ -86,7 +86,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -100,7 +100,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -498,7 +498,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -512,7 +512,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/angledLineThatIntersects.md b/docs/kcl/angledLineThatIntersects.md index e98a52dc9..3e343b8f7 100644 --- a/docs/kcl/angledLineThatIntersects.md +++ b/docs/kcl/angledLineThatIntersects.md @@ -178,7 +178,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -192,7 +192,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -590,7 +590,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -604,7 +604,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/angledLineToX.md b/docs/kcl/angledLineToX.md index c29db5a6e..3a74f6c1d 100644 --- a/docs/kcl/angledLineToX.md +++ b/docs/kcl/angledLineToX.md @@ -83,7 +83,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -97,7 +97,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -495,7 +495,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -509,7 +509,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/angledLineToY.md b/docs/kcl/angledLineToY.md index 2a2d2c6c7..5f1f7796e 100644 --- a/docs/kcl/angledLineToY.md +++ b/docs/kcl/angledLineToY.md @@ -83,7 +83,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -97,7 +97,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -495,7 +495,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -509,7 +509,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/arc.md b/docs/kcl/arc.md index ee27113cc..551418fe8 100644 --- a/docs/kcl/arc.md +++ b/docs/kcl/arc.md @@ -19,8 +19,8 @@ const exampleSketch = startSketchOn('XZ') |> startProfileAt([0, 0], %) |> line([10, 0], %) |> arc({ - angle_start: 0, - angle_end: 280, + angleStart: 0, + angleEnd: 280, radius: 16 }, %) |> close(%) @@ -34,9 +34,9 @@ const exampleSketch = startSketchOn('XZ') ```js { // The end angle. - angle_end: number, + angleEnd: number, // The start angle. - angle_start: number, + angleStart: number, // The radius. radius: number, } | @@ -94,7 +94,7 @@ const exampleSketch = startSketchOn('XZ') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -108,7 +108,7 @@ const exampleSketch = startSketchOn('XZ') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -506,7 +506,7 @@ const exampleSketch = startSketchOn('XZ') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -520,7 +520,7 @@ const exampleSketch = startSketchOn('XZ') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/bezierCurve.md b/docs/kcl/bezierCurve.md index 1a0accc8e..2dc5ecb89 100644 --- a/docs/kcl/bezierCurve.md +++ b/docs/kcl/bezierCurve.md @@ -89,7 +89,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -103,7 +103,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -501,7 +501,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -515,7 +515,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/chamfer.md b/docs/kcl/chamfer.md index d63551512..6a5e44cb5 100644 --- a/docs/kcl/chamfer.md +++ b/docs/kcl/chamfer.md @@ -149,7 +149,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -163,7 +163,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -223,7 +223,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -237,7 +237,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -549,7 +549,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -563,7 +563,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -623,7 +623,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -637,7 +637,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/circle.md b/docs/kcl/circle.md index e0cbd836a..fd8ddfb9a 100644 --- a/docs/kcl/circle.md +++ b/docs/kcl/circle.md @@ -82,7 +82,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -96,7 +96,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -366,7 +366,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -380,7 +380,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -661,7 +661,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -675,7 +675,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/close.md b/docs/kcl/close.md index c477bc94f..f36ebbbc9 100644 --- a/docs/kcl/close.md +++ b/docs/kcl/close.md @@ -84,7 +84,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -98,7 +98,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -496,7 +496,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -510,7 +510,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/extrude.md b/docs/kcl/extrude.md index ff694b1b5..e95e6deed 100644 --- a/docs/kcl/extrude.md +++ b/docs/kcl/extrude.md @@ -19,8 +19,8 @@ const example = startSketchOn('XZ') |> startProfileAt([0, 0], %) |> line([10, 0], %) |> arc({ - angle_end: 0, - angle_start: 120, + angleStart: 120, + angleEnd: 0, radius: 5 }, %) |> line([5, 0], %) @@ -41,8 +41,8 @@ const example = startSketchOn('XZ') const exampleSketch = startSketchOn('XZ') |> startProfileAt([-10, 0], %) |> arc({ - angle_end: -60, - angle_start: 120, + angleStart: 120, + angleEnd: -60, radius: 5 }, %) |> line([10, 0], %) @@ -109,7 +109,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -123,7 +123,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -479,7 +479,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -493,7 +493,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -553,7 +553,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -567,7 +567,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/fillet.md b/docs/kcl/fillet.md index e70b5def6..9a88a92f5 100644 --- a/docs/kcl/fillet.md +++ b/docs/kcl/fillet.md @@ -149,7 +149,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -163,7 +163,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -223,7 +223,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -237,7 +237,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -549,7 +549,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -563,7 +563,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -623,7 +623,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -637,7 +637,7 @@ const mountingPlate = extrude(thickness, mountingPlateSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/helix.md b/docs/kcl/helix.md index 5feb2d44f..af1dd4cff 100644 --- a/docs/kcl/helix.md +++ b/docs/kcl/helix.md @@ -19,10 +19,9 @@ const part001 = startSketchOn('XY') |> circle([5, 5], 10, %) |> extrude(10, %) |> helix({ - angle_start: 0, + angleStart: 0, ccw: true, - revolutions: 16, - angle_start: 0 + revolutions: 16 }, %) ``` @@ -34,7 +33,7 @@ const part001 = startSketchOn('XY') ```js { // Start angle (in degrees). - angle_start: number, + angleStart: number, // Is the helix rotation counter clockwise? The default is `false`. ccw: string, // Length of the helix. If this argument is not provided, the height of the extrude group is used. @@ -51,7 +50,7 @@ const part001 = startSketchOn('XY') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -65,7 +64,7 @@ const part001 = startSketchOn('XY') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -125,7 +124,7 @@ const part001 = startSketchOn('XY') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -139,7 +138,7 @@ const part001 = startSketchOn('XY') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -442,7 +441,7 @@ const part001 = startSketchOn('XY') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -456,7 +455,7 @@ const part001 = startSketchOn('XY') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -516,7 +515,7 @@ const part001 = startSketchOn('XY') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -530,7 +529,7 @@ const part001 = startSketchOn('XY') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/hole.md b/docs/kcl/hole.md index 0bca35b8d..8441ac3ac 100644 --- a/docs/kcl/hole.md +++ b/docs/kcl/hole.md @@ -95,7 +95,7 @@ const example = extrude(1, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -109,7 +109,7 @@ const example = extrude(1, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -499,7 +499,7 @@ const example = extrude(1, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -513,7 +513,7 @@ const example = extrude(1, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -902,7 +902,7 @@ const example = extrude(1, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -916,7 +916,7 @@ const example = extrude(1, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/lastSegX.md b/docs/kcl/lastSegX.md index 99e460833..49b4e7530 100644 --- a/docs/kcl/lastSegX.md +++ b/docs/kcl/lastSegX.md @@ -75,7 +75,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -89,7 +89,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/lastSegY.md b/docs/kcl/lastSegY.md index ad23330ac..a83cdde1b 100644 --- a/docs/kcl/lastSegY.md +++ b/docs/kcl/lastSegY.md @@ -75,7 +75,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -89,7 +89,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/line.md b/docs/kcl/line.md index 1a528217d..1b122d559 100644 --- a/docs/kcl/line.md +++ b/docs/kcl/line.md @@ -88,7 +88,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -102,7 +102,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -500,7 +500,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -514,7 +514,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/lineTo.md b/docs/kcl/lineTo.md index 98932bf66..ae7f0eee0 100644 --- a/docs/kcl/lineTo.md +++ b/docs/kcl/lineTo.md @@ -75,7 +75,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -89,7 +89,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -487,7 +487,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -501,7 +501,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/patternCircular2d.md b/docs/kcl/patternCircular2d.md index 6419747c2..754f80789 100644 --- a/docs/kcl/patternCircular2d.md +++ b/docs/kcl/patternCircular2d.md @@ -93,7 +93,7 @@ const example = extrude(1, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -107,7 +107,7 @@ const example = extrude(1, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/patternCircular3d.md b/docs/kcl/patternCircular3d.md index f49124840..a63e05c35 100644 --- a/docs/kcl/patternCircular3d.md +++ b/docs/kcl/patternCircular3d.md @@ -55,7 +55,7 @@ const example = extrude(-5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -69,7 +69,7 @@ const example = extrude(-5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -129,7 +129,7 @@ const example = extrude(-5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -143,7 +143,7 @@ const example = extrude(-5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/patternLinear2d.md b/docs/kcl/patternLinear2d.md index 1bfe88fec..a8c352ea1 100644 --- a/docs/kcl/patternLinear2d.md +++ b/docs/kcl/patternLinear2d.md @@ -86,7 +86,7 @@ const example = extrude(1, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -100,7 +100,7 @@ const example = extrude(1, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/patternLinear3d.md b/docs/kcl/patternLinear3d.md index 66e2bfc9a..191c987ff 100644 --- a/docs/kcl/patternLinear3d.md +++ b/docs/kcl/patternLinear3d.md @@ -53,7 +53,7 @@ const example = extrude(1, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -67,7 +67,7 @@ const example = extrude(1, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -127,7 +127,7 @@ const example = extrude(1, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -141,7 +141,7 @@ const example = extrude(1, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/patternTransform.md b/docs/kcl/patternTransform.md index 5145c239f..bbac28fad 100644 --- a/docs/kcl/patternTransform.md +++ b/docs/kcl/patternTransform.md @@ -55,7 +55,7 @@ let vase = layer() // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -69,7 +69,7 @@ let vase = layer() } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -129,7 +129,7 @@ let vase = layer() // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -143,7 +143,7 @@ let vase = layer() } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/profileStart.md b/docs/kcl/profileStart.md index f74982d92..f92ff6e25 100644 --- a/docs/kcl/profileStart.md +++ b/docs/kcl/profileStart.md @@ -76,7 +76,7 @@ const sketch001 = startSketchOn('XY') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -90,7 +90,7 @@ const sketch001 = startSketchOn('XY') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/profileStartX.md b/docs/kcl/profileStartX.md index d9472ad71..2d27523c1 100644 --- a/docs/kcl/profileStartX.md +++ b/docs/kcl/profileStartX.md @@ -71,7 +71,7 @@ const sketch001 = startSketchOn('XY') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -85,7 +85,7 @@ const sketch001 = startSketchOn('XY') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/profileStartY.md b/docs/kcl/profileStartY.md index 6d17d26c1..ccf737bbb 100644 --- a/docs/kcl/profileStartY.md +++ b/docs/kcl/profileStartY.md @@ -70,7 +70,7 @@ const sketch001 = startSketchOn('XY') // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -84,7 +84,7 @@ const sketch001 = startSketchOn('XY') } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/revolve.md b/docs/kcl/revolve.md index 91cc94d38..4e6f7f862 100644 --- a/docs/kcl/revolve.md +++ b/docs/kcl/revolve.md @@ -292,7 +292,7 @@ uuid | // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -306,7 +306,7 @@ uuid | } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -658,7 +658,7 @@ uuid | // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -672,7 +672,7 @@ uuid | } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -732,7 +732,7 @@ uuid | // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -746,7 +746,7 @@ uuid | } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/shell.md b/docs/kcl/shell.md index 66993943e..e378d3778 100644 --- a/docs/kcl/shell.md +++ b/docs/kcl/shell.md @@ -137,7 +137,7 @@ shell({ faces: ['end'], thickness: 0.25 }, firstSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -151,7 +151,7 @@ shell({ faces: ['end'], thickness: 0.25 }, firstSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -211,7 +211,7 @@ shell({ faces: ['end'], thickness: 0.25 }, firstSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -225,7 +225,7 @@ shell({ faces: ['end'], thickness: 0.25 }, firstSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -528,7 +528,7 @@ shell({ faces: ['end'], thickness: 0.25 }, firstSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -542,7 +542,7 @@ shell({ faces: ['end'], thickness: 0.25 }, firstSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -602,7 +602,7 @@ shell({ faces: ['end'], thickness: 0.25 }, firstSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -616,7 +616,7 @@ shell({ faces: ['end'], thickness: 0.25 }, firstSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/startProfileAt.md b/docs/kcl/startProfileAt.md index e6b7aceec..67c9cf478 100644 --- a/docs/kcl/startProfileAt.md +++ b/docs/kcl/startProfileAt.md @@ -97,7 +97,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -111,7 +111,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -453,7 +453,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -467,7 +467,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/startSketchAt.md b/docs/kcl/startSketchAt.md index 9d16096b4..85e33e3c1 100644 --- a/docs/kcl/startSketchAt.md +++ b/docs/kcl/startSketchAt.md @@ -101,7 +101,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -115,7 +115,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/startSketchOn.md b/docs/kcl/startSketchOn.md index b310d6738..9e5af52c3 100644 --- a/docs/kcl/startSketchOn.md +++ b/docs/kcl/startSketchOn.md @@ -106,9 +106,9 @@ const example002 = extrude(5, exampleSketch002) const a1 = startSketchOn({ plane: { origin: { x: 0, y: 0, z: 0 }, - x_axis: { x: 1, y: 0, z: 0 }, - y_axis: { x: 0, y: 1, z: 0 }, - z_axis: { x: 0, y: 0, z: 1 } + xAxis: { x: 1, y: 0, z: 0 }, + yAxis: { x: 0, y: 1, z: 0 }, + zAxis: { x: 0, y: 0, z: 1 } } }) |> startProfileAt([0, 0], %) @@ -141,19 +141,19 @@ const a1 = startSketchOn({ z: number, }, // What should the plane’s X axis be? - x_axis: { + xAxis: { x: number, y: number, z: number, }, // What should the plane’s Y axis be? - y_axis: { + yAxis: { x: number, y: number, z: number, }, // The z-axis (normal). - z_axis: { + zAxis: { x: number, y: number, z: number, @@ -166,7 +166,7 @@ const a1 = startSketchOn({ // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -180,7 +180,7 @@ const a1 = startSketchOn({ } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -578,7 +578,7 @@ const a1 = startSketchOn({ // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -592,7 +592,7 @@ const a1 = startSketchOn({ } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/std.json b/docs/kcl/std.json index cb77c6909..6c74ae7b2 100644 --- a/docs/kcl/std.json +++ b/docs/kcl/std.json @@ -837,13 +837,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -904,13 +904,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -4615,13 +4615,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -4682,13 +4682,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -7963,13 +7963,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -8030,13 +8030,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -11290,13 +11290,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -11357,13 +11357,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -14628,13 +14628,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -14695,13 +14695,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -17955,13 +17955,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -18022,13 +18022,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -21293,13 +21293,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -21360,13 +21360,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -24620,13 +24620,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -24687,13 +24687,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -28401,13 +28401,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -28468,13 +28468,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -31728,13 +31728,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -31795,13 +31795,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -35051,13 +35051,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -35118,13 +35118,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -38378,13 +38378,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -38445,13 +38445,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -41701,13 +41701,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -41768,13 +41768,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -45028,13 +45028,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -45095,13 +45095,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -48040,17 +48040,17 @@ "description": "Angles and radius with an optional tag.", "type": "object", "required": [ - "angle_end", - "angle_start", + "angleEnd", + "angleStart", "radius" ], "properties": { - "angle_end": { + "angleEnd": { "description": "The end angle.", "type": "number", "format": "double" }, - "angle_start": { + "angleStart": { "description": "The start angle.", "type": "number", "format": "double" @@ -48398,13 +48398,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -48465,13 +48465,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -51725,13 +51725,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -51792,13 +51792,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -54718,7 +54718,7 @@ "unpublished": false, "deprecated": false, "examples": [ - "const exampleSketch = startSketchOn('XZ')\n |> startProfileAt([0, 0], %)\n |> line([10, 0], %)\n |> arc({\n angle_start: 0,\n angle_end: 280,\n radius: 16\n }, %)\n |> close(%)" + "const exampleSketch = startSketchOn('XZ')\n |> startProfileAt([0, 0], %)\n |> line([10, 0], %)\n |> arc({\n angleStart: 0,\n angleEnd: 280,\n radius: 16\n }, %)\n |> close(%)" ] }, { @@ -55360,13 +55360,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -55427,13 +55427,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -58687,13 +58687,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -58754,13 +58754,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -62267,13 +62267,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -62334,13 +62334,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -62703,13 +62703,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -62770,13 +62770,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -64867,13 +64867,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -64934,13 +64934,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -65303,13 +65303,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -65370,13 +65370,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -67666,13 +67666,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -67733,13 +67733,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -69749,13 +69749,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -69816,13 +69816,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -71840,13 +71840,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -71907,13 +71907,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -75139,13 +75139,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -75206,13 +75206,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -78466,13 +78466,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -78533,13 +78533,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -81834,13 +81834,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -81901,13 +81901,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -85126,13 +85126,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -85193,13 +85193,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -86951,13 +86951,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -87018,13 +87018,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -87387,13 +87387,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -87454,13 +87454,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -89516,13 +89516,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -89583,13 +89583,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -91527,8 +91527,8 @@ "unpublished": false, "deprecated": false, "examples": [ - "const example = startSketchOn('XZ')\n |> startProfileAt([0, 0], %)\n |> line([10, 0], %)\n |> arc({\n angle_end: 0,\n angle_start: 120,\n radius: 5\n }, %)\n |> line([5, 0], %)\n |> line([0, 10], %)\n |> bezierCurve({\n control1: [-10, 0],\n control2: [2, 10],\n to: [-5, 10]\n }, %)\n |> line([-5, -2], %)\n |> close(%)\n |> extrude(10, %)", - "const exampleSketch = startSketchOn('XZ')\n |> startProfileAt([-10, 0], %)\n |> arc({\n angle_end: -60,\n angle_start: 120,\n radius: 5\n }, %)\n |> line([10, 0], %)\n |> line([5, 0], %)\n |> bezierCurve({\n control1: [-3, 0],\n control2: [2, 10],\n to: [-5, 10]\n }, %)\n |> line([-4, 10], %)\n |> line([-5, -2], %)\n |> close(%)\n\nconst example = extrude(10, exampleSketch)" + "const example = startSketchOn('XZ')\n |> startProfileAt([0, 0], %)\n |> line([10, 0], %)\n |> arc({\n angleStart: 120,\n angleEnd: 0,\n radius: 5\n }, %)\n |> line([5, 0], %)\n |> line([0, 10], %)\n |> bezierCurve({\n control1: [-10, 0],\n control2: [2, 10],\n to: [-5, 10]\n }, %)\n |> line([-5, -2], %)\n |> close(%)\n |> extrude(10, %)", + "const exampleSketch = startSketchOn('XZ')\n |> startProfileAt([-10, 0], %)\n |> arc({\n angleStart: 120,\n angleEnd: -60,\n radius: 5\n }, %)\n |> line([10, 0], %)\n |> line([5, 0], %)\n |> bezierCurve({\n control1: [-3, 0],\n control2: [2, 10],\n to: [-5, 10]\n }, %)\n |> line([-4, 10], %)\n |> line([-5, -2], %)\n |> close(%)\n\nconst example = extrude(10, exampleSketch)" ] }, { @@ -92082,13 +92082,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -92149,13 +92149,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -92518,13 +92518,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -92585,13 +92585,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -94682,13 +94682,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -94749,13 +94749,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -95118,13 +95118,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -95185,13 +95185,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -98688,11 +98688,11 @@ "description": "Data for helices.", "type": "object", "required": [ - "angle_start", + "angleStart", "revolutions" ], "properties": { - "angle_start": { + "angleStart": { "description": "Start angle (in degrees).", "type": "number", "format": "double" @@ -98771,13 +98771,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -98838,13 +98838,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -99207,13 +99207,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -99274,13 +99274,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -101331,13 +101331,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -101398,13 +101398,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -101767,13 +101767,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -101834,13 +101834,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -103839,7 +103839,7 @@ "unpublished": false, "deprecated": false, "examples": [ - "const part001 = startSketchOn('XY')\n |> circle([5, 5], 10, %)\n |> extrude(10, %)\n |> helix({\n angle_start: 0,\n ccw: true,\n revolutions: 16,\n angle_start: 0\n }, %)" + "const part001 = startSketchOn('XY')\n |> circle([5, 5], 10, %)\n |> extrude(10, %)\n |> helix({\n angleStart: 0,\n ccw: true,\n revolutions: 16\n }, %)" ] }, { @@ -104148,13 +104148,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -104215,13 +104215,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -107440,13 +107440,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -107507,13 +107507,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -109502,13 +109502,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -109569,13 +109569,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -112789,13 +112789,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -112856,13 +112856,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -116778,13 +116778,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -116845,13 +116845,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -120086,13 +120086,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -120153,13 +120153,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -123534,13 +123534,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -123601,13 +123601,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -126861,13 +126861,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -126928,13 +126928,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -130174,13 +130174,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -130241,13 +130241,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -133501,13 +133501,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -133568,13 +133568,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -137058,13 +137058,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -137125,13 +137125,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -140350,13 +140350,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -140417,13 +140417,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -142415,13 +142415,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -142482,13 +142482,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -144291,13 +144291,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -144358,13 +144358,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -144727,13 +144727,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -144794,13 +144794,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -146856,13 +146856,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -146923,13 +146923,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -148921,13 +148921,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -148988,13 +148988,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -151265,13 +151265,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -151332,13 +151332,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -154557,13 +154557,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -154624,13 +154624,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -156622,13 +156622,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -156689,13 +156689,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -158482,13 +158482,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -158549,13 +158549,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -158918,13 +158918,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -158985,13 +158985,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -161047,13 +161047,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -161114,13 +161114,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -163112,13 +163112,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -163179,13 +163179,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -165195,13 +165195,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -165262,13 +165262,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -165631,13 +165631,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -165698,13 +165698,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -167760,13 +167760,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -167827,13 +167827,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -169825,13 +169825,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -169892,13 +169892,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -172245,13 +172245,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -172312,13 +172312,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -175558,13 +175558,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -175625,13 +175625,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -178866,13 +178866,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -178933,13 +178933,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -182752,13 +182752,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -182819,13 +182819,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -185797,13 +185797,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -185864,13 +185864,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -186233,13 +186233,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -186300,13 +186300,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -190810,13 +190810,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -190877,13 +190877,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -191246,13 +191246,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -191313,13 +191313,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -193370,13 +193370,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -193437,13 +193437,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -193806,13 +193806,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -193873,13 +193873,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -196223,13 +196223,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -196290,13 +196290,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -198642,13 +198642,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -198709,13 +198709,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -201957,13 +201957,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -202024,13 +202024,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -205023,9 +205023,9 @@ "type": "object", "required": [ "origin", - "x_axis", - "y_axis", - "z_axis" + "xAxis", + "yAxis", + "zAxis" ], "properties": { "origin": { @@ -205051,7 +205051,7 @@ } } }, - "x_axis": { + "xAxis": { "description": "What should the plane’s X axis be?", "type": "object", "required": [ @@ -205074,7 +205074,7 @@ } } }, - "y_axis": { + "yAxis": { "description": "What should the plane’s Y axis be?", "type": "object", "required": [ @@ -205097,7 +205097,7 @@ } } }, - "z_axis": { + "zAxis": { "description": "The z-axis (normal).", "type": "object", "required": [ @@ -205178,13 +205178,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -205245,13 +205245,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -207917,13 +207917,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -207984,13 +207984,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -210005,7 +210005,7 @@ "const exampleSketch = startSketchOn(\"XY\")\n |> startProfileAt([0, 0], %)\n |> line([10, 0], %)\n |> line([0, 10], %)\n |> line([-10, 0], %)\n |> close(%)\n\nconst example = extrude(5, exampleSketch)\n\nconst exampleSketch002 = startSketchOn(example, 'end')\n |> startProfileAt([1, 1], %)\n |> line([8, 0], %)\n |> line([0, 8], %)\n |> line([-8, 0], %)\n |> close(%)\n\nconst example002 = extrude(5, exampleSketch002)\n\nconst exampleSketch003 = startSketchOn(example002, 'end')\n |> startProfileAt([2, 2], %)\n |> line([6, 0], %)\n |> line([0, 6], %)\n |> line([-6, 0], %)\n |> close(%)\n\nconst example003 = extrude(5, exampleSketch003)", "const exampleSketch = startSketchOn(\"XY\")\n |> startProfileAt([0, 0], %)\n |> line([10, 0], %)\n |> line([0, 10], %, $sketchingFace)\n |> line([-10, 0], %)\n |> close(%)\n\nconst example = extrude(10, exampleSketch)\n\nconst exampleSketch002 = startSketchOn(example, sketchingFace)\n |> startProfileAt([1, 1], %)\n |> line([8, 0], %)\n |> line([0, 8], %)\n |> line([-8, 0], %)\n |> close(%, $sketchingFace002)\n\nconst example002 = extrude(10, exampleSketch002)\n\nconst exampleSketch003 = startSketchOn(example002, sketchingFace002)\n |> startProfileAt([-8, 12], %)\n |> line([0, 6], %)\n |> line([6, 0], %)\n |> line([0, -6], %)\n |> close(%)\n\nconst example003 = extrude(5, exampleSketch003)", "const exampleSketch = startSketchOn('XY')\n |> startProfileAt([4, 12], %)\n |> line([2, 0], %)\n |> line([0, -6], %)\n |> line([4, -6], %)\n |> line([0, -6], %)\n |> line([-3.75, -4.5], %)\n |> line([0, -5.5], %)\n |> line([-2, 0], %)\n |> close(%)\n\nconst example = revolve({ axis: 'y', angle: 180 }, exampleSketch)\n\nconst exampleSketch002 = startSketchOn(example, 'end')\n |> startProfileAt([4.5, -5], %)\n |> line([0, 5], %)\n |> line([5, 0], %)\n |> line([0, -5], %)\n |> close(%)\n\nconst example002 = extrude(5, exampleSketch002)", - "const a1 = startSketchOn({\n plane: {\n origin: { x: 0, y: 0, z: 0 },\n x_axis: { x: 1, y: 0, z: 0 },\n y_axis: { x: 0, y: 1, z: 0 },\n z_axis: { x: 0, y: 0, z: 1 }\n }\n })\n |> startProfileAt([0, 0], %)\n |> line([100.0, 0], %)\n |> yLine(-100.0, %)\n |> xLine(-100.0, %)\n |> yLine(100.0, %)\n |> close(%)\n |> extrude(3.14, %)" + "const a1 = startSketchOn({\n plane: {\n origin: { x: 0, y: 0, z: 0 },\n xAxis: { x: 1, y: 0, z: 0 },\n yAxis: { x: 0, y: 1, z: 0 },\n zAxis: { x: 0, y: 0, z: 1 }\n }\n })\n |> startProfileAt([0, 0], %)\n |> line([100.0, 0], %)\n |> yLine(-100.0, %)\n |> xLine(-100.0, %)\n |> yLine(100.0, %)\n |> close(%)\n |> extrude(3.14, %)" ] }, { @@ -210382,13 +210382,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -210449,13 +210449,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -213709,13 +213709,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -213776,13 +213776,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -217021,13 +217021,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -217088,13 +217088,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -220348,13 +220348,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -220415,13 +220415,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -223744,13 +223744,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -223811,13 +223811,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -227071,13 +227071,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -227138,13 +227138,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -230378,13 +230378,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -230445,13 +230445,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -233705,13 +233705,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -233772,13 +233772,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -237012,13 +237012,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -237079,13 +237079,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -240339,13 +240339,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -240406,13 +240406,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -243646,13 +243646,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -243713,13 +243713,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" @@ -246973,13 +246973,13 @@ "description": "A fillet.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "radius", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to fillet.", "type": "string", "format": "uuid" @@ -247040,13 +247040,13 @@ "description": "A chamfer.", "type": "object", "required": [ - "edge_id", + "edgeId", "id", "length", "type" ], "properties": { - "edge_id": { + "edgeId": { "description": "The engine id of the edge to chamfer.", "type": "string", "format": "uuid" diff --git a/docs/kcl/tangentialArc.md b/docs/kcl/tangentialArc.md index 0f5867edc..eacb2abd4 100644 --- a/docs/kcl/tangentialArc.md +++ b/docs/kcl/tangentialArc.md @@ -84,7 +84,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -98,7 +98,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -496,7 +496,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -510,7 +510,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/tangentialArcTo.md b/docs/kcl/tangentialArcTo.md index 079d436c4..f11ea697e 100644 --- a/docs/kcl/tangentialArcTo.md +++ b/docs/kcl/tangentialArcTo.md @@ -75,7 +75,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -89,7 +89,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -487,7 +487,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -501,7 +501,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/xLine.md b/docs/kcl/xLine.md index edf240e11..6a035aad5 100644 --- a/docs/kcl/xLine.md +++ b/docs/kcl/xLine.md @@ -78,7 +78,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -92,7 +92,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -490,7 +490,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -504,7 +504,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/xLineTo.md b/docs/kcl/xLineTo.md index 2c5ce0c4d..20b8591df 100644 --- a/docs/kcl/xLineTo.md +++ b/docs/kcl/xLineTo.md @@ -78,7 +78,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -92,7 +92,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -490,7 +490,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -504,7 +504,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/yLine.md b/docs/kcl/yLine.md index 8c9af2937..03da329fa 100644 --- a/docs/kcl/yLine.md +++ b/docs/kcl/yLine.md @@ -76,7 +76,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -90,7 +90,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -488,7 +488,7 @@ const example = extrude(10, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -502,7 +502,7 @@ const example = extrude(10, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/docs/kcl/yLineTo.md b/docs/kcl/yLineTo.md index 7cc9a2af0..00a83f64b 100644 --- a/docs/kcl/yLineTo.md +++ b/docs/kcl/yLineTo.md @@ -74,7 +74,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -88,7 +88,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, @@ -486,7 +486,7 @@ const example = extrude(5, exampleSketch) // Chamfers or fillets on this extrude group. filletOrChamfers: [{ // The engine id of the edge to fillet. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this fillet. id: uuid, radius: number, @@ -500,7 +500,7 @@ const example = extrude(5, exampleSketch) } | { // The engine id of the edge to chamfer. - edge_id: uuid, + edgeId: uuid, // The id of the engine command that called this chamfer. id: uuid, length: number, diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 027b88e6f..5037a6a57 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -188,7 +188,7 @@ dependencies = [ "tauri-plugin-shell", "tauri-plugin-updater", "tokio", - "toml 0.8.14", + "toml 0.8.16", "url", ] @@ -332,7 +332,7 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -367,7 +367,7 @@ checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -407,7 +407,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -550,7 +550,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", "syn_derive", ] @@ -721,7 +721,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a969e13a7589e9e3e4207e153bae624ade2b5622fb4684a4923b23ec3d57719" dependencies = [ "serde", - "toml 0.8.14", + "toml 0.8.16", ] [[package]] @@ -792,9 +792,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.9" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64acc1846d54c1fe936a78dc189c34e28d3f5afc348403f28ecf53660b9b8462" +checksum = "35723e6a11662c2afb578bcf0b88bf6ea8e21282a953428f240574fcc3a2b5b3" dependencies = [ "clap_builder", "clap_derive", @@ -802,9 +802,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.9" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8393d67ba2e7bfaf28a23458e4e2b543cc73a99595511eb207fdb8aede942" +checksum = "49eb96cbfa7cfa35017b7cd548c75b14c3118c98b423041d70562665e07fb0fa" dependencies = [ "anstream", "anstyle", @@ -816,14 +816,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.8" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" +checksum = "5d029b67f89d30bbb547c89fd5161293c0aec155fc691d7924b64550662db93e" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1073,7 +1073,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331" dependencies = [ "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1083,7 +1083,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edb49164822f3ee45b17acd4a208cfc1251410cf0cad9a833234c9890774dd9f" dependencies = [ "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1107,7 +1107,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1118,7 +1118,7 @@ checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" dependencies = [ "darling_core", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1179,7 +1179,7 @@ checksum = "4078275de501a61ceb9e759d37bdd3d7210e654dbc167ac1a3678ef4435ed57b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", "synstructure", ] @@ -1216,7 +1216,7 @@ dependencies = [ "regex", "serde", "serde_tokenstream", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1227,7 +1227,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1288,7 +1288,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1320,7 +1320,7 @@ checksum = "f2b99bf03862d7f545ebc28ddd33a665b50865f4dfd84031a393823879bd4c54" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1383,7 +1383,7 @@ dependencies = [ "cc", "memchr", "rustc_version", - "toml 0.8.14", + "toml 0.8.16", "vswhom", "winreg 0.52.0", ] @@ -1427,7 +1427,7 @@ checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1588,7 +1588,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1704,7 +1704,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -1980,7 +1980,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -2008,7 +2008,7 @@ dependencies = [ "inflections", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -2083,7 +2083,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -2571,7 +2571,7 @@ dependencies = [ [[package]] name = "kcl-lib" -version = "0.2.0" +version = "0.2.2" dependencies = [ "anyhow", "approx", @@ -2581,6 +2581,7 @@ dependencies = [ "bson", "chrono", "clap", + "convert_case 0.6.0", "dashmap 6.0.1", "databake", "derive-docs", @@ -2602,7 +2603,7 @@ dependencies = [ "thiserror", "tokio", "tokio-tungstenite", - "toml 0.8.14", + "toml 0.8.16", "tower-lsp", "ts-rs", "url", @@ -2628,9 +2629,9 @@ dependencies = [ [[package]] name = "kittycad" -version = "0.3.7" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1777b503442fa4666564cc3ab237d456df853a09648a4b2bb09622d25d021a5" +checksum = "36b87a9cca545825ba18005c1944b8525fac28867d99984178bf22c79fb5ec25" dependencies = [ "anyhow", "async-trait", @@ -3368,7 +3369,7 @@ dependencies = [ "regex", "regex-syntax 0.8.3", "structmeta", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -3487,7 +3488,7 @@ dependencies = [ "phf_shared 0.11.2", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -3555,7 +3556,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -4429,7 +4430,7 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -4549,7 +4550,7 @@ checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -4560,17 +4561,18 @@ checksum = "330f01ce65a3a5fe59a60c82f3c9a024b573b8a6e875bd233fe5f934e71d54e3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] name = "serde_json" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" +checksum = "4ab380d7d9f22ef3f21ad3e6c1ebe8e4fc7a2000ccba2e4d71fc96f15b2cb609" dependencies = [ "indexmap 2.2.6", "itoa 1.0.11", + "memchr", "ryu", "serde", ] @@ -4593,14 +4595,14 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] name = "serde_spanned" -version = "0.6.6" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" dependencies = [ "serde", ] @@ -4614,7 +4616,7 @@ dependencies = [ "proc-macro2", "quote", "serde", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -4656,7 +4658,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -4924,7 +4926,7 @@ dependencies = [ "proc-macro2", "quote", "structmeta-derive", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -4935,7 +4937,7 @@ checksum = "152a0b65a590ff6c3da95cabe2353ee04e6167c896b28e3b14478c2636c922fc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -4957,7 +4959,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -4990,9 +4992,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.71" +version = "2.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462" +checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" dependencies = [ "proc-macro2", "quote", @@ -5008,7 +5010,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -5025,7 +5027,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -5067,7 +5069,7 @@ dependencies = [ "cfg-expr", "heck 0.5.0", "pkg-config", - "toml 0.8.14", + "toml 0.8.16", "version-compare", ] @@ -5220,7 +5222,7 @@ dependencies = [ "serde_json", "tauri-utils", "tauri-winres", - "toml 0.8.14", + "toml 0.8.16", "walkdir", ] @@ -5242,7 +5244,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "syn 2.0.71", + "syn 2.0.72", "tauri-utils", "thiserror", "time", @@ -5260,7 +5262,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", "tauri-codegen", "tauri-utils", ] @@ -5278,7 +5280,7 @@ dependencies = [ "serde", "serde_json", "tauri-utils", - "toml 0.8.14", + "toml 0.8.16", "walkdir", ] @@ -5562,7 +5564,7 @@ dependencies = [ "serde_with", "swift-rs", "thiserror", - "toml 0.8.14", + "toml 0.8.16", "url", "urlpattern", "walkdir", @@ -5618,22 +5620,22 @@ checksum = "8eaa81235c7058867fa8c0e7314f33dcce9c215f535d1913822a2b3f5e289f3c" [[package]] name = "thiserror" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d20468752b09f49e909e55a5d338caa8bedf615594e9d80bc4c565d30faf798c" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -5730,7 +5732,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -5809,21 +5811,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.14" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" +checksum = "81967dd0dd2c1ab0bc3468bd7caecc32b8a4aa47d0c8c695d8c2b2108168d62c" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.14", + "toml_edit 0.22.17", ] [[package]] name = "toml_datetime" -version = "0.6.6" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +checksum = "f8fb9f64314842840f1d940ac544da178732128f1c78c21772e876579e0da1db" dependencies = [ "serde", ] @@ -5865,9 +5867,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.14" +version = "0.22.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" +checksum = "8d9f8729f5aea9562aac1cc0441f5d6de3cff1ee0c5d67293eeca5eb36ee7c16" dependencies = [ "indexmap 2.2.6", "serde", @@ -5930,7 +5932,7 @@ checksum = "84fd902d4e0b9a4b27f2f440108dc034e1758628a9b702f8ec61ad66355422fa" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -5959,7 +5961,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -6089,7 +6091,7 @@ checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", "termcolor", ] @@ -6306,7 +6308,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -6405,7 +6407,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", "wasm-bindgen-shared", ] @@ -6439,7 +6441,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -6580,7 +6582,7 @@ checksum = "ac1345798ecd8122468840bcdf1b95e5dc6d2206c5e4b0eafa078d061f59c9bc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -6686,7 +6688,7 @@ checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -6697,7 +6699,7 @@ checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] @@ -7149,7 +7151,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.72", ] [[package]] diff --git a/src/wasm-lib/Cargo.lock b/src/wasm-lib/Cargo.lock index cc35bb3fd..896b0595e 100644 --- a/src/wasm-lib/Cargo.lock +++ b/src/wasm-lib/Cargo.lock @@ -718,7 +718,7 @@ dependencies = [ [[package]] name = "derive-docs" -version = "0.1.20" +version = "0.1.21" dependencies = [ "Inflector", "anyhow", diff --git a/src/wasm-lib/derive-docs/Cargo.toml b/src/wasm-lib/derive-docs/Cargo.toml index e33bcfd91..555057207 100644 --- a/src/wasm-lib/derive-docs/Cargo.toml +++ b/src/wasm-lib/derive-docs/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "derive-docs" description = "A tool for generating documentation from Rust derive macros" -version = "0.1.20" +version = "0.1.21" edition = "2021" license = "MIT" repository = "https://github.com/KittyCAD/modeling-app" diff --git a/src/wasm-lib/derive-docs/src/lib.rs b/src/wasm-lib/derive-docs/src/lib.rs index 359ca9139..f78d9d18a 100644 --- a/src/wasm-lib/derive-docs/src/lib.rs +++ b/src/wasm-lib/derive-docs/src/lib.rs @@ -797,6 +797,12 @@ fn generate_code_block_test(fn_name: &str, code_block: &str, index: usize) -> pr ctx.run(&program, None).await.unwrap(); + // Ensure it lints. + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + // Zoom to fit. ctx.engine .send_modeling_cmd( diff --git a/src/wasm-lib/derive-docs/tests/args_with_lifetime.gen b/src/wasm-lib/derive-docs/tests/args_with_lifetime.gen index 6209de59d..917d3c6e3 100644 --- a/src/wasm-lib/derive-docs/tests/args_with_lifetime.gen +++ b/src/wasm-lib/derive-docs/tests/args_with_lifetime.gen @@ -46,6 +46,11 @@ mod test_examples_someFn { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/args_with_refs.gen b/src/wasm-lib/derive-docs/tests/args_with_refs.gen index 06dc47da6..b585df459 100644 --- a/src/wasm-lib/derive-docs/tests/args_with_refs.gen +++ b/src/wasm-lib/derive-docs/tests/args_with_refs.gen @@ -46,6 +46,11 @@ mod test_examples_someFn { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/array.gen b/src/wasm-lib/derive-docs/tests/array.gen index 6150ceede..5746fb00e 100644 --- a/src/wasm-lib/derive-docs/tests/array.gen +++ b/src/wasm-lib/derive-docs/tests/array.gen @@ -46,6 +46,11 @@ mod test_examples_show { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), @@ -136,6 +141,11 @@ mod test_examples_show { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/box.gen b/src/wasm-lib/derive-docs/tests/box.gen index c501a6680..f400efff3 100644 --- a/src/wasm-lib/derive-docs/tests/box.gen +++ b/src/wasm-lib/derive-docs/tests/box.gen @@ -46,6 +46,11 @@ mod test_examples_show { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/doc_comment_with_code.gen b/src/wasm-lib/derive-docs/tests/doc_comment_with_code.gen index b0a72b258..e4212904c 100644 --- a/src/wasm-lib/derive-docs/tests/doc_comment_with_code.gen +++ b/src/wasm-lib/derive-docs/tests/doc_comment_with_code.gen @@ -48,6 +48,11 @@ mod test_examples_my_func { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), @@ -138,6 +143,11 @@ mod test_examples_my_func { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/lineTo.gen b/src/wasm-lib/derive-docs/tests/lineTo.gen index 14e51e6b2..ea14427c2 100644 --- a/src/wasm-lib/derive-docs/tests/lineTo.gen +++ b/src/wasm-lib/derive-docs/tests/lineTo.gen @@ -48,6 +48,11 @@ mod test_examples_line_to { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), @@ -138,6 +143,11 @@ mod test_examples_line_to { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/min.gen b/src/wasm-lib/derive-docs/tests/min.gen index eedaa72bd..d25d0e842 100644 --- a/src/wasm-lib/derive-docs/tests/min.gen +++ b/src/wasm-lib/derive-docs/tests/min.gen @@ -46,6 +46,11 @@ mod test_examples_min { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), @@ -136,6 +141,11 @@ mod test_examples_min { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/option.gen b/src/wasm-lib/derive-docs/tests/option.gen index 099249b98..4ff0be9f2 100644 --- a/src/wasm-lib/derive-docs/tests/option.gen +++ b/src/wasm-lib/derive-docs/tests/option.gen @@ -46,6 +46,11 @@ mod test_examples_show { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/option_input_format.gen b/src/wasm-lib/derive-docs/tests/option_input_format.gen index 6496e6a42..9deae3f37 100644 --- a/src/wasm-lib/derive-docs/tests/option_input_format.gen +++ b/src/wasm-lib/derive-docs/tests/option_input_format.gen @@ -46,6 +46,11 @@ mod test_examples_import { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/return_vec_box_sketch_group.gen b/src/wasm-lib/derive-docs/tests/return_vec_box_sketch_group.gen index 5cc8622ca..a968bb630 100644 --- a/src/wasm-lib/derive-docs/tests/return_vec_box_sketch_group.gen +++ b/src/wasm-lib/derive-docs/tests/return_vec_box_sketch_group.gen @@ -46,6 +46,11 @@ mod test_examples_import { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/return_vec_sketch_group.gen b/src/wasm-lib/derive-docs/tests/return_vec_sketch_group.gen index 9f5e170eb..771631cbc 100644 --- a/src/wasm-lib/derive-docs/tests/return_vec_sketch_group.gen +++ b/src/wasm-lib/derive-docs/tests/return_vec_sketch_group.gen @@ -46,6 +46,11 @@ mod test_examples_import { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/derive-docs/tests/show.gen b/src/wasm-lib/derive-docs/tests/show.gen index 6bc83e0da..49a45f88f 100644 --- a/src/wasm-lib/derive-docs/tests/show.gen +++ b/src/wasm-lib/derive-docs/tests/show.gen @@ -46,6 +46,11 @@ mod test_examples_show { .await .unwrap(); ctx.run(&program, None).await.unwrap(); + let results = program.lint_all().unwrap(); + if !results.is_empty() { + panic!("Linting failed: {:?}", results); + } + ctx.engine .send_modeling_cmd( uuid::Uuid::new_v4(), diff --git a/src/wasm-lib/kcl/Cargo.toml b/src/wasm-lib/kcl/Cargo.toml index 0eb9a56aa..0ef92d8e4 100644 --- a/src/wasm-lib/kcl/Cargo.toml +++ b/src/wasm-lib/kcl/Cargo.toml @@ -17,9 +17,10 @@ async-trait = "0.1.81" base64 = "0.22.1" chrono = "0.4.38" clap = { version = "4.5.11", default-features = false, optional = true } +convert_case = "0.6.0" dashmap = "6.0.1" databake = { version = "0.1.8", features = ["derive"] } -derive-docs = { version = "0.1.20", path = "../derive-docs" } +derive-docs = { version = "0.1.21", path = "../derive-docs" } form_urlencoded = "1.2.1" futures = { version = "0.3.30" } git_rev = "0.1.0" @@ -82,7 +83,6 @@ debug = true # Flamegraphs of benchmarks require accurate debug symbols [dev-dependencies] base64 = "0.22.1" -convert_case = "0.6.0" criterion = { version = "0.5.1", features = ["async_tokio"] } expectorate = "1.1.0" iai = "0.1" diff --git a/src/wasm-lib/kcl/src/ast/types.rs b/src/wasm-lib/kcl/src/ast/types.rs index 16ad2e277..51c77d17b 100644 --- a/src/wasm-lib/kcl/src/ast/types.rs +++ b/src/wasm-lib/kcl/src/ast/types.rs @@ -209,6 +209,7 @@ impl Program { pub fn lint_all(&self) -> Result> { let rules = vec![ crate::lint::checks::lint_variables, + crate::lint::checks::lint_object_properties, crate::lint::checks::lint_call_expressions, ]; diff --git a/src/wasm-lib/kcl/src/docs.rs b/src/wasm-lib/kcl/src/docs.rs index d3c8e75d5..183ec69e2 100644 --- a/src/wasm-lib/kcl/src/docs.rs +++ b/src/wasm-lib/kcl/src/docs.rs @@ -3,6 +3,7 @@ use std::path::Path; use anyhow::Result; +use convert_case::Casing; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; use tower_lsp::lsp_types::{ @@ -56,7 +57,10 @@ pub struct StdLibFnArg { impl StdLibFnArg { #[allow(dead_code)] pub fn get_type_string(&self) -> Result<(String, bool)> { - get_type_string_from_schema(&self.schema.clone()) + match get_type_string_from_schema(&self.schema.clone()) { + Ok(r) => Ok(r), + Err(e) => anyhow::bail!("error getting type string for {}: {:#?}", self.type_, e), + } } pub fn get_autocomplete_string(&self) -> Result { @@ -364,6 +368,13 @@ pub fn get_type_string_from_schema(schema: &schemars::schema::Schema) -> Result< continue; } + // Make sure none of the object properties are in snake case. + // We want the language to be consistent. + // This will fail in the docs generation and not at runtime. + if !prop_name.is_case(convert_case::Case::Camel) { + anyhow::bail!("expected camel case: {:#?}", prop_name); + } + if let Some(description) = get_description_string_from_schema(prop) { fn_docs.push_str(&format!("\t// {}\n", description)); } diff --git a/src/wasm-lib/kcl/src/executor.rs b/src/wasm-lib/kcl/src/executor.rs index 3b6672476..550b67597 100644 --- a/src/wasm-lib/kcl/src/executor.rs +++ b/src/wasm-lib/kcl/src/executor.rs @@ -1008,6 +1008,7 @@ pub enum FilletOrChamfer { id: uuid::Uuid, radius: f64, /// The engine id of the edge to fillet. + #[serde(rename = "edgeId")] edge_id: uuid::Uuid, tag: Box>, }, @@ -1017,6 +1018,7 @@ pub enum FilletOrChamfer { id: uuid::Uuid, length: f64, /// The engine id of the edge to chamfer. + #[serde(rename = "edgeId")] edge_id: uuid::Uuid, tag: Box>, }, diff --git a/src/wasm-lib/kcl/src/lint/checks/camel_case.rs b/src/wasm-lib/kcl/src/lint/checks/camel_case.rs index 08712be1a..872a39539 100644 --- a/src/wasm-lib/kcl/src/lint/checks/camel_case.rs +++ b/src/wasm-lib/kcl/src/lint/checks/camel_case.rs @@ -1,7 +1,8 @@ use anyhow::Result; +use convert_case::Casing; use crate::{ - ast::types::VariableDeclarator, + ast::types::{ObjectProperty, VariableDeclarator}, executor::SourceRange, lint::rule::{def_finding, Discovered, Finding}, walk::Node, @@ -22,17 +23,25 @@ https://en.wikipedia.org/wiki/Camel_case " ); -fn lint_lower_camel_case(decl: &VariableDeclarator) -> Result> { +fn lint_lower_camel_case_var(decl: &VariableDeclarator) -> Result> { let mut findings = vec![]; let ident = &decl.id; let name = &ident.name; - if !name.chars().next().unwrap().is_lowercase() { + if !name.is_case(convert_case::Case::Camel) { findings.push(Z0001.at(format!("found '{}'", name), SourceRange::new(ident.start, ident.end))); return Ok(findings); } - if name.contains('-') || name.contains('_') { + Ok(findings) +} + +fn lint_lower_camel_case_property(decl: &ObjectProperty) -> Result> { + let mut findings = vec![]; + let ident = &decl.key; + let name = &ident.name; + + if !name.is_case(convert_case::Case::Camel) { findings.push(Z0001.at(format!("found '{}'", name), SourceRange::new(ident.start, ident.end))); return Ok(findings); } @@ -48,13 +57,25 @@ pub fn lint_variables(decl: Node) -> Result> { Ok(decl .declarations .iter() - .flat_map(|v| lint_lower_camel_case(v).unwrap_or_default()) + .flat_map(|v| lint_lower_camel_case_var(v).unwrap_or_default()) + .collect()) +} + +pub fn lint_object_properties(decl: Node) -> Result> { + let Node::ObjectExpression(decl) = decl else { + return Ok(vec![]); + }; + + Ok(decl + .properties + .iter() + .flat_map(|v| lint_lower_camel_case_property(v).unwrap_or_default()) .collect()) } #[cfg(test)] mod tests { - use super::{lint_variables, Z0001}; + use super::{lint_object_properties, lint_variables, Z0001}; use crate::lint::rule::{assert_finding, test_finding, test_no_finding}; #[test] @@ -134,6 +155,15 @@ const part001 = startSketchOn('XY') |> angledLineToX({ angle: 60, to: pipeLargeDia }, %) |> close(%) |> revolve({ axis: 'y' }, %) +" + ); + + test_finding!( + z0001_full_bad_object, + lint_object_properties, + Z0001, + "\ +let circ = {angle_start: 0, angle_end: 360, radius: radius} " ); } diff --git a/src/wasm-lib/kcl/src/lint/checks/mod.rs b/src/wasm-lib/kcl/src/lint/checks/mod.rs index 2afaf13c9..27d94e08b 100644 --- a/src/wasm-lib/kcl/src/lint/checks/mod.rs +++ b/src/wasm-lib/kcl/src/lint/checks/mod.rs @@ -2,5 +2,5 @@ mod camel_case; mod std_lib_args; #[allow(unused_imports)] -pub use camel_case::{lint_variables, Z0001}; +pub use camel_case::{lint_object_properties, lint_variables, Z0001}; pub use std_lib_args::{lint_call_expressions, Z0002}; diff --git a/src/wasm-lib/kcl/src/lint/checks/std_lib_args.rs b/src/wasm-lib/kcl/src/lint/checks/std_lib_args.rs index d87000223..da92dae39 100644 --- a/src/wasm-lib/kcl/src/lint/checks/std_lib_args.rs +++ b/src/wasm-lib/kcl/src/lint/checks/std_lib_args.rs @@ -21,6 +21,26 @@ Previously, we have not been failing when too many arguments are passed to a std fn lint_too_many_args_std_lib_function(f: Box, exp: &CallExpression) -> Result> { let mut findings = vec![]; + if f.name() == "pow" { + if exp.arguments.len() != 2 { + findings.push(Z0002.at( + format!("expected 2 arguments, found {}", exp.arguments.len()), + SourceRange::new(exp.start, exp.end), + )); + } + return Ok(findings); + } + + if f.name() == "max" || f.name() == "min" { + if exp.arguments.len() < 2 { + findings.push(Z0002.at( + format!("expected at least 2 arguments, found {}", exp.arguments.len()), + SourceRange::new(exp.start, exp.end), + )); + } + return Ok(findings); + } + if exp.arguments.len() > f.args().len() { findings.push(Z0002.at( format!("expected {} arguments, found {}", f.args().len(), exp.arguments.len()), diff --git a/src/wasm-lib/kcl/src/std/args.rs b/src/wasm-lib/kcl/src/std/args.rs index 49d127184..8076e453b 100644 --- a/src/wasm-lib/kcl/src/std/args.rs +++ b/src/wasm-lib/kcl/src/std/args.rs @@ -1,5 +1,9 @@ use std::any::type_name; +use kittycad::types::OkWebSocketResponseData; +use serde::de::DeserializeOwned; + +use super::{shapes::SketchSurfaceOrGroup, sketch::FaceTag, FnAsArg}; use crate::{ ast::types::{parse_json_number_as_f64, TagDeclarator}, errors::{KclError, KclErrorDetails}, @@ -8,10 +12,6 @@ use crate::{ SketchGroup, SketchGroupSet, SketchSurface, SourceRange, TagIdentifier, }, }; -use kittycad::types::OkWebSocketResponseData; -use serde::de::DeserializeOwned; - -use super::{shapes::SketchSurfaceOrGroup, sketch::FaceTag, FnAsArg}; #[derive(Debug, Clone)] pub struct Args { diff --git a/src/wasm-lib/kcl/src/std/extrude.rs b/src/wasm-lib/kcl/src/std/extrude.rs index 5c085343c..14a85b457 100644 --- a/src/wasm-lib/kcl/src/std/extrude.rs +++ b/src/wasm-lib/kcl/src/std/extrude.rs @@ -30,8 +30,8 @@ pub async fn extrude(args: Args) -> Result { /// |> startProfileAt([0, 0], %) /// |> line([10, 0], %) /// |> arc({ -/// angle_end: 0, -/// angle_start: 120, +/// angleStart: 120, +/// angleEnd: 0, /// radius: 5, /// }, %) /// |> line([5, 0], %) @@ -50,8 +50,8 @@ pub async fn extrude(args: Args) -> Result { /// const exampleSketch = startSketchOn('XZ') /// |> startProfileAt([-10, 0], %) /// |> arc({ -/// angle_end: -60, -/// angle_start: 120, +/// angleStart: 120, +/// angleEnd: -60, /// radius: 5, /// }, %) /// |> line([10, 0], %) diff --git a/src/wasm-lib/kcl/src/std/helix.rs b/src/wasm-lib/kcl/src/std/helix.rs index de09ec8fa..8e0541e26 100644 --- a/src/wasm-lib/kcl/src/std/helix.rs +++ b/src/wasm-lib/kcl/src/std/helix.rs @@ -19,6 +19,7 @@ pub struct HelixData { /// Number of revolutions. pub revolutions: f64, /// Start angle (in degrees). + #[serde(rename = "angleStart", alias = "angle_start")] pub angle_start: f64, /// Is the helix rotation counter clockwise? /// The default is `false`. @@ -44,10 +45,9 @@ pub async fn helix(args: Args) -> Result { /// |> circle([5, 5], 10, %) /// |> extrude(10, %) /// |> helix({ -/// angle_start: 0, +/// angleStart: 0, /// ccw: true, /// revolutions: 16, -/// angle_start: 0 /// }, %) /// ``` #[stdlib { diff --git a/src/wasm-lib/kcl/src/std/mod.rs b/src/wasm-lib/kcl/src/std/mod.rs index fc1ebe615..94d104cc0 100644 --- a/src/wasm-lib/kcl/src/std/mod.rs +++ b/src/wasm-lib/kcl/src/std/mod.rs @@ -23,6 +23,7 @@ pub mod utils; use std::collections::HashMap; use anyhow::Result; +pub use args::Args; use derive_docs::stdlib; use lazy_static::lazy_static; use parse_display::{Display, FromStr}; @@ -36,7 +37,6 @@ use crate::{ executor::{MemoryItem, ProgramMemory, SketchGroup, SketchSurface}, std::kcl_stdlib::KclStdLibFn, }; -pub use args::Args; pub type StdFn = fn(Args) -> std::pin::Pin> + Send>>; diff --git a/src/wasm-lib/kcl/src/std/sketch.rs b/src/wasm-lib/kcl/src/std/sketch.rs index f9c0d1cbb..a8373209b 100644 --- a/src/wasm-lib/kcl/src/std/sketch.rs +++ b/src/wasm-lib/kcl/src/std/sketch.rs @@ -902,10 +902,13 @@ pub enum PlaneData { /// Origin of the plane. origin: Box, /// What should the plane’s X axis be? + #[serde(rename = "xAxis", alias = "x_axis")] x_axis: Box, /// What should the plane’s Y axis be? + #[serde(rename = "yAxis", alias = "y_axis")] y_axis: Box, /// The z-axis (normal). + #[serde(rename = "zAxis", alias = "z_axis")] z_axis: Box, }, } @@ -1084,9 +1087,9 @@ pub async fn start_sketch_on(args: Args) -> Result { /// const a1 = startSketchOn({ /// plane: { /// origin: { x: 0, y: 0, z: 0 }, -/// x_axis: { x: 1, y: 0, z: 0 }, -/// y_axis: { x: 0, y: 1, z: 0 }, -/// z_axis: { x: 0, y: 0, z: 1 } +/// xAxis: { x: 1, y: 0, z: 0 }, +/// yAxis: { x: 0, y: 1, z: 0 }, +/// zAxis: { x: 0, y: 0, z: 1 } /// } /// }) /// |> startProfileAt([0, 0], %) @@ -1466,8 +1469,10 @@ pub enum ArcData { /// Angles and radius with an optional tag. AnglesAndRadius { /// The start angle. + #[serde(rename = "angleStart", alias = "angle_start")] angle_start: f64, /// The end angle. + #[serde(rename = "angleEnd", alias = "angle_end")] angle_end: f64, /// The radius. radius: f64, @@ -1499,8 +1504,8 @@ pub async fn arc(args: Args) -> Result { /// |> startProfileAt([0, 0], %) /// |> line([10, 0], %) /// |> arc({ -/// angle_start: 0, -/// angle_end: 280, +/// angleStart: 0, +/// angleEnd: 280, /// radius: 16 /// }, %) /// |> close(%)