---
source: kcl-lib/src/simulation_tests.rs
description: Operations executed helical-gear.kcl
---
[
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "startSketchOn",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[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": 0.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "offsetPlane",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "offset": {
        "value": {
          "type": "Number",
          "value": 3.5,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "offsetPlane",
    "unlabeledArg": {
      "value": {
        "type": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "offset": {
        "value": {
          "type": "Number",
          "value": 7.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.5708,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 19.7335,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.464,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 19.7335,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.356,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 19.7335,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.7038,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 23.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.597,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 23.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.489,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 23.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.87,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 19.7335,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.7632,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 19.7335,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "polar",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "angle": {
          "value": {
            "type": "Number",
            "value": 1.6552,
            "ty": {
              "type": "Known",
              "type": "Angle",
              "type": "Radians"
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 19.7335,
            "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": "subtract2d",
    "unlabeledArg": {
      "value": {
        "type": "Sketch",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "tool": {
        "value": {
          "type": "Sketch",
          "value": {
            "artifactId": "[uuid]"
          }
        },
        "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": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "helicalGearSketch",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "offsetHeight": {
          "value": {
            "type": "Number",
            "value": 0.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "helicalGearSketch",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "offsetHeight": {
          "value": {
            "type": "Number",
            "value": 3.5,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "helicalGearSketch",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "offsetHeight": {
          "value": {
            "type": "Number",
            "value": 7.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "loft",
    "unlabeledArg": {
      "value": {
        "type": "Array",
        "value": [
          {
            "type": "Sketch",
            "value": {
              "artifactId": "[uuid]"
            }
          },
          {
            "type": "Sketch",
            "value": {
              "artifactId": "[uuid]"
            }
          },
          {
            "type": "Sketch",
            "value": {
              "artifactId": "[uuid]"
            }
          }
        ]
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "helicalGear",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "gearHeight": {
          "value": {
            "type": "Number",
            "value": 7.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "helixAngle": {
          "value": {
            "type": "Number",
            "value": 35.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "module": {
          "value": {
            "type": "Number",
            "value": 2.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "nTeeth": {
          "value": {
            "type": "Number",
            "value": 21.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "pressureAngle": {
          "value": {
            "type": "Number",
            "value": 20.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  }
]
