diff --git a/lib.scad b/lib.scad index 80ff86a..26faf3c 100644 --- a/lib.scad +++ b/lib.scad @@ -66,6 +66,7 @@ include use use use +use use use diff --git a/libtest.png b/libtest.png index 8f02064..7093cec 100644 Binary files a/libtest.png and b/libtest.png differ diff --git a/libtest.scad b/libtest.scad index 7de27e2..e553130 100644 --- a/libtest.scad +++ b/libtest.scad @@ -313,7 +313,10 @@ translate([x3, iecs_y]) translate([x3 + 15, modules_y]) microview(); -translate([x3 + 40, modules_y]) +translate([x3 + 60, modules_y]) + hygrometer(); + +translate([x3 + 90, modules_y]) modules(); translate([x3, ssrs_y]) { diff --git a/readme.md b/readme.md index 84cc1d5..854e46f 100644 --- a/readme.md +++ b/readme.md @@ -17,25 +17,26 @@ See [usage](docs/usage.md) for requirements, installation instructions and a usa ## Table of Contents - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + @@ -46,7 +47,6 @@ See [usage](docs/usage.md) for requirements, installation instructions and a usa -
Vitamins A-N Vitamins O-Z Printed Utilities Core Utilities
Ball_bearings O_ring Box Annotation Bom
Batteries Opengrab Butt_box Bezier Clip
Belts Pcbs Cable_grommets Dogbones Global
Blowers Pillars Carriers Fillet Polyholes
Bulldogs Pin_headers Corner_block Hanging_hole Rounded_rectangle
Buttons Psus Door_hinge Layout Sphere
Cable_strips Pulleys Door_latch Maths Teardrops
Components Rails Fan_guard Offset
D_connectors Ring_terminals Fixing_block Quadrant
Displays Rockers Flat_hinge Round
Fans Rod Foot Rounded_cylinder
Fuseholder Screws Handle Rounded_polygon
Geared_steppers Sealing_strip Psu_shroud Sector
Green_terminals Sheets Ribbon_clamp Sweep
Hot_ends Spades Screw_knob Tube
Iecs Spools Socket_box
Inserts Springs Ssr_shroud
Jack Ssrs Strap_handle
Vitamins A-M Vitamins N-Z Printed Utilities Core Utilities
Ball_bearings Nuts Box Annotation Bom
Batteries O_ring Butt_box Bezier Clip
Belts Opengrab Cable_grommets Dogbones Global
Blowers Pcbs Carriers Fillet Polyholes
Bulldogs Pillars Corner_block Hanging_hole Rounded_rectangle
Buttons Pin_headers Door_hinge Layout Sphere
Cable_strips Psus Door_latch Maths Teardrops
Components Pulleys Fan_guard Offset
D_connectors Rails Fixing_block Quadrant
Displays Ring_terminals Flat_hinge Round
Fans Rockers Foot Rounded_cylinder
Fuseholder Rod Handle Rounded_polygon
Geared_steppers Screws Psu_shroud Sector
Green_terminals Sealing_strip Ribbon_clamp Sweep
Hot_ends Sheets Screw_knob Tube
Hygrometer Spades Socket_box
Iecs Spools Ssr_shroud
Inserts Springs Strap_handle
Jack Ssrs
Ldrs Stepper_motors
Leadnuts Toggles
Leds Transformers
Microswitches Wire
Microview Zipties
Modules
Nuts
--- @@ -851,6 +851,37 @@ Needs updating as mostly obsolete versions. | 4 | ```ziptie(small_ziptie, 8)``` | Ziptie 2.5mm x 100mm min length | +
Top + +--- + +## Hygrometer +Mini LCD Celsius Digital Thermometer Hygrometer Temperature Humidity Meter Gauge on eBay + + +[vitamins/hygrometer.scad](vitamins/hygrometer.scad) Implementation. + +[tests/hygrometer.scad](tests/hygrometer.scad) Code for this example. + +### Functions +| Function | Description | +|:--- |:--- | +| ```hygrometer_or()``` | The outside radius of a hygrometer | + +### Modules +| Module | Description | +|:--- |:--- | +| ```hygrometer()``` | Draw a hygrometer | +| ```hygrometer_hole(h = 0)``` | Drill the hole for a hygrometer | + +![hygrometer](tests/png/hygrometer.png) + +### Vitamins +| Qty | Module call | BOM entry | +| ---:|:--- |:---| +| 1 | ```hygrometer()``` | Mini LCD Digital Thermometer / Hygrometer | + + Top --- diff --git a/scripts/tests.py b/scripts/tests.py index 436d772..d8f3a8a 100644 --- a/scripts/tests.py +++ b/scripts/tests.py @@ -138,7 +138,7 @@ def tests(tests): print("Can't find implementation!") continue - vsplit = "N" + vsplit = "M" vtype = locations[0][1] types = [vtype + ' A-' + vsplit[0], vtype + ' ' + chr(ord(vsplit) + 1) + '-Z'] + [loc[1] for loc in locations[1 :]] if type == vtype: