How To Make a 3D-Paper Model from a Heightfield in Processing

Posted by Nikolaus Gradwohl Sun, 07 Mar 2010 14:41:39 GMT

I just wrote a little processing sketch that takes a height field like this

heightfield

calculates a pdf containing something like this

example

which can be cut out and sticked together to a 3d model like this

finished model

Read more...

Tags , ,  | 2 comments

Tweet This! submit to reddit Digg!

Printed Processing sketch

Posted by Nikolaus Gradwohl Wed, 13 Jan 2010 05:05:04 GMT

I just printed the first stl file that i generated using a processing sketch.

I used the unlekkerlib to export a stl file from a sketch that generates simple 3d spiral, used blender to add a socket and printed it on my makerbot. Skeinforge complained about some invalid triangles, but beside that it worked surprisingly well.

This is what it looks like in blender rendered

and this is what the makerbot made of it printed

and this is the processing-sketch i used to generated the spiral

import unlekker.data.*;

void setup() {
  size(300,300,P3D);
  noLoop();
}

void draw() {
  translate(width/2,height/2);
  background(0);
  fill(255);
  lights();
  noStroke();
  //stroke(255);
  beginRaw("unlekker.data.STL","guru.stl");
  beginShape(QUAD_STRIP);
  for( int i =0; i < 100; i++ ) {
    for(int a=0; a < 36; a++) {
      float r = 10 - map(i,0,100,0,10);
      vertex( r * sin( radians( a * 10 )) + sin(radians(i*10)) * 10, 
              -i*1, 
              r * cos(radians(a*10)) + cos(radians(i*10)) * 10);

      int j = i+1;
      vertex( r * sin( radians( a * 10 )) + sin(radians(j*10)) * 10, 
              -j*1, 
              r * cos(radians(a*10)) + cos(radians(j*10)) * 10);
    }
  }
  endShape();
  endRaw();
}

Tags , ,  | no comments

Tweet This! submit to reddit Digg!

printed phonestand

Posted by Nikolaus Gradwohl Mon, 11 Jan 2010 15:55:18 GMT

I designed a simple stand for my phone unsing openscad. click here to download the stl file or click here for the openscad script

cableclip1 cableclip2

Tags , ,  | no comments

Tweet This! submit to reddit Digg!

printed cableclip

Posted by Nikolaus Gradwohl Mon, 11 Jan 2010 15:52:34 GMT

I designed a simple cableclip that fits on my desk unsing blender. click here to download the stl file

cableclip1 cableclip2

Tags , ,  | no comments

Tweet This! submit to reddit Digg!

3D-Scanner

Posted by Nikolaus Gradwohl Mon, 14 Dec 2009 15:49:14 GMT

Today i managed to make a scan using my conmark L2000 3D-Scanner that looks at least similar to the object i tried to scan :-)

it's not quite what i hoped it to be yet, but at least it's a start.

original: original

scan: scan

Tags ,  | 4 comments

Tweet This! submit to reddit Digg!

3d Particle effect demo

Posted by Nikolaus Gradwohl Sun, 15 Mar 2009 09:15:00 GMT

i used the makeTexture method from my firefly sketch to make a 3d particle demo

click here to download the sourcecode.

particles

Tags ,  | no comments | no trackbacks

Tweet This! submit to reddit Digg!

Rotating Stereo Cubes

Posted by Nikolaus Gradwohl Sat, 14 Mar 2009 08:18:00 GMT

I made my first 3d processing sketch that generates a stereo image for cross eyed viewing

click here to see the cubes rotate

rotating cube

Tags ,  | no comments | no trackbacks

Tweet This! submit to reddit Digg!