Browse Source

modules & hull

master
Nicolas Massé 8 years ago
parent
commit
bf749b4a7b
  1. 6
      006-Modules/assembly.scad
  2. 6
      006-Modules/bolt.scad
  3. 6
      006-Modules/washer.scad
  4. 13
      007-Hull/dice.scad

6
006-Modules/assembly.scad

@ -0,0 +1,6 @@
use <bolt.scad>
use <washer.scad>
washer(d=12,h=3);
translate([0,0,-7.5])
bolt(d=12,h=50);

6
006-Modules/bolt.scad

@ -0,0 +1,6 @@
// Standard Bolt
module bolt(d, h) {
cylinder(d=1.9 * d, h=d/2, $fn=6);
translate ([0,0,d/2])
cylinder(d=d, h=h);
}

6
006-Modules/washer.scad

@ -0,0 +1,6 @@
module washer(d, h) {
difference() {
cylinder(d=2*d, h=h, center=true);
cylinder(d=d+1, h=h+1, center=true);
}
}

13
007-Hull/dice.scad

@ -0,0 +1,13 @@
$fa=1;
$fs=0.5;
hull() {
translate([-10, -10, -10]) sphere(r=2);
translate([-10, -10, 10]) sphere(r=2);
translate([10, -10, 10]) sphere(r=2);
translate([10, -10, -10]) sphere(r=2);
translate([10, 10, -10]) sphere(r=2);
translate([10, 10, 10]) sphere(r=2);
translate([-10, 10, 10]) sphere(r=2);
translate([-10, 10, -10]) sphere(r=2);
}
Loading…
Cancel
Save