瀏覽代碼

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 年之前
父節點
當前提交
9ef311fd75
共有 3 個檔案被更改,包括 7 行新增5 行删除
  1. 2
    2
      programming-jig.scad
  2. 3
    1
      sink.scad
  3. 2
    2
      sink_bracket.scad

+ 2
- 2
programming-jig.scad 查看文件

@@ -18,12 +18,12 @@ module mill_max_854_cutout(pins, h, clearance) {
18 18
 /*
19 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 22
 		extrusion_width=0.6*mm, clearance=0.1*mm) {
23 23
 	/* It would be ridiculous to try to cram enough information into the board
24 24
 	 * objects to properly parameterize this, so the board is only used to set
25 25
 	 * which object we're making. */
26
-	if (board == sink_0_3) {
26
+	if (board == sink_0_3 || board == sink_1_0) {
27 27
 		/* Pin dimensions */
28 28
 		pwr_bottom = 0.212*inch;
29 29
 		pwr_stroke = 0.090*inch;

+ 3
- 1
sink.scad 查看文件

@@ -10,6 +10,8 @@ sink_0_2 = [26*mm, 48*mm, 0.8*mm, 1*mm, 18*mm, 4*mm, 10*mm, 1.25*mm,
10 10
 		 usb_conn_amphenol];
11 11
 sink_0_3 = [25*mm, 30*mm, 1.6*mm, 1*mm, 17*mm, 4*mm, 10*mm, 1.25*mm,
12 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 16
 function sink_width(board) = board[0];
15 17
 function sink_length(board) = board[1];
@@ -24,7 +26,7 @@ function sink_connector(board) = board[8];
24 26
 /*
25 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 30
 		connector_color="silver") {
29 31
 	difference() {
30 32
 		color(board_color)

+ 2
- 2
sink_bracket.scad 查看文件

@@ -11,7 +11,7 @@ include <sink.scad>;
11 11
  */
12 12
 module sink_mount(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
13 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 15
 	w = sink_width(board);
16 16
 
17 17
 	difference() {
@@ -45,7 +45,7 @@ module sink_mount(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
45 45
  */
46 46
 module sink_bracket(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
47 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 49
 	w = sink_width(board);
50 50
 	halfend_width = 8*mm;
51 51
 	bracket_width = w + 2*halfend_width;

Loading…
取消
儲存