Skip to content

Commit

Permalink
Merge pull request #1373 from hannobraun/model
Browse files Browse the repository at this point in the history
Remove model generation feature
  • Loading branch information
hannobraun authored Nov 21, 2022
2 parents 979dbdd + 7eb4b0b commit e69945a
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 124 deletions.
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resolver = "2"
members = [
"crates/fj",
"crates/fj-app",
"crates/fj-app/model-template",
"crates/fj-export",
"crates/fj-host",
"crates/fj-interop",
Expand Down
7 changes: 0 additions & 7 deletions crates/fj-app/model-template/Cargo.toml

This file was deleted.

10 changes: 0 additions & 10 deletions crates/fj-app/model-template/README.md

This file was deleted.

40 changes: 0 additions & 40 deletions crates/fj-app/model-template/src/lib.rs

This file was deleted.

4 changes: 0 additions & 4 deletions crates/fj-app/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ pub struct Args {
/// The model to open
pub model: Option<PathBuf>,

/// Create a new model with this name
#[arg(short, long, value_name = "MODEL_NAME")]
pub new: Option<String>,

/// Export model to this path
#[arg(short, long, value_name = "PATH")]
pub export: Option<PathBuf>,
Expand Down
5 changes: 0 additions & 5 deletions crates/fj-app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
mod args;
mod config;
mod model_crate;
mod path;

use anyhow::{anyhow, Context};
Expand Down Expand Up @@ -50,10 +49,6 @@ fn main() -> anyhow::Result<()> {
tolerance: args.tolerance,
};

if let Some(model_name) = args.new {
return model_crate::create(&model_name);
}

let model = model_path.map(|m| m.load_model(parameters)).transpose()?;

if let Some(export_path) = args.export {
Expand Down
50 changes: 0 additions & 50 deletions crates/fj-app/src/model_crate.rs

This file was deleted.

0 comments on commit e69945a

Please sign in to comment.