mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-27 01:25:52 +00:00
Extract fj-operations
from fj-app
This commit is contained in:
parent
761b1fd865
commit
a6bf96ed44
14
Cargo.lock
generated
14
Cargo.lock
generated
@ -631,8 +631,8 @@ dependencies = [
|
||||
"figment",
|
||||
"fj",
|
||||
"fj-debug",
|
||||
"fj-kernel",
|
||||
"fj-math",
|
||||
"fj-operations",
|
||||
"futures",
|
||||
"libloading",
|
||||
"nalgebra",
|
||||
@ -684,6 +684,18 @@ dependencies = [
|
||||
"parry3d-f64",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fj-operations"
|
||||
version = "0.5.0"
|
||||
dependencies = [
|
||||
"fj",
|
||||
"fj-debug",
|
||||
"fj-kernel",
|
||||
"fj-math",
|
||||
"nalgebra",
|
||||
"parry3d-f64",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "flate2"
|
||||
version = "1.0.22"
|
||||
|
@ -6,6 +6,7 @@ members = [
|
||||
"fj-debug",
|
||||
"fj-kernel",
|
||||
"fj-math",
|
||||
"fj-operations",
|
||||
|
||||
"models/cuboid",
|
||||
"models/group",
|
||||
@ -19,4 +20,5 @@ default-members = [
|
||||
"fj-debug",
|
||||
"fj-kernel",
|
||||
"fj-math",
|
||||
"fj-operations",
|
||||
]
|
||||
|
@ -42,14 +42,14 @@ path = "../fj"
|
||||
version = "0.5.0"
|
||||
path = "../fj-debug"
|
||||
|
||||
[dependencies.fj-kernel]
|
||||
version = "0.5.0"
|
||||
path = "../fj-kernel"
|
||||
|
||||
[dependencies.fj-math]
|
||||
version = "0.5.0"
|
||||
path = "../fj-math"
|
||||
|
||||
[dependencies.fj-operations]
|
||||
version = "0.5.0"
|
||||
path = "../fj-operations"
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1.0.136"
|
||||
features = ["derive"]
|
||||
|
@ -5,7 +5,6 @@ mod graphics;
|
||||
mod input;
|
||||
mod mesh;
|
||||
mod model;
|
||||
mod operations;
|
||||
mod window;
|
||||
|
||||
use std::collections::HashSet;
|
||||
@ -15,6 +14,7 @@ use std::{collections::HashMap, sync::mpsc, time::Instant};
|
||||
|
||||
use fj_debug::DebugInfo;
|
||||
use fj_math::Scalar;
|
||||
use fj_operations::ToShape as _;
|
||||
use futures::executor::block_on;
|
||||
use notify::Watcher as _;
|
||||
use tracing::trace;
|
||||
@ -32,7 +32,6 @@ use crate::{
|
||||
graphics::{DrawConfig, Renderer},
|
||||
mesh::MeshMaker,
|
||||
model::Model,
|
||||
operations::ToShape as _,
|
||||
window::Window,
|
||||
};
|
||||
|
||||
|
32
fj-operations/Cargo.toml
Normal file
32
fj-operations/Cargo.toml
Normal file
@ -0,0 +1,32 @@
|
||||
[package]
|
||||
name = "fj-operations"
|
||||
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 = ["mathematics"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
nalgebra = "0.30.0"
|
||||
parry3d-f64 = "0.8.0"
|
||||
|
||||
[dependencies.fj]
|
||||
version = "0.5.0"
|
||||
path = "../fj"
|
||||
|
||||
[dependencies.fj-math]
|
||||
version = "0.5.0"
|
||||
path = "../fj-math"
|
||||
|
||||
[dependencies.fj-debug]
|
||||
version = "0.5.0"
|
||||
path = "../fj-debug"
|
||||
|
||||
[dependencies.fj-kernel]
|
||||
version = "0.5.0"
|
||||
path = "../fj-kernel"
|
Loading…
Reference in New Issue
Block a user