aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeurig <don@suspectdevices.com>2022-06-05 08:34:43 -0700
committerfeurig <don@suspectdevices.com>2022-06-05 08:34:43 -0700
commitc28489d15d24d846ad66a88bf949e51b8133652f (patch)
tree226c572613690bc998b375cd04ed2b00d5f030dd
parent85e959172641fe067712cbc4080ab8d4ffbc4f96 (diff)
Adapt pipe clamp to new skinny pipe
-rw-r--r--pipe_clamp.scad68
1 files changed, 65 insertions, 3 deletions
diff --git a/pipe_clamp.scad b/pipe_clamp.scad
index 400e4d8..992f5a4 100644
--- a/pipe_clamp.scad
+++ b/pipe_clamp.scad
@@ -3,6 +3,9 @@ use <screwey.scad>;
$fa = 1;
$fs = 0.4;
+
+
+module normal_vesa_pipe() {
gapSize=0.5;
clampHeight=13.0;
pipeDiameter=35.5;
@@ -12,9 +15,66 @@ baseWidth=pipeDiameter*2.0;
gap2wall=8.0;
+ difference () {
+ union (){
+ translate([(pipeDiameter/2.0)+gap2wall,0,0]) {
+ cylinder(h=clampHeight,
+ d=pipeDiameter+(clampThickness*2.0),
+ center=false);
+
+ }
+ translate([baseThickness/2.0,0,clampHeight/2.0]){
+ cube([baseThickness,baseWidth,clampHeight],center=true);
+ }
+ translate([((pipeDiameter/2.0)+gap2wall)/2.0,0,clampHeight/2.0]){
+ cube([(pipeDiameter/2.0)+gap2wall,
+ (pipeDiameter+(clampThickness*2.0)),
+ clampHeight],center=true);
+ }
+ }
+ translate([(pipeDiameter/2.0)+gap2wall,0,0]) {
+ cylinder(h=clampHeight*3.0,
+ d=pipeDiameter,
+ center=true);
+ }
+ translate([((pipeDiameter/2.0)+gap2wall)/2.0,(pipeDiameter-gapSize)/2.0,0]){
+ cube([(pipeDiameter/2.0)+gap2wall,gapSize,clampHeight*3.0],center=true);
+ }
+ translate([((pipeDiameter/2.0)+gap2wall)/2.0,-(pipeDiameter-gapSize)/2.0,0]){
+ cube([(pipeDiameter/2.0)+gap2wall,gapSize,clampHeight*3.0],center=true);
+ }
+ bevelled_screw_hole(diameter=4,
+ depth=gap2wall,
+ rotation=[0,90,0],
+ location=[-1,0,clampHeight/2.0]);
+ DY=((pipeDiameter/2)
+ +clampThickness
+ +((baseWidth - (pipeDiameter+(clampThickness*2.0)))/4)
+ );
+
+ bevelled_screw_hole(diameter=4,
+ depth=gap2wall,
+ rotation=[0,90,0],
+ location=[baseThickness-gap2wall+1.5,DY,clampHeight/2.0]);
+
+ bevelled_screw_hole(diameter=4,
+ depth=gap2wall,
+ rotation=[0,90,0],
+ location=[baseThickness-gap2wall+1.5,-DY,clampHeight/2.0]);
+ }
+}
+
+module skinny_vesa_pipe() {
+gapSize=0.5;
+clampHeight=13.0;
+pipeDiameter=30.5;
+clampThickness=5;
+baseThickness=5;
+baseWidth=pipeDiameter*2.0;
+gap2wall=17.5;
-difference () {
+ difference () {
union (){
translate([(pipeDiameter/2.0)+gap2wall,0,0]) {
cylinder(h=clampHeight,
@@ -60,5 +120,7 @@ difference () {
depth=gap2wall,
rotation=[0,90,0],
location=[baseThickness-gap2wall+1.5,-DY,clampHeight/2.0]);
-
-} \ No newline at end of file
+ }
+}
+//normal_vesa_pipe();
+skinny_vesa_pipe();