scad/Laptop Stand/Laptop Stand.scad
2024-06-24 13:56:57 +00:00

33 lines
922 B
OpenSCAD

length=203;
lift=20;
width=10;
nozzle = .4;
$fa = 6;
$fs = nozzle/2;
rotate([asin(lift/length),0,0])
union(){
translate([0,0,-2])
cube([width,length,2]);
rotate([-asin(10/14),0,0])
translate([0,-14,-2])
cube([10,14,2]);
intersection(){
rotate([0,90,0])
cylinder(r=2,h=width);
translate([0,-3,-2])
cube([width,3,2]);
}
translate([0,length,-2])
rotate([0,90,0])
cylinder(r=2,h=width);
}
translate([0,2*sin(lift/length*(180/PI))+sqrt(pow(length,2)-pow(lift,2)),2-2*cos(lift/length*(180/PI))])
cube([width,2,lift-2]);
translate([0,2*sin(lift/length*(180/PI))+sqrt(pow(length,2)-pow(lift,2)),0])
rotate([0,90,0])
cylinder(r=2,h=width);
translate([0,0,-2])
cube([width,2*sin(lift/length*(180/PI))+sqrt(pow(length,2)-pow(lift,2)),2]);