fix height
parent
ff4ac04924
commit
e35d5fe550
18
anybeam.scad
18
anybeam.scad
|
@ -45,7 +45,7 @@
|
|||
// The space prevents a hole from appearing at the start of the beam where
|
||||
// the two overlap.
|
||||
//
|
||||
// Connecing hole 2.5 of the size 4 beam to hole 1 of the size 2 beam at 90 degrees.
|
||||
// Connecting hole 2.5 of the size 4 beam to hole 1 of the size 2 beam at 90 degrees.
|
||||
//
|
||||
// [ "OOOO", [ 2.5, 1, 90 ], ".O" ]
|
||||
//
|
||||
|
@ -79,7 +79,9 @@ function ab_fill(car, nb_occ, out="") = (nb_occ == 0) ? out : str(ab_fill(car, n
|
|||
// Standard big frame
|
||||
//anybeam( [ "O|||O", [ 5, 3, 90 ], "||O|O|O|O||", [ 9, 1, 90 ], "O|||O", [ 5, 3, 90 ], "||O|O|O|O||" ], 1);
|
||||
|
||||
anybeam( [ "|O|O|", [ 5, 1, 90 ], "_|O|O|O|_", [ 9, 1, 90 ], "|O|O|", [ 5, 1, 90 ], "_|O|O|O|_" ], 1);
|
||||
//anybeam( [ "|O|O|", [ 5, 1, 90 ], "_|O|O|O|_", [ 9, 1, 90 ], "|O|O|", [ 5, 1, 90 ], "_|O|O|O|_" ], 1);
|
||||
|
||||
//anybeam_tee(stem="|O|", top="_O|");
|
||||
|
||||
module anybeam( beams = [], height = 1 ) {
|
||||
translate([0, 0, height/2]) {
|
||||
|
@ -99,26 +101,26 @@ module anybeam_straight( holes = 10, height = 1 ) {
|
|||
}
|
||||
}
|
||||
|
||||
module anybeam_tee( stem = "OOO", top = "OOO", height = AB_BEAM_HEIGHT ) {
|
||||
anybeam( [ "OOO", [ 2, 1, 90 ], "OOO" ], height );
|
||||
module anybeam_tee( stem = "OOO", top = "OOO", height = 1 ) {
|
||||
anybeam( [ stem, [ 2, 1, 90 ], top ], height );
|
||||
}
|
||||
|
||||
module anybeam_143( left = "XOOO", right = "OOOOOX", height = AB_BEAM_HEIGHT ) {
|
||||
module anybeam_143( left = "XOOO", right = "OOOOOX", height = 1 ) {
|
||||
anybeam( [ left, [ len(left), 1, 53.13 ], right ], height );
|
||||
}
|
||||
|
||||
module anybeam_90(left = "XOOO", right = "OO", height = AB_BEAM_HEIGHT) {
|
||||
module anybeam_90(left = "XOOO", right = "OO", height = 1) {
|
||||
anybeam( [ left, [ len(left), 1, 90 ], right ], height );
|
||||
}
|
||||
|
||||
module anybeam_135x2(left = "XOOOOOO", middle = " () ", right = "OOX", height = AB_BEAM_HEIGHT) {
|
||||
module anybeam_135x2(left = "XOOOOOO", middle = " () ", right = "OOX", height = 1) {
|
||||
anybeam( [ left, [ len(left), 1, 45 ], middle, [ len(middle), 1, 45], right ], height );
|
||||
}
|
||||
|
||||
//
|
||||
// Test beam that uses all features.
|
||||
//
|
||||
module anybeam_test(left = "XOOOOOO", middle = "O(-) ", right = 3, height = AB_BEAM_HEIGHT) {
|
||||
module anybeam_test(left = "XOOOOOO", middle = "O(-) ", right = 3, height = 1) {
|
||||
anybeam( [ left, [ len(left), 3, 45 ], middle, [ len(middle), 1, 45], right ], height );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue