* Add libm dependency * Change to use libm for trig functions * Remove redactions for floating point * Update output * Use clippy to prevent stdlib math sneaking back in --------- Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev>
		
			
				
	
	
		
			918 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			918 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Operations executed scale_after_fillet.kcl
 | 
						|
---
 | 
						|
{
 | 
						|
  "rust/kcl-lib/tests/scale_after_fillet/input.kcl": [
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "boltDiameter",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 0.625,
 | 
						|
        "ty": {
 | 
						|
          "type": "Default",
 | 
						|
          "len": {
 | 
						|
            "type": "Mm"
 | 
						|
          },
 | 
						|
          "angle": {
 | 
						|
            "type": "Degrees"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 0
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "boltLength",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 2.5,
 | 
						|
        "ty": {
 | 
						|
          "type": "Default",
 | 
						|
          "len": {
 | 
						|
            "type": "Mm"
 | 
						|
          },
 | 
						|
          "angle": {
 | 
						|
            "type": "Degrees"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 1
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "boltHeadLength",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 0.625,
 | 
						|
        "ty": {
 | 
						|
          "type": "Default",
 | 
						|
          "len": {
 | 
						|
            "type": "Mm"
 | 
						|
          },
 | 
						|
          "angle": {
 | 
						|
            "type": "Degrees"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 2
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "boltHeadDiameter",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 0.938,
 | 
						|
        "ty": {
 | 
						|
          "type": "Default",
 | 
						|
          "len": {
 | 
						|
            "type": "Mm"
 | 
						|
          },
 | 
						|
          "angle": {
 | 
						|
            "type": "Degrees"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 3
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "boltHexDrive",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 0.5,
 | 
						|
        "ty": {
 | 
						|
          "type": "Default",
 | 
						|
          "len": {
 | 
						|
            "type": "Mm"
 | 
						|
          },
 | 
						|
          "angle": {
 | 
						|
            "type": "Degrees"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 4
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "boltHexFlatLength",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 0.28867513459481287,
 | 
						|
        "ty": {
 | 
						|
          "type": "Default",
 | 
						|
          "len": {
 | 
						|
            "type": "Mm"
 | 
						|
          },
 | 
						|
          "angle": {
 | 
						|
            "type": "Degrees"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 5
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "boltThreadLength",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 1.75,
 | 
						|
        "ty": {
 | 
						|
          "type": "Default",
 | 
						|
          "len": {
 | 
						|
            "type": "Mm"
 | 
						|
          },
 | 
						|
          "angle": {
 | 
						|
            "type": "Degrees"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 6
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "GroupBegin",
 | 
						|
      "group": {
 | 
						|
        "type": "FunctionCall",
 | 
						|
        "name": "bolt",
 | 
						|
        "functionSourceRange": [],
 | 
						|
        "unlabeledArg": null,
 | 
						|
        "labeledArgs": {}
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 8
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "ExpressionStatementExpr"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 0
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "startSketchOn",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Plane",
 | 
						|
          "artifact_id": "[uuid]"
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {},
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 7
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBody"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBodyItem",
 | 
						|
            "index": 0
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 0
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "extrude",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {
 | 
						|
        "length": {
 | 
						|
          "value": {
 | 
						|
            "type": "Number",
 | 
						|
            "value": -0.625,
 | 
						|
            "ty": {
 | 
						|
              "type": "Default",
 | 
						|
              "len": {
 | 
						|
                "type": "Mm"
 | 
						|
              },
 | 
						|
              "angle": {
 | 
						|
                "type": "Degrees"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 7
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBody"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBodyItem",
 | 
						|
            "index": 0
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 2
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "fillet",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {
 | 
						|
        "radius": {
 | 
						|
          "value": {
 | 
						|
            "type": "Number",
 | 
						|
            "value": 0.02,
 | 
						|
            "ty": {
 | 
						|
              "type": "Default",
 | 
						|
              "len": {
 | 
						|
                "type": "Mm"
 | 
						|
              },
 | 
						|
              "angle": {
 | 
						|
                "type": "Degrees"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        },
 | 
						|
        "tags": {
 | 
						|
          "value": {
 | 
						|
            "type": "Array",
 | 
						|
            "value": [
 | 
						|
              {
 | 
						|
                "type": "TagIdentifier",
 | 
						|
                "value": "topEdge",
 | 
						|
                "artifact_id": "[uuid]"
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "type": "Uuid",
 | 
						|
                "value": "[uuid]"
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 7
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBody"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBodyItem",
 | 
						|
            "index": 0
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 3
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "startSketchOn",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {
 | 
						|
        "face": {
 | 
						|
          "value": {
 | 
						|
            "type": "String",
 | 
						|
            "value": "start"
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 7
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBody"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBodyItem",
 | 
						|
            "index": 1
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 0
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "extrude",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {
 | 
						|
        "length": {
 | 
						|
          "value": {
 | 
						|
            "type": "Number",
 | 
						|
            "value": -0.46875,
 | 
						|
            "ty": {
 | 
						|
              "type": "Default",
 | 
						|
              "len": {
 | 
						|
                "type": "Mm"
 | 
						|
              },
 | 
						|
              "angle": {
 | 
						|
                "type": "Degrees"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 7
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBody"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBodyItem",
 | 
						|
            "index": 1
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 8
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "startSketchOn",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {
 | 
						|
        "face": {
 | 
						|
          "value": {
 | 
						|
            "type": "String",
 | 
						|
            "value": "end"
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 7
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBody"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBodyItem",
 | 
						|
            "index": 2
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 0
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "extrude",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {
 | 
						|
        "length": {
 | 
						|
          "value": {
 | 
						|
            "type": "Number",
 | 
						|
            "value": 2.5,
 | 
						|
            "ty": {
 | 
						|
              "type": "Default",
 | 
						|
              "len": {
 | 
						|
                "type": "Mm"
 | 
						|
              },
 | 
						|
              "angle": {
 | 
						|
                "type": "Degrees"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 7
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBody"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBodyItem",
 | 
						|
            "index": 2
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 2
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "fillet",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {
 | 
						|
        "radius": {
 | 
						|
          "value": {
 | 
						|
            "type": "Number",
 | 
						|
            "value": 0.02,
 | 
						|
            "ty": {
 | 
						|
              "type": "Default",
 | 
						|
              "len": {
 | 
						|
                "type": "Mm"
 | 
						|
              },
 | 
						|
              "angle": {
 | 
						|
                "type": "Degrees"
 | 
						|
              }
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        },
 | 
						|
        "tags": {
 | 
						|
          "value": {
 | 
						|
            "type": "Array",
 | 
						|
            "value": [
 | 
						|
              {
 | 
						|
                "type": "Uuid",
 | 
						|
                "value": "[uuid]"
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 7
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBody"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "FunctionExpressionBodyItem",
 | 
						|
            "index": 2
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationDeclaration"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "VariableDeclarationInit"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 3
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "GroupEnd"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "StdLibCall",
 | 
						|
      "name": "scale",
 | 
						|
      "unlabeledArg": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": []
 | 
						|
      },
 | 
						|
      "labeledArgs": {
 | 
						|
        "x": {
 | 
						|
          "value": {
 | 
						|
            "type": "Number",
 | 
						|
            "value": 3.14,
 | 
						|
            "ty": {
 | 
						|
              "type": "Known",
 | 
						|
              "type": "Count"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        },
 | 
						|
        "y": {
 | 
						|
          "value": {
 | 
						|
            "type": "Number",
 | 
						|
            "value": 3.14,
 | 
						|
            "ty": {
 | 
						|
              "type": "Known",
 | 
						|
              "type": "Count"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        },
 | 
						|
        "z": {
 | 
						|
          "value": {
 | 
						|
            "type": "Number",
 | 
						|
            "value": 3.14,
 | 
						|
            "ty": {
 | 
						|
              "type": "Known",
 | 
						|
              "type": "Count"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "sourceRange": []
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "nodePath": {
 | 
						|
        "steps": [
 | 
						|
          {
 | 
						|
            "type": "ProgramBodyItem",
 | 
						|
            "index": 8
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "ExpressionStatementExpr"
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "type": "PipeBodyItem",
 | 
						|
            "index": 1
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "std::appearance": [],
 | 
						|
  "std::array": [],
 | 
						|
  "std::math": [
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "PI",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 3.141592653589793,
 | 
						|
        "ty": {
 | 
						|
          "type": "Unknown"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": []
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "E",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 2.718281828459045,
 | 
						|
        "ty": {
 | 
						|
          "type": "Known",
 | 
						|
          "type": "Count"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": []
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "TAU",
 | 
						|
      "value": {
 | 
						|
        "type": "Number",
 | 
						|
        "value": 6.283185307179586,
 | 
						|
        "ty": {
 | 
						|
          "type": "Known",
 | 
						|
          "type": "Count"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": []
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "std::prelude": [
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "START",
 | 
						|
      "value": {
 | 
						|
        "type": "String",
 | 
						|
        "value": "start"
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": []
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "type": "VariableDeclaration",
 | 
						|
      "name": "END",
 | 
						|
      "value": {
 | 
						|
        "type": "String",
 | 
						|
        "value": "end"
 | 
						|
      },
 | 
						|
      "visibility": "export",
 | 
						|
      "nodePath": {
 | 
						|
        "steps": []
 | 
						|
      },
 | 
						|
      "sourceRange": []
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "std::sketch": [],
 | 
						|
  "std::solid": [],
 | 
						|
  "std::sweep": [],
 | 
						|
  "std::transform": [],
 | 
						|
  "std::turns": [],
 | 
						|
  "std::types": [],
 | 
						|
  "std::units": []
 | 
						|
}
 |