Compare commits
	
		
			1 Commits
		
	
	
		
			wait-for-r
			...
			nrc-depr-m
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3541036685 | 
| @ -4,9 +4,11 @@ excerpt: "Return the value of Euler’s number `e`." | ||||
| layout: manual | ||||
| --- | ||||
|  | ||||
| **WARNING:** This function is deprecated. | ||||
|  | ||||
| Return the value of Euler’s number `e`. | ||||
|  | ||||
|  | ||||
| **DEPRECATED** use E | ||||
|  | ||||
| ```js | ||||
| e() -> number | ||||
|  | ||||
| @ -39,7 +39,6 @@ layout: manual | ||||
| * [`close`](kcl/close) | ||||
| * [`cm`](kcl/cm) | ||||
| * [`cos`](kcl/cos) | ||||
| * [`e`](kcl/e) | ||||
| * [`extrude`](kcl/extrude) | ||||
| * [`fillet`](kcl/fillet) | ||||
| * [`floor`](kcl/floor) | ||||
| @ -78,7 +77,6 @@ layout: manual | ||||
| * [`patternLinear3d`](kcl/patternLinear3d) | ||||
| * [`patternTransform`](kcl/patternTransform) | ||||
| * [`patternTransform2d`](kcl/patternTransform2d) | ||||
| * [`pi`](kcl/pi) | ||||
| * [`polar`](kcl/polar) | ||||
| * [`polygon`](kcl/polygon) | ||||
| * [`pop`](kcl/pop) | ||||
| @ -110,7 +108,6 @@ layout: manual | ||||
| * [`tangentialArc`](kcl/tangentialArc) | ||||
| * [`tangentialArcTo`](kcl/tangentialArcTo) | ||||
| * [`tangentialArcToRelative`](kcl/tangentialArcToRelative) | ||||
| * [`tau`](kcl/tau) | ||||
| * [`toDegrees`](kcl/toDegrees) | ||||
| * [`toRadians`](kcl/toRadians) | ||||
| * [`xLine`](kcl/xLine) | ||||
|  | ||||
| @ -4,9 +4,11 @@ excerpt: "Return the value of `pi`. Archimedes’ constant (π)." | ||||
| layout: manual | ||||
| --- | ||||
|  | ||||
| **WARNING:** This function is deprecated. | ||||
|  | ||||
| Return the value of `pi`. Archimedes’ constant (π). | ||||
|  | ||||
|  | ||||
| **DEPRECATED** use PI | ||||
|  | ||||
| ```js | ||||
| pi() -> number | ||||
|  | ||||
| @ -76,7 +76,7 @@ assertEqual(sum, 6, 0.00001, "1 + 2 + 3 summed is 6") | ||||
| // Declare a function that sketches a decagon. | ||||
| fn decagon(radius) { | ||||
|   // 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. | ||||
|   startOfDecagonSketch = startSketchOn('XY') | ||||
| @ -97,7 +97,7 @@ fn decagon(radius) { | ||||
|  | ||||
| /* The `decagon` above is basically like this pseudo-code: | ||||
| fn decagon(radius): | ||||
|     stepAngle = (1/10) * tau() | ||||
|     stepAngle = (1/10) * TAU | ||||
|     plane = startSketchOn('XY') | ||||
|     startOfDecagonSketch = startProfileAt([(cos(0)*radius), (sin(0) * radius)], plane) | ||||
|  | ||||
|  | ||||
| @ -65161,7 +65161,7 @@ | ||||
|   { | ||||
|     "name": "e", | ||||
|     "summary": "Return the value of Euler’s number `e`.", | ||||
|     "description": "", | ||||
|     "description": "**DEPRECATED** use E", | ||||
|     "tags": [ | ||||
|       "math" | ||||
|     ], | ||||
| @ -65180,7 +65180,7 @@ | ||||
|       "labelRequired": true | ||||
|     }, | ||||
|     "unpublished": false, | ||||
|     "deprecated": false, | ||||
|     "deprecated": true, | ||||
|     "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)" | ||||
|     ] | ||||
| @ -133801,7 +133801,7 @@ | ||||
|   { | ||||
|     "name": "pi", | ||||
|     "summary": "Return the value of `pi`. Archimedes’ constant (π).", | ||||
|     "description": "", | ||||
|     "description": "**DEPRECATED** use PI", | ||||
|     "tags": [ | ||||
|       "math" | ||||
|     ], | ||||
| @ -133820,7 +133820,7 @@ | ||||
|       "labelRequired": true | ||||
|     }, | ||||
|     "unpublished": false, | ||||
|     "deprecated": false, | ||||
|     "deprecated": true, | ||||
|     "examples": [ | ||||
|       "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": [ | ||||
|       "// 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\")", | ||||
|       "// 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", | ||||
|     "summary": "Return the value of `tau`. The full circle constant (τ). Equal to 2π.", | ||||
|     "description": "", | ||||
|     "description": "**DEPRECATED** use TAU", | ||||
|     "tags": [ | ||||
|       "math" | ||||
|     ], | ||||
| @ -207115,7 +207115,7 @@ | ||||
|       "labelRequired": true | ||||
|     }, | ||||
|     "unpublished": false, | ||||
|     "deprecated": false, | ||||
|     "deprecated": true, | ||||
|     "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)" | ||||
|     ] | ||||
| @ -207157,7 +207157,7 @@ | ||||
|     "unpublished": false, | ||||
|     "deprecated": false, | ||||
|     "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 | ||||
| --- | ||||
|  | ||||
| **WARNING:** This function is deprecated. | ||||
|  | ||||
| Return the value of `tau`. The full circle constant (τ). Equal to 2π. | ||||
|  | ||||
|  | ||||
| **DEPRECATED** use TAU | ||||
|  | ||||
| ```js | ||||
| tau() -> number | ||||
|  | ||||
| @ -35,7 +35,7 @@ exampleSketch = startSketchOn("XZ") | ||||
|   |> startProfileAt([0, 0], %) | ||||
|   |> angledLine({ | ||||
|        angle = 50, | ||||
|        length = 70 * cos(toDegrees(pi() / 4)) | ||||
|        length = 70 * cos(toDegrees(PI / 4)) | ||||
|      }, %) | ||||
|   |> yLineTo(0, %) | ||||
|   |> close(%) | ||||
|  | ||||
| @ -434,10 +434,13 @@ impl Environment { | ||||
|         Self { | ||||
|             // Prelude | ||||
|             bindings: IndexMap::from([ | ||||
|                 ("ZERO".to_string(), KclValue::from_number(0.0, NO_META)), | ||||
|                 ("QUARTER_TURN".to_string(), KclValue::from_number(90.0, NO_META)), | ||||
|                 ("HALF_TURN".to_string(), KclValue::from_number(180.0, NO_META)), | ||||
|                 ("THREE_QUARTER_TURN".to_string(), KclValue::from_number(270.0, NO_META)), | ||||
|                 ("ZERO".to_owned(), KclValue::from_number(0.0, NO_META)), | ||||
|                 ("QUARTER_TURN".to_owned(), KclValue::from_number(90.0, NO_META)), | ||||
|                 ("HALF_TURN".to_owned(), KclValue::from_number(180.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, | ||||
|         } | ||||
| @ -3344,7 +3347,7 @@ let shape = layer() |> patternTransform(10, transform, %) | ||||
|  | ||||
|     #[tokio::test(flavor = "multi_thread")] | ||||
|     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(); | ||||
|         assert_eq!( | ||||
|             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. | ||||
| /// fn decagon(radius) { | ||||
| ///   // 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. | ||||
| ///   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: | ||||
| /// fn decagon(radius): | ||||
| ///     stepAngle = (1/10) * tau() | ||||
| ///     stepAngle = (1/10) * TAU | ||||
| ///     plane = startSketchOn('XY') | ||||
| ///     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 (π). | ||||
| /// | ||||
| /// **DEPRECATED** use PI | ||||
| /// | ||||
| /// ```no_run | ||||
| /// circumference = 70 | ||||
| /// | ||||
| @ -156,6 +158,7 @@ pub async fn pi(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kcl | ||||
| #[stdlib { | ||||
|     name = "pi", | ||||
|     tags = ["math"], | ||||
|     deprecated = true, | ||||
| }] | ||||
| fn inner_pi() -> Result<f64, KclError> { | ||||
|     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`. | ||||
| /// | ||||
| /// **DEPRECATED** use E | ||||
| /// | ||||
| /// ```no_run | ||||
| /// exampleSketch = startSketchOn("XZ") | ||||
| ///   |> startProfileAt([0, 0], %) | ||||
| @ -708,6 +713,7 @@ pub async fn e(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, KclE | ||||
| #[stdlib { | ||||
|     name = "e", | ||||
|     tags = ["math"], | ||||
|     deprecated = true, | ||||
| }] | ||||
| fn inner_e() -> Result<f64, KclError> { | ||||
|     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π. | ||||
| /// | ||||
| /// **DEPRECATED** use TAU | ||||
| /// | ||||
| /// ```no_run | ||||
| /// exampleSketch = startSketchOn("XZ") | ||||
| ///   |> startProfileAt([0, 0], %) | ||||
| @ -737,6 +745,7 @@ pub async fn tau(_exec_state: &mut ExecState, args: Args) -> Result<KclValue, Kc | ||||
| #[stdlib { | ||||
|     name = "tau", | ||||
|     tags = ["math"], | ||||
|     deprecated = true, | ||||
| }] | ||||
| fn inner_tau() -> Result<f64, KclError> { | ||||
|     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], %) | ||||
| ///   |> angledLine({ | ||||
| ///     angle = 50, | ||||
| ///     length = 70 * cos(toDegrees(pi()/4)), | ||||
| ///     length = 70 * cos(toDegrees(PI/4)), | ||||
| ///   }, %) | ||||
| ///   |> yLineTo(0, %) | ||||
| ///   |> close(%) | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing add_lots.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -85,16 +100,31 @@ description: Program memory after executing add_lots.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing angled_line.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing array_elem_pop.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing array_elem_push.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing array_range_expr.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing array_range_negative_expr.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing artifact_graph_example_code1.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing artifact_graph_example_code_no_3d.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing artifact_graph_example_code_offset_planes.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing artifact_graph_sketch_on_face_etc.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing basic_fillet_cube_close_opposite.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing basic_fillet_cube_end.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing basic_fillet_cube_next_adjacent.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing basic_fillet_cube_previous_adjacent.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing basic_fillet_cube_start.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing big_number_angle_to_match_length_x.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing big_number_angle_to_match_length_y.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing boolean_logical_and.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing boolean_logical_multiple.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing boolean_logical_or.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 99 | ||||
| description: Program memory after executing circle_three_point.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing circular_pattern3d_a_pattern.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing comparisons.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing computed_var.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing cube.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -697,16 +712,31 @@ description: Program memory after executing cube.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing double_map_fn.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -85,16 +100,31 @@ description: Program memory after executing double_map_fn.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing fillet-and-shell.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -1273,16 +1288,31 @@ description: Program memory after executing fillet-and-shell.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing function_sketch.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -390,16 +405,31 @@ description: Program memory after executing function_sketch.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing function_sketch_with_position.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -376,16 +391,31 @@ description: Program memory after executing function_sketch_with_position.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 105 | ||||
| description: Program memory after executing helix_ccw.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing i_shape.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing if_else.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing import_constant.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing import_export.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing import_glob.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -65,16 +80,31 @@ description: Program memory after executing import_glob.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing import_whole.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing index_of_array.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing kittycad_svg.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing kw_fn.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -91,16 +106,31 @@ description: Program memory after executing kw_fn.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
| @ -171,16 +201,31 @@ description: Program memory after executing kw_fn.kcl | ||||
|                       "environments": [ | ||||
|                         { | ||||
|                           "bindings": { | ||||
|                             "E": { | ||||
|                               "type": "Number", | ||||
|                               "value": 2.718281828459045, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "HALF_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 180.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "PI": { | ||||
|                               "type": "Number", | ||||
|                               "value": 3.141592653589793, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 90.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "TAU": { | ||||
|                               "type": "Number", | ||||
|                               "value": 6.283185307179586, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "THREE_QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 270.0, | ||||
| @ -285,16 +330,31 @@ description: Program memory after executing kw_fn.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing kw_fn_with_defaults.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -100,16 +115,31 @@ description: Program memory after executing kw_fn_with_defaults.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing linear_pattern3d_a_pattern.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing mike_stress_test.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing neg_xz_plane.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,13 +1,16 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing parametric.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "FOS": { | ||||
|           "type": "Number", | ||||
|           "value": 2.0, | ||||
| @ -26,11 +29,21 @@ snapshot_kind: text | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,13 +1,16 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing parametric_with_tan_arc.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "FOS": { | ||||
|           "type": "Number", | ||||
|           "value": 2.0, | ||||
| @ -26,11 +29,21 @@ snapshot_kind: text | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing pentagon_fillet_sugar.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -1660,16 +1675,31 @@ description: Program memory after executing pentagon_fillet_sugar.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing pipe_as_arg.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -697,16 +712,31 @@ description: Program memory after executing pipe_as_arg.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
| @ -793,16 +823,31 @@ description: Program memory after executing pipe_as_arg.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
| @ -1484,16 +1529,31 @@ description: Program memory after executing pipe_as_arg.kcl | ||||
|                       "environments": [ | ||||
|                         { | ||||
|                           "bindings": { | ||||
|                             "E": { | ||||
|                               "type": "Number", | ||||
|                               "value": 2.718281828459045, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "HALF_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 180.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "PI": { | ||||
|                               "type": "Number", | ||||
|                               "value": 3.141592653589793, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 90.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "TAU": { | ||||
|                               "type": "Number", | ||||
|                               "value": 6.283185307179586, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "THREE_QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 270.0, | ||||
| @ -1796,16 +1856,31 @@ description: Program memory after executing pipe_as_arg.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
| @ -2487,16 +2562,31 @@ description: Program memory after executing pipe_as_arg.kcl | ||||
|                       "environments": [ | ||||
|                         { | ||||
|                           "bindings": { | ||||
|                             "E": { | ||||
|                               "type": "Number", | ||||
|                               "value": 2.718281828459045, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "HALF_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 180.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "PI": { | ||||
|                               "type": "Number", | ||||
|                               "value": 3.141592653589793, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 90.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "TAU": { | ||||
|                               "type": "Number", | ||||
|                               "value": 6.283185307179586, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "THREE_QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 270.0, | ||||
| @ -2583,16 +2673,31 @@ description: Program memory after executing pipe_as_arg.kcl | ||||
|                       "environments": [ | ||||
|                         { | ||||
|                           "bindings": { | ||||
|                             "E": { | ||||
|                               "type": "Number", | ||||
|                               "value": 2.718281828459045, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "HALF_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 180.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "PI": { | ||||
|                               "type": "Number", | ||||
|                               "value": 3.141592653589793, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 90.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "TAU": { | ||||
|                               "type": "Number", | ||||
|                               "value": 6.283185307179586, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "THREE_QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 270.0, | ||||
| @ -3274,16 +3379,31 @@ description: Program memory after executing pipe_as_arg.kcl | ||||
|                                 "environments": [ | ||||
|                                   { | ||||
|                                     "bindings": { | ||||
|                                       "E": { | ||||
|                                         "type": "Number", | ||||
|                                         "value": 2.718281828459045, | ||||
|                                         "__meta": [] | ||||
|                                       }, | ||||
|                                       "HALF_TURN": { | ||||
|                                         "type": "Number", | ||||
|                                         "value": 180.0, | ||||
|                                         "__meta": [] | ||||
|                                       }, | ||||
|                                       "PI": { | ||||
|                                         "type": "Number", | ||||
|                                         "value": 3.141592653589793, | ||||
|                                         "__meta": [] | ||||
|                                       }, | ||||
|                                       "QUARTER_TURN": { | ||||
|                                         "type": "Number", | ||||
|                                         "value": 90.0, | ||||
|                                         "__meta": [] | ||||
|                                       }, | ||||
|                                       "TAU": { | ||||
|                                         "type": "Number", | ||||
|                                         "value": 6.283185307179586, | ||||
|                                         "__meta": [] | ||||
|                                       }, | ||||
|                                       "THREE_QUARTER_TURN": { | ||||
|                                         "type": "Number", | ||||
|                                         "value": 270.0, | ||||
|  | ||||
| @ -1,13 +1,16 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing poop_chute.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "Fx": { | ||||
|           "type": "Number", | ||||
|           "value": 0.5, | ||||
| @ -39,11 +42,21 @@ snapshot_kind: text | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing property_of_object.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -19,16 +19,31 @@ description: Program memory after executing riddle_small.kcl | ||||
|             } | ||||
|           ] | ||||
|         }, | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -442,16 +457,31 @@ description: Program memory after executing riddle_small.kcl | ||||
|                       } | ||||
|                     ] | ||||
|                   }, | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing sketch-on-chamfer-two-times-different-order.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing sketch-on-chamfer-two-times.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_in_object.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -307,16 +322,31 @@ description: Program memory after executing sketch_in_object.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
| @ -663,16 +693,31 @@ description: Program memory after executing sketch_in_object.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
| @ -964,16 +1009,31 @@ description: Program memory after executing sketch_in_object.kcl | ||||
|                       "environments": [ | ||||
|                         { | ||||
|                           "bindings": { | ||||
|                             "E": { | ||||
|                               "type": "Number", | ||||
|                               "value": 2.718281828459045, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "HALF_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 180.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "PI": { | ||||
|                               "type": "Number", | ||||
|                               "value": 3.141592653589793, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 90.0, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "TAU": { | ||||
|                               "type": "Number", | ||||
|                               "value": 6.283185307179586, | ||||
|                               "__meta": [] | ||||
|                             }, | ||||
|                             "THREE_QUARTER_TURN": { | ||||
|                               "type": "Number", | ||||
|                               "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing sketch_on_face.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,12 +1,16 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing sketch_on_face_after_fillets_referencing_face.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "FOS": { | ||||
|           "type": "Number", | ||||
|           "value": 2.0, | ||||
| @ -65,11 +69,21 @@ snapshot_kind: text | ||||
|             } | ||||
|           ] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_on_face_circle_tagged.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -311,16 +326,31 @@ description: Program memory after executing sketch_on_face_circle_tagged.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_on_face_end.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -311,16 +326,31 @@ description: Program memory after executing sketch_on_face_end.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_on_face_end_negative_extrude. | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -311,16 +326,31 @@ description: Program memory after executing sketch_on_face_end_negative_extrude. | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -6,16 +6,31 @@ description: Program memory after executing sketch_on_face_start.kcl | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
| @ -311,16 +326,31 @@ description: Program memory after executing sketch_on_face_start.kcl | ||||
|             "environments": [ | ||||
|               { | ||||
|                 "bindings": { | ||||
|                   "E": { | ||||
|                     "type": "Number", | ||||
|                     "value": 2.718281828459045, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "HALF_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 180.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "PI": { | ||||
|                     "type": "Number", | ||||
|                     "value": 3.141592653589793, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 90.0, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "TAU": { | ||||
|                     "type": "Number", | ||||
|                     "value": 6.283185307179586, | ||||
|                     "__meta": [] | ||||
|                   }, | ||||
|                   "THREE_QUARTER_TURN": { | ||||
|                     "type": "Number", | ||||
|                     "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 92 | ||||
| description: Program memory after executing tan_arc_x_line.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,23 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| assertion_line: 105 | ||||
| description: Program memory after executing tangential_arc.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
| @ -1,22 +1,36 @@ | ||||
| --- | ||||
| source: kcl/src/simulation_tests.rs | ||||
| description: Program memory after executing xz_plane.kcl | ||||
| snapshot_kind: text | ||||
| --- | ||||
| { | ||||
|   "environments": [ | ||||
|     { | ||||
|       "bindings": { | ||||
|         "E": { | ||||
|           "type": "Number", | ||||
|           "value": 2.718281828459045, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "HALF_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 180.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "PI": { | ||||
|           "type": "Number", | ||||
|           "value": 3.141592653589793, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 90.0, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "TAU": { | ||||
|           "type": "Number", | ||||
|           "value": 6.283185307179586, | ||||
|           "__meta": [] | ||||
|         }, | ||||
|         "THREE_QUARTER_TURN": { | ||||
|           "type": "Number", | ||||
|           "value": 270.0, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	