+module donut(height, footprint_radius) {
+ bread_radius = height / 2;
+ rotate_extrude() {
+ translate([footprint_radius, 0]) {
+ circle(bread_radius); } } }
+
+module donut_hole(height, footprint_radius) {
+ difference() {
+ cylinder(r = footprint_radius, h = height, center = true);
+ donut(height, footprint_radius); } }
+
+module jelly_filled(height, footprint_radius) {
+ cylinder(r = footprint_radius, h = height, center = true);
+ donut(height, footprint_radius); }
+