Skip to content

Commit f0cf6c3

Browse files
committed
bump
Signed-off-by: Jess Frazelle <github@jessfraz.com>
1 parent 54701cb commit f0cf6c3

File tree

7 files changed

+1219
-2900
lines changed

7 files changed

+1219
-2900
lines changed

Cargo.lock

Lines changed: 93 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zoo"
3-
version = "0.2.105"
3+
version = "0.2.106"
44
edition = "2021"
55
build = "build.rs"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -21,11 +21,11 @@ git_rev = "0.1.0"
2121
heck = "0.5.0"
2222
http = "1"
2323
itertools = "0.12.1"
24-
kcl-lib = { version = "0.2.49", features = ["disable-println"] }
24+
kcl-lib = { version = "0.2.50", features = ["disable-println"] }
2525
#kcl-lib = { path = "../modeling-app/src/wasm-lib/kcl" }
26-
kcl-test-server = "0.1.49"
27-
kittycad = { version = "0.3.30", features = ["clap", "tabled", "requests", "retry"] }
28-
kittycad-modeling-cmds = { version = "0.2.103", features = ["websocket", "convert_client_crate", "tabled"] }
26+
kcl-test-server = "0.1.50"
27+
kittycad = { version = "0.3.33", features = ["clap", "tabled", "requests", "retry"] }
28+
kittycad-modeling-cmds = { version = "0.2.105", features = ["websocket", "convert_client_crate", "tabled"] }
2929
log = "0.4.26"
3030
miette = { version = "7.5.0", features = ["fancy"] }
3131
nu-ansi-term = "0.50.1"

src/cmd_file.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl crate::cmd::Command for CmdFileSnapshot {
237237
data: input.clone(),
238238
}];
239239

240-
if let kittycad::types::InputFormat::Gltf {} = src_format {
240+
if let kittycad::types::InputFormat3D::Gltf {} = src_format {
241241
if let Ok(str) = std::str::from_utf8(&input) {
242242
if let Ok(json) = serde_json::from_str::<crate::types::GltfStandardJsonLite>(str) {
243243
// Use the path of the control file as the prefix path of
@@ -717,7 +717,7 @@ fn get_import_format_from_extension(ext: &str) -> Result<kittycad::types::FileIm
717717
fn get_input_format(
718718
format: kittycad::types::FileImportFormat,
719719
ul: kittycad::types::UnitLength,
720-
) -> Result<kittycad::types::InputFormat> {
720+
) -> Result<kittycad::types::InputFormat3D> {
721721
// Zoo co-ordinate system.
722722
//
723723
// * Forward: -Y
@@ -734,15 +734,15 @@ fn get_input_format(
734734
},
735735
};
736736
match format {
737-
kittycad::types::FileImportFormat::Step => Ok(kittycad::types::InputFormat::Step {
737+
kittycad::types::FileImportFormat::Step => Ok(kittycad::types::InputFormat3D::Step {
738738
split_closed_faces: false,
739739
}),
740-
kittycad::types::FileImportFormat::Stl => Ok(kittycad::types::InputFormat::Stl { coords, units: ul }),
741-
kittycad::types::FileImportFormat::Obj => Ok(kittycad::types::InputFormat::Obj { coords, units: ul }),
742-
kittycad::types::FileImportFormat::Gltf => Ok(kittycad::types::InputFormat::Gltf {}),
743-
kittycad::types::FileImportFormat::Ply => Ok(kittycad::types::InputFormat::Ply { coords, units: ul }),
744-
kittycad::types::FileImportFormat::Fbx => Ok(kittycad::types::InputFormat::Fbx {}),
745-
kittycad::types::FileImportFormat::Sldprt => Ok(kittycad::types::InputFormat::Sldprt {
740+
kittycad::types::FileImportFormat::Stl => Ok(kittycad::types::InputFormat3D::Stl { coords, units: ul }),
741+
kittycad::types::FileImportFormat::Obj => Ok(kittycad::types::InputFormat3D::Obj { coords, units: ul }),
742+
kittycad::types::FileImportFormat::Gltf => Ok(kittycad::types::InputFormat3D::Gltf {}),
743+
kittycad::types::FileImportFormat::Ply => Ok(kittycad::types::InputFormat3D::Ply { coords, units: ul }),
744+
kittycad::types::FileImportFormat::Fbx => Ok(kittycad::types::InputFormat3D::Fbx {}),
745+
kittycad::types::FileImportFormat::Sldprt => Ok(kittycad::types::InputFormat3D::Sldprt {
746746
split_closed_faces: false,
747747
}),
748748
}

0 commit comments

Comments
 (0)