forked from hugs/bitbeam
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from suda/master
automerge
- Loading branch information
Showing
6 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use <bitbeam-beam.scad>; | ||
|
||
beam(4); | ||
rotate([0, 0, 90]) | ||
translate([0, -8, 0]) | ||
beam(4); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Description: "LEGO Technic-compatible gridbeam" | ||
// Project home: http://bitbeam.org | ||
|
||
// Each bitbeam is 8mm inches wide. | ||
// Center of each hole is 8mm apart from each other | ||
// Holes are 5.1 mm in diameter. | ||
|
||
// Mini | ||
//beam_width = 4; | ||
//hole_diameter = 2.2; | ||
|
||
// Standard | ||
beam_width = 8; | ||
hole_diameter = 5.1; | ||
|
||
hole_radius = hole_diameter / 2; | ||
|
||
module beam(number_of_holes) { | ||
beam_length = number_of_holes * beam_width; | ||
difference() { | ||
// Draw the beam... | ||
cube([beam_length,beam_width,beam_width]); | ||
|
||
// Cut the holes... | ||
for (x=[beam_width/2 : beam_width : beam_length]) { | ||
translate([x,beam_width/2,-2]) | ||
cylinder(r=hole_radius, h=12, $fn=30); | ||
} | ||
for (x=[beam_width/2 : beam_width : beam_length]) { | ||
rotate([90,0,0]) | ||
translate([x,beam_width/2,-10]) | ||
cylinder(r=hole_radius, h=12, $fn=30); | ||
} | ||
|
||
// Optional through-hole | ||
//rotate([0,90,0]) | ||
//translate([-4,beam_width/2,-2]) | ||
//cylinder(r=hole_radius, h=number_of_holes*beam_width+4, $fn=30); | ||
} | ||
} | ||
|
||
beam(3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use <bitbeam-beam.scad>; | ||
|
||
beam(5); | ||
rotate([0, 0, 90]) | ||
translate([-(8 * 2), -(8 * 3), 0]) | ||
beam(5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use <bitbeam-beam.scad>; | ||
|
||
beam(4); | ||
rotate([0, 0, 90]) | ||
translate([0, -8, 0]) | ||
beam(4); | ||
|
||
rotate([0, 90, 0]) | ||
translate([-(8 * 4), 0, 0]) | ||
beam(4); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use <bitbeam-beam.scad>; | ||
|
||
beam(4); | ||
rotate([0, 0, 90]) | ||
translate([-(8 * 3), -8, 0]) | ||
beam(7); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use <bitbeam-beam.scad>; | ||
|
||
beam(4); | ||
rotate([0, 0, 90]) | ||
translate([-(8 * 3), -8, 0]) | ||
beam(7); | ||
|
||
rotate([0, 90, 0]) | ||
translate([-(8 * 4), 0, 0]) | ||
beam(4); |