* Change so that operations are stored per module * Refactor so that all modeling commands go through ExecState * Remove unneeded PartialOrd implementations * Remove artifact_commands from KclError since it was only for debugging --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
		
			
				
	
	
		
			1434 lines
		
	
	
		
			31 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			1434 lines
		
	
	
		
			31 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ---
 | |
| source: kcl-lib/src/simulation_tests.rs
 | |
| description: Operations executed ball-joint-rod-end.kcl
 | |
| ---
 | |
| {
 | |
|   "public/kcl-samples/ball-joint-rod-end/main.kcl": [
 | |
|     {
 | |
|       "type": "GroupBegin",
 | |
|       "group": {
 | |
|         "type": "FunctionCall",
 | |
|         "name": "polar",
 | |
|         "functionSourceRange": [],
 | |
|         "unlabeledArg": null,
 | |
|         "labeledArgs": {
 | |
|           "angle": {
 | |
|             "value": {
 | |
|               "type": "Number",
 | |
|               "value": 2.168,
 | |
|               "ty": {
 | |
|                 "type": "Known",
 | |
|                 "type": "Angle",
 | |
|                 "type": "Radians"
 | |
|               }
 | |
|             },
 | |
|             "sourceRange": []
 | |
|           },
 | |
|           "length": {
 | |
|             "value": {
 | |
|               "type": "Number",
 | |
|               "value": 8.1,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Inches"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             "sourceRange": []
 | |
|           }
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 16
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "GroupEnd"
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "startSketchOn",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Plane",
 | |
|           "artifact_id": "[uuid]"
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {},
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 19
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "GroupBegin",
 | |
|       "group": {
 | |
|         "type": "FunctionCall",
 | |
|         "name": "polar",
 | |
|         "functionSourceRange": [],
 | |
|         "unlabeledArg": null,
 | |
|         "labeledArgs": {
 | |
|           "angle": {
 | |
|             "value": {
 | |
|               "type": "Number",
 | |
|               "value": 2.419,
 | |
|               "ty": {
 | |
|                 "type": "Known",
 | |
|                 "type": "Angle",
 | |
|                 "type": "Radians"
 | |
|               }
 | |
|             },
 | |
|             "sourceRange": []
 | |
|           },
 | |
|           "length": {
 | |
|             "value": {
 | |
|               "type": "Number",
 | |
|               "value": 8.0,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Inches"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             "sourceRange": []
 | |
|           }
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 20
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           },
 | |
|           {
 | |
|             "type": "PipeBodyItem",
 | |
|             "index": 0
 | |
|           },
 | |
|           {
 | |
|             "type": "CallKwArg",
 | |
|             "index": 0
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "GroupEnd"
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "revolve",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Sketch",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "angle": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 360.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "axis": {
 | |
|           "value": {
 | |
|             "type": "Object",
 | |
|             "value": {
 | |
|               "direction": {
 | |
|                 "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"
 | |
|                       }
 | |
|                     }
 | |
|                   }
 | |
|                 ]
 | |
|               },
 | |
|               "origin": {
 | |
|                 "type": "Array",
 | |
|                 "value": [
 | |
|                   {
 | |
|                     "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": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 21
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           },
 | |
|           {
 | |
|             "type": "PipeBodyItem",
 | |
|             "index": 0
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "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": "GroupBegin",
 | |
|       "group": {
 | |
|         "type": "FunctionCall",
 | |
|         "name": "polar",
 | |
|         "functionSourceRange": [],
 | |
|         "unlabeledArg": null,
 | |
|         "labeledArgs": {
 | |
|           "angle": {
 | |
|             "value": {
 | |
|               "type": "Number",
 | |
|               "value": 1.992,
 | |
|               "ty": {
 | |
|                 "type": "Known",
 | |
|                 "type": "Angle",
 | |
|                 "type": "Radians"
 | |
|               }
 | |
|             },
 | |
|             "sourceRange": []
 | |
|           },
 | |
|           "length": {
 | |
|             "value": {
 | |
|               "type": "Number",
 | |
|               "value": 11.0,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Inches"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             "sourceRange": []
 | |
|           }
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 23
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           },
 | |
|           {
 | |
|             "type": "PipeBodyItem",
 | |
|             "index": 0
 | |
|           },
 | |
|           {
 | |
|             "type": "CallKwArg",
 | |
|             "index": 0
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "GroupEnd"
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "revolve",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Sketch",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "angle": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 360.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "axis": {
 | |
|           "value": {
 | |
|             "type": "Object",
 | |
|             "value": {
 | |
|               "direction": {
 | |
|                 "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"
 | |
|                       }
 | |
|                     }
 | |
|                   }
 | |
|                 ]
 | |
|               },
 | |
|               "origin": {
 | |
|                 "type": "Array",
 | |
|                 "value": [
 | |
|                   {
 | |
|                     "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": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 24
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "GroupBegin",
 | |
|       "group": {
 | |
|         "type": "FunctionCall",
 | |
|         "name": "polar",
 | |
|         "functionSourceRange": [],
 | |
|         "unlabeledArg": null,
 | |
|         "labeledArgs": {
 | |
|           "angle": {
 | |
|             "value": {
 | |
|               "type": "Number",
 | |
|               "value": -0.087,
 | |
|               "ty": {
 | |
|                 "type": "Known",
 | |
|                 "type": "Angle",
 | |
|                 "type": "Radians"
 | |
|               }
 | |
|             },
 | |
|             "sourceRange": []
 | |
|           },
 | |
|           "length": {
 | |
|             "value": {
 | |
|               "type": "Number",
 | |
|               "value": 10.92,
 | |
|               "ty": {
 | |
|                 "type": "Default",
 | |
|                 "len": {
 | |
|                   "type": "Inches"
 | |
|                 },
 | |
|                 "angle": {
 | |
|                   "type": "Degrees"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             "sourceRange": []
 | |
|           }
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 25
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "GroupEnd"
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "startSketchOn",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Plane",
 | |
|           "artifact_id": "[uuid]"
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {},
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 26
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "revolve",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Sketch",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "angle": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 360.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "axis": {
 | |
|           "value": {
 | |
|             "type": "Object",
 | |
|             "value": {
 | |
|               "direction": {
 | |
|                 "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"
 | |
|                       }
 | |
|                     }
 | |
|                   }
 | |
|                 ]
 | |
|               },
 | |
|               "origin": {
 | |
|                 "type": "Array",
 | |
|                 "value": [
 | |
|                   {
 | |
|                     "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": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 28
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "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": "extrude",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Sketch",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "length": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 40.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 31
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           },
 | |
|           {
 | |
|             "type": "PipeBodyItem",
 | |
|             "index": 0
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "translate",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Solid",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "x": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 20.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "y": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 0.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "z": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 0.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 31
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           },
 | |
|           {
 | |
|             "type": "PipeBodyItem",
 | |
|             "index": 1
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "fillet",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Solid",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "radius": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 1.9,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "tags": {
 | |
|           "value": {
 | |
|             "type": "Array",
 | |
|             "value": [
 | |
|               {
 | |
|                 "type": "Uuid",
 | |
|                 "value": "[uuid]"
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 31
 | |
|           },
 | |
|           {
 | |
|             "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": 1.5,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "tags": {
 | |
|           "value": {
 | |
|             "type": "Array",
 | |
|             "value": [
 | |
|               {
 | |
|                 "type": "Uuid",
 | |
|                 "value": "[uuid]"
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 31
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           },
 | |
|           {
 | |
|             "type": "PipeBodyItem",
 | |
|             "index": 3
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "intersect",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Array",
 | |
|           "value": [
 | |
|             {
 | |
|               "type": "Solid",
 | |
|               "value": {
 | |
|                 "artifactId": "[uuid]"
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "Solid",
 | |
|               "value": {
 | |
|                 "artifactId": "[uuid]"
 | |
|               }
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {},
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 32
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "startSketchOn",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Plane",
 | |
|           "artifact_id": "[uuid]"
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {},
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 33
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "extrude",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Sketch",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "length": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 100.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 35
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           },
 | |
|           {
 | |
|             "type": "PipeBodyItem",
 | |
|             "index": 0
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "translate",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Solid",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "x": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 0.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "y": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": -50.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         },
 | |
|         "z": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 0.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 35
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           },
 | |
|           {
 | |
|             "type": "PipeBodyItem",
 | |
|             "index": 1
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "subtract",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Array",
 | |
|           "value": [
 | |
|             {
 | |
|               "type": "Solid",
 | |
|               "value": {
 | |
|                 "artifactId": "[uuid]"
 | |
|               }
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "tools": {
 | |
|           "value": {
 | |
|             "type": "Array",
 | |
|             "value": [
 | |
|               {
 | |
|                 "type": "Solid",
 | |
|                 "value": {
 | |
|                   "artifactId": "[uuid]"
 | |
|                 }
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 36
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "union",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Array",
 | |
|           "value": [
 | |
|             {
 | |
|               "type": "Solid",
 | |
|               "value": {
 | |
|                 "artifactId": "[uuid]"
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "Solid",
 | |
|               "value": {
 | |
|                 "artifactId": "[uuid]"
 | |
|               }
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {},
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 37
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "offsetPlane",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Plane",
 | |
|           "artifact_id": "[uuid]"
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "offset": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": -37.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 38
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "startSketchOn",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Plane",
 | |
|           "artifact_id": "[uuid]"
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {},
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 39
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "extrude",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Sketch",
 | |
|           "value": {
 | |
|             "artifactId": "[uuid]"
 | |
|           }
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "length": {
 | |
|           "value": {
 | |
|             "type": "Number",
 | |
|             "value": 19.0,
 | |
|             "ty": {
 | |
|               "type": "Default",
 | |
|               "len": {
 | |
|                 "type": "Inches"
 | |
|               },
 | |
|               "angle": {
 | |
|                 "type": "Degrees"
 | |
|               }
 | |
|             }
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 41
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     },
 | |
|     {
 | |
|       "type": "StdLibCall",
 | |
|       "name": "subtract",
 | |
|       "unlabeledArg": {
 | |
|         "value": {
 | |
|           "type": "Array",
 | |
|           "value": [
 | |
|             {
 | |
|               "type": "Solid",
 | |
|               "value": {
 | |
|                 "artifactId": "[uuid]"
 | |
|               }
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         "sourceRange": []
 | |
|       },
 | |
|       "labeledArgs": {
 | |
|         "tools": {
 | |
|           "value": {
 | |
|             "type": "Array",
 | |
|             "value": [
 | |
|               {
 | |
|                 "type": "Solid",
 | |
|                 "value": {
 | |
|                   "artifactId": "[uuid]"
 | |
|                 }
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "sourceRange": []
 | |
|         }
 | |
|       },
 | |
|       "nodePath": {
 | |
|         "steps": [
 | |
|           {
 | |
|             "type": "ProgramBodyItem",
 | |
|             "index": 42
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationDeclaration"
 | |
|           },
 | |
|           {
 | |
|             "type": "VariableDeclarationInit"
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "sourceRange": []
 | |
|     }
 | |
|   ],
 | |
|   "std::appearance": [],
 | |
|   "std::array": [],
 | |
|   "std::math": [],
 | |
|   "std::prelude": [],
 | |
|   "std::sketch": [],
 | |
|   "std::solid": [],
 | |
|   "std::sweep": [],
 | |
|   "std::transform": [],
 | |
|   "std::turns": [],
 | |
|   "std::types": [],
 | |
|   "std::units": []
 | |
| }
 |