mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-30 11:55:57 +00:00
Extract fj-export
from fj-app
This commit is contained in:
parent
5f2ef72e71
commit
d96b3ef29d
11
Cargo.lock
generated
11
Cargo.lock
generated
@ -698,6 +698,7 @@ dependencies = [
|
||||
"clap",
|
||||
"figment",
|
||||
"fj",
|
||||
"fj-export",
|
||||
"fj-host",
|
||||
"fj-interop",
|
||||
"fj-kernel",
|
||||
@ -708,7 +709,6 @@ dependencies = [
|
||||
"parry3d-f64",
|
||||
"serde",
|
||||
"thiserror",
|
||||
"threemf",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"wgpu",
|
||||
@ -716,6 +716,15 @@ dependencies = [
|
||||
"winit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fj-export"
|
||||
version = "0.5.0"
|
||||
dependencies = [
|
||||
"fj-interop",
|
||||
"fj-math",
|
||||
"threemf",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fj-host"
|
||||
version = "0.5.0"
|
||||
|
@ -18,7 +18,6 @@ futures = "0.3.21"
|
||||
nalgebra = "0.30.0"
|
||||
parry3d-f64 = "0.8.0"
|
||||
thiserror = "1.0.30"
|
||||
threemf = "0.3.0"
|
||||
tracing = "0.1.33"
|
||||
wgpu = "0.12.0"
|
||||
wgpu_glyph = "0.16.0"
|
||||
@ -36,6 +35,10 @@ features = ["env", "toml"]
|
||||
version = "0.5.0"
|
||||
path = "../fj"
|
||||
|
||||
[dependencies.fj-export]
|
||||
version = "0.5.0"
|
||||
path = "../fj-export"
|
||||
|
||||
[dependencies.fj-host]
|
||||
version = "0.5.0"
|
||||
path = "../fj-host"
|
||||
|
@ -1,7 +1,6 @@
|
||||
mod args;
|
||||
mod camera;
|
||||
mod config;
|
||||
mod export;
|
||||
mod graphics;
|
||||
mod input;
|
||||
mod window;
|
||||
@ -10,6 +9,7 @@ use std::path::PathBuf;
|
||||
use std::time::Instant;
|
||||
|
||||
use anyhow::anyhow;
|
||||
use fj_export::export;
|
||||
use fj_host::{Model, Parameters};
|
||||
use fj_operations::shape_processor::ShapeProcessor;
|
||||
use futures::executor::block_on;
|
||||
@ -25,7 +25,6 @@ use crate::{
|
||||
args::Args,
|
||||
camera::Camera,
|
||||
config::Config,
|
||||
export::export,
|
||||
graphics::{DrawConfig, Renderer},
|
||||
window::Window,
|
||||
};
|
||||
|
23
fj-export/Cargo.toml
Normal file
23
fj-export/Cargo.toml
Normal file
@ -0,0 +1,23 @@
|
||||
[package]
|
||||
name = "fj-export"
|
||||
version = "0.5.0"
|
||||
edition = "2021"
|
||||
|
||||
description = "The world needs another CAD program."
|
||||
readme = "../README.md"
|
||||
repository = "https://github.com/hannobraun/fornjot"
|
||||
license = "0BSD"
|
||||
keywords = ["cad", "programmatic", "code-cad"]
|
||||
categories = ["encoding"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
threemf = "0.3.0"
|
||||
|
||||
[dependencies.fj-interop]
|
||||
version = "0.5.0"
|
||||
path = "../fj-interop"
|
||||
|
||||
[dependencies.fj-math]
|
||||
version = "0.5.0"
|
||||
path = "../fj-math"
|
Loading…
Reference in New Issue
Block a user