From fffc1fcbb6357fb24ae36b96d307111484de1c29 Mon Sep 17 00:00:00 2001 From: Rosia E Evans Date: Mon, 28 Nov 2022 18:00:20 +0000 Subject: [PATCH] Adding OpenScad for ServoHolder --- ServoHolder.scad | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ServoHolder.scad diff --git a/ServoHolder.scad b/ServoHolder.scad new file mode 100644 index 0000000..b64ca66 --- /dev/null +++ b/ServoHolder.scad @@ -0,0 +1,54 @@ +width = 70; +depth = 70; +height = 32; + +sWidth = 14; +sDepth = 32; +sHeight = 5; + +cWidth = 10; + + + +// top surface +difference() +{ + // main + cube([width, depth, 5]); + + union() + { + // edge cutout + translate([0, 10, 0]) + cube([cWidth, 50, 5]); + + // edge cutout + translate([width-cWidth, 10, 0]) + cube([cWidth, 50, 5]); + + // servo hole + translate([(width/2)-(sWidth/2), 30, 0]) + cube([sWidth, sDepth, sHeight]); + } +} + + +// side surface +difference() +{ + // main + translate([0, 0, -height]) + cube([width, 5, height]); + + union() + { + // edge cutout + translate([0, 0, -(height+5)]) + cube([cWidth, 10, 27]); + + // edge cutout + translate([width-cWidth, 0, -(height+5)]) + cube([cWidth, 10, 27]); + } + +}