Feat: Add eurorack panel size calculator

main
rkcf 2023-02-06 09:23:25 -06:00
parent 00ce4e0381
commit 4e261e08fa
1 changed files with 18 additions and 0 deletions

View File

@ -41,3 +41,21 @@ Functional groups
| S-185 | Spring Reverb | | | | |
| S-186 | PT2399 Echo/Delay | 0.2.0 | x | x | |
| S-190 | Panning Audio Mixer | 0.1.0 | x | | |
* Misc
** Eurorack Panel Calculator
#+name: Eurorack Panel Calculator
#+begin_src python :results output :var hp=4
width = (hp * 5.08) - 0.3
u = 3
height = (u * 44.45) - 4.8
hole_distance = (u * 44.45) - 10.85
print("A %dU %dhp panel is %1.2fmm x %1.2fmm" % (u, hp, height, width))
print("The Holes are %1.2fmm appart" % hole_distance)
#+end_src
#+RESULTS: Eurorack Panel Calculator
: A 3U 4hp panel is 128.55mm x 20.02mm
: The Holes are 122.50mm appart