Compare commits
	
		
			1 Commits
		
	
	
		
			jess/test-
			...
			nrc-depr-m
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3541036685 | 
| @ -4,9 +4,11 @@ excerpt: "Return the value of Euler’s number `e`." | |||||||
| layout: manual | layout: manual | ||||||
| --- | --- | ||||||
|  |  | ||||||
|  | **WARNING:** This function is deprecated. | ||||||
|  |  | ||||||
| Return the value of Euler’s number `e`. | Return the value of Euler’s number `e`. | ||||||
|  |  | ||||||
|  | **DEPRECATED** use E | ||||||
|  |  | ||||||
| ```js | ```js | ||||||
| e() -> number | e() -> number | ||||||
|  | |||||||
| @ -39,7 +39,6 @@ layout: manual | |||||||
| * [`close`](kcl/close) | * [`close`](kcl/close) | ||||||
| * [`cm`](kcl/cm) | * [`cm`](kcl/cm) | ||||||
| * [`cos`](kcl/cos) | * [`cos`](kcl/cos) | ||||||
| * [`e`](kcl/e) |  | ||||||
| * [`extrude`](kcl/extrude) | * [`extrude`](kcl/extrude) | ||||||
| * [`fillet`](kcl/fillet) | * [`fillet`](kcl/fillet) | ||||||
| * [`floor`](kcl/floor) | * [`floor`](kcl/floor) | ||||||
| @ -78,7 +77,6 @@ layout: manual | |||||||
| * [`patternLinear3d`](kcl/patternLinear3d) | * [`patternLinear3d`](kcl/patternLinear3d) | ||||||
| * [`patternTransform`](kcl/patternTransform) | * [`patternTransform`](kcl/patternTransform) | ||||||
| * [`patternTransform2d`](kcl/patternTransform2d) | * [`patternTransform2d`](kcl/patternTransform2d) | ||||||
| * [`pi`](kcl/pi) |  | ||||||
| * [`polar`](kcl/polar) | * [`polar`](kcl/polar) | ||||||
| * [`polygon`](kcl/polygon) | * [`polygon`](kcl/polygon) | ||||||
| * [`pop`](kcl/pop) | * [`pop`](kcl/pop) | ||||||
| @ -110,7 +108,6 @@ layout: manual | |||||||
| * [`tangentialArc`](kcl/tangentialArc) | * [`tangentialArc`](kcl/tangentialArc) | ||||||
| * [`tangentialArcTo`](kcl/tangentialArcTo) | * [`tangentialArcTo`](kcl/tangentialArcTo) | ||||||
| * [`tangentialArcToRelative`](kcl/tangentialArcToRelative) | * [`tangentialArcToRelative`](kcl/tangentialArcToRelative) | ||||||
| * [`tau`](kcl/tau) |  | ||||||
| * [`toDegrees`](kcl/toDegrees) | * [`toDegrees`](kcl/toDegrees) | ||||||
| * [`toRadians`](kcl/toRadians) | * [`toRadians`](kcl/toRadians) | ||||||
| * [`xLine`](kcl/xLine) | * [`xLine`](kcl/xLine) | ||||||
|  | |||||||
| @ -4,9 +4,11 @@ excerpt: "Return the value of `pi`. Archimedes’ constant (π)." | |||||||
| layout: manual | layout: manual | ||||||
| --- | --- | ||||||
|  |  | ||||||
|  | **WARNING:** This function is deprecated. | ||||||
|  |  | ||||||
| Return the value of `pi`. Archimedes’ constant (π). | Return the value of `pi`. Archimedes’ constant (π). | ||||||
|  |  | ||||||
|  | **DEPRECATED** use PI | ||||||
|  |  | ||||||
| ```js | ```js | ||||||
| pi() -> number | pi() -> number | ||||||
|  | |||||||
| @ -76,7 +76,7 @@ assertEqual(sum, 6, 0.00001, "1 + 2 + 3 summed is 6") | |||||||
| // Declare a function that sketches a decagon. | // Declare a function that sketches a decagon. | ||||||
| fn decagon(radius) { | fn decagon(radius) { | ||||||
|   // Each side of the decagon is turned this many degrees from the previous angle. |   // Each side of the decagon is turned this many degrees from the previous angle. | ||||||
|   stepAngle = 1 / 10 * tau() |   stepAngle = 1 / 10 * TAU | ||||||
|  |  | ||||||
|   // Start the decagon sketch at this point. |   // Start the decagon sketch at this point. | ||||||
|   startOfDecagonSketch = startSketchOn('XY') |   startOfDecagonSketch = startSketchOn('XY') | ||||||
| @ -97,7 +97,7 @@ fn decagon(radius) { | |||||||
|  |  | ||||||
| /* The `decagon` above is basically like this pseudo-code: | /* The `decagon` above is basically like this pseudo-code: | ||||||
| fn decagon(radius): | fn decagon(radius): | ||||||
|     stepAngle = (1/10) * tau() |     stepAngle = (1/10) * TAU | ||||||
|     plane = startSketchOn('XY') |     plane = startSketchOn('XY') | ||||||
|     startOfDecagonSketch = startProfileAt([(cos(0)*radius), (sin(0) * radius)], plane) |     startOfDecagonSketch = startProfileAt([(cos(0)*radius), (sin(0) * radius)], plane) | ||||||
|  |  | ||||||
|  | |||||||
| @ -65161,7 +65161,7 @@ | |||||||
|   { |   { | ||||||
|     "name": "e", |     "name": "e", | ||||||
|     "summary": "Return the value of Euler’s number `e`.", |     "summary": "Return the value of Euler’s number `e`.", | ||||||
|     "description": "", |     "description": "**DEPRECATED** use E", | ||||||
|     "tags": [ |     "tags": [ | ||||||
|       "math" |       "math" | ||||||
|     ], |     ], | ||||||
| @ -65180,7 +65180,7 @@ | |||||||
|       "labelRequired": true |       "labelRequired": true | ||||||
|     }, |     }, | ||||||
|     "unpublished": false, |     "unpublished": false, | ||||||
|     "deprecated": false, |     "deprecated": true, | ||||||
|     "examples": [ |     "examples": [ | ||||||
|       "exampleSketch = startSketchOn(\"XZ\")\n  |> startProfileAt([0, 0], %)\n  |> angledLine({ angle = 30, length = 2 * e() ^ 2 }, %)\n  |> yLineTo(0, %)\n  |> close(%)\n\nexample = extrude(10, exampleSketch)" |       "exampleSketch = startSketchOn(\"XZ\")\n  |> startProfileAt([0, 0], %)\n  |> angledLine({ angle = 30, length = 2 * e() ^ 2 }, %)\n  |> yLineTo(0, %)\n  |> close(%)\n\nexample = extrude(10, exampleSketch)" | ||||||
|     ] |     ] | ||||||
| @ -133801,7 +133801,7 @@ | |||||||
|   { |   { | ||||||
|     "name": "pi", |     "name": "pi", | ||||||
|     "summary": "Return the value of `pi`. Archimedes’ constant (π).", |     "summary": "Return the value of `pi`. Archimedes’ constant (π).", | ||||||
|     "description": "", |     "description": "**DEPRECATED** use PI", | ||||||
|     "tags": [ |     "tags": [ | ||||||
|       "math" |       "math" | ||||||
|     ], |     ], | ||||||
| @ -133820,7 +133820,7 @@ | |||||||
|       "labelRequired": true |       "labelRequired": true | ||||||
|     }, |     }, | ||||||
|     "unpublished": false, |     "unpublished": false, | ||||||
|     "deprecated": false, |     "deprecated": true, | ||||||
|     "examples": [ |     "examples": [ | ||||||
|       "circumference = 70\n\nexampleSketch = startSketchOn(\"XZ\")\n  |> circle({\n       center = [0, 0],\n       radius = circumference / (2 * pi())\n     }, %)\n\nexample = extrude(5, exampleSketch)" |       "circumference = 70\n\nexampleSketch = startSketchOn(\"XZ\")\n  |> circle({\n       center = [0, 0],\n       radius = circumference / (2 * pi())\n     }, %)\n\nexample = extrude(5, exampleSketch)" | ||||||
|     ] |     ] | ||||||
| @ -164365,7 +164365,7 @@ | |||||||
|     "examples": [ |     "examples": [ | ||||||
|       "// This function adds two numbers.\nfn add(a, b) {\n  return a + b\n}\n\n// This function adds an array of numbers.\n// It uses the `reduce` function, to call the `add` function on every\n// element of the `arr` parameter. The starting value is 0.\nfn sum(arr) {\n  return reduce(arr, 0, add)\n}\n\n/* The above is basically like this pseudo-code:\nfn sum(arr):\n    sumSoFar = 0\n    for i in arr:\n        sumSoFar = add(sumSoFar, i)\n    return sumSoFar */\n\n\n// We use `assertEqual` to check that our `sum` function gives the\n// expected result. It's good to check your work!\nassertEqual(sum([1, 2, 3]), 6, 0.00001, \"1 + 2 + 3 summed is 6\")", |       "// This function adds two numbers.\nfn add(a, b) {\n  return a + b\n}\n\n// This function adds an array of numbers.\n// It uses the `reduce` function, to call the `add` function on every\n// element of the `arr` parameter. The starting value is 0.\nfn sum(arr) {\n  return reduce(arr, 0, add)\n}\n\n/* The above is basically like this pseudo-code:\nfn sum(arr):\n    sumSoFar = 0\n    for i in arr:\n        sumSoFar = add(sumSoFar, i)\n    return sumSoFar */\n\n\n// We use `assertEqual` to check that our `sum` function gives the\n// expected result. It's good to check your work!\nassertEqual(sum([1, 2, 3]), 6, 0.00001, \"1 + 2 + 3 summed is 6\")", | ||||||
|       "// This example works just like the previous example above, but it uses\n// an anonymous `add` function as its parameter, instead of declaring a\n// named function outside.\narr = [1, 2, 3]\nsum = reduce(arr, 0, fn(i, result_so_far) {\n  return i + result_so_far\n})\n\n// We use `assertEqual` to check that our `sum` function gives the\n// expected result. It's good to check your work!\nassertEqual(sum, 6, 0.00001, \"1 + 2 + 3 summed is 6\")", |       "// This example works just like the previous example above, but it uses\n// an anonymous `add` function as its parameter, instead of declaring a\n// named function outside.\narr = [1, 2, 3]\nsum = reduce(arr, 0, fn(i, result_so_far) {\n  return i + result_so_far\n})\n\n// We use `assertEqual` to check that our `sum` function gives the\n// expected result. It's good to check your work!\nassertEqual(sum, 6, 0.00001, \"1 + 2 + 3 summed is 6\")", | ||||||
|       "// Declare a function that sketches a decagon.\nfn decagon(radius) {\n  // Each side of the decagon is turned this many degrees from the previous angle.\n  stepAngle = 1 / 10 * tau()\n\n  // Start the decagon sketch at this point.\n  startOfDecagonSketch = startSketchOn('XY')\n    |> startProfileAt([cos(0) * radius, sin(0) * radius], %)\n\n    // Use a `reduce` to draw the remaining decagon sides.\n    // For each number in the array 1..10, run the given function,\n  // which takes a partially-sketched decagon and adds one more edge to it.\n  fullDecagon = reduce([1..10], startOfDecagonSketch, fn(i, partialDecagon) {\n    // Draw one edge of the decagon.\n    x = cos(stepAngle * i) * radius\n    y = sin(stepAngle * i) * radius\n    return lineTo([x, y], partialDecagon)\n  })\n\n  return fullDecagon\n}\n\n/* The `decagon` above is basically like this pseudo-code:\nfn decagon(radius):\n    stepAngle = (1/10) * tau()\n    plane = startSketchOn('XY')\n    startOfDecagonSketch = startProfileAt([(cos(0)*radius), (sin(0) * radius)], plane)\n\n    // Here's the reduce part.\n    partialDecagon = startOfDecagonSketch\n    for i in [1..10]:\n        x = cos(stepAngle * i) * radius\n        y = sin(stepAngle * i) * radius\n        partialDecagon = lineTo([x, y], partialDecagon)\n    fullDecagon = partialDecagon // it's now full\n    return fullDecagon */\n\n\n// Use the `decagon` function declared above, to sketch a decagon with radius 5.\ndecagon(5.0)\n  |> close(%)" |       "// Declare a function that sketches a decagon.\nfn decagon(radius) {\n  // Each side of the decagon is turned this many degrees from the previous angle.\n  stepAngle = 1 / 10 * TAU\n\n  // Start the decagon sketch at this point.\n  startOfDecagonSketch = startSketchOn('XY')\n    |> startProfileAt([cos(0) * radius, sin(0) * radius], %)\n\n    // Use a `reduce` to draw the remaining decagon sides.\n    // For each number in the array 1..10, run the given function,\n  // which takes a partially-sketched decagon and adds one more edge to it.\n  fullDecagon = reduce([1..10], startOfDecagonSketch, fn(i, partialDecagon) {\n    // Draw one edge of the decagon.\n    x = cos(stepAngle * i) * radius\n    y = sin(stepAngle * i) * radius\n    return lineTo([x, y], partialDecagon)\n  })\n\n  return fullDecagon\n}\n\n/* The `decagon` above is basically like this pseudo-code:\nfn decagon(radius):\n    stepAngle = (1/10) * TAU\n    plane = startSketchOn('XY')\n    startOfDecagonSketch = startProfileAt([(cos(0)*radius), (sin(0) * radius)], plane)\n\n    // Here's the reduce part.\n    partialDecagon = startOfDecagonSketch\n    for i in [1..10]:\n        x = cos(stepAngle * i) * radius\n        y = sin(stepAngle * i) * radius\n        partialDecagon = lineTo([x, y], partialDecagon)\n    fullDecagon = partialDecagon // it's now full\n    return fullDecagon */\n\n\n// Use the `decagon` function declared above, to sketch a decagon with radius 5.\ndecagon(5.0)\n  |> close(%)" | ||||||
|     ] |     ] | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
| @ -207096,7 +207096,7 @@ | |||||||
|   { |   { | ||||||
|     "name": "tau", |     "name": "tau", | ||||||
|     "summary": "Return the value of `tau`. The full circle constant (τ). Equal to 2π.", |     "summary": "Return the value of `tau`. The full circle constant (τ). Equal to 2π.", | ||||||
|     "description": "", |     "description": "**DEPRECATED** use TAU", | ||||||
|     "tags": [ |     "tags": [ | ||||||
|       "math" |       "math" | ||||||
|     ], |     ], | ||||||
| @ -207115,7 +207115,7 @@ | |||||||
|       "labelRequired": true |       "labelRequired": true | ||||||
|     }, |     }, | ||||||
|     "unpublished": false, |     "unpublished": false, | ||||||
|     "deprecated": false, |     "deprecated": true, | ||||||
|     "examples": [ |     "examples": [ | ||||||
|       "exampleSketch = startSketchOn(\"XZ\")\n  |> startProfileAt([0, 0], %)\n  |> angledLine({ angle = 50, length = 10 * tau() }, %)\n  |> yLineTo(0, %)\n  |> close(%)\n\nexample = extrude(5, exampleSketch)" |       "exampleSketch = startSketchOn(\"XZ\")\n  |> startProfileAt([0, 0], %)\n  |> angledLine({ angle = 50, length = 10 * tau() }, %)\n  |> yLineTo(0, %)\n  |> close(%)\n\nexample = extrude(5, exampleSketch)" | ||||||
|     ] |     ] | ||||||
| @ -207157,7 +207157,7 @@ | |||||||
|     "unpublished": false, |     "unpublished": false, | ||||||
|     "deprecated": false, |     "deprecated": false, | ||||||
|     "examples": [ |     "examples": [ | ||||||
|       "exampleSketch = startSketchOn(\"XZ\")\n  |> startProfileAt([0, 0], %)\n  |> angledLine({\n       angle = 50,\n       length = 70 * cos(toDegrees(pi() / 4))\n     }, %)\n  |> yLineTo(0, %)\n  |> close(%)\n\nexample = extrude(5, exampleSketch)" |       "exampleSketch = startSketchOn(\"XZ\")\n  |> startProfileAt([0, 0], %)\n  |> angledLine({\n       angle = 50,\n       length = 70 * cos(toDegrees(PI / 4))\n     }, %)\n  |> yLineTo(0, %)\n  |> close(%)\n\nexample = extrude(5, exampleSketch)" | ||||||
|     ] |     ] | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|  | |||||||
| @ -4,9 +4,11 @@ excerpt: "Return the value of `tau`. The full circle constant (τ). Equal to 2π | |||||||
| layout: manual | layout: manual | ||||||
| --- | --- | ||||||
|  |  | ||||||
|  | **WARNING:** This function is deprecated. | ||||||
|  |  | ||||||
| Return the value of `tau`. The full circle constant (τ). Equal to 2π. | Return the value of `tau`. The full circle constant (τ). Equal to 2π. | ||||||
|  |  | ||||||
|  | **DEPRECATED** use TAU | ||||||
|  |  | ||||||
| ```js | ```js | ||||||
| tau() -> number | tau() -> number | ||||||
|  | |||||||
| @ -35,7 +35,7 @@ exampleSketch = startSketchOn("XZ") | |||||||
|   |> startProfileAt([0, 0], %) |   |> startProfileAt([0, 0], %) | ||||||
|   |> angledLine({ |   |> angledLine({ | ||||||
|        angle = 50, |        angle = 50, | ||||||
|        length = 70 * cos(toDegrees(pi() / 4)) |        length = 70 * cos(toDegrees(PI / 4)) | ||||||
|      }, %) |      }, %) | ||||||
|   |> yLineTo(0, %) |   |> yLineTo(0, %) | ||||||
|   |> close(%) |   |> close(%) | ||||||
|  | |||||||
| @ -434,10 +434,13 @@ impl Environment { | |||||||
|         Self { |         Self { | ||||||
|             // Prelude |             // Prelude | ||||||
|             bindings: IndexMap::from([ |             bindings: IndexMap::from([ | ||||||
|                 ("ZERO".to_string(), KclValue::from_number(0.0, NO_META)), |                 ("ZERO".to_owned(), KclValue::from_number(0.0, NO_META)), | ||||||
|                 ("QUARTER_TURN".to_string(), KclValue::from_number(90.0, NO_META)), |                 ("QUARTER_TURN".to_owned(), KclValue::from_number(90.0, NO_META)), | ||||||
|                 ("HALF_TURN".to_string(), KclValue::from_number(180.0, NO_META)), |                 ("HALF_TURN".to_owned(), KclValue::from_number(180.0, NO_META)), | ||||||
|                 ("THREE_QUARTER_TURN".to_string(), KclValue::from_number(270.0, NO_META)), |                 ("THREE_QUARTER_TURN".to_owned(), KclValue::from_number(270.0, NO_META)), | ||||||
|  |                 ("PI".to_owned(), KclValue::from_number(std::f64::consts::PI, NO_META)), | ||||||
|  |                 ("E".to_owned(), KclValue::from_number(std::f64::consts::E, NO_META)), | ||||||
|  |                 ("TAU".to_owned(), KclValue::from_number(std::f64::consts::TAU, NO_META)), | ||||||
|             ]), |             ]), | ||||||
|             parent: None, |             parent: None, | ||||||
|         } |         } | ||||||
| @ -3344,7 +3347,7 @@ let shape = layer() |> patternTransform(10, transform, %) | |||||||
|  |  | ||||||
|     #[tokio::test(flavor = "multi_thread")] |     #[tokio::test(flavor = "multi_thread")] | ||||||
|     async fn test_math_execute_with_pi() { |     async fn test_math_execute_with_pi() { | ||||||
|         let ast = r#"const myVar = pi() * 2"#; |         let ast = r#"const myVar = PI * 2"#; | ||||||
|         let (_, _, exec_state) = parse_execute(ast).await.unwrap(); |         let (_, _, exec_state) = parse_execute(ast).await.unwrap(); | ||||||
|         assert_eq!( |         assert_eq!( | ||||||
|             std::f64::consts::TAU, |             std::f64::consts::TAU, | ||||||
|  | |||||||
| @ -141,7 +141,7 @@ pub async fn reduce(exec_state: &mut ExecState, args: Args) -> Result<KclValue, | |||||||
| /// // Declare a function that sketches a decagon. | /// // Declare a function that sketches a decagon. | ||||||
| /// fn decagon(radius) { | /// fn decagon(radius) { | ||||||
| ///   // Each side of the decagon is turned this many degrees from the previous angle. | ///   // Each side of the decagon is turned this many degrees from the previous angle. | ||||||
| ///   stepAngle = (1/10) * tau() | ///   stepAngle = (1/10) * TAU | ||||||
| /// | /// | ||||||
| ///   // Start the decagon sketch at this point. | ///   // Start the decagon sketch at this point. | ||||||
| ///   startOfDecagonSketch = startSketchOn('XY') | ///   startOfDecagonSketch = startSketchOn('XY') | ||||||
| @ -164,7 +164,7 @@ pub async fn reduce(exec_state: &mut ExecState, args: Args) -> Result<KclValue, | |||||||
| /// /* | /// /* | ||||||
| /// The `decagon` above is basically like this pseudo-code: | /// The `decagon` above is basically like this pseudo-code: | ||||||
| /// fn decagon(radius): | /// fn decagon(radius): | ||||||
| ///     stepAngle = (1/10) * tau() | ///     stepAngle = (1/10) * TAU | ||||||
| ///     plane = startSketchOn('XY') | ///     plane = startSketchOn('XY') | ||||||
| ///     startOfDecagonSketch = startProfileAt([(cos(0)*radius), (sin(0) * radius)], plane) | ///     startOfDecagonSketch = startProfileAt([(cos(0)*radius), (sin(0) * radius)], plane) | ||||||
| /// | /// | ||||||
|  | |||||||
| @ -145,6 +145,8 @@ pub async fn pi(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kcl | |||||||
|  |  | ||||||
| /// Return the value of `pi`. Archimedes’ constant (π). | /// Return the value of `pi`. Archimedes’ constant (π). | ||||||
| /// | /// | ||||||
|  | /// **DEPRECATED** use PI | ||||||
|  | /// | ||||||
| /// ```no_run | /// ```no_run | ||||||
| /// circumference = 70 | /// circumference = 70 | ||||||
| /// | /// | ||||||
| @ -156,6 +158,7 @@ pub async fn pi(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kcl | |||||||
| #[stdlib { | #[stdlib { | ||||||
|     name = "pi", |     name = "pi", | ||||||
|     tags = ["math"], |     tags = ["math"], | ||||||
|  |     deprecated = true, | ||||||
| }] | }] | ||||||
| fn inner_pi() -> Result<f64, KclError> { | fn inner_pi() -> Result<f64, KclError> { | ||||||
|     Ok(std::f64::consts::PI) |     Ok(std::f64::consts::PI) | ||||||
| @ -693,6 +696,8 @@ pub async fn e(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, KclE | |||||||
|  |  | ||||||
| /// Return the value of Euler’s number `e`. | /// Return the value of Euler’s number `e`. | ||||||
| /// | /// | ||||||
|  | /// **DEPRECATED** use E | ||||||
|  | /// | ||||||
| /// ```no_run | /// ```no_run | ||||||
| /// exampleSketch = startSketchOn("XZ") | /// exampleSketch = startSketchOn("XZ") | ||||||
| ///   |> startProfileAt([0, 0], %) | ///   |> startProfileAt([0, 0], %) | ||||||
| @ -708,6 +713,7 @@ pub async fn e(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, KclE | |||||||
| #[stdlib { | #[stdlib { | ||||||
|     name = "e", |     name = "e", | ||||||
|     tags = ["math"], |     tags = ["math"], | ||||||
|  |     deprecated = true, | ||||||
| }] | }] | ||||||
| fn inner_e() -> Result<f64, KclError> { | fn inner_e() -> Result<f64, KclError> { | ||||||
|     Ok(std::f64::consts::E) |     Ok(std::f64::consts::E) | ||||||
| @ -722,6 +728,8 @@ pub async fn tau(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kc | |||||||
|  |  | ||||||
| /// Return the value of `tau`. The full circle constant (τ). Equal to 2π. | /// Return the value of `tau`. The full circle constant (τ). Equal to 2π. | ||||||
| /// | /// | ||||||
|  | /// **DEPRECATED** use TAU | ||||||
|  | /// | ||||||
| /// ```no_run | /// ```no_run | ||||||
| /// exampleSketch = startSketchOn("XZ") | /// exampleSketch = startSketchOn("XZ") | ||||||
| ///   |> startProfileAt([0, 0], %) | ///   |> startProfileAt([0, 0], %) | ||||||
| @ -737,6 +745,7 @@ pub async fn tau(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kc | |||||||
| #[stdlib { | #[stdlib { | ||||||
|     name = "tau", |     name = "tau", | ||||||
|     tags = ["math"], |     tags = ["math"], | ||||||
|  |     deprecated = true, | ||||||
| }] | }] | ||||||
| fn inner_tau() -> Result<f64, KclError> { | fn inner_tau() -> Result<f64, KclError> { | ||||||
|     Ok(std::f64::consts::TAU) |     Ok(std::f64::consts::TAU) | ||||||
| @ -787,7 +796,7 @@ pub async fn to_degrees(_exec_state: &mut ExecState, args: Args) -> Result<KclVa | |||||||
| ///   |> startProfileAt([0, 0], %) | ///   |> startProfileAt([0, 0], %) | ||||||
| ///   |> angledLine({ | ///   |> angledLine({ | ||||||
| ///     angle = 50, | ///     angle = 50, | ||||||
| ///     length = 70 * cos(toDegrees(pi()/4)), | ///     length = 70 * cos(toDegrees(PI/4)), | ||||||
| ///   }, %) | ///   }, %) | ||||||
| ///   |> yLineTo(0, %) | ///   |> yLineTo(0, %) | ||||||
| ///   |> close(%) | ///   |> close(%) | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing add_lots.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -85,16 +100,31 @@ description: Program memory after executing add_lots.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing angled_line.kcl | description: Program memory after executing angled_line.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing array_elem_pop.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing array_elem_push.kcl | description: Program memory after executing array_elem_push.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing array_range_expr.kcl | description: Program memory after executing array_range_expr.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing array_range_negative_expr.kcl | description: Program memory after executing array_range_negative_expr.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing artifact_graph_example_code1.kcl | description: Program memory after executing artifact_graph_example_code1.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing artifact_graph_example_code_no_3d.kcl | description: Program memory after executing artifact_graph_example_code_no_3d.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing artifact_graph_example_code_offset_planes.kcl | description: Program memory after executing artifact_graph_example_code_offset_planes.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing artifact_graph_sketch_on_face_etc.kcl | description: Program memory after executing artifact_graph_sketch_on_face_etc.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing basic_fillet_cube_close_opposite.kcl | description: Program memory after executing basic_fillet_cube_close_opposite.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing basic_fillet_cube_end.kcl | description: Program memory after executing basic_fillet_cube_end.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing basic_fillet_cube_next_adjacent.kcl | description: Program memory after executing basic_fillet_cube_next_adjacent.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing basic_fillet_cube_previous_adjacent.kcl | description: Program memory after executing basic_fillet_cube_previous_adjacent.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing basic_fillet_cube_start.kcl | description: Program memory after executing basic_fillet_cube_start.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing big_number_angle_to_match_length_x.kcl | description: Program memory after executing big_number_angle_to_match_length_x.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing big_number_angle_to_match_length_y.kcl | description: Program memory after executing big_number_angle_to_match_length_y.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing boolean_logical_and.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing boolean_logical_multiple.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing boolean_logical_or.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 99 |  | ||||||
| description: Program memory after executing circle_three_point.kcl | description: Program memory after executing circle_three_point.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing circular_pattern3d_a_pattern.kcl | description: Program memory after executing circular_pattern3d_a_pattern.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing comparisons.kcl | description: Program memory after executing comparisons.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing computed_var.kcl | description: Program memory after executing computed_var.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing cube.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -697,16 +712,31 @@ description: Program memory after executing cube.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing double_map_fn.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -85,16 +100,31 @@ description: Program memory after executing double_map_fn.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing fillet-and-shell.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -1273,16 +1288,31 @@ description: Program memory after executing fillet-and-shell.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing function_sketch.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -390,16 +405,31 @@ description: Program memory after executing function_sketch.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing function_sketch_with_position.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -376,16 +391,31 @@ description: Program memory after executing function_sketch_with_position.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 105 |  | ||||||
| description: Program memory after executing helix_ccw.kcl | description: Program memory after executing helix_ccw.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing i_shape.kcl | description: Program memory after executing i_shape.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing if_else.kcl | description: Program memory after executing if_else.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing import_constant.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing import_export.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing import_glob.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -65,16 +80,31 @@ description: Program memory after executing import_glob.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing import_whole.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing index_of_array.kcl | description: Program memory after executing index_of_array.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing kittycad_svg.kcl | description: Program memory after executing kittycad_svg.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing kw_fn.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -91,16 +106,31 @@ description: Program memory after executing kw_fn.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
| @ -171,16 +201,31 @@ description: Program memory after executing kw_fn.kcl | |||||||
|                       "environments": [ |                       "environments": [ | ||||||
|                         { |                         { | ||||||
|                           "bindings": { |                           "bindings": { | ||||||
|  |                             "E": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 2.718281828459045, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "HALF_TURN": { |                             "HALF_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 180.0, |                               "value": 180.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "PI": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 3.141592653589793, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "QUARTER_TURN": { |                             "QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 90.0, |                               "value": 90.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "TAU": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 6.283185307179586, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "THREE_QUARTER_TURN": { |                             "THREE_QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 270.0, |                               "value": 270.0, | ||||||
| @ -285,16 +330,31 @@ description: Program memory after executing kw_fn.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing kw_fn_with_defaults.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -100,16 +115,31 @@ description: Program memory after executing kw_fn_with_defaults.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing linear_pattern3d_a_pattern.kcl | description: Program memory after executing linear_pattern3d_a_pattern.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing mike_stress_test.kcl | description: Program memory after executing mike_stress_test.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing neg_xz_plane.kcl | description: Program memory after executing neg_xz_plane.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,13 +1,16 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing parametric.kcl | description: Program memory after executing parametric.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "FOS": { |         "FOS": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 2.0, |           "value": 2.0, | ||||||
| @ -26,11 +29,21 @@ snapshot_kind: text | |||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,13 +1,16 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing parametric_with_tan_arc.kcl | description: Program memory after executing parametric_with_tan_arc.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "FOS": { |         "FOS": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 2.0, |           "value": 2.0, | ||||||
| @ -26,11 +29,21 @@ snapshot_kind: text | |||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing pentagon_fillet_sugar.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -1660,16 +1675,31 @@ description: Program memory after executing pentagon_fillet_sugar.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing pipe_as_arg.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -697,16 +712,31 @@ description: Program memory after executing pipe_as_arg.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
| @ -793,16 +823,31 @@ description: Program memory after executing pipe_as_arg.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
| @ -1484,16 +1529,31 @@ description: Program memory after executing pipe_as_arg.kcl | |||||||
|                       "environments": [ |                       "environments": [ | ||||||
|                         { |                         { | ||||||
|                           "bindings": { |                           "bindings": { | ||||||
|  |                             "E": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 2.718281828459045, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "HALF_TURN": { |                             "HALF_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 180.0, |                               "value": 180.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "PI": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 3.141592653589793, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "QUARTER_TURN": { |                             "QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 90.0, |                               "value": 90.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "TAU": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 6.283185307179586, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "THREE_QUARTER_TURN": { |                             "THREE_QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 270.0, |                               "value": 270.0, | ||||||
| @ -1796,16 +1856,31 @@ description: Program memory after executing pipe_as_arg.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
| @ -2487,16 +2562,31 @@ description: Program memory after executing pipe_as_arg.kcl | |||||||
|                       "environments": [ |                       "environments": [ | ||||||
|                         { |                         { | ||||||
|                           "bindings": { |                           "bindings": { | ||||||
|  |                             "E": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 2.718281828459045, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "HALF_TURN": { |                             "HALF_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 180.0, |                               "value": 180.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "PI": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 3.141592653589793, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "QUARTER_TURN": { |                             "QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 90.0, |                               "value": 90.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "TAU": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 6.283185307179586, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "THREE_QUARTER_TURN": { |                             "THREE_QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 270.0, |                               "value": 270.0, | ||||||
| @ -2583,16 +2673,31 @@ description: Program memory after executing pipe_as_arg.kcl | |||||||
|                       "environments": [ |                       "environments": [ | ||||||
|                         { |                         { | ||||||
|                           "bindings": { |                           "bindings": { | ||||||
|  |                             "E": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 2.718281828459045, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "HALF_TURN": { |                             "HALF_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 180.0, |                               "value": 180.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "PI": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 3.141592653589793, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "QUARTER_TURN": { |                             "QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 90.0, |                               "value": 90.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "TAU": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 6.283185307179586, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "THREE_QUARTER_TURN": { |                             "THREE_QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 270.0, |                               "value": 270.0, | ||||||
| @ -3274,16 +3379,31 @@ description: Program memory after executing pipe_as_arg.kcl | |||||||
|                                 "environments": [ |                                 "environments": [ | ||||||
|                                   { |                                   { | ||||||
|                                     "bindings": { |                                     "bindings": { | ||||||
|  |                                       "E": { | ||||||
|  |                                         "type": "Number", | ||||||
|  |                                         "value": 2.718281828459045, | ||||||
|  |                                         "__meta": [] | ||||||
|  |                                       }, | ||||||
|                                       "HALF_TURN": { |                                       "HALF_TURN": { | ||||||
|                                         "type": "Number", |                                         "type": "Number", | ||||||
|                                         "value": 180.0, |                                         "value": 180.0, | ||||||
|                                         "__meta": [] |                                         "__meta": [] | ||||||
|                                       }, |                                       }, | ||||||
|  |                                       "PI": { | ||||||
|  |                                         "type": "Number", | ||||||
|  |                                         "value": 3.141592653589793, | ||||||
|  |                                         "__meta": [] | ||||||
|  |                                       }, | ||||||
|                                       "QUARTER_TURN": { |                                       "QUARTER_TURN": { | ||||||
|                                         "type": "Number", |                                         "type": "Number", | ||||||
|                                         "value": 90.0, |                                         "value": 90.0, | ||||||
|                                         "__meta": [] |                                         "__meta": [] | ||||||
|                                       }, |                                       }, | ||||||
|  |                                       "TAU": { | ||||||
|  |                                         "type": "Number", | ||||||
|  |                                         "value": 6.283185307179586, | ||||||
|  |                                         "__meta": [] | ||||||
|  |                                       }, | ||||||
|                                       "THREE_QUARTER_TURN": { |                                       "THREE_QUARTER_TURN": { | ||||||
|                                         "type": "Number", |                                         "type": "Number", | ||||||
|                                         "value": 270.0, |                                         "value": 270.0, | ||||||
|  | |||||||
| @ -1,13 +1,16 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing poop_chute.kcl | description: Program memory after executing poop_chute.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "Fx": { |         "Fx": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 0.5, |           "value": 0.5, | ||||||
| @ -39,11 +42,21 @@ snapshot_kind: text | |||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing property_of_object.kcl | description: Program memory after executing property_of_object.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -19,16 +19,31 @@ description: Program memory after executing riddle_small.kcl | |||||||
|             } |             } | ||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -442,16 +457,31 @@ description: Program memory after executing riddle_small.kcl | |||||||
|                       } |                       } | ||||||
|                     ] |                     ] | ||||||
|                   }, |                   }, | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing sketch-on-chamfer-two-times-different-order.kcl | description: Program memory after executing sketch-on-chamfer-two-times-different-order.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing sketch-on-chamfer-two-times.kcl | description: Program memory after executing sketch-on-chamfer-two-times.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_in_object.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -307,16 +322,31 @@ description: Program memory after executing sketch_in_object.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
| @ -663,16 +693,31 @@ description: Program memory after executing sketch_in_object.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
| @ -964,16 +1009,31 @@ description: Program memory after executing sketch_in_object.kcl | |||||||
|                       "environments": [ |                       "environments": [ | ||||||
|                         { |                         { | ||||||
|                           "bindings": { |                           "bindings": { | ||||||
|  |                             "E": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 2.718281828459045, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "HALF_TURN": { |                             "HALF_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 180.0, |                               "value": 180.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "PI": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 3.141592653589793, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "QUARTER_TURN": { |                             "QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 90.0, |                               "value": 90.0, | ||||||
|                               "__meta": [] |                               "__meta": [] | ||||||
|                             }, |                             }, | ||||||
|  |                             "TAU": { | ||||||
|  |                               "type": "Number", | ||||||
|  |                               "value": 6.283185307179586, | ||||||
|  |                               "__meta": [] | ||||||
|  |                             }, | ||||||
|                             "THREE_QUARTER_TURN": { |                             "THREE_QUARTER_TURN": { | ||||||
|                               "type": "Number", |                               "type": "Number", | ||||||
|                               "value": 270.0, |                               "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing sketch_on_face.kcl | description: Program memory after executing sketch_on_face.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,12 +1,16 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing sketch_on_face_after_fillets_referencing_face.kcl | description: Program memory after executing sketch_on_face_after_fillets_referencing_face.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "FOS": { |         "FOS": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 2.0, |           "value": 2.0, | ||||||
| @ -65,11 +69,21 @@ snapshot_kind: text | |||||||
|             } |             } | ||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_on_face_circle_tagged.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -311,16 +326,31 @@ description: Program memory after executing sketch_on_face_circle_tagged.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_on_face_end.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -311,16 +326,31 @@ description: Program memory after executing sketch_on_face_end.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_on_face_end_negative_extrude. | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -311,16 +326,31 @@ description: Program memory after executing sketch_on_face_end_negative_extrude. | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_on_face_start.kcl | |||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
| @ -311,16 +326,31 @@ description: Program memory after executing sketch_on_face_start.kcl | |||||||
|             "environments": [ |             "environments": [ | ||||||
|               { |               { | ||||||
|                 "bindings": { |                 "bindings": { | ||||||
|  |                   "E": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 2.718281828459045, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "HALF_TURN": { |                   "HALF_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 180.0, |                     "value": 180.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "PI": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 3.141592653589793, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "QUARTER_TURN": { |                   "QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 90.0, |                     "value": 90.0, | ||||||
|                     "__meta": [] |                     "__meta": [] | ||||||
|                   }, |                   }, | ||||||
|  |                   "TAU": { | ||||||
|  |                     "type": "Number", | ||||||
|  |                     "value": 6.283185307179586, | ||||||
|  |                     "__meta": [] | ||||||
|  |                   }, | ||||||
|                   "THREE_QUARTER_TURN": { |                   "THREE_QUARTER_TURN": { | ||||||
|                     "type": "Number", |                     "type": "Number", | ||||||
|                     "value": 270.0, |                     "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 92 |  | ||||||
| description: Program memory after executing tan_arc_x_line.kcl | description: Program memory after executing tan_arc_x_line.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,23 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| assertion_line: 105 |  | ||||||
| description: Program memory after executing tangential_arc.kcl | description: Program memory after executing tangential_arc.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
| @ -1,22 +1,36 @@ | |||||||
| --- | --- | ||||||
| source: kcl/src/simulation_tests.rs | source: kcl/src/simulation_tests.rs | ||||||
| description: Program memory after executing xz_plane.kcl | description: Program memory after executing xz_plane.kcl | ||||||
| snapshot_kind: text |  | ||||||
| --- | --- | ||||||
| { | { | ||||||
|   "environments": [ |   "environments": [ | ||||||
|     { |     { | ||||||
|       "bindings": { |       "bindings": { | ||||||
|  |         "E": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 2.718281828459045, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "HALF_TURN": { |         "HALF_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 180.0, |           "value": 180.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "PI": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 3.141592653589793, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "QUARTER_TURN": { |         "QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 90.0, |           "value": 90.0, | ||||||
|           "__meta": [] |           "__meta": [] | ||||||
|         }, |         }, | ||||||
|  |         "TAU": { | ||||||
|  |           "type": "Number", | ||||||
|  |           "value": 6.283185307179586, | ||||||
|  |           "__meta": [] | ||||||
|  |         }, | ||||||
|         "THREE_QUARTER_TURN": { |         "THREE_QUARTER_TURN": { | ||||||
|           "type": "Number", |           "type": "Number", | ||||||
|           "value": 270.0, |           "value": 270.0, | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	