Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Commit

Permalink
Added PD Buddy Sink v1.0 dimensions
Browse files Browse the repository at this point in the history
They're the same as v0.3, but I really ought to be explicit about that.
  • Loading branch information
Ratfink committed Jul 20, 2017
1 parent 62217d9 commit 9ef311f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions programming-jig.scad
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ module mill_max_854_cutout(pins, h, clearance) {
/*
* 3D-printed part of a PD Buddy programming jig
*/
module programming_jig(board=sink_0_3, layer_thickness=0.4*mm,
module programming_jig(board=sink_1_0, layer_thickness=0.4*mm,
extrusion_width=0.6*mm, clearance=0.1*mm) {
/* It would be ridiculous to try to cram enough information into the board
* objects to properly parameterize this, so the board is only used to set
* which object we're making. */
if (board == sink_0_3) {
if (board == sink_0_3 || board == sink_1_0) {
/* Pin dimensions */
pwr_bottom = 0.212*inch;
pwr_stroke = 0.090*inch;
Expand Down
4 changes: 3 additions & 1 deletion sink.scad
Original file line number Diff line number Diff line change
Expand Up @@ -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,
usb_conn_amphenol];
sink_0_3 = [25*mm, 30*mm, 1.6*mm, 1*mm, 17*mm, 4*mm, 10*mm, 1.25*mm,
usb_conn_amphenol];
sink_1_0 = [25*mm, 30*mm, 1.6*mm, 1*mm, 17*mm, 4*mm, 10*mm, 1.25*mm,
usb_conn_amphenol];

function sink_width(board) = board[0];
function sink_length(board) = board[1];
Expand All @@ -24,7 +26,7 @@ function sink_connector(board) = board[8];
/*
* A simple representation of a PD Buddy Sink circuit board
*/
module sink(board=sink_0_3, board_color="indigo", copper_color="gold",
module sink(board=sink_1_0, board_color="indigo", copper_color="gold",
connector_color="silver") {
difference() {
color(board_color)
Expand Down
4 changes: 2 additions & 2 deletions sink_bracket.scad
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include <sink.scad>;
*/
module sink_mount(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
cutout=0.5*mm, bolt_tolerance=0.3*mm, nut_tolerance=0.05*mm,
board=sink_0_3) {
board=sink_1_0) {
w = sink_width(board);

difference() {
Expand Down Expand Up @@ -45,7 +45,7 @@ module sink_mount(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
*/
module sink_bracket(layer_thickness=0.25*mm, height=8*mm, nut_depth=4*mm,
cutout=0.5*mm, bolt_tolerance=0.3*mm, nut_tolerance=0.05*mm,
board=sink_0_3) {
board=sink_1_0) {
w = sink_width(board);
halfend_width = 8*mm;
bracket_width = w + 2*halfend_width;
Expand Down

0 comments on commit 9ef311f

Please sign in to comment.