added comments to files and removed the geogebra file

This commit is contained in:
tessaK9 2026-03-16 17:49:23 +01:00
commit 76a3aa2915
7 changed files with 22 additions and 15 deletions

View file

@ -1,4 +1,5 @@
module hinge(deg, lb, la){
//deg is the amount in degrees the hinge should be able to pivot, len_before the length of the section before the hinge, len_after the length of the section after the hinge
module hinge(deg, len_before = 0, len_after = 0){
cut_points = [[6,0,5.5],
[6,7,5.5],
@ -47,7 +48,7 @@ module hinge(deg, lb, la){
rotate(90, [1,0,0]) cylinder(h = 4.5, r = 1.25, center = true, $fn = 16);
}
translate([3,2.5,2.25]) cube([4,2,2.5], center = false);
translate([-lb,0,0]) cube([lb,7,6], center = false);
translate([7,0,0]) cube([la,7,6], center = false);
translate([-len_before,0,0]) cube([len_before,7,6], center = false);
translate([7,0,0]) cube([len_after,7,6], center = false);
}
}