Customizable 3D Line Fractal

Customizable 3D Line Fractal

thingiverse

This is the fractal generator I originally had in mind, not the strange 3D Line Fractal generator I made earlier, which can yield some interesting results in it's own regard, but gets to chaotic in higher recursions. Basically this is a generalization of the infinite cubic fractal, as it is the simplest fractal that can be generated by it, along with endless other possibilities. Some inputs still don't work even tough they should produce a manifold mesh, maybe it is due to rounding errors or there is still a mistake in my script, testing is really hard, as rendering times are very long. The math in this was really tough to figure out, maybe there is a easier or cleaner method of doing this, but it works(in most cases). The results are not exact as OpenSCAD won't allow connecting triangles only by the edges, they have to share a common point and it won't allow triangles with zero area either, so I need to move the two extra points on each side inwards a bit. This deforms the quadrangles slightly, the amount can be adjusted with the precision setting. Anyways, I'm glad this is finished, I loved fractals since I was a kid and this can be used to make a whole lot of them. Also it was a nice challenge. In mathematical terms this type of fractals are variants of the Koch curve: http://en.wikipedia.org/wiki/Koch_snowflake Edit: simplified logic, more special cases work now.

Download Model from thingiverse

With this file you will be able to print Customizable 3D Line Fractal 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 Customizable 3D Line Fractal.