From 4e261e08fa7f5465a9ca48153ca486fcadedeca0 Mon Sep 17 00:00:00 2001 From: rkcf Date: Mon, 6 Feb 2023 09:23:25 -0600 Subject: [PATCH] Feat: Add eurorack panel size calculator --- README.org | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.org b/README.org index ec9e0c9..777881f 100644 --- a/README.org +++ b/README.org @@ -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