---
source: kcl-lib/src/simulation_tests.rs
description: Operations executed curtain-wall-anchor-plate.kcl
---
[
  {
    "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": -100.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": 200.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "fillet",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "radius": {
        "value": {
          "type": "Number",
          "value": 8.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "tags": {
        "value": {
          "type": "Array",
          "value": [
            {
              "type": "Uuid",
              "value": "[uuid]"
            }
          ]
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "fillet",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {
      "radius": {
        "value": {
          "type": "Number",
          "value": 16.0,
          "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": "Plane",
        "artifact_id": "[uuid]"
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "hexagonFn",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "plane": {
          "value": {
            "type": "Plane",
            "artifact_id": "[uuid]"
          },
          "sourceRange": []
        },
        "radius": {
          "value": {
            "type": "Number",
            "value": 10.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": 7.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": 26.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": -13.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": -3.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": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "hexagonFn",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "plane": {
          "value": {
            "type": "Face",
            "artifact_id": "[uuid]"
          },
          "sourceRange": []
        },
        "radius": {
          "value": {
            "type": "Number",
            "value": 12.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": 7.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "boltFn",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "diameter": {
          "value": {
            "type": "Number",
            "value": 10.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 26.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "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": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "lProfileFn",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "lengthBase": {
          "value": {
            "type": "Number",
            "value": 300.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "lengthHook": {
          "value": {
            "type": "Number",
            "value": 80.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "thickness": {
          "value": {
            "type": "Number",
            "value": 8.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "width": {
          "value": {
            "type": "Number",
            "value": 200.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": "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": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "clone",
    "unlabeledArg": {
      "value": {
        "type": "Solid",
        "value": {
          "artifactId": "[uuid]"
        }
      },
      "sourceRange": []
    },
    "labeledArgs": {},
    "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": []
      }
    },
    "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": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupBegin",
    "group": {
      "type": "FunctionCall",
      "name": "boltWithPlateAndNutFn",
      "functionSourceRange": [],
      "unlabeledArg": null,
      "labeledArgs": {
        "diameter": {
          "value": {
            "type": "Number",
            "value": 10.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "gap": {
          "value": {
            "type": "Number",
            "value": 13.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        },
        "length": {
          "value": {
            "type": "Number",
            "value": 20.0,
            "ty": {
              "type": "Default",
              "len": {
                "type": "Mm"
              },
              "angle": {
                "type": "Degrees"
              }
            }
          },
          "sourceRange": []
        }
      }
    },
    "sourceRange": []
  },
  {
    "type": "StdLibCall",
    "name": "patternLinear3d",
    "unlabeledArg": {
      "value": {
        "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": 140.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      },
      "instances": {
        "value": {
          "type": "Number",
          "value": 2.0,
          "ty": {
            "type": "Default",
            "len": {
              "type": "Mm"
            },
            "angle": {
              "type": "Degrees"
            }
          }
        },
        "sourceRange": []
      }
    },
    "sourceRange": []
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  },
  {
    "type": "GroupEnd"
  }
]
