--- source: kcl-lib/src/simulation_tests.rs description: Artifact commands import_mesh_clone.kcl --- { "rust/kcl-lib/tests/import_mesh_clone/input.kcl": [ { "cmdId": "[uuid]", "range": [], "command": { "type": "set_object_transform", "object_id": "[uuid]", "transforms": [ { "translate": { "property": { "x": -2000.0, "y": -2000.0, "z": 0.0 }, "set": false, "is_local": true, "origin": { "type": "local" } }, "rotate_rpy": null, "rotate_angle_axis": null, "scale": null } ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_set_material_params_pbr", "object_id": "[uuid]", "color": { "r": 1.0, "g": 1.0, "b": 0.0, "a": 100.0 }, "metalness": 0.0, "roughness": 0.0, "ambient_occlusion": 0.0 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_clone", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_get_all_child_uuids", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_get_all_child_uuids", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "set_object_transform", "object_id": "[uuid]", "transforms": [ { "translate": { "property": { "x": 4000.0, "y": 0.0, "z": 0.0 }, "set": false, "is_local": true, "origin": { "type": "local" } }, "rotate_rpy": null, "rotate_angle_axis": null, "scale": null } ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_set_material_params_pbr", "object_id": "[uuid]", "color": { "r": 1.0, "g": 0.0, "b": 0.0, "a": 100.0 }, "metalness": 0.0, "roughness": 0.0, "ambient_occlusion": 0.0 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_clone", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_get_all_child_uuids", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_get_all_child_uuids", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "set_object_transform", "object_id": "[uuid]", "transforms": [ { "translate": { "property": { "x": 0.0, "y": 4000.0, "z": 0.0 }, "set": false, "is_local": true, "origin": { "type": "local" } }, "rotate_rpy": null, "rotate_angle_axis": null, "scale": null } ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_set_material_params_pbr", "object_id": "[uuid]", "color": { "r": 0.0, "g": 1.0, "b": 0.0, "a": 100.0 }, "metalness": 0.0, "roughness": 0.0, "ambient_occlusion": 0.0 } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_clone", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_get_all_child_uuids", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "entity_get_all_child_uuids", "entity_id": "[uuid]" } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "set_object_transform", "object_id": "[uuid]", "transforms": [ { "translate": { "property": { "x": 0.0, "y": 4000.0, "z": 0.0 }, "set": false, "is_local": true, "origin": { "type": "local" } }, "rotate_rpy": null, "rotate_angle_axis": null, "scale": null } ] } }, { "cmdId": "[uuid]", "range": [], "command": { "type": "object_set_material_params_pbr", "object_id": "[uuid]", "color": { "r": 0.0, "g": 0.0, "b": 1.0, "a": 100.0 }, "metalness": 0.0, "roughness": 0.0, "ambient_occlusion": 0.0 } } ], "rust/kcl-lib/tests/inputs/cube.obj": [ { "cmdId": "[uuid]", "range": [], "command": { "type": "import_files", "files": [ { "path": "cube.obj", "data": [ 35, 32, 66, 108, 101, 110, 100, 101, 114, 32, 118, 51, 46, 50, 46, 50, 32, 79, 66, 74, 32, 70, 105, 108, 101, 58, 32, 39, 39, 10, 35, 32, 119, 119, 119, 46, 98, 108, 101, 110, 100, 101, 114, 46, 111, 114, 103, 10, 109, 116, 108, 108, 105, 98, 32, 99, 117, 98, 101, 46, 109, 116, 108, 10, 111, 32, 67, 117, 98, 101, 10, 118, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 32, 49, 46, 48, 48, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 32, 49, 46, 48, 48, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 32, 49, 46, 48, 48, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 32, 49, 46, 48, 48, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 54, 50, 53, 48, 48, 48, 32, 48, 46, 53, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 56, 55, 53, 48, 48, 48, 32, 48, 46, 53, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 56, 55, 53, 48, 48, 48, 32, 48, 46, 55, 53, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 54, 50, 53, 48, 48, 48, 32, 48, 46, 55, 53, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 51, 55, 53, 48, 48, 48, 32, 48, 46, 55, 53, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 54, 50, 53, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 51, 55, 53, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 51, 55, 53, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 54, 50, 53, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 54, 50, 53, 48, 48, 48, 32, 48, 46, 50, 53, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 51, 55, 53, 48, 48, 48, 32, 48, 46, 50, 53, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 49, 50, 53, 48, 48, 48, 32, 48, 46, 53, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 51, 55, 53, 48, 48, 48, 32, 48, 46, 53, 48, 48, 48, 48, 48, 10, 118, 116, 32, 48, 46, 49, 50, 53, 48, 48, 48, 32, 48, 46, 55, 53, 48, 48, 48, 48, 10, 118, 110, 32, 48, 46, 48, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 10, 118, 110, 32, 48, 46, 48, 48, 48, 48, 32, 49, 46, 48, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 10, 118, 110, 32, 49, 46, 48, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 10, 118, 110, 32, 48, 46, 48, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 10, 118, 110, 32, 45, 49, 46, 48, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 10, 118, 110, 32, 48, 46, 48, 48, 48, 48, 32, 45, 49, 46, 48, 48, 48, 48, 32, 48, 46, 48, 48, 48, 48, 10, 117, 115, 101, 109, 116, 108, 32, 77, 97, 116, 101, 114, 105, 97, 108, 10, 115, 32, 111, 102, 102, 10, 102, 32, 49, 47, 49, 47, 49, 32, 53, 47, 50, 47, 49, 32, 55, 47, 51, 47, 49, 32, 51, 47, 52, 47, 49, 10, 102, 32, 52, 47, 53, 47, 50, 32, 51, 47, 52, 47, 50, 32, 55, 47, 54, 47, 50, 32, 56, 47, 55, 47, 50, 10, 102, 32, 56, 47, 56, 47, 51, 32, 55, 47, 57, 47, 51, 32, 53, 47, 49, 48, 47, 51, 32, 54, 47, 49, 49, 47, 51, 10, 102, 32, 54, 47, 49, 50, 47, 52, 32, 50, 47, 49, 51, 47, 52, 32, 52, 47, 53, 47, 52, 32, 56, 47, 49, 52, 47, 52, 10, 102, 32, 50, 47, 49, 51, 47, 53, 32, 49, 47, 49, 47, 53, 32, 51, 47, 52, 47, 53, 32, 52, 47, 53, 47, 53, 10, 102, 32, 54, 47, 49, 49, 47, 54, 32, 53, 47, 49, 48, 47, 54, 32, 49, 47, 49, 47, 54, 32, 50, 47, 49, 51, 47, 54, 10 ] } ], "format": { "type": "obj", "coords": { "forward": { "axis": "y", "direction": "negative" }, "up": { "axis": "z", "direction": "positive" } }, "units": "m" } } } ], "std::appearance": [], "std::array": [], "std::math": [], "std::prelude": [], "std::sketch": [], "std::solid": [], "std::sweep": [], "std::transform": [], "std::turns": [], "std::types": [], "std::units": [] }