forked from kellyegan/OpenSCAD-Arduino-Mounting-Library
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexamples.scad
More file actions
34 lines (26 loc) · 669 Bytes
/
examples.scad
File metadata and controls
34 lines (26 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
include <raspberry.scad>
//Raspberry Pi boards
//You can create a boxed out version of a variety of boards by calling the arduino() module
//The default board for all functions is the Uno
ZDim = boardDimensions( ZERO );
BPDim = boardDimensions( BPLUS );
//Board mockups
raspberry();
/*
translate( [BPDim[0] + 50, 0, 0] )
raspberry(ZERO);
translate( [-(BPDim[0] + 50), 0, 0] )
arduino(LEONARDO);
translate([0, 0, -75]) {
enclosure();
translate( [BPDim[0] + 50, 0, 0] )
bumper(DUE);
translate( [-(BPDim[0] + 50), 0, 0] ) union() {
standoffs(LEONARDO, mountType=PIN);
boardShape(LEONARDO, offset = 3);
}
}
translate([0, 0, 75]) {
enclosureLid();
}
*/