Skip to content

Commit

Permalink
save output solid as obj
Browse files Browse the repository at this point in the history
  • Loading branch information
MattFerraro committed May 12, 2024
1 parent a4f15c0 commit 9066c6a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/cadmium/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,12 @@ fn stacked_cubes() {

el.realize_extrusion(&extrusion_id);

el.git_log();
// println!("project: {:?}", el.project);
// print each solid
for (solid_id, solid) in el.solids.iter() {
println!("Solid: {:?}", solid);
solid.save_as_obj("first_solid.obj", 0.01);
}

// el.git_log();
// el.to_project();
}

0 comments on commit 9066c6a

Please sign in to comment.