---
source: kcl-lib/src/simulation_tests.rs
description: Operations executed surgical-drill-guide.kcl
---
[
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": 30.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "symmetric": {
        "value": {
          "type": "Bool",
          "value": true
        },
        "sourceRange": []
      },
      "tagEnd": {
        "value": {
          "type": "TagDeclarator",
          "name": "capEnd001"
        },
        "sourceRange": []
      },
      "tagStart": {
        "value": {
          "type": "TagDeclarator",
          "name": "capStart001"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "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": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "offsetPlane",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "offset": {
        "value": {
          "type": "Number",
          "value": 35.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "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": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "subtract",
    "unlabeledArg": {
      "value": {
        "type": "Array",
        "value": [
          {
            "type": "Solid",
            "value": {
              "artifactId": "[uuid]"
            }
          }
        ]
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "tools": {
        "value": {
          "type": "Solid",
          "value": {
            "artifactId": "[uuid]"
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "union",
    "unlabeledArg": {
      "value": {
        "type": "Array",
        "value": [
          {
            "type": "Solid",
            "value": {
              "artifactId": "[uuid]"
            }
          },
          {
            "type": "Solid",
            "value": {
              "artifactId": "[uuid]"
            }
          }
        ]
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "offsetPlane",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "offset": {
        "value": {
          "type": "Number",
          "value": 28.4952,
          "ty": {
            "type": "Known",
            "type": "Length",
            "type": "Mm"
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": -15.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "symmetric": {
        "value": {
          "type": "Bool",
          "value": true
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "face": {
        "value": {
          "type": "String",
          "value": "end"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": 45.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tagEnd": {
        "value": {
          "type": "TagDeclarator",
          "name": "capEnd004"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "chamfer",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": 0.6667,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tags": {
        "value": {
          "type": "Array",
          "value": [
            {
              "type": "Uuid",
              "value": "[uuid]"
            }
          ]
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "face": {
        "value": {
          "type": "String",
          "value": "end"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": -60.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "offsetPlane",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "offset": {
        "value": {
          "type": "Number",
          "value": 47.4952,
          "ty": {
            "type": "Known",
            "type": "Length",
            "type": "Mm"
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "subtract2d",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "tool": {
        "value": {
          "type": "Sketch",
          "value": {
            "artifactId": "[uuid]"
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": -10.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tagEnd": {
        "value": {
          "type": "TagDeclarator",
          "name": "capEnd005"
        },
        "sourceRange": []
      },
      "tagStart": {
        "value": {
          "type": "TagDeclarator",
          "name": "capStart003"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "fillet",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "radius": {
        "value": {
          "type": "Number",
          "value": 1.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tags": {
        "value": {
          "type": "Array",
          "value": [
            {
              "type": "Uuid",
              "value": "[uuid]"
            },
            {
              "type": "Uuid",
              "value": "[uuid]"
            }
          ]
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "offsetPlane",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "offset": {
        "value": {
          "type": "Number",
          "value": -2.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": 15.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "face": {
        "value": {
          "type": "String",
          "value": "start"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": 45.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tagEnd": {
        "value": {
          "type": "TagDeclarator",
          "name": "capEnd003"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "chamfer",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": 1.0667,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tags": {
        "value": {
          "type": "Array",
          "value": [
            {
              "type": "Uuid",
              "value": "[uuid]"
            }
          ]
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "face": {
        "value": {
          "type": "String",
          "value": "end"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": -60.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "offsetPlane",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "offset": {
        "value": {
          "type": "Number",
          "value": -3.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "subtract2d",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "tool": {
        "value": {
          "type": "Sketch",
          "value": {
            "artifactId": "[uuid]"
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "extrude",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "length": {
        "value": {
          "type": "Number",
          "value": -10.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tagEnd": {
        "value": {
          "type": "TagDeclarator",
          "name": "capEnd002"
        },
        "sourceRange": []
      },
      "tagStart": {
        "value": {
          "type": "TagDeclarator",
          "name": "capStart002"
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "fillet",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "radius": {
        "value": {
          "type": "Number",
          "value": 1.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tags": {
        "value": {
          "type": "Array",
          "value": [
            {
              "type": "Uuid",
              "value": "[uuid]"
            },
            {
              "type": "Uuid",
              "value": "[uuid]"
            }
          ]
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  }
]
