Introduction to printing 3D densities
This package provides: - “raw” 3D data ready to be downloaded - notebooks to compute image stacks which can be printed for example with Stratasys PolyJet printers - the resulting image stacks for download - routines to estimate the print result, given an image stack - pictures of the resulting prints
With this, we hope to make the process as transparent as possible such that these methods can be readily be applied for outreach or education purposes, not only for the given data sets but for any research that provides 3D data.
General Process
The entire process usually involves these steps:
Defining a norm: the norm maps the given 3D densities to a color. This can be a logarithmic map or it could map certain density ranges to different colors.
Interpolation: the printer and data dimension and aspect ratio usually does not correspond to each other. This means that for a given print dimension, the value for each printed volume element (voxel) needs to be computed by interpolation.
Dithering: the printer cannot print different levels of color/brightness, but instead needs to assign one material to each volume element. Brightness/Color therefore needs to be represented by dithering. For example printing gray color could be achieved by alternating between white and black material.
Iteration: all this needs to be done for every printed layer. This will result in one image for each layer.
Printing: This can be printed with the voxel print utility of GrabCad on a Stratasys PolyJet printer.
Polishing: usually the prints need to be polished to achieve a transparent surface.
Items 1 through 4 will be discussed in the notebooks. As a start, see turbulent box for an introduction to those processes. The notebook color disk covers these points but shows how different densities can be color-coded.
All examples also include a notebook that shows how an image stack can be analyzed in order to predict the printed output.
Printing
Printing Companies
The image stacks produced in this process are the input for the printing process. This is carried out with the GRABCAD software on a Stratasys PolyJet printer, however this requires the Voxel Printing Utility which not many printing companies can offer.
For convenience, we provide a list of companies that have this capability. If you know more (especially in other countries), let us know!
Printing with such companies can be expensive (e.g. a 5 cm cube can cost of the order of 800 €). Ideally one can find other science users within the science/education sector that are able to share access to a printer. The material costs for such a cube with an educational license can be more than an order of magnitude cheaper than commercial providers.
The printing process
The process within the software follows the PNG printing process described here. In short: on the first screen the folder with the images is selected along with the stem of the file name (see below), and a background color can be defined. On a second screen, each color that appears in the image stack will be assigned a printer material. As such the actual colors have no meaning (blue pixels could be assigned yellow material), but it makes it easier to use corresponding colors to avoid confusion.
Things to watch out for:
All images of the image stack should be in one folder, ideally with no other files around to avoid issues.
The file names should follow the template
[stem]_0001.png
or[stem]_1234.png
The color space should be 32-bit RGB or RGBA
By default, black (
[0,0,0]
) is set to be the background (=no material).This means that on the second window of the voxel printing utility the black pixels cannot be assigned a material. This can be changed on the first screen by changing the default background color. This can, for example, be a color that is not present in the files. To avoid issues with the printing company (they might be unaware of this), it is best to not use black in the PNGs unless this should be empty space. Better assign a very dark gray (e.g.
[1,1,1]
) which will then not be taken as background by default but still show up as basically black in the material selection screen.
Polishing
The resulting print is automatically surrounded by support material which needs to be removed. The resulting surface of the print is somewhat rough and thus not transparent. The surfaces need to be polished. This can be done by sandpaper of increasing grit, starting with something rough (100 - 200) but going up to high grids (few 1000). For full transparency, some polishing paste or chalk needs to be used. Most companies that offer any polishing services (e.g. for metals) can easily do this. As reference value, we paid 180 € for polishing of 4 cubic structures.