From ecf0220f6f3197b7989a72639b6aa7148da67b0a Mon Sep 17 00:00:00 2001 From: Stephen Carpenter Date: Tue, 26 Oct 2021 20:59:20 -0400 Subject: [PATCH] Made individual parts files. --- part_ball.scad | 17 +++++++++++++++++ part_cap1.scad | 21 +++++++++++++++++++++ part_cap2.scad | 21 +++++++++++++++++++++ part_form.scad | 17 +++++++++++++++++ part_underball.scad | 9 +++++++++ plate_balls.scad | 19 +++++++++++++++++++ sprue.scad | 9 +++++++++ stackup.scad | 27 +++++++++++++++++++++++++++ 8 files changed, 140 insertions(+) create mode 100644 part_ball.scad create mode 100644 part_cap1.scad create mode 100644 part_cap2.scad create mode 100644 part_form.scad create mode 100644 part_underball.scad create mode 100644 plate_balls.scad create mode 100644 sprue.scad create mode 100644 stackup.scad diff --git a/part_ball.scad b/part_ball.scad new file mode 100644 index 0000000..a34660c --- /dev/null +++ b/part_ball.scad @@ -0,0 +1,17 @@ +use + +// 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); diff --git a/part_cap1.scad b/part_cap1.scad new file mode 100644 index 0000000..47a540f --- /dev/null +++ b/part_cap1.scad @@ -0,0 +1,21 @@ +use + +$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); diff --git a/part_cap2.scad b/part_cap2.scad new file mode 100644 index 0000000..42cbc3a --- /dev/null +++ b/part_cap2.scad @@ -0,0 +1,21 @@ +use + +$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); diff --git a/part_form.scad b/part_form.scad new file mode 100644 index 0000000..ffaf165 --- /dev/null +++ b/part_form.scad @@ -0,0 +1,17 @@ +use + +// 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); diff --git a/part_underball.scad b/part_underball.scad new file mode 100644 index 0000000..8305953 --- /dev/null +++ b/part_underball.scad @@ -0,0 +1,9 @@ +use + +$fa = ($preview) ? 12 : 1; +$fs = ($preview) ? 2 : 1; +$incolor = true; + +underball(); +translate([25,25,0]) ball(bottom=false); + diff --git a/plate_balls.scad b/plate_balls.scad new file mode 100644 index 0000000..0d5db48 --- /dev/null +++ b/plate_balls.scad @@ -0,0 +1,19 @@ +use + +// 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); diff --git a/sprue.scad b/sprue.scad new file mode 100644 index 0000000..56675d9 --- /dev/null +++ b/sprue.scad @@ -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); +} diff --git a/stackup.scad b/stackup.scad new file mode 100644 index 0000000..d90f47c --- /dev/null +++ b/stackup.scad @@ -0,0 +1,27 @@ +use + +// 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]); +}