From 760e3a890d18136db198855bf05a3fc3ff68c791 Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Fri, 8 Jan 2021 11:47:34 +0000 Subject: [PATCH 1/2] Added vero_size function. --- vitamins/veroboard.scad | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vitamins/veroboard.scad b/vitamins/veroboard.scad index d2b7a59..7cbd720 100644 --- a/vitamins/veroboard.scad +++ b/vitamins/veroboard.scad @@ -41,6 +41,8 @@ function vero_track_width(type) = vero_pitch(type) * 0.8; //! The width of th function vero_length(type) = vero_holes(type) * vero_pitch(type); //! Length of the board function vero_width(type) = vero_strips(type) * vero_pitch(type); //! Width of the board +function vero_size(type) = [vero_length(type), vero_width(type), vero_thickness(type)]; //! Board size + module solder_meniscus(type) { h = 1; r = vero_track_width(type) / 2; From 6556d14a113fd637283db8e2e6373f765c369d1d Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Fri, 8 Jan 2021 21:26:18 +0000 Subject: [PATCH 2/2] Updated readme for veroboard_size(). --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 486a39e..33a459c 100644 --- a/readme.md +++ b/readme.md @@ -3776,6 +3776,7 @@ Veroboard with mounting holes, track breaks, removed tracks, solder points and c | Function | Description | |:--- |:--- | | `vero_length(type)` | Length of the board | +| `vero_size(type)` | Board size | | `vero_thickness(type)` | Thickness of the substrate | | `vero_track_thickness(type)` | Thickness of the tracks | | `vero_track_width(type)` | The width of the tracks |