Made individual parts files.

This commit is contained in:
2021-10-26 20:59:20 -04:00
parent 59ca009293
commit ecf0220f6f
8 changed files with 140 additions and 0 deletions

17
part_ball.scad Normal file
View File

@@ -0,0 +1,17 @@
use <Baller.scad>
// Config
BallDiameter = 65;
BallClearance = 2;
BallSealWidth = 2;
PlateLip = 2;
PlateDiameter = BallDiameter + 2*(BallClearance + BallSealWidth + PlateLip);
PlateThick = BallSealWidth/2 + 1;
//plate_full();
PlateSep = 0;
pd = PlateDiameter+PlateSep;
pt = PlateThick;
echo("PD=", pd);
ball(bottom=false);

21
part_cap1.scad Normal file
View File

@@ -0,0 +1,21 @@
use <Baller.scad>
$fa = ($preview) ? 12 : 1;
$fs = ($preview) ? 2 : 1;
$fn = undef;
// Config
BallDiameter = 65;
BallClearance = 2;
BallSealWidth = 2;
PlateLip = 2;
PlateDiameter = BallDiameter + 2*(BallClearance + BallSealWidth + PlateLip);
PlateThick = BallSealWidth/2 + 1;
//plate_full();
PlateSep = 0;
pd = PlateDiameter+PlateSep;
pt = PlateThick;
echo("PD=", pd);
cap_compression(PlateDiameter, pt);

21
part_cap2.scad Normal file
View File

@@ -0,0 +1,21 @@
use <Baller.scad>
$fa = ($preview) ? 12 : 1;
$fs = ($preview) ? 2 : 1;
$fn = undef;
// Config
BallDiameter = 65;
BallClearance = 2;
BallSealWidth = 2;
PlateLip = 2;
PlateDiameter = BallDiameter + 2*(BallClearance + BallSealWidth + PlateLip);
PlateThick = BallSealWidth/2 + 1;
//plate_full();
PlateSep = 0;
pd = PlateDiameter+PlateSep;
pt = PlateThick;
echo("PD=", pd);
cap_compression(PlateDiameter, pt, key=false);

17
part_form.scad Normal file
View File

@@ -0,0 +1,17 @@
use <Baller.scad>
// Config
BallDiameter = 65;
BallClearance = 2;
BallSealWidth = 2;
PlateLip = 2;
PlateDiameter = BallDiameter + 2*(BallClearance + BallSealWidth + PlateLip);
PlateThick = BallSealWidth/2 + 1;
//plate_full();
PlateSep = 0;
pd = PlateDiameter+PlateSep;
pt = PlateThick;
echo("PD=", pd);
mold_wall(PlateDiameter, pt, BallDiameter);

9
part_underball.scad Normal file
View File

@@ -0,0 +1,9 @@
use <Baller.scad>
$fa = ($preview) ? 12 : 1;
$fs = ($preview) ? 2 : 1;
$incolor = true;
underball();
translate([25,25,0]) ball(bottom=false);

19
plate_balls.scad Normal file
View File

@@ -0,0 +1,19 @@
use <Baller.scad>
// Config
BallDiameter = 65;
BallClearance = 2;
BallSealWidth = 2;
PlateLip = 2;
PlateDiameter = BallDiameter + 2*(BallClearance + BallSealWidth + PlateLip);
PlateThick = BallSealWidth/2 + 1;
//plate_full();
PlateSep = 0;
pd = PlateDiameter+PlateSep;
pt = PlateThick;
echo("PD=", pd);
translate([pd/2+2,0]) plate_top(thickness=pt);
translate([-(pd/2+2),0]) plate_mid(thickness=pt);

9
sprue.scad Normal file
View File

@@ -0,0 +1,9 @@
$fa = $preview ? 12 : 4;
$fs = $preview ? 2 : .4;
difference() {
cylinder(d1=4.5, d2=8, h=10.5);
translate([0,0,-.5]) cylinder(d=3, h=11);
translate([0,0,10]) cylinder(d=4.5, h=1);
}

27
stackup.scad Normal file
View File

@@ -0,0 +1,27 @@
use <Baller.scad>
// Config
BallDiameter = 65;
BallClearance = 2;
BallSealWidth = 2;
PlateLip = 2;
PlateDiameter = BallDiameter + 2*(BallClearance + BallSealWidth + PlateLip);
PlateThick = BallSealWidth/2 + 1;
//plate_full();
PlateSep = 0;
pd = PlateDiameter+PlateSep;
pt = PlateThick;
echo("PD=", pd);
difference() {
stack(pt+.2, expand=false, ed=2) {
rotate([0,0,270])cap_compression(PlateDiameter, pt);
translate([0,0,2]) ball(bottom=false);
//plate_under();
//plate_mid(thickness=pt);
//plate_top(thickness=pt);
translate([0,0,0]) mold_wall(PlateDiameter, pt, BallDiameter);
}
translate([0,0,-1]) cube([100,100,100]);
}