Thingiverse
Sierpinski Tetrix Generator
par blepfo
49
Téléchargements
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.
Vous avez imprimé ce modèle ? Connectez-vous et partagez votre make !
Connectez-vous pour laisser un commentaire
Se connecterPas encore de commentaires – soyez le premier !