Thingiverse
Sierpinski Tetrix Generator
von blepfo
49
Downloads
45
Likes
0
Makes
A customizable OpenSCAD Sierpinski Tetrix generator. This allows the creation of the Sierpinski Tetrix from tetrahedra, cubes or spheres, but feel free to download the OpenSCAD file to use whatever starting shapes you want.
The script works by translating scaled duplicates of the starting shape with four transformations. The resulting geometry is then scaled, copied, and translated, and this process repeats for any number of iterations. The Customize allows for up to 8 iterations of this process.
EDIT: Code improved for better use of recursion and to allow adustment of the degree of overlap between shapes.
EDIT 2: Fixed a bug where bottom faces had inveted normals when using tetrahedron as base shape.
The script works by translating scaled duplicates of the starting shape with four transformations. The resulting geometry is then scaled, copied, and translated, and this process repeats for any number of iterations. The Customize allows for up to 8 iterations of this process.
EDIT: Code improved for better use of recursion and to allow adustment of the degree of overlap between shapes.
EDIT 2: Fixed a bug where bottom faces had inveted normals when using tetrahedron as base shape.
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!