
Cut out solid where z is less than certain value (specified by z_mask argument) i.e. Connect the two surfaces to make water tight solid for 3D printingĦ. Create 3D bottom surface beneath (specified by thickness argument) the top surface created in step 3 by projecting all the vertices downwards along normal vectors (Note: it's not a simple offset in z direction)ĥ. Create flat bottom surface at certain z (specified by elevation argument)Ĥb. Create 3D surface mesh by interpreting grayscale color value of each pixcel in 2D image as z axis height (warp height map?)Ĥa. Read 2D image (PNG, JPEG, GIF, etc as long as PIL or matplotlib's imread support)ģ. My preferred 3D library is VTK with Python binding.ġ. I'd like you to write Python code to convert 2D pictures into 3D printabale STL and VRML(or X3D) files, by interpreting grayscale color value of pixel as height. Hello Python 3D modeling/visualization experts!
