---
source: kcl-lib/src/simulation_tests.rs
description: Artifact commands helical-gear.kcl
---
[
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "edge_lines_visible",
      "hidden": false
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_visible",
      "object_id": "[uuid]",
      "hidden": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_visible",
      "object_id": "[uuid]",
      "hidden": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "make_plane",
      "origin": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "x_axis": {
        "x": 1.0,
        "y": 0.0,
        "z": 0.0
      },
      "y_axis": {
        "x": 0.0,
        "y": 1.0,
        "z": 0.0
      },
      "size": 60.0,
      "clobber": false,
      "hide": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "enable_sketch_mode",
      "entity_id": "[uuid]",
      "ortho": false,
      "animated": false,
      "adjust_camera": false,
      "planar_normal": {
        "x": 0.0,
        "y": 0.0,
        "z": 1.0
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "move_path_pen",
      "path": "[uuid]",
      "to": {
        "x": 3.3541,
        "y": 1.0,
        "z": 0.0
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "sketch_mode_disable"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "start_path"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": 1.0,
          "y": 0.0,
          "z": 0.0
        },
        "relative": true
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": 0.0,
          "y": -2.0,
          "z": 0.0
        },
        "relative": true
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": -1.0,
          "y": 0.0,
          "z": 0.0
        },
        "relative": true
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "arc",
        "center": {
          "x": 0.0,
          "y": 0.0
        },
        "radius": 3.5,
        "start": {
          "unit": "degrees",
          "value": 343.3985
        },
        "end": {
          "unit": "degrees",
          "value": 180.0
        },
        "relative": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "arc",
        "center": {
          "x": 0.0,
          "y": 0.0
        },
        "radius": 3.5,
        "start": {
          "unit": "degrees",
          "value": 180.0
        },
        "end": {
          "unit": "degrees",
          "value": 16.6015
        },
        "relative": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "close_path",
      "path_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "make_plane",
      "origin": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "x_axis": {
        "x": 1.0,
        "y": 0.0,
        "z": 0.0
      },
      "y_axis": {
        "x": 0.0,
        "y": 1.0,
        "z": 0.0
      },
      "size": 100.0,
      "clobber": false,
      "hide": false
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "make_plane",
      "origin": {
        "x": 0.0,
        "y": 0.0,
        "z": 3.5
      },
      "x_axis": {
        "x": 1.0,
        "y": 0.0,
        "z": 0.0
      },
      "y_axis": {
        "x": 0.0,
        "y": 1.0,
        "z": 0.0
      },
      "size": 100.0,
      "clobber": false,
      "hide": false
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "make_plane",
      "origin": {
        "x": 0.0,
        "y": 0.0,
        "z": 7.0
      },
      "x_axis": {
        "x": 1.0,
        "y": 0.0,
        "z": 0.0
      },
      "y_axis": {
        "x": 0.0,
        "y": 1.0,
        "z": 0.0
      },
      "size": 100.0,
      "clobber": false,
      "hide": false
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "plane_set_color",
      "plane_id": "[uuid]",
      "color": {
        "r": 0.6,
        "g": 0.6,
        "b": 0.6,
        "a": 0.3
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "plane_set_color",
      "plane_id": "[uuid]",
      "color": {
        "r": 0.6,
        "g": 0.6,
        "b": 0.6,
        "a": 0.3
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "plane_set_color",
      "plane_id": "[uuid]",
      "color": {
        "r": 0.6,
        "g": 0.6,
        "b": 0.6,
        "a": 0.3
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "enable_sketch_mode",
      "entity_id": "[uuid]",
      "ortho": false,
      "animated": false,
      "adjust_camera": false,
      "planar_normal": {
        "x": 0.0,
        "y": 0.0,
        "z": 1.0
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "enable_sketch_mode",
      "entity_id": "[uuid]",
      "ortho": false,
      "animated": false,
      "adjust_camera": false,
      "planar_normal": {
        "x": 0.0,
        "y": 0.0,
        "z": 1.0
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "enable_sketch_mode",
      "entity_id": "[uuid]",
      "ortho": false,
      "animated": false,
      "adjust_camera": false,
      "planar_normal": {
        "x": 0.0,
        "y": 0.0,
        "z": 1.0
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "move_path_pen",
      "path": "[uuid]",
      "to": {
        "x": 0.0,
        "y": 19.7335,
        "z": 0.0
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "move_path_pen",
      "path": "[uuid]",
      "to": {
        "x": 2.1027,
        "y": 19.6212,
        "z": 0.0
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "move_path_pen",
      "path": "[uuid]",
      "to": {
        "x": 4.2053,
        "y": 19.2802,
        "z": 0.0
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_visible",
      "object_id": "[uuid]",
      "hidden": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_visible",
      "object_id": "[uuid]",
      "hidden": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_visible",
      "object_id": "[uuid]",
      "hidden": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "sketch_mode_disable"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "sketch_mode_disable"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "sketch_mode_disable"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "start_path"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "start_path"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "start_path"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "circular_involute",
        "start_radius": 19.733545036504076,
        "end_radius": 23.0,
        "angle": {
          "unit": "degrees",
          "value": 90.0
        },
        "reverse": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "circular_involute",
        "start_radius": 19.733545036504076,
        "end_radius": 23.0,
        "angle": {
          "unit": "degrees",
          "value": 83.8833
        },
        "reverse": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "circular_involute",
        "start_radius": 19.733545036504076,
        "end_radius": 23.0,
        "angle": {
          "unit": "degrees",
          "value": 77.6955
        },
        "reverse": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": -3.0495,
          "y": 22.7969,
          "z": 0.0
        },
        "relative": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": -0.603,
          "y": 22.9921,
          "z": 0.0
        },
        "relative": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": 1.8788,
          "y": 22.9231,
          "z": 0.0
        },
        "relative": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "circular_involute",
        "start_radius": 19.733545036504076,
        "end_radius": 23.0,
        "angle": {
          "unit": "degrees",
          "value": 616.4232
        },
        "reverse": true
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "circular_involute",
        "start_radius": 19.733545036504076,
        "end_radius": 23.0,
        "angle": {
          "unit": "degrees",
          "value": -97.4601
        },
        "reverse": true
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "circular_involute",
        "start_radius": 19.733545036504076,
        "end_radius": 23.0,
        "angle": {
          "unit": "degrees",
          "value": -91.2723
        },
        "reverse": true
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": -5.8166,
          "y": 18.8568,
          "z": 0.0
        },
        "relative": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": -3.7742,
          "y": 19.3693,
          "z": 0.0
        },
        "relative": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "extend_path",
      "path": "[uuid]",
      "segment": {
        "type": "line",
        "end": {
          "x": -1.6644,
          "y": 19.6632,
          "z": 0.0
        },
        "relative": false
      }
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "entity_circular_pattern",
      "entity_id": "[uuid]",
      "axis": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "center": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "num_repetitions": 20,
      "arc_degrees": 360.0,
      "rotate_duplicates": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "entity_circular_pattern",
      "entity_id": "[uuid]",
      "axis": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "center": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "num_repetitions": 20,
      "arc_degrees": 360.0,
      "rotate_duplicates": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "entity_circular_pattern",
      "entity_id": "[uuid]",
      "axis": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "center": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "num_repetitions": 20,
      "arc_degrees": 360.0,
      "rotate_duplicates": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "close_path",
      "path_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "close_path",
      "path_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "close_path",
      "path_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_visible",
      "object_id": "[uuid]",
      "hidden": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_visible",
      "object_id": "[uuid]",
      "hidden": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_visible",
      "object_id": "[uuid]",
      "hidden": true
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "solid2d_add_hole",
      "object_id": "[uuid]",
      "hole_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "solid2d_add_hole",
      "object_id": "[uuid]",
      "hole_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "solid2d_add_hole",
      "object_id": "[uuid]",
      "hole_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "loft",
      "section_ids": [
        "[uuid]",
        "[uuid]",
        "[uuid]"
      ],
      "v_degree": 2,
      "bez_approximate_rational": false,
      "base_curve_index": null,
      "tolerance": 0.0000001
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "object_bring_to_front",
      "object_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "solid3d_get_adjacency_info",
      "object_id": "[uuid]",
      "edge_id": "[uuid]"
    }
  },
  {
    "cmdId": "[uuid]",
    "range": [],
    "command": {
      "type": "solid3d_get_extrusion_face_info",
      "object_id": "[uuid]",
      "edge_id": "[uuid]"
    }
  }
]
