You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a cursory explanation of this has been omitted from the readme over time. This library works by manipulating "special variables" that are then used to generate the keycap's shape; every lexical scope gets to override the value of the special functions, but a parent scope can't override a child's scope. All special variables have defaults so that a bare call to key() will still generate something, so there isn't a good way to tell when a special variable has already been modified.
I'll try and think of a better way to say that and add it to the readme
What version of OpenSCAD are you on?
2021.01
Describe the bug
The following OpenSCAD script produces a 6.25u spacebar, no matter what the
u(u=XX)
part is set to.cherry_row() u(u=6.5) spacebar() key();
To Reproduce
Run this script:
Try changing 6.5 to any other number, and it doesn't change the size of the spacebar, because it's always made u=6.25.
Additional context
Making a keycap for the weird Logiteck G710+ keyboard with a 6.5u spacebar.
The text was updated successfully, but these errors were encountered: