
Gutter/Downspout Drain Grate/Cover (Parametric)
thingiverse
I'm thrilled to share my experience with OpenSCAD, which led me to create a custom drain cover design. To start, I had to deal with the fact that local squirrels had destroyed my existing covers. This was an opportunity for me to gain some hands-on experience and contribute to the community. The design has been parameterized and set up for Customizer, making it easy to switch between different sizes. I've included STL files for 4" and 6" drain covers. Initially, I measured to ensure a good fit, then looked into standard pipe dimensions in the US. However, I soon realized that there's a difference between standard pipe sizes (SCH 90) and drain pipe sizes (ASTM D2729). Since I needed the latter for my project, I decided to include both options for others. The next challenge was figuring out how to insert the grate into the pipe. In my case, all in-ground pipes used a connector (coupling), which meant the size of the insert had to match the outer diameter of the pipe. I modified the code to accommodate both options - inserting into the coupling and not. After making these adjustments, I successfully printed both 4" and 6" drain covers using Customizer. ### Default Parameters // Display verbose output? VERBOSE = 1; // [1:Yes,0:No] // Units UNITS = 1; // [0:in,1:mm] // Pipe diameter PIPE_DIAMETER = 1; // [0:ASTM D2729 => 3 in | 80 mm,1:ASTM D2730 => 4 in | 100 mm,2:ASTM D2731 => 6 in | 150 mm,3:SCH 40 => 0.125 in | 6 mm,4:SCH 40 => 0.25 in | 8 mm,5:SCH 40 => 0.375 in | 10 mm,6:SCH 40 => 0.5 in | 15 mm,7:SCH 40 => 0.75 in | 20 mm,8:SCH 40 => 1 in | 25 mm,9:SCH 40 => 1.25 in | 32 mm,10:SCH 40 => 1.5 in | 40 mm,11:SCH 40 => 2.375 in | 60 mm] // Insert width/diameter INSERT_WIDTH_DIAMETER = PIPE_DIAMETER; // Wall width/depth WALL_WIDTH_DEPTH = 6.64635; ### Example Usage Based on the default parameters, here's an example of what the design would look like: // Create a new pipe insert pipe_insert = pipe_create(PIPE_DIAMETER, INSERT_WIDTH_DIAMETER, WALL_WIDTH_DEPTH); // Create a new grate surface grate_surface = grate_create(pipe_insert); // Print the design print(grate_surface);
With this file you will be able to print Gutter/Downspout Drain Grate/Cover (Parametric) 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 Gutter/Downspout Drain Grate/Cover (Parametric).