Created
January 16, 2023 20:40
-
-
Save greenbigfrog/a4f37cc4803b514081c52fcf307dad91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rail_length=82; | |
wedge_length=40; | |
slider_width=20; | |
// put rail for permanent spool and put in dent for insertion of sliders. --_--- instead of ----- | |
initial_spool=false; | |
// put wedge on right side | |
wedge_right=true; | |
wedge_left=true; | |
l = 0; | |
if (wedge_right) { | |
l = l+wedge_length; | |
} | |
if (wedge_left) { | |
l = l+wedge_length; | |
} | |
if (initial_spool) { | |
l = l + wedge_length+2*slider_width; | |
} | |
echo("min length is l=", l); | |
assert(rail_length > l, "Rail too short!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment