Skip to content

Instantly share code, notes, and snippets.

@bambuchaAdm
Created July 27, 2015 14:19
Show Gist options
  • Save bambuchaAdm/887b8a0da96b1fd1df11 to your computer and use it in GitHub Desktop.
Save bambuchaAdm/887b8a0da96b1fd1df11 to your computer and use it in GitHub Desktop.
Simple rai
include <libstuff/bolt_commons.scad>
use <libstuff/imbus.scad>
module sbr16_rail(length){
echo("SRB16x" + length);
rotate([90,0,90]){
linear_extrude(length){
import("16-rail.dxf");
}
}
for(i = [20:150:length]){
for(j = [-15,15]){
translate([i,j,0])
children(0);
}
}
}
sbr16_rail(340){
translate([0,0,5]) rotate([0,180,0]) imbus(M4,10);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment