--- source: kcl-lib/src/simulation_tests.rs description: Artifact commands ball-joint-rod-end.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": 0.0, "y": 1.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": [], "command": { "type": "enable_sketch_mode", "entity_id": "[uuid]", "ortho": false, "animated": false, "adjust_camera": false, "planar_normal": { "x": 1.0, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": -152.4, "y": 134.404, "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": "arc", "center": { "x": -0.0, "y": -0.0 }, "radius": 203.2, "start": { "unit": "degrees", "value": 138.59 }, "end": { "unit": "degrees", "value": 41.41 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 152.4, "y": 101.6, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -152.4, "y": 101.6, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -152.4, "y": 134.404, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "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, "opposite": "None" } }, { "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]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_set_material_params_pbr", "object_id": "[uuid]", "color": { "r": 0.31764707, "g": 0.6039216, "b": 0.9843137, "a": 100.0 }, "metalness": 0.0, "roughness": 0.0, "ambient_occlusion": 0.0 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "make_plane", "origin": { "x": 0.0, "y": 0.0, "z": 0.0 }, "x_axis": { "x": 0.0, "y": 1.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": [], "command": { "type": "enable_sketch_mode", "entity_id": "[uuid]", "ortho": false, "animated": false, "adjust_camera": false, "planar_normal": { "x": 1.0, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": -114.3, "y": 254.951, "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": "arc", "center": { "x": -0.0, "y": -0.0 }, "radius": 279.4, "start": { "unit": "degrees", "value": 114.148 }, "end": { "unit": "degrees", "value": 65.852 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 114.3, "y": 170.105, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 2.1 }, "radius": 203.2, "start": { "unit": "degrees", "value": 55.771 }, "end": { "unit": "degrees", "value": 124.229 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -114.3, "y": 254.951, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "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, "opposite": "None" } }, { "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]" } }, { "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": 0.0, "z": 1.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": -1.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.0, "y": -914.4, "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": 201.422, "y": 0.0, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 201.422, "y": -191.766, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc_to", "interior": { "x": 276.313, "y": -24.174, "z": 0.0 }, "end": { "x": 277.368, "y": 0.0, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.0, "y": 0.0, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.0, "y": -914.4, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "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": 360.0 }, "tolerance": 0.0000001, "opposite": "None" } }, { "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]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "make_plane", "origin": { "x": 0.0, "y": 0.0, "z": 0.0 }, "x_axis": { "x": 0.0, "y": -1.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": [], "command": { "type": "enable_sketch_mode", "entity_id": "[uuid]", "ortho": false, "animated": false, "adjust_camera": false, "planar_normal": { "x": -1.0, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.0, "y": -939.8, "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": 177.8, "y": 0.0, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 177.8, "y": -258.06, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 111.76, "y": -192.02, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 111.76, "y": 0.0, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -110.49, "y": 0.0, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.0, "y": -192.02, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -177.8, "y": -259.33, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.0, "y": -681.74, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.0, "y": -939.8, "z": 0.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "enable_sketch_mode", "entity_id": "[uuid]", "ortho": false, "animated": false, "adjust_camera": false, "planar_normal": { "x": -1.0, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extrude", "target": "[uuid]", "distance": 1016.0, "faces": null, "opposite": "None" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "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]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "set_object_transform", "object_id": "[uuid]", "transforms": [ { "translate": { "property": { "x": 508.0, "y": 0.0, "z": 0.0 }, "set": false, "is_local": true }, "rotate_rpy": null, "rotate_angle_axis": null, "scale": null } ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_fillet_edge", "object_id": "[uuid]", "edge_id": null, "edge_ids": [ "[uuid]" ], "radius": 48.26, "tolerance": 0.0000001, "cut_type": "fillet", "strategy": "automatic", "extra_face_ids": [] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_common_edge", "object_id": "[uuid]", "face_ids": [ "[uuid]", "[uuid]" ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_fillet_edge", "object_id": "[uuid]", "edge_id": null, "edge_ids": [ "[uuid]" ], "radius": 38.099999999999994, "tolerance": 0.0000001, "cut_type": "fillet", "strategy": "automatic", "extra_face_ids": [] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_common_edge", "object_id": "[uuid]", "face_ids": [ "[uuid]", "[uuid]" ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "boolean_intersection", "solid_ids": [ "[uuid]", "[uuid]" ], "tolerance": 0.0000001 } }, { "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": 0.0, "z": 1.0 }, "size": 60.0, "clobber": false, "hide": true } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "close_path", "path_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "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": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 152.39999999999998, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 152.4, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [], "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": [], "command": { "type": "extrude", "target": "[uuid]", "distance": 2540.0, "faces": null, "opposite": "None" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "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]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "set_object_transform", "object_id": "[uuid]", "transforms": [ { "translate": { "property": { "x": 0.0, "y": -1270.0, "z": 0.0 }, "set": false, "is_local": true }, "rotate_rpy": null, "rotate_angle_axis": null, "scale": null } ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "boolean_subtract", "target_ids": [ "[uuid]" ], "tool_ids": [ "[uuid]" ], "tolerance": 0.0000001 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "boolean_union", "solid_ids": [ "[uuid]", "[uuid]" ], "tolerance": 0.0000001 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "make_plane", "origin": { "x": 0.0, "y": 0.0, "z": -939.8 }, "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": "close_path", "path_id": "[uuid]" } }, { "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": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 86.36, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 86.36, "y": 0.0, "z": 0.0 } } }, { "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": "start_path" } }, { "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": "extrude", "target": "[uuid]", "distance": 482.59999999999997, "faces": null, "opposite": "None" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "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]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "boolean_subtract", "target_ids": [ "[uuid]" ], "tool_ids": [ "[uuid]" ], "tolerance": 0.0000001 } } ]