* update all kcl-samples * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * Update kcl-samples simulation test output --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com> Co-authored-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
		
			
				
	
	
		
			829 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			829 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Result of parsing pipe-with-bend.kcl
 | 
						|
---
 | 
						|
{
 | 
						|
  "Ok": {
 | 
						|
    "body": [
 | 
						|
      {
 | 
						|
        "commentStart": 209,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 232,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 232,
 | 
						|
            "end": 0,
 | 
						|
            "name": "innerDiameter",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "commentStart": 248,
 | 
						|
            "end": 0,
 | 
						|
            "raw": "10",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Literal",
 | 
						|
            "type": "Literal",
 | 
						|
            "value": {
 | 
						|
              "value": 10.0,
 | 
						|
              "suffix": "None"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "preComments": [
 | 
						|
          "// Define parameters"
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 251,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 251,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 251,
 | 
						|
            "end": 0,
 | 
						|
            "name": "outerDiameter",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "commentStart": 267,
 | 
						|
            "end": 0,
 | 
						|
            "raw": "20",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Literal",
 | 
						|
            "type": "Literal",
 | 
						|
            "value": {
 | 
						|
              "value": 20.0,
 | 
						|
              "suffix": "None"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 270,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 270,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 270,
 | 
						|
            "end": 0,
 | 
						|
            "name": "bendRadius",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "commentStart": 283,
 | 
						|
            "end": 0,
 | 
						|
            "raw": "30",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Literal",
 | 
						|
            "type": "Literal",
 | 
						|
            "value": {
 | 
						|
              "value": 30.0,
 | 
						|
              "suffix": "None"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 286,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 286,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 286,
 | 
						|
            "end": 0,
 | 
						|
            "name": "bendAngle",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "commentStart": 298,
 | 
						|
            "end": 0,
 | 
						|
            "raw": "90",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Literal",
 | 
						|
            "type": "Literal",
 | 
						|
            "value": {
 | 
						|
              "value": 90.0,
 | 
						|
              "suffix": "None"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 300,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 339,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 339,
 | 
						|
            "end": 0,
 | 
						|
            "name": "sketch000",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "arguments": [
 | 
						|
              {
 | 
						|
                "abs_path": false,
 | 
						|
                "commentStart": 365,
 | 
						|
                "end": 0,
 | 
						|
                "name": {
 | 
						|
                  "commentStart": 365,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "XZ",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                },
 | 
						|
                "path": [],
 | 
						|
                "start": 0,
 | 
						|
                "type": "Name",
 | 
						|
                "type": "Name"
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "callee": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 351,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 351,
 | 
						|
                "end": 0,
 | 
						|
                "name": "startSketchOn",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name"
 | 
						|
            },
 | 
						|
            "commentStart": 351,
 | 
						|
            "end": 0,
 | 
						|
            "start": 0,
 | 
						|
            "type": "CallExpression",
 | 
						|
            "type": "CallExpression"
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "preComments": [
 | 
						|
          "",
 | 
						|
          "",
 | 
						|
          "// Create a sketch in the 'XZ' plane"
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 368,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 413,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 413,
 | 
						|
            "end": 0,
 | 
						|
            "name": "outerProfile",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "arguments": [
 | 
						|
              {
 | 
						|
                "type": "LabeledArg",
 | 
						|
                "label": {
 | 
						|
                  "commentStart": 446,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "center",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                },
 | 
						|
                "arg": {
 | 
						|
                  "commentStart": 455,
 | 
						|
                  "elements": [
 | 
						|
                    {
 | 
						|
                      "abs_path": false,
 | 
						|
                      "commentStart": 456,
 | 
						|
                      "end": 0,
 | 
						|
                      "name": {
 | 
						|
                        "commentStart": 456,
 | 
						|
                        "end": 0,
 | 
						|
                        "name": "bendRadius",
 | 
						|
                        "start": 0,
 | 
						|
                        "type": "Identifier"
 | 
						|
                      },
 | 
						|
                      "path": [],
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Name",
 | 
						|
                      "type": "Name"
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                      "commentStart": 468,
 | 
						|
                      "end": 0,
 | 
						|
                      "raw": "0",
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Literal",
 | 
						|
                      "type": "Literal",
 | 
						|
                      "value": {
 | 
						|
                        "value": 0.0,
 | 
						|
                        "suffix": "None"
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "end": 0,
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "ArrayExpression",
 | 
						|
                  "type": "ArrayExpression"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "type": "LabeledArg",
 | 
						|
                "label": {
 | 
						|
                  "commentStart": 472,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "radius",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                },
 | 
						|
                "arg": {
 | 
						|
                  "commentStart": 481,
 | 
						|
                  "end": 0,
 | 
						|
                  "left": {
 | 
						|
                    "abs_path": false,
 | 
						|
                    "commentStart": 481,
 | 
						|
                    "end": 0,
 | 
						|
                    "name": {
 | 
						|
                      "commentStart": 481,
 | 
						|
                      "end": 0,
 | 
						|
                      "name": "outerDiameter",
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Identifier"
 | 
						|
                    },
 | 
						|
                    "path": [],
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Name",
 | 
						|
                    "type": "Name"
 | 
						|
                  },
 | 
						|
                  "operator": "/",
 | 
						|
                  "right": {
 | 
						|
                    "commentStart": 497,
 | 
						|
                    "end": 0,
 | 
						|
                    "raw": "2",
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Literal",
 | 
						|
                    "type": "Literal",
 | 
						|
                    "value": {
 | 
						|
                      "value": 2.0,
 | 
						|
                      "suffix": "None"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "BinaryExpression",
 | 
						|
                  "type": "BinaryExpression"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "callee": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 428,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 428,
 | 
						|
                "end": 0,
 | 
						|
                "name": "circle",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name"
 | 
						|
            },
 | 
						|
            "commentStart": 428,
 | 
						|
            "end": 0,
 | 
						|
            "start": 0,
 | 
						|
            "type": "CallExpressionKw",
 | 
						|
            "type": "CallExpressionKw",
 | 
						|
            "unlabeled": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 435,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 435,
 | 
						|
                "end": 0,
 | 
						|
                "name": "sketch000",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name",
 | 
						|
              "type": "Name"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "preComments": [
 | 
						|
          "",
 | 
						|
          "",
 | 
						|
          "// Create a profile for the outer diameter"
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 499,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 544,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 544,
 | 
						|
            "end": 0,
 | 
						|
            "name": "innerProfile",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "arguments": [
 | 
						|
              {
 | 
						|
                "type": "LabeledArg",
 | 
						|
                "label": {
 | 
						|
                  "commentStart": 577,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "center",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                },
 | 
						|
                "arg": {
 | 
						|
                  "commentStart": 586,
 | 
						|
                  "elements": [
 | 
						|
                    {
 | 
						|
                      "abs_path": false,
 | 
						|
                      "commentStart": 587,
 | 
						|
                      "end": 0,
 | 
						|
                      "name": {
 | 
						|
                        "commentStart": 587,
 | 
						|
                        "end": 0,
 | 
						|
                        "name": "bendRadius",
 | 
						|
                        "start": 0,
 | 
						|
                        "type": "Identifier"
 | 
						|
                      },
 | 
						|
                      "path": [],
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Name",
 | 
						|
                      "type": "Name"
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                      "commentStart": 599,
 | 
						|
                      "end": 0,
 | 
						|
                      "raw": "0",
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Literal",
 | 
						|
                      "type": "Literal",
 | 
						|
                      "value": {
 | 
						|
                        "value": 0.0,
 | 
						|
                        "suffix": "None"
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ],
 | 
						|
                  "end": 0,
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "ArrayExpression",
 | 
						|
                  "type": "ArrayExpression"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "type": "LabeledArg",
 | 
						|
                "label": {
 | 
						|
                  "commentStart": 603,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "radius",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                },
 | 
						|
                "arg": {
 | 
						|
                  "commentStart": 612,
 | 
						|
                  "end": 0,
 | 
						|
                  "left": {
 | 
						|
                    "abs_path": false,
 | 
						|
                    "commentStart": 612,
 | 
						|
                    "end": 0,
 | 
						|
                    "name": {
 | 
						|
                      "commentStart": 612,
 | 
						|
                      "end": 0,
 | 
						|
                      "name": "innerDiameter",
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Identifier"
 | 
						|
                    },
 | 
						|
                    "path": [],
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Name",
 | 
						|
                    "type": "Name"
 | 
						|
                  },
 | 
						|
                  "operator": "/",
 | 
						|
                  "right": {
 | 
						|
                    "commentStart": 628,
 | 
						|
                    "end": 0,
 | 
						|
                    "raw": "2",
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Literal",
 | 
						|
                    "type": "Literal",
 | 
						|
                    "value": {
 | 
						|
                      "value": 2.0,
 | 
						|
                      "suffix": "None"
 | 
						|
                    }
 | 
						|
                  },
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "BinaryExpression",
 | 
						|
                  "type": "BinaryExpression"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "callee": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 559,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 559,
 | 
						|
                "end": 0,
 | 
						|
                "name": "circle",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name"
 | 
						|
            },
 | 
						|
            "commentStart": 559,
 | 
						|
            "end": 0,
 | 
						|
            "start": 0,
 | 
						|
            "type": "CallExpressionKw",
 | 
						|
            "type": "CallExpressionKw",
 | 
						|
            "unlabeled": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 566,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 566,
 | 
						|
                "end": 0,
 | 
						|
                "name": "sketch000",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name",
 | 
						|
              "type": "Name"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "preComments": [
 | 
						|
          "",
 | 
						|
          "",
 | 
						|
          "// Create a profile for the inner diameter"
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 630,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 666,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 666,
 | 
						|
            "end": 0,
 | 
						|
            "name": "pipeProfile",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "body": [
 | 
						|
              {
 | 
						|
                "abs_path": false,
 | 
						|
                "commentStart": 680,
 | 
						|
                "end": 0,
 | 
						|
                "name": {
 | 
						|
                  "commentStart": 680,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "outerProfile",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                },
 | 
						|
                "path": [],
 | 
						|
                "start": 0,
 | 
						|
                "type": "Name",
 | 
						|
                "type": "Name"
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "arguments": [
 | 
						|
                  {
 | 
						|
                    "abs_path": false,
 | 
						|
                    "commentStart": 703,
 | 
						|
                    "end": 0,
 | 
						|
                    "name": {
 | 
						|
                      "commentStart": 703,
 | 
						|
                      "end": 0,
 | 
						|
                      "name": "innerProfile",
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Identifier"
 | 
						|
                    },
 | 
						|
                    "path": [],
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Name",
 | 
						|
                    "type": "Name"
 | 
						|
                  },
 | 
						|
                  {
 | 
						|
                    "commentStart": 717,
 | 
						|
                    "end": 0,
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "PipeSubstitution",
 | 
						|
                    "type": "PipeSubstitution"
 | 
						|
                  }
 | 
						|
                ],
 | 
						|
                "callee": {
 | 
						|
                  "abs_path": false,
 | 
						|
                  "commentStart": 698,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": {
 | 
						|
                    "commentStart": 698,
 | 
						|
                    "end": 0,
 | 
						|
                    "name": "hole",
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Identifier"
 | 
						|
                  },
 | 
						|
                  "path": [],
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Name"
 | 
						|
                },
 | 
						|
                "commentStart": 698,
 | 
						|
                "end": 0,
 | 
						|
                "start": 0,
 | 
						|
                "type": "CallExpression",
 | 
						|
                "type": "CallExpression"
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "commentStart": 680,
 | 
						|
            "end": 0,
 | 
						|
            "nonCodeMeta": {
 | 
						|
              "nonCodeNodes": {
 | 
						|
                "1": [
 | 
						|
                  {
 | 
						|
                    "commentStart": 719,
 | 
						|
                    "end": 0,
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "NonCodeNode",
 | 
						|
                    "value": {
 | 
						|
                      "type": "newLineBlockComment",
 | 
						|
                      "value": "Revolve the pipe profile at the desired angle",
 | 
						|
                      "style": "line"
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              },
 | 
						|
              "startNodes": []
 | 
						|
            },
 | 
						|
            "start": 0,
 | 
						|
            "type": "PipeExpression",
 | 
						|
            "type": "PipeExpression"
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "preComments": [
 | 
						|
          "",
 | 
						|
          "",
 | 
						|
          "// Create the profile of the pipe"
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 770,
 | 
						|
        "declaration": {
 | 
						|
          "commentStart": 770,
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "commentStart": 770,
 | 
						|
            "end": 0,
 | 
						|
            "name": "pipe",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "arguments": [
 | 
						|
              {
 | 
						|
                "type": "LabeledArg",
 | 
						|
                "label": {
 | 
						|
                  "commentStart": 798,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "axis",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                },
 | 
						|
                "arg": {
 | 
						|
                  "abs_path": false,
 | 
						|
                  "commentStart": 805,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": {
 | 
						|
                    "commentStart": 805,
 | 
						|
                    "end": 0,
 | 
						|
                    "name": "Y",
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Identifier"
 | 
						|
                  },
 | 
						|
                  "path": [],
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Name",
 | 
						|
                  "type": "Name"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "type": "LabeledArg",
 | 
						|
                "label": {
 | 
						|
                  "commentStart": 808,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "angle",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                },
 | 
						|
                "arg": {
 | 
						|
                  "abs_path": false,
 | 
						|
                  "commentStart": 816,
 | 
						|
                  "end": 0,
 | 
						|
                  "name": {
 | 
						|
                    "commentStart": 816,
 | 
						|
                    "end": 0,
 | 
						|
                    "name": "bendAngle",
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Identifier"
 | 
						|
                  },
 | 
						|
                  "path": [],
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Name",
 | 
						|
                  "type": "Name"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "callee": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 777,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 777,
 | 
						|
                "end": 0,
 | 
						|
                "name": "revolve",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name"
 | 
						|
            },
 | 
						|
            "commentStart": 777,
 | 
						|
            "end": 0,
 | 
						|
            "start": 0,
 | 
						|
            "type": "CallExpressionKw",
 | 
						|
            "type": "CallExpressionKw",
 | 
						|
            "unlabeled": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 785,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 785,
 | 
						|
                "end": 0,
 | 
						|
                "name": "pipeProfile",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name",
 | 
						|
              "type": "Name"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "commentStart": 0,
 | 
						|
    "end": 0,
 | 
						|
    "innerAttrs": [
 | 
						|
      {
 | 
						|
        "commentStart": 0,
 | 
						|
        "end": 0,
 | 
						|
        "name": {
 | 
						|
          "commentStart": 177,
 | 
						|
          "end": 0,
 | 
						|
          "name": "settings",
 | 
						|
          "start": 0,
 | 
						|
          "type": "Identifier"
 | 
						|
        },
 | 
						|
        "preComments": [
 | 
						|
          "// Pipe with bend",
 | 
						|
          "// A tubular section or hollow cylinder, usually but not necessarily of circular cross-section, used mainly to convey substances that can flow.",
 | 
						|
          "",
 | 
						|
          "",
 | 
						|
          "// Set units"
 | 
						|
        ],
 | 
						|
        "properties": [
 | 
						|
          {
 | 
						|
            "commentStart": 186,
 | 
						|
            "end": 0,
 | 
						|
            "key": {
 | 
						|
              "commentStart": 186,
 | 
						|
              "end": 0,
 | 
						|
              "name": "defaultLengthUnit",
 | 
						|
              "start": 0,
 | 
						|
              "type": "Identifier"
 | 
						|
            },
 | 
						|
            "start": 0,
 | 
						|
            "type": "ObjectProperty",
 | 
						|
            "value": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 206,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 206,
 | 
						|
                "end": 0,
 | 
						|
                "name": "in",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name",
 | 
						|
              "type": "Name"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "Annotation"
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "nonCodeMeta": {
 | 
						|
      "nonCodeNodes": {},
 | 
						|
      "startNodes": [
 | 
						|
        {
 | 
						|
          "commentStart": 209,
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "NonCodeNode",
 | 
						|
          "value": {
 | 
						|
            "type": "newLine"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    },
 | 
						|
    "start": 0
 | 
						|
  }
 | 
						|
}
 |