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 | 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;