Browse Source

Added PD Buddy Sink v1.0 dimensions

They're the same as v0.3, but I really ought to be explicit about that.
Clara Hobbs 6 years ago
parent
commit
9ef311fd75
3 changed files with 7 additions and 5 deletions
  1. 2
    2
      programming-jig.scad
  2. 3
    1
      sink.scad
  3. 2
    2
      sink_bracket.scad

+ 2
- 2
programming-jig.scad View File

18
 /*
18
 /*
19
  * 3D-printed part of a PD Buddy programming jig
19
  * 3D-printed part of a PD Buddy programming jig
20
  */
20
  */
21
-module programming_jig(board=sink_0_3, layer_thickness=0.4*mm,
21
+module programming_jig(board=sink_1_0, layer_thickness=0.4*mm,
22
 		extrusion_width=0.6*mm, clearance=0.1*mm) {
22
 		extrusion_width=0.6*mm, clearance=0.1*mm) {
23
 	/* It would be ridiculous to try to cram enough information into the board
23
 	/* It would be ridiculous to try to cram enough information into the board
24
 	 * objects to properly parameterize this, so the board is only used to set
24
 	 * objects to properly parameterize this, so the board is only used to set
25
 	 * which object we're making. */
25
 	 * which object we're making. */
26
-	if (board == sink_0_3) {
26
+	if (board == sink_0_3 || board == sink_1_0) {
27
 		/* Pin dimensions */
27
 		/* Pin dimensions */
28
 		pwr_bottom = 0.212*inch;
28
 		pwr_bottom = 0.212*inch;
29
 		pwr_stroke = 0.090*inch;
29
 		pwr_stroke = 0.090*inch;

+ 3
- 1
sink.scad View File

10
 		 usb_conn_amphenol];
10
 		 usb_conn_amphenol];
11
 sink_0_3 = [25*mm, 30*mm, 1.6*mm, 1*mm, 17*mm, 4*mm, 10*mm, 1.25*mm,
11
 sink_0_3 = [25*mm, 30*mm, 1.6*mm, 1*mm, 17*mm, 4*mm, 10*mm, 1.25*mm,
12
 		 usb_conn_amphenol];
12
 		 usb_conn_amphenol];
13
+sink_1_0 = [25*mm, 30*mm, 1.6*mm, 1*mm, 17*mm, 4*mm, 10*mm, 1.25*mm,
14
+		 usb_conn_amphenol];
13
 
15
 
14
 function sink_width(board) = board[0];
16
 function sink_width(board) = board[0];
15
 function sink_length(board) = board[1];
17
 function sink_length(board) = board[1];
24
 /*
26
 /*
25
  * A simple representation of a PD Buddy Sink circuit board
27
  * A simple representation of a PD Buddy Sink circuit board
26
  */
28
  */
27
-module sink(board=sink_0_3, board_color="indigo", copper_color="gold",
29
+module sink(board=sink_1_0, board_color="indigo", copper_color="gold",
28
 		connector_color="silver") {
30
 		connector_color="silver") {
29
 	difference() {
31
 	difference() {
30
 		color(board_color)
32
 		color(board_color)

+ 2
- 2
sink_bracket.scad View File

11
  */
11
  */
12
 module sink_mount(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
12
 module sink_mount(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
13
 		cutout=0.5*mm, bolt_tolerance=0.3*mm, nut_tolerance=0.05*mm,
13
 		cutout=0.5*mm, bolt_tolerance=0.3*mm, nut_tolerance=0.05*mm,
14
-		board=sink_0_3) {
14
+		board=sink_1_0) {
15
 	w = sink_width(board);
15
 	w = sink_width(board);
16
 
16
 
17
 	difference() {
17
 	difference() {
45
  */
45
  */
46
 module sink_bracket(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
46
 module sink_bracket(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
47
 		cutout=0.5*mm, bolt_tolerance=0.3*mm, nut_tolerance=0.05*mm,
47
 		cutout=0.5*mm, bolt_tolerance=0.3*mm, nut_tolerance=0.05*mm,
48
-		board=sink_0_3) {
48
+		board=sink_1_0) {
49
 	w = sink_width(board);
49
 	w = sink_width(board);
50
 	halfend_width = 8*mm;
50
 	halfend_width = 8*mm;
51
 	bracket_width = w + 2*halfend_width;
51
 	bracket_width = w + 2*halfend_width;

Loading…
Cancel
Save