add list of printed parts to BuildPlan and mdbook overview

This commit is contained in:
Sebastian Kuzminsky 2025-04-02 22:40:41 -06:00
parent 3c696980a8
commit acf2e040c3
3 changed files with 109 additions and 13 deletions

View file

@ -62,3 +62,10 @@ impl std::ops::Add<&Quantity> for Quantity {
}
}
}
impl std::ops::AddAssign<usize> for Quantity {
fn add_assign(&mut self, rhs: usize) {
assert_eq!(self.unit, None);
self.amount += rhs as f32;
}
}