3d-stuff/openscad/own/gpu-antisag/gpu-antisag.scad

55 lines
1.8 KiB
OpenSCAD
Raw Normal View History

2023-03-28 22:32:12 +02:00
// by zeus - zeus@ctdo.de - CC-BY-NC-4.00
// -> https://www.thingiverse.com/zeus
// -> https://www.printables.com/social/366928-zeus/about
// -> https://github.com/zeus86
// -> https://blog.tastatursport.de/
// 2023-03-28
2023-03-29 09:45:54 +02:00
// GPU-antisag-adapter for Lian Li O11D Evo with vertical GPU Kit and 25mm Bottom-Fans (default orientation)
2023-03-28 22:32:12 +02:00
//##################
//
//
//##################
//
// VARS
mt=5; // general material thickness
cen_w=8; // center bar
cen_h=mt; // center bar
2023-03-29 09:45:54 +02:00
cen_elev=24; // total center elevation
2023-03-28 22:32:12 +02:00
depth=110; // 110 for 120mm fans
tri_w=40; // triangular plate
tri_x=tri_w/sqrt(2);// nominal side-length of the square-section, the triangular shape is made of
tri_h=mt; // triangular plate
$fn=100; // general resolution
q=0.01; // used to avoid graphical glitches
hds=15; // short hole-distance
hdl=105; // long hole distance
2023-03-29 09:45:54 +02:00
holedia=5; // diameter of the hole for the screw//
hole_dist=holedia-0.66; // distance from edge
2023-03-28 22:32:12 +02:00
//##################
//
// MODEL
module triangle(){
difference(){
rotate([0,0,45])cube([tri_x,tri_x,mt],center=true);
translate([0,-tri_w/2,0])cube([tri_w,tri_w,5+q],center=true);
for (x=[hds/2,-hds/2]){
2023-03-29 09:45:54 +02:00
translate([x,hole_dist,0]){
2023-03-28 22:32:12 +02:00
cylinder(r=holedia/2,h=mt+q,center=true);
2023-03-29 09:45:54 +02:00
translate([0,0,holedia*0.3])cylinder(r1=holedia/2,r2=holedia,h=mt+q,center=true);
2023-03-28 22:32:12 +02:00
}
}
}
};
module cen(){
hull(){
2023-03-29 09:45:54 +02:00
cube([cen_w,hdl-(hole_dist*1.5)-q,cen_h],center=true);
translate([0,0,cen_elev-mt])cube([cen_w,hdl/2,cen_h],center=true);
2023-03-28 22:32:12 +02:00
}
}
translate([0,0,mt/2]){
triangle();
2023-03-29 09:45:54 +02:00
translate([0,hdl/2+hole_dist,0])cen();
translate([0,hdl+hole_dist*2,0])rotate([0,0,180])triangle();
2023-03-28 22:32:12 +02:00
}