blob15 |
The blob in all its glory:
gyroid slab from equation https://www.thingiverse.com/thing:2805379
Click on the snapshot to download the blob's stl file. |
clf; xn=4.5; yn=12; zn=2; steps = 12; pstep = (2*pi)/steps; [x,y,z] = meshgrid (-pstep-pi*xn:pstep:pi*xn+pstep, -pstep-pi*yn:pstep:pi*yn+pstep, -pstep-pi*zn:pstep:pi*zn+pstep); kr = -0.5; v= (x>=-pi*xn & x<=pi*xn).*(y>=-pi*yn & y<=pi*yn).*(z>=-pi*zn & z<=pi*zn).*(1-(sin(x).*cos(y)+sin(y).*cos(z)+sin(z).*cos(x)).^2); [f1,v1]=isosurface (x, y, z, v, 1-0.25); axis equal; patch("Faces",f1,"Vertices",v1,"facecolor","r"); # from http://iso2mesh.sourceforge.net savestl(v1,f1,["gyroid_slab_" num2str(xn) "_" num2str(yn) "_" num2str(zn) ".stl"]);GNU Octave