diff --git a/libtest.png b/libtest.png index 4795fcd..b894a39 100644 Binary files a/libtest.png and b/libtest.png differ diff --git a/libtest.scad b/libtest.scad index 9739d86..73cbc4b 100644 --- a/libtest.scad +++ b/libtest.scad @@ -254,7 +254,7 @@ buttons_y = spades_y + 40; jacks_y = buttons_y + 40; microswitches_y = jacks_y + 40; rockers_y = microswitches_y + 40; -toggles_y = rockers_y + 40; +toggles_y = rockers_y + 60; components_y = toggles_y + 40; translate([x2, leds_y]) diff --git a/readme.md b/readme.md index b6f0093..a3138ae 100644 --- a/readme.md +++ b/readme.md @@ -2259,7 +2259,7 @@ Rocker switch. Also used for neon indicator in the same form factor. | ```rocker_height(type)``` | Body height | | ```rocker_part(type)``` | Part description | | ```rocker_pivot(type)``` | Pivot distance from the back of the flange | -| ```rocker_slot_h(type)``` | Panel slow height | +| ```rocker_slot_h(type)``` | Panel slot height | | ```rocker_slot_w(type)``` | Panel slot width | | ```rocker_spades(type)``` | Spade types and positions | | ```rocker_width(type)``` | Body width | @@ -2267,7 +2267,7 @@ Rocker switch. Also used for neon indicator in the same form factor. ### Modules | Module | Description | |:--- |:--- | -| ```rocker(type)``` | Draw the specified rocker switch | +| ```rocker(type, colour)``` | Draw the specified rocker switch | | ```rocker_hole(type, h = 0)``` | Make a hole to accept a rocker switch, by default 2D, set h for 3D | ![rockers](tests/png/rockers.png) @@ -2275,8 +2275,8 @@ Rocker switch. Also used for neon indicator in the same form factor. ### Vitamins | Qty | Module call | BOM entry | | ---:|:--- |:---| -| 1 | ```rocker(neon_indicator)``` | Neon Indicator H8630FBNAL | -| 1 | ```rocker(small_rocker)``` | Rocker Switch PRASA1-16F-BB0BW | +| 2 | ```rocker(neon_indicator)``` | Neon Indicator H8630FBNAL | +| 2 | ```rocker(small_rocker)``` | Rocker Switch PRASA1-16F-BB0BW | Top diff --git a/tests/png/rockers.png b/tests/png/rockers.png index 96f347c..e9b7324 100644 Binary files a/tests/png/rockers.png and b/tests/png/rockers.png differ