From d24150e52d9a0e36025b45285402566b79a7316d Mon Sep 17 00:00:00 2001 From: D Delmar Davis Date: Tue, 27 Jun 2023 15:03:12 -0400 Subject: Lets cut a hole for the sensors. --- basePlate2.scad | 59 ++++++++++ basePlate2.svg | 337 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ parameters.scad | 4 +- 3 files changed, 399 insertions(+), 1 deletion(-) create mode 100644 basePlate2.scad create mode 100644 basePlate2.svg diff --git a/basePlate2.scad b/basePlate2.scad new file mode 100644 index 0000000..388a0f0 --- /dev/null +++ b/basePlate2.scad @@ -0,0 +1,59 @@ +include ; + + +module screw_head(location=[0.0,0.0,0.0],rotation=0.0) { + translate(location) { + // rotate([0,0,rotation]){ + cylinder(h=6, + r1=standRadius*2, + r2=standHoleRadius/3, + center=true); + // } + } +} + +module base_plate(){ + difference(){ + cylinder(r=62,h=2,center=false); + union(){ + translate([14,0,0]){ + translate([-69.0,0,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);} + + translate([-60,0,0]){cube([10,40,standHoleDepth],center=true);} + translate([-30,0,0]){cube([sensorLength,sensorWidth,standHoleDepth],center=true);} + translate([0,0,0]) { cube([18,28,standHoleDepth],center=true);} + translate([0,49,0]) { cube([28,8,standHoleDepth],center=true);} + translate([0,-49,0]) { cube([28,8,standHoleDepth],center=true);} + translate([4.5,20,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);} + translate([4.5,38,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);} + translate([4.5,-20,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);} + translate([4.5,-38,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);} + translate([-37.5,0,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);} + translate([-12, 22.5,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);} + translate([-12,-22.5,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);} + } + + rotate([0,0,45.0]){ + union(){ + screw_head(location=[standLocationRadius,0,0],rotation=0); + screw_head(location=[0,standLocationRadius,0],rotation=-90); + screw_head(location=[-standLocationRadius,0,0],rotation=180); + screw_head(location=[0,-standLocationRadius,0],rotation=90); + } + } + rotate([0,0,45.0]){ + union(){ + screw_head(location=[internalMountRadius,0,0],rotation=0); + screw_head(location=[0,internalMountRadius,0],rotation=-90); + screw_head(location=[-internalMountRadius,0,0],rotation=180); + screw_head(location=[0,-internalMountRadius,0],rotation=90); + } + } + } + } +} + +projection(cut=false){ +base_plate(); +} + diff --git a/basePlate2.svg b/basePlate2.svg new file mode 100644 index 0000000..2c99cd9 --- /dev/null +++ b/basePlate2.svg @@ -0,0 +1,337 @@ + + + +OpenSCAD Model + + diff --git a/parameters.scad b/parameters.scad index c8b2408..6e1633f 100644 --- a/parameters.scad +++ b/parameters.scad @@ -7,4 +7,6 @@ standHoleRadius=1.45; standLipWidth=1.5; standLipHeight=3.5; standHeight=2.85; -standHoleDepth=5.0; \ No newline at end of file +standHoleDepth=5.0; +sensorWidth=92.0; +sensorLength=9.0; \ No newline at end of file -- cgit v1.2.3