mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-12 10:23:58 +02:00
Updated readme for rocker.
This commit is contained in:
@@ -2785,11 +2785,17 @@ Rocker switch. Also used for neon indicator in the same form factor.
|
|||||||
| `rocker_spades(type)` | Spade types and positions |
|
| `rocker_spades(type)` | Spade types and positions |
|
||||||
| `rocker_width(type)` | Body width |
|
| `rocker_width(type)` | Body width |
|
||||||
|
|
||||||
|
### Functions
|
||||||
|
| Function | Description |
|
||||||
|
|:--- |:--- |
|
||||||
|
| `rocker_size(type)` | Width, height, and depth in a vector |
|
||||||
|
| `rocker_slot(type)` | Rocker slot in a vector |
|
||||||
|
|
||||||
### Modules
|
### Modules
|
||||||
| Module | Description |
|
| Module | Description |
|
||||||
|:--- |:--- |
|
|:--- |:--- |
|
||||||
| `rocker(type, colour)` | 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 |
|
| `rocker_hole(type, h = 0, rounded = true)` | Make a hole to accept a rocker switch, by default 2D, set h for 3D |
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Reference in New Issue
Block a user