
Imperial Module for OpenSCAD
thingiverse
I'll see code like this often: ``` scale(25.4) cylinder(d=1/2, h=5/8, $fn=64); ``` ...to make parts in inches. OpenSCAD thinks it's making tiny parts 25 times smaller than they are and generates minimal detail unless forced, so I jam $fn into every statement. I can override $fs to fix that: ``` for($fs=$fs/25.4) scale(25.4) cylinder(d=1/2, h=5/8); ``` This gives me a sane number of fragments without forcing it! If I put this in a handy module, I get: ``` imperial() cylinder(d=1/2, h=5/8); ```
With this file you will be able to print Imperial Module for OpenSCAD with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Imperial Module for OpenSCAD.