---
source: kcl/src/simulation_tests.rs
description: Result of parsing sketch-on-chamfer-two-times.kcl
snapshot_kind: text
---
{
  "Ok": {
    "body": [
      {
        "declaration": {
          "end": 440,
          "id": {
            "end": 9,
            "name": "sketch001",
            "start": 0,
            "type": "Identifier"
          },
          "init": {
            "body": [
              {
                "arguments": [
                  {
                    "end": 30,
                    "raw": "'XZ'",
                    "start": 26,
                    "type": "Literal",
                    "type": "Literal",
                    "value": "XZ"
                  }
                ],
                "callee": {
                  "end": 25,
                  "name": "startSketchOn",
                  "start": 12,
                  "type": "Identifier"
                },
                "end": 31,
                "start": 12,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 57,
                        "raw": "75.8",
                        "start": 53,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 75.8,
                          "suffix": "None"
                        }
                      },
                      {
                        "end": 64,
                        "raw": "317.2",
                        "start": 59,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 317.2,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 65,
                    "start": 52,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 68,
                    "start": 67,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 51,
                  "name": "startProfileAt",
                  "start": 37,
                  "type": "Identifier"
                },
                "end": 69,
                "start": 37,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 118,
                        "raw": "0",
                        "start": 117,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "end": 126,
                        "raw": "268.43",
                        "start": 120,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 268.43,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 127,
                    "start": 116,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 130,
                    "start": 129,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 153,
                    "start": 132,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "rectangleSegmentA001"
                  }
                ],
                "callee": {
                  "end": 115,
                  "name": "angledLine",
                  "start": 105,
                  "type": "Identifier"
                },
                "end": 154,
                "start": 105,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 213,
                        "left": {
                          "arguments": [
                            {
                              "end": 207,
                              "name": "rectangleSegmentA001",
                              "start": 187,
                              "type": "Identifier",
                              "type": "Identifier"
                            }
                          ],
                          "callee": {
                            "end": 186,
                            "name": "segAng",
                            "start": 180,
                            "type": "Identifier"
                          },
                          "end": 208,
                          "start": 180,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        "operator": "-",
                        "right": {
                          "end": 213,
                          "raw": "90",
                          "start": 211,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 90.0,
                            "suffix": "None"
                          }
                        },
                        "start": 180,
                        "type": "BinaryExpression",
                        "type": "BinaryExpression"
                      },
                      {
                        "end": 228,
                        "raw": "217.26",
                        "start": 222,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 217.26,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 235,
                    "start": 171,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 238,
                    "start": 237,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 246,
                    "start": 240,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "seg01"
                  }
                ],
                "callee": {
                  "end": 170,
                  "name": "angledLine",
                  "start": 160,
                  "type": "Identifier"
                },
                "end": 247,
                "start": 160,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "arguments": [
                          {
                            "end": 300,
                            "name": "rectangleSegmentA001",
                            "start": 280,
                            "type": "Identifier",
                            "type": "Identifier"
                          }
                        ],
                        "callee": {
                          "end": 279,
                          "name": "segAng",
                          "start": 273,
                          "type": "Identifier"
                        },
                        "end": 301,
                        "start": 273,
                        "type": "CallExpression",
                        "type": "CallExpression"
                      },
                      {
                        "argument": {
                          "arguments": [
                            {
                              "end": 338,
                              "name": "rectangleSegmentA001",
                              "start": 318,
                              "type": "Identifier",
                              "type": "Identifier"
                            }
                          ],
                          "callee": {
                            "end": 317,
                            "name": "segLen",
                            "start": 311,
                            "type": "Identifier"
                          },
                          "end": 339,
                          "start": 311,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        "end": 339,
                        "operator": "-",
                        "start": 310,
                        "type": "UnaryExpression",
                        "type": "UnaryExpression"
                      }
                    ],
                    "end": 346,
                    "start": 264,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 349,
                    "start": 348,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 263,
                  "name": "angledLine",
                  "start": 253,
                  "type": "Identifier"
                },
                "end": 350,
                "start": 253,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "endAbsolute"
                    },
                    "arg": {
                      "elements": [
                        {
                          "arguments": [
                            {
                              "end": 391,
                              "start": 390,
                              "type": "PipeSubstitution",
                              "type": "PipeSubstitution"
                            }
                          ],
                          "callee": {
                            "end": 389,
                            "name": "profileStartX",
                            "start": 376,
                            "type": "Identifier"
                          },
                          "end": 392,
                          "start": 376,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        {
                          "arguments": [
                            {
                              "end": 409,
                              "start": 408,
                              "type": "PipeSubstitution",
                              "type": "PipeSubstitution"
                            }
                          ],
                          "callee": {
                            "end": 407,
                            "name": "profileStartY",
                            "start": 394,
                            "type": "Identifier"
                          },
                          "end": 410,
                          "start": 394,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        }
                      ],
                      "end": 411,
                      "start": 375,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  },
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "tag"
                    },
                    "arg": {
                      "end": 425,
                      "start": 419,
                      "type": "TagDeclarator",
                      "type": "TagDeclarator",
                      "value": "seg02"
                    }
                  }
                ],
                "callee": {
                  "end": 360,
                  "name": "line",
                  "start": 356,
                  "type": "Identifier"
                },
                "end": 426,
                "start": 356,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              },
              {
                "arguments": [
                  {
                    "end": 439,
                    "start": 438,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 437,
                  "name": "close",
                  "start": 432,
                  "type": "Identifier"
                },
                "end": 440,
                "start": 432,
                "type": "CallExpression",
                "type": "CallExpression"
              }
            ],
            "end": 440,
            "nonCodeMeta": {
              "nonCodeNodes": {
                "1": [
                  {
                    "end": 99,
                    "start": 69,
                    "type": "NonCodeNode",
                    "value": {
                      "type": "inlineComment",
                      "value": "[$startCapTag, $EndCapTag]",
                      "style": "line"
                    }
                  }
                ]
              },
              "startNodes": []
            },
            "start": 12,
            "type": "PipeExpression",
            "type": "PipeExpression"
          },
          "start": 0,
          "type": "VariableDeclarator"
        },
        "end": 440,
        "kind": "const",
        "start": 0,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      },
      {
        "declaration": {
          "end": 684,
          "id": {
            "end": 451,
            "name": "extrude001",
            "start": 441,
            "type": "Identifier"
          },
          "init": {
            "body": [
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "length"
                    },
                    "arg": {
                      "end": 485,
                      "raw": "100",
                      "start": 482,
                      "type": "Literal",
                      "type": "Literal",
                      "value": {
                        "value": 100.0,
                        "suffix": "None"
                      }
                    }
                  }
                ],
                "callee": {
                  "end": 461,
                  "name": "extrude",
                  "start": 454,
                  "type": "Identifier"
                },
                "end": 486,
                "start": 454,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": {
                  "end": 471,
                  "name": "sketch001",
                  "start": 462,
                  "type": "Identifier",
                  "type": "Identifier"
                }
              },
              {
                "arguments": [
                  {
                    "end": 530,
                    "properties": [
                      {
                        "end": 512,
                        "key": {
                          "end": 507,
                          "name": "radius",
                          "start": 501,
                          "type": "Identifier"
                        },
                        "start": 501,
                        "type": "ObjectProperty",
                        "value": {
                          "end": 512,
                          "raw": "20",
                          "start": 510,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 20.0,
                            "suffix": "None"
                          }
                        }
                      },
                      {
                        "end": 528,
                        "key": {
                          "end": 518,
                          "name": "tags",
                          "start": 514,
                          "type": "Identifier"
                        },
                        "start": 514,
                        "type": "ObjectProperty",
                        "value": {
                          "elements": [
                            {
                              "end": 527,
                              "name": "seg01",
                              "start": 522,
                              "type": "Identifier",
                              "type": "Identifier"
                            }
                          ],
                          "end": 528,
                          "start": 521,
                          "type": "ArrayExpression",
                          "type": "ArrayExpression"
                        }
                      }
                    ],
                    "start": 499,
                    "type": "ObjectExpression",
                    "type": "ObjectExpression"
                  },
                  {
                    "end": 533,
                    "start": 532,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 498,
                  "name": "fillet",
                  "start": 492,
                  "type": "Identifier"
                },
                "end": 534,
                "start": 492,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "end": 579,
                    "properties": [
                      {
                        "end": 561,
                        "key": {
                          "end": 556,
                          "name": "length",
                          "start": 550,
                          "type": "Identifier"
                        },
                        "start": 550,
                        "type": "ObjectProperty",
                        "value": {
                          "end": 561,
                          "raw": "50",
                          "start": 559,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 50.0,
                            "suffix": "None"
                          }
                        }
                      },
                      {
                        "end": 577,
                        "key": {
                          "end": 567,
                          "name": "tags",
                          "start": 563,
                          "type": "Identifier"
                        },
                        "start": 563,
                        "type": "ObjectProperty",
                        "value": {
                          "elements": [
                            {
                              "end": 576,
                              "name": "seg02",
                              "start": 571,
                              "type": "Identifier",
                              "type": "Identifier"
                            }
                          ],
                          "end": 577,
                          "start": 570,
                          "type": "ArrayExpression",
                          "type": "ArrayExpression"
                        }
                      }
                    ],
                    "start": 548,
                    "type": "ObjectExpression",
                    "type": "ObjectExpression"
                  },
                  {
                    "end": 582,
                    "start": 581,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 590,
                    "start": 584,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "seg04"
                  }
                ],
                "callee": {
                  "end": 547,
                  "name": "chamfer",
                  "start": 540,
                  "type": "Identifier"
                },
                "end": 591,
                "start": 540,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "end": 672,
                    "properties": [
                      {
                        "end": 625,
                        "key": {
                          "end": 620,
                          "name": "length",
                          "start": 614,
                          "type": "Identifier"
                        },
                        "start": 614,
                        "type": "ObjectProperty",
                        "value": {
                          "end": 625,
                          "raw": "50",
                          "start": 623,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 50.0,
                            "suffix": "None"
                          }
                        }
                      },
                      {
                        "end": 665,
                        "key": {
                          "end": 638,
                          "name": "tags",
                          "start": 634,
                          "type": "Identifier"
                        },
                        "start": 634,
                        "type": "ObjectProperty",
                        "value": {
                          "elements": [
                            {
                              "arguments": [
                                {
                                  "end": 663,
                                  "name": "seg01",
                                  "start": 658,
                                  "type": "Identifier",
                                  "type": "Identifier"
                                }
                              ],
                              "callee": {
                                "end": 657,
                                "name": "getOppositeEdge",
                                "start": 642,
                                "type": "Identifier"
                              },
                              "end": 664,
                              "start": 642,
                              "type": "CallExpression",
                              "type": "CallExpression"
                            }
                          ],
                          "end": 665,
                          "start": 641,
                          "type": "ArrayExpression",
                          "type": "ArrayExpression"
                        }
                      }
                    ],
                    "start": 605,
                    "type": "ObjectExpression",
                    "type": "ObjectExpression"
                  },
                  {
                    "end": 675,
                    "start": 674,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 683,
                    "start": 677,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "seg03"
                  }
                ],
                "callee": {
                  "end": 604,
                  "name": "chamfer",
                  "start": 597,
                  "type": "Identifier"
                },
                "end": 684,
                "start": 597,
                "type": "CallExpression",
                "type": "CallExpression"
              }
            ],
            "end": 684,
            "start": 454,
            "type": "PipeExpression",
            "type": "PipeExpression"
          },
          "start": 441,
          "type": "VariableDeclarator"
        },
        "end": 684,
        "kind": "const",
        "start": 441,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      },
      {
        "declaration": {
          "end": 1133,
          "id": {
            "end": 695,
            "name": "sketch003",
            "start": 686,
            "type": "Identifier"
          },
          "init": {
            "body": [
              {
                "arguments": [
                  {
                    "end": 722,
                    "name": "extrude001",
                    "start": 712,
                    "type": "Identifier",
                    "type": "Identifier"
                  },
                  {
                    "end": 729,
                    "name": "seg04",
                    "start": 724,
                    "type": "Identifier",
                    "type": "Identifier"
                  }
                ],
                "callee": {
                  "end": 711,
                  "name": "startSketchOn",
                  "start": 698,
                  "type": "Identifier"
                },
                "end": 730,
                "start": 698,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "argument": {
                          "end": 757,
                          "raw": "69.1",
                          "start": 753,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 69.1,
                            "suffix": "None"
                          }
                        },
                        "end": 757,
                        "operator": "-",
                        "start": 752,
                        "type": "UnaryExpression",
                        "type": "UnaryExpression"
                      },
                      {
                        "end": 765,
                        "raw": "277.34",
                        "start": 759,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 277.34,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 766,
                    "start": 751,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 769,
                    "start": 768,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 750,
                  "name": "startProfileAt",
                  "start": 736,
                  "type": "Identifier"
                },
                "end": 770,
                "start": 736,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 789,
                        "raw": "0",
                        "start": 788,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "end": 796,
                        "raw": "41.48",
                        "start": 791,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 41.48,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 797,
                    "start": 787,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 800,
                    "start": 799,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 823,
                    "start": 802,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "rectangleSegmentA003"
                  }
                ],
                "callee": {
                  "end": 786,
                  "name": "angledLine",
                  "start": 776,
                  "type": "Identifier"
                },
                "end": 824,
                "start": 776,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 883,
                        "left": {
                          "arguments": [
                            {
                              "end": 877,
                              "name": "rectangleSegmentA003",
                              "start": 857,
                              "type": "Identifier",
                              "type": "Identifier"
                            }
                          ],
                          "callee": {
                            "end": 856,
                            "name": "segAng",
                            "start": 850,
                            "type": "Identifier"
                          },
                          "end": 878,
                          "start": 850,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        "operator": "-",
                        "right": {
                          "end": 883,
                          "raw": "90",
                          "start": 881,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 90.0,
                            "suffix": "None"
                          }
                        },
                        "start": 850,
                        "type": "BinaryExpression",
                        "type": "BinaryExpression"
                      },
                      {
                        "end": 897,
                        "raw": "104.8",
                        "start": 892,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 104.8,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 904,
                    "start": 841,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 907,
                    "start": 906,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 930,
                    "start": 909,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "rectangleSegmentB002"
                  }
                ],
                "callee": {
                  "end": 840,
                  "name": "angledLine",
                  "start": 830,
                  "type": "Identifier"
                },
                "end": 931,
                "start": 830,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "arguments": [
                          {
                            "end": 984,
                            "name": "rectangleSegmentA003",
                            "start": 964,
                            "type": "Identifier",
                            "type": "Identifier"
                          }
                        ],
                        "callee": {
                          "end": 963,
                          "name": "segAng",
                          "start": 957,
                          "type": "Identifier"
                        },
                        "end": 985,
                        "start": 957,
                        "type": "CallExpression",
                        "type": "CallExpression"
                      },
                      {
                        "argument": {
                          "arguments": [
                            {
                              "end": 1022,
                              "name": "rectangleSegmentA003",
                              "start": 1002,
                              "type": "Identifier",
                              "type": "Identifier"
                            }
                          ],
                          "callee": {
                            "end": 1001,
                            "name": "segLen",
                            "start": 995,
                            "type": "Identifier"
                          },
                          "end": 1023,
                          "start": 995,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        "end": 1023,
                        "operator": "-",
                        "start": 994,
                        "type": "UnaryExpression",
                        "type": "UnaryExpression"
                      }
                    ],
                    "end": 1030,
                    "start": 948,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 1033,
                    "start": 1032,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 1056,
                    "start": 1035,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "rectangleSegmentC002"
                  }
                ],
                "callee": {
                  "end": 947,
                  "name": "angledLine",
                  "start": 937,
                  "type": "Identifier"
                },
                "end": 1057,
                "start": 937,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "endAbsolute"
                    },
                    "arg": {
                      "elements": [
                        {
                          "arguments": [
                            {
                              "end": 1098,
                              "start": 1097,
                              "type": "PipeSubstitution",
                              "type": "PipeSubstitution"
                            }
                          ],
                          "callee": {
                            "end": 1096,
                            "name": "profileStartX",
                            "start": 1083,
                            "type": "Identifier"
                          },
                          "end": 1099,
                          "start": 1083,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        {
                          "arguments": [
                            {
                              "end": 1116,
                              "start": 1115,
                              "type": "PipeSubstitution",
                              "type": "PipeSubstitution"
                            }
                          ],
                          "callee": {
                            "end": 1114,
                            "name": "profileStartY",
                            "start": 1101,
                            "type": "Identifier"
                          },
                          "end": 1117,
                          "start": 1101,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        }
                      ],
                      "end": 1118,
                      "start": 1082,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  }
                ],
                "callee": {
                  "end": 1067,
                  "name": "line",
                  "start": 1063,
                  "type": "Identifier"
                },
                "end": 1119,
                "start": 1063,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              },
              {
                "arguments": [
                  {
                    "end": 1132,
                    "start": 1131,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 1130,
                  "name": "close",
                  "start": 1125,
                  "type": "Identifier"
                },
                "end": 1133,
                "start": 1125,
                "type": "CallExpression",
                "type": "CallExpression"
              }
            ],
            "end": 1133,
            "start": 698,
            "type": "PipeExpression",
            "type": "PipeExpression"
          },
          "start": 686,
          "type": "VariableDeclarator"
        },
        "end": 1133,
        "kind": "const",
        "start": 686,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      },
      {
        "declaration": {
          "end": 1583,
          "id": {
            "end": 1143,
            "name": "sketch002",
            "start": 1134,
            "type": "Identifier"
          },
          "init": {
            "body": [
              {
                "arguments": [
                  {
                    "end": 1170,
                    "name": "extrude001",
                    "start": 1160,
                    "type": "Identifier",
                    "type": "Identifier"
                  },
                  {
                    "end": 1177,
                    "name": "seg03",
                    "start": 1172,
                    "type": "Identifier",
                    "type": "Identifier"
                  }
                ],
                "callee": {
                  "end": 1159,
                  "name": "startSketchOn",
                  "start": 1146,
                  "type": "Identifier"
                },
                "end": 1178,
                "start": 1146,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 1206,
                        "raw": "159.25",
                        "start": 1200,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 159.25,
                          "suffix": "None"
                        }
                      },
                      {
                        "end": 1214,
                        "raw": "278.35",
                        "start": 1208,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 278.35,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 1215,
                    "start": 1199,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 1218,
                    "start": 1217,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 1198,
                  "name": "startProfileAt",
                  "start": 1184,
                  "type": "Identifier"
                },
                "end": 1219,
                "start": 1184,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 1238,
                        "raw": "0",
                        "start": 1237,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "end": 1245,
                        "raw": "40.82",
                        "start": 1240,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 40.82,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 1246,
                    "start": 1236,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 1249,
                    "start": 1248,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 1272,
                    "start": 1251,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "rectangleSegmentA002"
                  }
                ],
                "callee": {
                  "end": 1235,
                  "name": "angledLine",
                  "start": 1225,
                  "type": "Identifier"
                },
                "end": 1273,
                "start": 1225,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 1332,
                        "left": {
                          "arguments": [
                            {
                              "end": 1326,
                              "name": "rectangleSegmentA002",
                              "start": 1306,
                              "type": "Identifier",
                              "type": "Identifier"
                            }
                          ],
                          "callee": {
                            "end": 1305,
                            "name": "segAng",
                            "start": 1299,
                            "type": "Identifier"
                          },
                          "end": 1327,
                          "start": 1299,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        "operator": "-",
                        "right": {
                          "end": 1332,
                          "raw": "90",
                          "start": 1330,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 90.0,
                            "suffix": "None"
                          }
                        },
                        "start": 1299,
                        "type": "BinaryExpression",
                        "type": "BinaryExpression"
                      },
                      {
                        "end": 1347,
                        "raw": "132.27",
                        "start": 1341,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 132.27,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 1354,
                    "start": 1290,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 1357,
                    "start": 1356,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 1380,
                    "start": 1359,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "rectangleSegmentB001"
                  }
                ],
                "callee": {
                  "end": 1289,
                  "name": "angledLine",
                  "start": 1279,
                  "type": "Identifier"
                },
                "end": 1381,
                "start": 1279,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "arguments": [
                          {
                            "end": 1434,
                            "name": "rectangleSegmentA002",
                            "start": 1414,
                            "type": "Identifier",
                            "type": "Identifier"
                          }
                        ],
                        "callee": {
                          "end": 1413,
                          "name": "segAng",
                          "start": 1407,
                          "type": "Identifier"
                        },
                        "end": 1435,
                        "start": 1407,
                        "type": "CallExpression",
                        "type": "CallExpression"
                      },
                      {
                        "argument": {
                          "arguments": [
                            {
                              "end": 1472,
                              "name": "rectangleSegmentA002",
                              "start": 1452,
                              "type": "Identifier",
                              "type": "Identifier"
                            }
                          ],
                          "callee": {
                            "end": 1451,
                            "name": "segLen",
                            "start": 1445,
                            "type": "Identifier"
                          },
                          "end": 1473,
                          "start": 1445,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        "end": 1473,
                        "operator": "-",
                        "start": 1444,
                        "type": "UnaryExpression",
                        "type": "UnaryExpression"
                      }
                    ],
                    "end": 1480,
                    "start": 1398,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 1483,
                    "start": 1482,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  },
                  {
                    "end": 1506,
                    "start": 1485,
                    "type": "TagDeclarator",
                    "type": "TagDeclarator",
                    "value": "rectangleSegmentC001"
                  }
                ],
                "callee": {
                  "end": 1397,
                  "name": "angledLine",
                  "start": 1387,
                  "type": "Identifier"
                },
                "end": 1507,
                "start": 1387,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "endAbsolute"
                    },
                    "arg": {
                      "elements": [
                        {
                          "arguments": [
                            {
                              "end": 1548,
                              "start": 1547,
                              "type": "PipeSubstitution",
                              "type": "PipeSubstitution"
                            }
                          ],
                          "callee": {
                            "end": 1546,
                            "name": "profileStartX",
                            "start": 1533,
                            "type": "Identifier"
                          },
                          "end": 1549,
                          "start": 1533,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        },
                        {
                          "arguments": [
                            {
                              "end": 1566,
                              "start": 1565,
                              "type": "PipeSubstitution",
                              "type": "PipeSubstitution"
                            }
                          ],
                          "callee": {
                            "end": 1564,
                            "name": "profileStartY",
                            "start": 1551,
                            "type": "Identifier"
                          },
                          "end": 1567,
                          "start": 1551,
                          "type": "CallExpression",
                          "type": "CallExpression"
                        }
                      ],
                      "end": 1568,
                      "start": 1532,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  }
                ],
                "callee": {
                  "end": 1517,
                  "name": "line",
                  "start": 1513,
                  "type": "Identifier"
                },
                "end": 1569,
                "start": 1513,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              },
              {
                "arguments": [
                  {
                    "end": 1582,
                    "start": 1581,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 1580,
                  "name": "close",
                  "start": 1575,
                  "type": "Identifier"
                },
                "end": 1583,
                "start": 1575,
                "type": "CallExpression",
                "type": "CallExpression"
              }
            ],
            "end": 1583,
            "start": 1146,
            "type": "PipeExpression",
            "type": "PipeExpression"
          },
          "start": 1134,
          "type": "VariableDeclarator"
        },
        "end": 1583,
        "kind": "const",
        "start": 1134,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      },
      {
        "declaration": {
          "end": 1628,
          "id": {
            "end": 1594,
            "name": "extrude002",
            "start": 1584,
            "type": "Identifier"
          },
          "init": {
            "arguments": [
              {
                "type": "LabeledArg",
                "label": {
                  "type": "Identifier",
                  "name": "length"
                },
                "arg": {
                  "end": 1627,
                  "raw": "50",
                  "start": 1625,
                  "type": "Literal",
                  "type": "Literal",
                  "value": {
                    "value": 50.0,
                    "suffix": "None"
                  }
                }
              }
            ],
            "callee": {
              "end": 1604,
              "name": "extrude",
              "start": 1597,
              "type": "Identifier"
            },
            "end": 1628,
            "start": 1597,
            "type": "CallExpressionKw",
            "type": "CallExpressionKw",
            "unlabeled": {
              "end": 1614,
              "name": "sketch002",
              "start": 1605,
              "type": "Identifier",
              "type": "Identifier"
            }
          },
          "start": 1584,
          "type": "VariableDeclarator"
        },
        "end": 1628,
        "kind": "const",
        "start": 1584,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      }
    ],
    "end": 1629,
    "nonCodeMeta": {
      "nonCodeNodes": {
        "1": [
          {
            "end": 686,
            "start": 684,
            "type": "NonCodeNode",
            "value": {
              "type": "newLine"
            }
          }
        ]
      },
      "startNodes": []
    },
    "start": 0
  }
}
