Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Case for GUI-Testumgebung
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Manuel Schmidt
Case for GUI-Testumgebung
Commits
a3dd4cd4
Commit
a3dd4cd4
authored
3 years ago
by
Manuel Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Gehäuse weiterentwickelt
parent
9098cee1
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Gehauese.scad
+58
-23
58 additions, 23 deletions
Gehauese.scad
with
58 additions
and
23 deletions
Gehauese.scad
+
58
−
23
View file @
a3dd4cd4
...
...
@@ -8,51 +8,69 @@ module raspberryPi(off_x, off_y, off_z) {
difference(){
union(){
// PCB
translate([off_x+0, off_y+0, off_z+0]) color([0, 1, 0], 1.0) cube([85, 56, 1.5]);
translate([off_x+0, off_y+0, off_z+0]) color([0, 1, 0],
1.0) cube([85, 56, 1.5]);
// USB1
translate([off_x+70.5, off_y+1.5, off_z+1.5]) color([0.8, 0.8, 0.8], 1.0) cube([ 17.5, 15 , 16]);
translate([off_x+70.5, off_y+1.5, off_z+1.5]) color([0.8,
0.8, 0.8], 1.0) cube([ 17.5, 15 , 16]);
// USB2
translate([off_x+70.5, off_y+19.5, off_z+1.5]) color([0.8, 0.8, 0.8], 1.0) cube ([17.5, 15, 16]);
translate([off_x+70.5, off_y+19.5, off_z+1.5]) color([0.8
, 0.8, 0.8], 1.0) cube ([17.5, 15, 16]);
// ETH1
translate([off_x+66, off_y+38, off_z+1.5]) color([0.8, 0.8, 0.8], 1.0) cube([22, 16, 13.5]);
translate([off_x+66, off_y+38, off_z+1.5]) color([0.8,
0.8, 0.8], 1.0) cube([22, 16, 13.5]);
// USB-C
translate([off_x+6.2, off_y+-1.3, off_z+1.5]) color([0.8, 0.8, 0.8], 1.0) cube([ 10, 8, 3]);
translate([off_x+6.2, off_y+-1.3, off_z+1.5]) color([0.8,
0.8, 0.8], 1.0) cube([ 10, 8, 3]);
// HDMI-mini1
translate([off_x+21.95, off_y+-1.3, off_z+1.5]) color([0.8, 0.8, 0.8], 1.0) cube ([8, 8, 3]);
translate([off_x+21.95, off_y+-1.3, off_z+1.5]) color([
0.8, 0.8, 0.8], 1.0) cube ([8, 8, 3]);
// HDMI-mini2
translate([off_x+35.5, off_y+-1.3, off_z+1.5]) color([0.8, 0.8, 0.8], 1.0) cube ([8, 8, 3]);
translate([off_x+35.5, off_y+-1.3, off_z+1.5]) color([0.8
, 0.8, 0.8], 1.0) cube ([8, 8, 3]);
// AUX-out
translate([off_x+54, off_y+5, off_z+5]) rotate([0, 90, 90]) color([0.
0
, 0.
0
, 0.
0
], 1.0) cylinder(15, 3.5, 3.5,$fn=50, true);
translate([off_x+54, off_y+5, off_z+5]) rotate([0, 90, 90
]) color([0.
4
, 0.
35
, 0.
35
], 1.0) cylinder(15, 3.5,
3.5,$fn=50, true);
// mSD-Card
translate([off_x+-2.2, off_y+22.5, off_z+-1.5]) color([0.0, 0.0, 0.0], 1.0) cube ([10, 11, 1.5]);
translate([off_x+-2.2, off_y+22.5, off_z+-1.5]) color([
0.0, 0.0, 0.0], 1.0) cube ([10, 11, 1.5]);
//Pin-Header
translate([off_x+7.5, off_y+49.5, off_z+1.5]) color([0.0, 0.0, 0.0], 1.0) cube([50 , 6, 8.5]);
translate([off_x+7.5, off_y+49.5, off_z+1.5]) color([0.0,
0.0, 0.0], 1.0) cube([50 , 6, 8.5]);
//Mount hole1 - Copper
translate([off_x+3.5, off_y+3.5, off_z+0.75]) color([0.83137, 0.68627, 0.2157], 1.0) cylinder(1.6, 3, 3, true);
translate([off_x+3.5, off_y+3.5, off_z+0.75]) color([
0.83137, 0.68627, 0.2157], 1.0) cylinder(1.6, 3, 3
, $fn=50
, true);
//Mount hole2 - Copper
translate([off_x+61.5, off_y+3.5, off_z+0.75]) color([0.83137, 0.68627, 0.2157], 1.0) cylinder(1.6, 3, 3, true);
translate([off_x+61.5, off_y+3.5, off_z+0.75]) color([
0.83137, 0.68627, 0.2157], 1.0) cylinder(1.6, 3, 3,
$fn=50,
true);
// Mount hole3 - Copper
translate([off_x+61.5, off_y+52.5, off_z+0.75]) color([0.83137, 0.68627, 0.2157],
1.0) cylinder(1.6, 3, 3, true);
translate([off_x+61.5, off_y+52.5, off_z+0.75]) color([
0.83137, 0.68627, 0.2157], 1.0) cylinder(1.6, 3, 3,
$fn= 50,
true);
// Mount hole4 - Copper
translate([off_x+3.5, off_y+52.5, off_z+0.75]) color([0.83137, 0.68627, 0.2157],
1.0) cylinder(1.6, 3, 3, true);
translate([off_x+3.5, off_y+52.5, off_z+0.75]) color([
0.83137, 0.68627, 0.2157], 1.0) cylinder(1.6, 3, 3,
$fn=50,
true);
}
// Mount hole1 - Drilling
translate([off_x+3.5, off_y+3.5, off_z+0.8]) cylinder(2, 1.35
, 1.35
, true);
translate([off_x+3.5, off_y+3.5, off_z+0.8]) cylinder(2, 1.35
, 1.35, $fn=50
, true);
// Mount hole2 - Drilling
translate([off_x+61.5, off_y+3.5, off_z+0.8]) cylinder(2, 1.35, 1.35, true);
translate([off_x+61.5, off_y+3.5, off_z+0.8]) cylinder(2,
1.35, 1.35,
$fn=50,
true);
// Mount hole3 - Drilling
translate([off_x+61.5, off_y+52.5, off_z+0.8]) cylinder(2, 1.35, 1.35, true);
translate([off_x+61.5, off_y+52.5, off_z+0.8]) cylinder(2,
1.35, 1.35,
$fn=50,
true);
// Mount hole4 - Drilling
translate([off_x+3.5, off_y+52.5, off_z+0.8]) cylinder(2, 1.35, 1.35, true);
translate([off_x+3.5, off_y+52.5, off_z+0.8]) cylinder(2,
1.35, 1.35,
$fn=50,
true);
// USB-Insides
translate([off_x+75, off_y+3, off_z+11]) cube([15, 12, 5]);
translate([off_x+75, off_y+3, off_z+4]) cube([15, 12, 5]);
translate([off_x+75, off_y+21, off_z+11]) cube([15, 12, 5]);
translate([off_x+75, off_y+21, off_z+4]) cube([15, 12, 5]);
// ETH-Insides
translate([off_x+75, off_y+40, off_z+4]) cube([15, 12, 9]);
// HDMI-Insides
translate([off_x+36, off_y+-1.5, off_z+2]) cube([7, 5, 2]);
translate([off_x+22.5, off_y+-1.5, off_z+2]) cube([7, 5, 2]);
// USB-C-Insides
translate([off_x+7, off_y+-1.5, off_z+2]) cube([8.5, 5, 2]);
// AUX-Insides
translate([off_x+54, off_y+4, off_z+5]) rotate([0, 90, 90 ]) cylinder(15, 2.2, 2.2,$fn=50, true);
}
}
...
...
@@ -61,15 +79,26 @@ module case(visibility){
difference() {
union(){
// Groundplate
translate([0, 0, 0]) color([0.4, 0.4, 0.4], visibility) cube([100, 65, 2]);
translate([0, 0, 0]) color([0.4, 0.4, 0.4], visibility) cube([95, 62, 2]);
// Screwcylinders
translate([10.5, 6, 3]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn =50, true);
translate([68.5, 6, 3]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn =50, true);
translate([68.5, 55, 3]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn =50, true);
translate([10.5, 55, 3]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn =50, true);
// Side front
translate([0, 0, 0]) color([0.4, 0.4, 0.4], visibility) cube([100, 2, 50]);
translate([0, 0, 2]) color([0.4, 0.4, 0.4], visibility) cube([95, 2, 40]);
// Side back
translate([0, 60, 2]) color([0.4, 0.4, 0.4], visibility) cube([95, 2, 40]);
// Side left
translate([0, 0, 0]) color([0.4, 0.4, 0.4], visibility) cube([2, 65, 50]);
translate([0, 0, 2]) color([0.4, 0.4, 0.4], visibility) cube([2, 62, 40]);
// Side right
translate([93, 0, 2]) color([0.4, 0.4, 0.4], visibility) cube([2, 62, 40]);
}
// Aux-hole
translate([61, -0.2, 10]) rotate([0, 90, 90]) cylinder(5, 3.5, 3.5,$fn=50, true);
translate([61, -0.2, 10]) rotate([0, 90, 90]) cylinder(5, 3.5
, 3.5,$fn=50, true);
// HDMI-hole1
translate([28.7, -0.2, 6.3]) cube([8.5, 4, 3.5]);
// HDMI-hole2
...
...
@@ -78,11 +107,17 @@ module case(visibility){
translate([13, -0.2, 6.3]) cube([10.5, 4, 3.5]);
// CAM-line-hole
translate([4, 4, -0.1]) cube([2, 20, 2.2]);
// USB-hole1
translate([92.5, 3.6, 6.4]) cube([3, 15.75, 16.5]);
// USB-hole2
translate([92.5, 21.5, 6.4]) cube([3, 15.75, 16.5]);
// ETH-hole
translate([92.5, 40, 6.4]) cube([3, 17, 14]);
}
}
raspberryPi(7, 2.5, 5);
case(0.
7
);
case(0.
9
);
//translate([20, 0, 10]) rotate([0, 90, 90]) cylinder([20, 3.6, 3.6], $fn=50, true);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment