swimtracker-firmware/hardware/case/upper_part_holes.scad

104 lines
2.8 KiB
OpenSCAD

// Generated by SolidPython 1.1.1 on 2021-05-13 15:26:22
difference(){
scale(v = 0.1000000000) {
union() {
difference() {
cube(size = [680, 1460, 491]);
translate(v = [30, 0, 30]) {
cube(size = [620, 1430, 431]);
}
}
translate(v = [30, 130, 30]) {
union() {
translate(v = [0, 0, 406]) {
union() {
cube(size = [70, 800, 25]);
translate(v = [0, 0, -51]) {
union() {
translate(v = [0, 800, 0]) {
cube(size = [70, 0, 76]);
}
cube(size = [70, 800, 30]);
}
}
}
}
translate(v = [550, 0, 0]) {
translate(v = [0, 0, 406]) {
union() {
cube(size = [70, 800, 25]);
translate(v = [0, 0, -51]) {
union() {
translate(v = [0, 800, 0]) {
cube(size = [70, 0, 76]);
}
cube(size = [70, 800, 30]);
}
}
}
}
}
polyhedron(faces = [[0, 3, 4, 5], [3, 0, 1, 2], [4, 2, 1, 5], [0, 5, 1], [4, 3, 2]], points = [[ 0,800,355], [ 0,992,355], [ 0,992,431], [ 0,800,431], [ 70,800,431], [ 70,800,355]]);
polyhedron(faces = [[0, 3, 4, 5], [3, 0, 1, 2], [4, 2, 1, 5], [0, 5, 1], [4, 3, 2]], points = [[620,800,355], [620,992,355], [620,992,431], [620,800,431], [550,800,431], [550,800,355]]);
}
}
translate(v = [30, 130, 30]) {
union() {
translate(v = [60, 0, 0]) {
translate(v = [0, 1110, 0]) {
cube(size = [30, 190, 431]);
}
}
difference() {
translate(v = [530, 0, 0]) {
translate(v = [0, 1110, 0]) {
cube(size = [30, 190, 431]);
}
}
translate(v = [530, 0, 0]) {
translate(v = [0, 1110, 0]) {
translate(v = [0, 0, 70]) {
cube(size = [30, 190, 120]);
}
}
}
}
translate(v = [0, 1110, 260]) {
cube(size = [620, 190, 30]);
}
}
}
translate(v = [30, 130, 30]) {
union() {
polyhedron(faces = [[0, 3, 4, 5], [3, 0, 1, 2], [4, 2, 1, 5], [0, 5, 1], [4, 3, 2]], points = [[ 0,50, 0], [ 0,297, 0], [ 0,297,260], [ 0, 50,260], [ 90, 50,260], [90,50, 0]]);
translate(v = [0,0,0]) {
cube(size = [ 90, 50,260]);
}
union() {
polyhedron(faces = [[0, 3, 4, 5], [3, 0, 1, 2], [4, 2, 1, 5], [0, 5, 1], [4, 3, 2]], points = [[620, 50, 0], [620,297, 0], [620,297,260], [620, 50,260], [530, 50,260], [530, 50, 0]]);
translate(v = [620, 0, 0]) {
cube(size = [-90, 50,260]);
}
}
}
}
}
}
/* Holes Below*/
scale(v = 0.1000000000){
union(){
translate(v = [30, 130, 30]) {
union() {
translate(v = [310.0000000000, 1050, 430.0000000000]) {
cylinder(center = false, d = 75, h = 34);
}
translate(v = [310.0000000000, 250, -31.0000000000]) {
cylinder(center = false, d = 75, h = 34);
}
}
}
}
} /* End Holes */
}