* Add NodePath to operations * Change to use nodePath to get pathToNode instead of sourceRange * Add additional node path unit test * Update output * Fix import statement NodePaths * Update output * Factor into function
		
			
				
	
	
		
			2027 lines
		
	
	
		
			38 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			2027 lines
		
	
	
		
			38 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ---
 | |
| source: kcl-lib/src/simulation_tests.rs
 | |
| description: Operations executed utility-sink.kcl
 | |
| ---
 | |
| [
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 11
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 834.5,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 14
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 8
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 17
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 150.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 17
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 13.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 18
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 8
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 13.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 20
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 7
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 22
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 163.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 22
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 671.5,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 24
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 8
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 25
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 847.5,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 25
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": -13.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 26
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 7
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": -13.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 28
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 7
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 29
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 850.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 29
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Sketch",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": -2.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 30
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 6
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "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": 38
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Sketch",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 200.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 39
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 7
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "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": 40
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Sketch",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": -200.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 41
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 7
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 42
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 850.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 42
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Sketch",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 5.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 42
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 3
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 43
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 850.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 43
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Sketch",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 170.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 43
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 3
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 44
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": -545.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 44
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Sketch",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 237.4,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 44
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 3
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 45
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": -545.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 45
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Sketch",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 70.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 45
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 3
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 52
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 165.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 52
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 667.5,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 53
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 7
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "patternLinear3d",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Solid",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Solid",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "axis": {
 | |
|         "value": {
 | |
|           "type": "Array",
 | |
|           "value": [
 | |
|             {
 | |
|               "type": "Number",
 | |
|               "value": 0.0,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Mm"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "Number",
 | |
|               "value": 1.0,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Mm"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "Number",
 | |
|               "value": 0.0,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Mm"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "distance": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 587.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "instances": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 2.0,
 | |
|           "ty": {
 | |
|             "type": "Known",
 | |
|             "type": "Count"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 53
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 8
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "extrude",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Array",
 | |
|         "value": [
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "type": "Sketch",
 | |
|             "value": {
 | |
|               "artifactId": "[uuid]"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "length": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 667.5,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 57
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 7
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 65
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "offsetPlane",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "offset": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 780.0,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 65
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "CallKwUnlabeledArg"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "startSketchOn",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Plane",
 | |
|         "artifact_id": "[uuid]"
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {},
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 67
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "sweep",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Sketch",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "path": {
 | |
|         "value": {
 | |
|           "type": "Sketch",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 69
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 0
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   },
 | |
|   {
 | |
|     "type": "StdLibCall",
 | |
|     "name": "patternLinear3d",
 | |
|     "unlabeledArg": {
 | |
|       "value": {
 | |
|         "type": "Solid",
 | |
|         "value": {
 | |
|           "artifactId": "[uuid]"
 | |
|         }
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     "labeledArgs": {
 | |
|       "axis": {
 | |
|         "value": {
 | |
|           "type": "Array",
 | |
|           "value": [
 | |
|             {
 | |
|               "type": "Number",
 | |
|               "value": 1.0,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Mm"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "Number",
 | |
|               "value": 0.0,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Mm"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "Number",
 | |
|               "value": 0.0,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Mm"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "distance": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 593.5,
 | |
|           "ty": {
 | |
|             "type": "Default",
 | |
|             "len": {
 | |
|               "type": "Mm"
 | |
|             },
 | |
|             "angle": {
 | |
|               "type": "Degrees"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "instances": {
 | |
|         "value": {
 | |
|           "type": "Number",
 | |
|           "value": 2.0,
 | |
|           "ty": {
 | |
|             "type": "Known",
 | |
|             "type": "Count"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       }
 | |
|     },
 | |
|     "nodePath": {
 | |
|       "steps": [
 | |
|         {
 | |
|           "type": "ProgramBodyItem",
 | |
|           "index": 69
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationDeclaration"
 | |
|         },
 | |
|         {
 | |
|           "type": "VariableDeclarationInit"
 | |
|         },
 | |
|         {
 | |
|           "type": "PipeBodyItem",
 | |
|           "index": 1
 | |
|         }
 | |
|       ]
 | |
|     },
 | |
|     "sourceRange": []
 | |
|   }
 | |
| ]
 |