Hi,
I am experimenting a bit with the awesome toxiclibs to create some algebraic surfaces.
I ended up with some surfaces wich i like and would like to print (via stl to i.materialise.com) willing to create some table lamps. The problem is the surfaces (without closing the volumes) are very thin. How do you extrude a surface like that? I'm not sure they'll be able to print it.
I am experimenting a bit with the awesome toxiclibs to create some algebraic surfaces.
I ended up with some surfaces wich i like and would like to print (via stl to i.materialise.com) willing to create some table lamps. The problem is the surfaces (without closing the volumes) are very thin. How do you extrude a surface like that? I'm not sure they'll be able to print it.
- .... volume.setVoxelAt(x, y, z, drawSurface(pos));
- mesh = new TriangleMesh("iso");
surface = new HashIsoSurface(volume,0.3f);
surface.computeSurfaceMesh(mesh,ISO_THRESHOLD); - float drawSurface(PVector pos)
{
PVector v1 = PVector.mult(pos, 0.1);
float x = v1.x;
float y = v1.y;
float z = v1.z; - return pow(x,3)*y+x*pow(z,3)+pow(y,3)*z+pow(z,3)+7*pow(z,2)+5*z;
- }
1