--- source: kcl-lib/src/simulation_tests.rs description: Artifact commands subtract_regression03.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": -12.7940816, "y": -6.7290696, "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": -4.8739, "y": 4.3836, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": -14.878, "y": 0.7564 }, "radius": 4.17195, "start": { "unit": "degrees", "value": 228.031232 }, "end": { "unit": "degrees", "value": 105.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 11.8064, "y": 3.1635, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": -7.5438 }, "radius": 16.0401, "start": { "unit": "degrees", "value": 105.0 }, "end": { "unit": "degrees", "value": 75.0 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 11.8064, "y": -3.1635, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 14.8781, "y": 0.7564 }, "radius": 4.17195, "start": { "unit": "degrees", "value": 75.0 }, "end": { "unit": "degrees", "value": -37.055012 }, "relative": false } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -5.0882, "y": -6.7388, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "set_object_transform", "object_id": "[uuid]", "transforms": [ { "translate": null, "rotate_rpy": null, "rotate_angle_axis": null, "scale": { "property": { "x": 0.958, "y": 0.958, "z": 1.0 }, "set": false, "is_local": true } } ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "make_plane", "origin": { "x": -12.7940816, "y": -6.7290696, "z": 0.0 }, "x_axis": { "x": 0.7435091262737867, "y": 0.6687257877094245, "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.6687257877094245, "y": -0.7435091262737867, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 1.2573, "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": 1.2573, "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": "object_bring_to_front", "object_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_visible", "object_id": "[uuid]", "hidden": true } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "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": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sweep", "target": "[uuid]", "trajectory": "[uuid]", "sectional": false, "tolerance": 0.0000001 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "make_plane", "origin": { "x": -12.7940816, "y": -7.112, "z": 0.0 }, "x_axis": { "x": -0.7435091262737867, "y": 0.6687257877094245, "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.6687257877094245, "y": -0.7435091262737867, "z": -0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.0, "y": -1.5239999999999998, "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": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 3.2771, "y": 3.048, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -3.2771, "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": -3.048, "z": 0.0 }, "relative": 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.6687257877094245, "y": -0.7435091262737867, "z": -0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extrude", "target": "[uuid]", "distance": -5.08, "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_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "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": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "boolean_subtract", "target_ids": [ "[uuid]" ], "tool_ids": [ "[uuid]" ], "tolerance": 0.0000001 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "make_plane", "origin": { "x": 10.668, "y": -7.112, "z": 0.0 }, "x_axis": { "x": -0.6025804201392091, "y": -0.7980581665924197, "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.7980581665924197, "y": 0.6025804201392091, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.0, "y": -1.5239999999999998, "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": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.0, "y": 3.048, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -3.2771, "y": 0.0, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 3.2771, "y": -3.048, "z": 0.0 }, "relative": 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.7980581665924197, "y": 0.6025804201392091, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extrude", "target": "[uuid]", "distance": -5.08, "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_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_all_edge_faces", "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": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_next_adjacent_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "solid3d_get_opposite_edge", "object_id": "[uuid]", "edge_id": "[uuid]", "face_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "boolean_subtract", "target_ids": [ "[uuid]" ], "tool_ids": [ "[uuid]" ], "tolerance": 0.0000001 } } ]