performance tests / cube with rounded corners (openSCAD)

performance tests / cube with rounded corners (openSCAD)

thingiverse

I did some performance tests on different functions, which all produce a box with rounded corners. You can find them in the scad-file. Here are my results: <pre><code> PreView Render STL-Size v1 1 seconds 0 seconds 5.911.647 v2 0 seconds 215 seconds 3.773.709 v3 1 seconds 0 seconds 2.053.339 v3a 121 seconds 0 seconds 2.053.339 rB 0 seconds 171 seconds 3.648.521 rc 126 seconds 0 seconds 2.057.417 </code></pre> v1 looks good in terms of speed ... but leaves a 5MB file. v3 has the same speed and the file size is the smallest. All other versions have bad run times either during preview or later when rendering. Very interesting is the very significant runtime difference between v3 and v3a. So...the winner is this one: <pre><code>module BoxMitAbgerundetenEcken3(x, y, z, r=1) { hull() { translate([ r, r, r]) sphere(r=r); translate([x-r, r, r]) sphere(r=r); translate([ r, y-r, r]) sphere(r=r); translate([x-r, y-r, r]) sphere(r=r); translate([ r, r, z-r]) sphere(r=r); translate([x-r, r, z-r]) sphere(r=r); translate([ r, y-r, z-r]) sphere(r=r); translate([x-r, y-r, z-r]) sphere(r=r); } } </code></pre>

Download Model from thingiverse

With this file you will be able to print performance tests / cube with rounded corners (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 performance tests / cube with rounded corners (openSCAD).