--- source: kcl-lib/src/simulation_tests.rs description: Artifact commands rotate_after_fillet.kcl --- { "rust/kcl-lib/tests/rotate_after_fillet/input.kcl": [ { "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": "start_path" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.469, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 0.469, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.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": 0.0, "y": -1.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extrude", "target": "[uuid]", "distance": -0.625, "faces": null, "opposite": "None" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_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_adjacency_info", "object_id": "[uuid]", "edge_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_fillet_edge", "object_id": "[uuid]", "edge_id": null, "edge_ids": [ "[uuid]", "[uuid]" ], "radius": 0.02, "tolerance": 0.0000001, "cut_type": "fillet", "strategy": "automatic", "extra_face_ids": [ "[uuid]" ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "enable_sketch_mode", "entity_id": "[uuid]", "ortho": false, "animated": false, "adjust_camera": false, "planar_normal": null } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.25, "y": 0.14433756729740643, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -0.00000000000000005302876193624534, "y": -0.28867513459481287, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -0.24999999999999997, "y": -0.14433756729740646, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": -0.25, "y": 0.1443375672974064, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.000000000000000017676253978748448, "y": 0.28867513459481287, "z": 0.0 }, "relative": true } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "line", "end": { "x": 0.25, "y": 0.1443375672974064, "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": null } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extrude", "target": "[uuid]", "distance": -0.46875, "faces": null, "opposite": "None" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_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_adjacency_info", "object_id": "[uuid]", "edge_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "enable_sketch_mode", "entity_id": "[uuid]", "ortho": false, "animated": false, "adjust_camera": false, "planar_normal": null } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "start_path" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "move_path_pen", "path": "[uuid]", "to": { "x": 0.3125, "y": 0.0, "z": 0.0 } } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extend_path", "path": "[uuid]", "segment": { "type": "arc", "center": { "x": 0.0, "y": 0.0 }, "radius": 0.3125, "start": { "unit": "degrees", "value": 0.0 }, "end": { "unit": "degrees", "value": 360.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": null } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "extrude", "target": "[uuid]", "distance": 2.5, "faces": null, "opposite": "None" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "sketch_mode_disable" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_bring_to_front", "object_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_adjacency_info", "object_id": "[uuid]", "edge_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_fillet_edge", "object_id": "[uuid]", "edge_id": null, "edge_ids": [ "[uuid]" ], "radius": 0.02, "tolerance": 0.0000001, "cut_type": "fillet", "strategy": "automatic", "extra_face_ids": [] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_set_material_params_pbr", "object_id": "[uuid]", "color": { "r": 0.3019608, "g": 0.8156863, "b": 0.2627451, "a": 100.0 }, "metalness": 0.9, "roughness": 0.9, "ambient_occlusion": 0.0 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "set_object_transform", "object_id": "[uuid]", "transforms": [ { "translate": null, "rotate_rpy": { "property": { "x": 3.14, "y": 3.14, "z": 3.14 }, "set": false, "is_local": true, "origin": { "type": "local" } }, "rotate_angle_axis": null, "scale": null } ] } } ], "std::appearance": [], "std::array": [], "std::math": [], "std::prelude": [], "std::sketch": [], "std::solid": [], "std::sweep": [], "std::transform": [], "std::turns": [], "std::types": [], "std::units": [] }