Commit 6e34c7a4 by hubert

housing added

1 parent f3c6f5cc
This diff is collapsed. Click to expand it.
module dupontheader() {
color([0.1,0.1,0.1]) {
cube([33.5,2.5,20.34]);
translate([0,2.5,0]) cube([31.18,2.5,20.34]);
}
}
module dp25() {
color([0.9,0.9,0.9]) {
hull() {
translate([43,-0.5,9]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=8);
translate([42,-0.5,4]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=8);
translate([11,-0.5,4]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=8);
translate([10,-0.5,9]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=8);
}
translate([50,-0.5,6.5]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=6);
translate([3,-0.5,6.5]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=6);
translate([0,-0.5,0]) cube([53,0.5,12.5]);
}
color([0.1,0.1,0.1]) {
difference(){
cube([53,12,12.5]);
translate([-1,2,10])cube([55,12,5]);
translate([-1,2,3])cube([7.7,12,10]);
translate([46.3,2,3])cube([7.7,12,10]);
}
}
}
module board() {
color([0.5,0.3,0]) cube([63.34,60.11,1.6]);
translate([42.83,17,1.6])rotate([0,0,180]) dupontheader();
translate([50.95,14.5,1.6])rotate([0,0,90]) dupontheader();
translate([9.27,45.5,1.6]) dupontheader();
translate([0,-3.3,1.6]) dp25();
translate([67.84,4.2,1.6])rotate([0,0,90]) dp25();
translate([53,64,1.6])rotate([0,0,180]) dp25();
}
No preview for this file type
include <board.scad>
include <gehäuse.scad>
board();
base();
include <board.scad>
include <board.scad>
module clicker() {
translate([-0.5,19,7]){
cube([1,20,6]);
rotate([90,0,180])
translate([0,0.3,0])
cylinder(r=0.3,$fn=20,h=20);
}
rotate([0,0,90]) translate([-0.5,-65.8,7]){
cube([1,10,6]);
rotate([90,0,180])
translate([0,0.3,0])
cylinder(r=0.3,$fn=20,h=10);
}
rotate([0,0,-90]) translate([-61.9,55.8,7]){
cube([1,10,6]);
rotate([90,0,180])
translate([0,0.3,0])
cylinder(r=0.3,$fn=20,h=10);
}
}
module cutout() {
translate([-0.5,-1.2,-2.5]) cube([66.24,63.1,14.7]);
}
module center() {
translate([-0.5,-0.5,-2.5]) cube([64.34,61.11,10.93]);
}
module protected() {
color([0.8,0,0]) {
center();
minkowski(){
board();
cube([0.2,0.2,0.2], center = true);
}
}
}
module base(){
difference() {
minkowski(){
cutout();
cube([4,4,4], center = true);
}
cutout();
protected();
translate([-10,-10,9.9])cube([100,100,10]);
minkowski(){
clicker();
sphere(d=0.2, center = true);
}
}
/* verschluss einsparungen */
}
module top(){
difference() {
minkowski(){
cutout();
cube([4,4,4], center = true);
}
cutout();
protected();
translate([-10,-10,-10])cube([100,100,20.1]);
}
/* verschluss oben */
clicker();
}
translate([-10,0,10])rotate([0,180,0]) top();
base();
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!