mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 18:08:26 +00:00
Prepare to display intermediate result
This commit is contained in:
parent
8cc992d3b8
commit
e86b14ef0c
@ -9,12 +9,13 @@ mod operations;
|
||||
mod topology;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let tri_mesh = model::model();
|
||||
let tri_mesh = fj_viewer::make_viewer_and_spawn_thread(|viewer| {
|
||||
let tri_mesh = model::model();
|
||||
viewer.display(tri_mesh.clone());
|
||||
tri_mesh
|
||||
})?;
|
||||
|
||||
fj_export::export(&tri_mesh, "output.3mf")?;
|
||||
fj_viewer::make_viewer_and_spawn_thread(|viewer| {
|
||||
viewer.display(tri_mesh);
|
||||
})?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user