Second protocol family (8089:000b) behind a new backend seam, 15 key and 3 knob pads, Knobs North plus the style and colour grid, Windows import fix, window resize fix.
27 lines
1.2 KiB
Python
27 lines
1.2 KiB
Python
"""Knob arc outline, lifted from Mo-MacroPad.fig (frame "Knob: Written").
|
|
|
|
Coordinates are multiples of the knob's radius, measured from its
|
|
centre, so the shape survives any scaling. The clockwise arc is this
|
|
same outline mirrored in x.
|
|
"""
|
|
|
|
KNOB_ARC = (
|
|
("M", (-0.48235, -1.28433)),
|
|
("C", (-0.47805, -1.30123, -0.49448, -1.31592, -0.51064, -1.30935)),
|
|
("C", (-0.75489, -1.21012, -0.96658, -1.04405, -1.1212, -0.82982)),
|
|
("C", (-1.28387, -0.60444, -1.37606, -0.33587, -1.3861, -0.05809)),
|
|
("C", (-1.39614, 0.21969, -1.32359, 0.49421, -1.17761, 0.73076)),
|
|
("C", (-1.03163, 0.96731, -0.81879, 1.15525, -0.566, 1.27083)),
|
|
("L", (-0.35379, 1.23286)),
|
|
("C", (-0.33893, 1.23021, -0.3313, 1.21352, -0.33901, 1.20054)),
|
|
("L", (-0.44912, 1.0152)),
|
|
("C", (-0.65136, 0.92274, -0.82163, 0.77238, -0.93841, 0.58314)),
|
|
("C", (-1.05519, 0.39391, -1.11324, 0.17429, -1.10521, -0.04793)),
|
|
("C", (-1.09717, -0.27016, -1.02342, -0.48501, -0.89328, -0.66532)),
|
|
("C", (-0.7712, -0.83446, -0.60464, -0.96608, -0.41247, -1.04581)),
|
|
("C", (-0.39636, -1.0525, -0.39361, -1.07455, -0.40792, -1.08452)),
|
|
("L", (-0.5143, -1.15866)),
|
|
("L", (-0.48235, -1.28433)),
|
|
("Z", ()),
|
|
)
|