diff --git a/readme.md b/readme.md index 1bcb1f5..dd6eb74 100644 --- a/readme.md +++ b/readme.md @@ -1872,9 +1872,9 @@ Pin headers and sockets, etc. ### Vitamins | Qty | Module call | BOM entry | | ---:|:--- |:---| -| 1 | ```box_header(2p54header102)``` | Box header 10 x 2 | +| 1 | ```box_header(2p54header, 10, 2)``` | Box header 10 x 2 | | 1 | ```idc_transition(2p54header, 10)``` | IDC transition header 10 x 2 | -| 1 | ```pin_header(2p54header102)``` | Pin header 10 x 2 | +| 1 | ```pin_header(2p54header, 10, 2)``` | Pin header 10 x 2 | | 1 | ```pin_socket(2p54header, 10, 2)``` | Pin socket 10 x 2 | | 1 | ```pin_socket(2p54header, 10, 2, right_angle = true)``` | Pin socket 10 x 2 right_angle | diff --git a/vitamins/pin_header.scad b/vitamins/pin_header.scad index 5e9f775..e1173ab 100644 --- a/vitamins/pin_header.scad +++ b/vitamins/pin_header.scad @@ -50,7 +50,7 @@ module pin_header(type, cols = 1, rows = 1, smt = false, cutout = false) { //! D if(cutout) dogbone_rectangle([cols * pitch + 2 * panel_clearance, rows * pitch + 2 * panel_clearance, 100], center = false); else - vitamin(str("pin_header(", type[0], cols, rows, arg(smt, false, "smt"), "): Pin header ", cols, " x ", rows)); + vitamin(str("pin_header(", type[0], ", ", cols, ", ", rows, arg(smt, false, "smt"), "): Pin header ", cols, " x ", rows)); translate_z(smt ? 3.5 - h : 0) { for(x = [0 : cols - 1], y = [0 : rows - 1]) @@ -80,7 +80,7 @@ module box_header(type, cols = 1, rows = 1, smt = false, cutout = false) { //! D if(cutout) dogbone_rectangle([cols * pitch + 2 * panel_clearance, rows * pitch + 2 * panel_clearance, 100], center = false); else - vitamin(str("box_header(", type[0], cols, rows, arg(smt, false, "smt"), "): Box header ", cols, " x ", rows)); + vitamin(str("box_header(", type[0], ", ", cols, ", ", rows, arg(smt, false, "smt"), "): Box header ", cols, " x ", rows)); translate_z(smt ? 3.5 - h : 0) { for(x = [0 : cols - 1], y = [0 : rows - 1])