Last active
October 26, 2024 05:28
-
-
Save K-Francis-H/d18ec7648e0a89c10f8840bed996a2d8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| include <BOSL2/std.scad> | |
| include <BOSL2/threading.scad> | |
| UNIT="imperial"; // [imperial, metric] | |
| THREAD_LENGTH_INCHES=1.25; | |
| THREAD_LENGTH_MM=31.75; | |
| module broom_thread_internal_mask(length){ | |
| INCH=25.4;//mm | |
| union(){ | |
| translate([0,0,length/2]) | |
| acme_threaded_rod(d=0.79*INCH, l=length, tpi=5, $fn=32, internal=true); | |
| cylinder(d=0.675*INCH,h=length); | |
| } | |
| } | |
| if(UNIT == "imperial"){ | |
| THREAD_LENGTH=THREAD_LENGTH_INCHES*25.4; | |
| broom_thread_internal_mask(THREAD_LENGTH); | |
| }else{//default to metric | |
| broom_thread_internal_mask(THREAD_LENGTH_MM); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment