--- source: kcl-lib/src/simulation_tests.rs description: Artifact commands ball-bearing.kcl --- [ { "cmdId": "[uuid]", "range": [ 0, 0, 0 ], "command": { "type": "edge_lines_visible", "hidden": false } }, { "cmdId": "[uuid]", "range": [ 0, 0, 0 ], "command": { "type": "set_scene_units", "unit": "mm" } }, { "cmdId": "[uuid]", "range": [ 0, 0, 0 ], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } }, { "cmdId": "[uuid]", "range": [ 0, 0, 0 ], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } }, { "cmdId": "[uuid]", "range": [ 262, 295, 0 ], "command": { "type": "set_scene_units", "unit": "in" } }, { "cmdId": "[uuid]", "range": [ 677, 726, 0 ], "command": { "type": "make_plane", "origin": { "x": 0.0, "y": 0.0, "z": -0.1565 }, "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": [ 677, 726, 0 ], "command": { "type": "plane_set_color", "plane_id": "[uuid]", "color": { "r": 0.6, "g": 0.6, "b": 0.6, "a": 0.3 } } }, { "cmdId": "[uuid]", "range": [ 733, 816, 0 ], "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": [ 733, 816, 0 ], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [ 733, 816, 0 ], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.475, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [ 733, 816, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 733, 816, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 0.475, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [ 733, 816, 0 ], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 827, 894, 0 ], "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": [ 827, 894, 0 ], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [ 827, 894, 0 ], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.375, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [ 827, 894, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 827, 894, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 0.375, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [ 827, 894, 0 ], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 822, 898, 0 ], "command": { "type": "solid2d_add_hole", "object_id": "[uuid]", "hole_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 822, 898, 0 ], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } }, { "cmdId": "[uuid]", "range": [ 949, 1001, 0 ], "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": [ 949, 1001, 0 ], "command": { "type": "extrude", "target": "[uuid]", "distance": 0.313, "faces": null } }, { "cmdId": "[uuid]", "range": [ 949, 1001, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 949, 1001, 0 ], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 949, 1001, 0 ], "command": { "type": "solid3d_get_extrusion_face_info", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 949, 1001, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 949, 1001, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 949, 1001, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 949, 1001, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1058, 1077, 0 ], "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": [ 1083, 1139, 0 ], "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": [ 1083, 1139, 0 ], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [ 1083, 1139, 0 ], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.475, "y": 0.001, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [ 1083, 1139, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 1145, 1237, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.6, "y": 0.001 }, "radius": 0.125, "start": { "unit": "degrees", "value": 180.0 }, "end": { "unit": "degrees", "value": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [ 1243, 1250, 0 ], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1332, 1368, 0 ], "command": { "type": "revolve", "target": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": 0.0 }, "axis": { "x": 1.0, "y": 0.0, "z": 0.0 }, "axis_is_2d": true, "angle": { "unit": "degrees", "value": 360.0 }, "tolerance": 0.0000001 } }, { "cmdId": "[uuid]", "range": [ 1332, 1368, 0 ], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1332, 1368, 0 ], "command": { "type": "solid3d_get_extrusion_face_info", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1332, 1368, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1332, 1368, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1332, 1368, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1332, 1368, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1374, 1534, 0 ], "command": { "type": "entity_circular_pattern", "entity_id": "[uuid]", "axis": { "x": 0.0, "y": 0.0, "z": 1.0 }, "center": { "x": 0.0, "y": 0.0, "z": 0.0 }, "num_repetitions": 9, "arc_degrees": 360.0, "rotate_duplicates": true } }, { "cmdId": "[uuid]", "range": [ 1602, 1621, 0 ], "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": [ 1627, 1760, 0 ], "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": [ 1627, 1760, 0 ], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [ 1627, 1760, 0 ], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.5375, "y": 0.10825317547305482, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [ 1627, 1760, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 1766, 1859, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.6, "y": -0.0 }, "radius": 0.125, "start": { "unit": "degrees", "value": 120.0 }, "end": { "unit": "degrees", "value": 60.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [ 1865, 1896, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.0, "y": 0.0313, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [ 1902, 1930, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -0.125, "y": 0.0, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [ 1936, 1943, 0 ], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "revolve", "target": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": 0.0 }, "axis": { "x": 1.0, "y": 0.0, "z": 0.0 }, "axis_is_2d": true, "angle": { "unit": "degrees", "value": 360.0 }, "tolerance": 0.0000001 } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_extrusion_face_info", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 1985, 2021, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2027, 2187, 0 ], "command": { "type": "entity_circular_pattern", "entity_id": "[uuid]", "axis": { "x": 0.0, "y": 0.0, "z": 1.0 }, "center": { "x": 0.0, "y": 0.0, "z": 0.0 }, "num_repetitions": 9, "arc_degrees": 360.0, "rotate_duplicates": true } }, { "cmdId": "[uuid]", "range": [ 2259, 2278, 0 ], "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": 0.0, "z": 1.0 }, "size": 60.0, "clobber": false, "hide": true } }, { "cmdId": "[uuid]", "range": [ 2284, 2425, 0 ], "command": { "type": "enable_sketch_mode", "entity_id": "[uuid]", "ortho": false, "animated": false, "adjust_camera": false, "planar_normal": { "x": 0.0, "y": -1.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [ 2284, 2425, 0 ], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [ 2284, 2425, 0 ], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.63125, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [ 2284, 2425, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 2284, 2425, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.6, "y": 0.0 }, "radius": 0.03125, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [ 2284, 2425, 0 ], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2468, 2525, 0 ], "command": { "type": "revolve", "target": "[uuid]", "origin": { "x": 0.0, "y": 0.0, "z": 0.0 }, "axis": { "x": 0.0, "y": 1.0, "z": 0.0 }, "axis_is_2d": true, "angle": { "unit": "degrees", "value": 36.0 }, "tolerance": 0.0000001 } }, { "cmdId": "[uuid]", "range": [ 2468, 2525, 0 ], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2468, 2525, 0 ], "command": { "type": "solid3d_get_extrusion_face_info", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2468, 2525, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2468, 2525, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2531, 2691, 0 ], "command": { "type": "entity_circular_pattern", "entity_id": "[uuid]", "axis": { "x": 0.0, "y": 0.0, "z": 1.0 }, "center": { "x": 0.0, "y": 0.0, "z": 0.0 }, "num_repetitions": 9, "arc_degrees": 360.0, "rotate_duplicates": true } }, { "cmdId": "[uuid]", "range": [ 2770, 2819, 0 ], "command": { "type": "make_plane", "origin": { "x": 0.0, "y": 0.0, "z": -0.1565 }, "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": [ 2770, 2819, 0 ], "command": { "type": "plane_set_color", "plane_id": "[uuid]", "color": { "r": 0.6, "g": 0.6, "b": 0.6, "a": 0.3 } } }, { "cmdId": "[uuid]", "range": [ 2826, 2900, 0 ], "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": [ 2826, 2900, 0 ], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [ 2826, 2900, 0 ], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.8125, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [ 2826, 2900, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 2826, 2900, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 0.8125, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [ 2826, 2900, 0 ], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2911, 3006, 0 ], "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": [ 2911, 3006, 0 ], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [ 2911, 3006, 0 ], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.725, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [ 2911, 3006, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 2911, 3006, 0 ], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 0.725, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [ 2911, 3006, 0 ], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2906, 3010, 0 ], "command": { "type": "solid2d_add_hole", "object_id": "[uuid]", "hole_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 2906, 3010, 0 ], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } }, { "cmdId": "[uuid]", "range": [ 3026, 3079, 0 ], "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": [ 3026, 3079, 0 ], "command": { "type": "extrude", "target": "[uuid]", "distance": 0.313, "faces": null } }, { "cmdId": "[uuid]", "range": [ 3026, 3079, 0 ], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [ 3026, 3079, 0 ], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 3026, 3079, 0 ], "command": { "type": "solid3d_get_extrusion_face_info", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 3026, 3079, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 3026, 3079, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 3026, 3079, 0 ], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 3026, 3079, 0 ], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [ 733, 816, 0 ], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } }, { "cmdId": "[uuid]", "range": [ 827, 894, 0 ], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } }, { "cmdId": "[uuid]", "range": [ 2826, 2900, 0 ], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } }, { "cmdId": "[uuid]", "range": [ 2911, 3006, 0 ], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } } ]