Gutter/Downspout Drain Grate/Cover (Parametric)

Gutter/Downspout Drain Grate/Cover (Parametric)

prusaprinters

<p><strong>** Updated April, 2022</strong><br>All of the code/files are contained within <a href="https://github.com/jshessen/GutterDrainGrate">GitHub - GutterDrainGrate</a></p><p>I would recommend either pulling via git:</p><p>```shell<br>git clone https://github.com/jshessen/GutterDrainGrate.git<br>```<br>or &nbsp;downloading the repo as a zip file:<br><a href="https://github.com/jshessen/GutterDrainGrate">https://github.com/jshessen/GutterDrainGrate</a> &nbsp;--&gt; Code --&gt; Download as <a href="https://github.com/jshessen/GutterDrainGrate/archive/refs/heads/main.zip">Zip</a></p><p>&nbsp;</p><p><a href="https://www.printables.com/social/24151-jshessen/prints">Additional Designs</a></p><p>-----<br>My local squirrel population had destroyed my existing drain covers, so I decided to try my hand at OpenSCAD to get some experience and contribute. This design has been parameterized, and configured for Customizer to help easily shift between different sizes.</p><p>I have included a 4" and 6" STL file.</p><p>After initially measuring to fit, I sought out some common pipe standards and used them as guidance. The first challenge I ran into was the difference between standard pipe sizes (SCH 90) and drain pipe sizes (ASTM D2729) here in the US. In my case I needed the latter standard, but kept both for others to use as they see fit.</p><p>The second challenge came from trying to insert the grate inside of the pipe, and realizing that all of my in-ground pipes were actually using a connector (coupling) to attach. This required the size of the insert to match the outer vs. the inner diameters. I modified the code to support both options. At this point, I have used the Customizer to successfully print both 4" and 6" sizes.</p><h3>&nbsp;</h3><h3>Print instructions</h3><h3>Category: Outdoor &amp; Garden Summary</h3><p>My local squirrel population had destroyed my existing drain covers, so I decided to try my hand at OpenSCAD to get some experience and contribute. This design has been parameterized, and configured for Customizer to help easily shift between different sizes.</p><p>I have included a 4" and 6" STL file.</p><p>After initially measuring to fit, I sought out some common pipe standards and used them as guidance. The first challenge I ran into was the difference between standard pipe sizes (SCH 90) and drain pipe sizes (ASTM D2729) here in the US. In my case I needed the latter standard, but kept both for others to use as they see fit.</p><p>The second challenge came from trying to insert the grate inside of the pipe, and realizing that all of my in-ground pipes were actually using a connector (coupling) to attach. This required the size of the insert to match the outer vs. the inner diameters. I modified the code to support both options. At this point, I have used the Customizer to successfully print both 4" and 6" sizes.</p><h3>Default Parameters:</h3><blockquote><p>//Display Verbose Output?<br>VERBOSE=1; // [1:Yes,0:No]<br>//Units<br>UNITS=1; // [0:in,1:mm]<br>//Pipe Diameter<br>PIPE_DIAMETER=1; // [0:ASTM D2729 =&gt; 3 in | 80 mm,1:ASTM D2730 =&gt; 4 in | 100 mm,2:ASTM D2731 =&gt; 6 in | 150 mm,3:SCH 40 =&gt; 0.125 in | 6 mm,4:SCH 40 =&gt; 0.25 in | 8 mm,5:SCH 40 =&gt; 0.375 in | 10 mm,6:SCH 40 =&gt; 0.5 in | 15 mm,7:SCH 40 =&gt; 0.75 in | 20 mm,8:SCH 40 =&gt; 1 in | 25 mm,9:SCH 40 =&gt; 1.25 in | 32 mm,10:SCH 40 =&gt; 1.5 in | 40 mm,11:SCH 40 =&gt; 2 in | 50 mm,12:SCH 40 =&gt; 2.5 in | 65 mm,13:SCH 40 =&gt; 3 in | 80 mm,14:SCH 40 =&gt; 3.5 in | 90 mm,15:SCH 40 =&gt; 4 in | 100 mm,16:SCH 40 =&gt; 5 in | 125 mm,17:SCH 40 =&gt; 6 in | 150 mm,18:SCH 40 =&gt; 8 in | 200 mm]<br>//Insert Into Coupling?<br>COUPLING=1; // [1:Yes,0:No]<br>//Custom Field to Override PIPE_DIAMETER Drop Down List<br>CUSTOM_INSIDE_DIAMETER=0; // [1:.1:210]<br>//Insert Depth<br>CUSTOM_INSERT_DEPTH=0; // [1:.1:150]<br>//Pipe Insert Wall/Surface Thickness<br>CUSTOM_INSERT_WIDTH=0; // [1:.1:10]<br>//Surface Diameter<br>CUSTOM_GRATE_DIAMETER=0; // [1:.1:210]<br>//Grate Slot Width<br>CUSTOM_GRATE_SLOT_WIDTH=0; // [1:.1:10]</p><h3>*<i>Based upon a 6" (159.385mm) Pipe</i></h3><p>Compiling design (CSG Tree generation)...<br>ECHO: "--&gt; Begin Pipe Insert Creation"<br>ECHO: "----&gt; Begin Insert Creation"<br>ECHO: "<strong>======&gt; Insert Height/Length: 26.5695</strong>"<br>ECHO: "<strong>======&gt; Insert Width/Diameter: 159.385</strong>"<br>ECHO: "<strong>======&gt; Wall Width/Depth: 6.64635</strong>"<br>ECHO: "----&gt; Complete Insert Creation"<br>ECHO: "----&gt; Begin Cross Support Creation"<br>ECHO: "----&gt; Complete Cross Support Creation"<br>ECHO: "----&gt; Begin Friction Lock Creation"<br>ECHO: "------&gt; Mirror Coordinates on X &amp; Y Axis"<br>ECHO: "<strong>======&gt; Lock Coordinates: [0, 79.6925]</strong>"<br>ECHO: "------&gt; Mirror Coordinates on X &amp; Y Axis"<br>ECHO: "<strong>======&gt; Lock Coordinates: [56.3511, 56.3511]</strong>"<br>ECHO: "------&gt; Mirror Coordinates on X &amp; Y Axis"<br>ECHO: "<strong>======&gt; Lock Coordinates: [79.6925, 0]</strong>"<br>ECHO: "----&gt; Complete Friction Lock Creation"<br>ECHO: "--&gt; Complete Pipe Insert Creation"<br>ECHO: "--&gt; Begin Grate Surface Creation"<br>ECHO: "----&gt; Begin Grate Creation"<br>ECHO: "------&gt; Begin Grate Surface Creation"<br>ECHO: "<strong>========&gt; Surface Thickness: 8.30794</strong>"<br>ECHO: "------&gt; Complete Grate Surface Creation"<br>ECHO: "--------&gt; Begin Grate Slot Creation"<br>ECHO: "------&gt; Mirror Coordinates on X &amp; Y Axis"<br>ECHO: "<strong>======&gt; Slot Length: 59.7673</strong>"<br>ECHO: "------&gt; Mirror Coordinates on X &amp; Y Axis"<br>ECHO: "<strong>======&gt; Slot Length: 56.448</strong>"<br>ECHO: "------&gt; Mirror Coordinates on X &amp; Y Axis"<br>ECHO: "<strong>======&gt; Slot Length: 53.1287</strong>"<br>ECHO: "------&gt; Mirror Coordinates on X &amp; Y Axis"<br>ECHO: "<strong>======&gt; Slot Length: 46.4808</strong>"<br>ECHO: "------&gt; Mirror Coordinates on X &amp; Y Axis"<br>ECHO: "<strong>======&gt; Slot Length: 33.2037</strong>"<br>ECHO: "--------&gt; Complete Grate Slot Creation"<br>ECHO: "----&gt; Complete Grate Creation"<br>ECHO: "--&gt; Complete Grate Surface Creation"</p><h3>Print Settings</h3></blockquote><p><strong>Printer Brand:</strong> Prusa</p><p><strong>Printer:</strong> i3 MK3 MMU 2</p><p><strong>Rafts:</strong> No</p><p><strong>Supports:</strong> No</p><p><strong>Resolution:</strong> .2</p><p><strong>Infill:</strong> 50%-100%</p><p><strong>Filament:</strong> Inland PETG Translucent Magenta<br><strong>Notes:</strong></p><p>**Rotate the Object 180˚ (X or Y) to place the grate surface face down</p><p>There is definitely some "bounce" to the grate @20% infill, the second print @50% was very solid.</p><h3>How I Designed This</h3><p><strong>OpenSCAD Attached</strong></p><p><strong>OpenSCAD Screenshot</strong></p>

Download Model from prusaprinters

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).