Diamond Lattice Model

by pmoews, published

Diamond Lattice Model by pmoews Nov 15, 2011
9 Share
Download All Files

Thing Apps Enabled

Order This Printed View All Apps



Diamond Lattice Model by pmoews is licensed under the Creative Commons - Attribution license.

Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

20194Views 5213Downloads


Lattice models are attractive, useful teaching tools and not easy to construct. The diamond lattice is a traditional example. Diamond crystallizes to form a cubic cell in which each carbon atom forms four bonds. The diamond lattice has octahedral symmetry and the view into each of the 12 edges of the cell is the same.

The Naval Research Laboratory in Washington has long had a Division for the Structure of Matter. NRL hosts a large collection of crystal lattice structures.
Note : The NRL no longer hosts these pages - new links below -
On one of their web pages I found a downloadable set of coordinates for the diamond unit cell.
As in "Buckyballs" I used a fortran program to make openSCAD module calls. Expand_diamond.f takes the unit cell coordinates of diamond, expands them to a 27 cell cube, and outputs the required calls.

I was surprised at how well the model printed. I recently installed a MK7 extruder which seems to produce cleaner results. There were 276 atoms in the first prints and all but four printed perfectly. Four atoms, two at each of two edges, slanted downwards and did not print well. I removed them from the model and began to get perfect prints.

The picture displays three of the models. The smaller version in the center shows the build surface; the atoms detached from the raft have marks on their surfaces. The larger models are about 65 mm on a side; the one on the right shows a view into an edge.

The fortran program used to generate the diamond openSCAD module calls, expand_diamond.f, is below as are the openSCAD program and the stl output that printed best.


I printed all my models using rafts. The stl file is oriented so that 23 atoms touch the build surface. The software makes 23 little pads which easily pop off the completed print to give a nice sturdy model. On examining a finished print it will be obvious where the missing atoms should go.

I've made several attempts to print more open models by decreasing the size of the carbon atoms but the results were not very good. If you want to try to print such a model you can, for example, change the atomic radius in the openSCAD atom calls from .5 to .3 and compile and render the code. It takes about 7 hours to render on my machine.

All Apps

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

Treatstock is an online platform that offers decentralized manufacturing services such as 3D printing and CNC machining for business-to-business and business-to-consumer sales all over the world. W...

App Info Launch App

3D print your favourite design with NinjaPrototype, a professional 3D manufacture with consistent quality and speed.

App Info Launch App

the links in your summary are dead :(

Yes - The old staff at the NRL is evidently gone - The data base has been moved to Germany - I updated the web addresses - You will find the original diamond structure here - https://homepage.univie.ac.at/michael.leitner/lattice/struk/a4.html

Great Job! We have implemented this same methodology using Matlab to generate a SCAD file! Great work on the Atom and Bond commands.

This was a very challenging print! I think it turned out great, very nice work!

Dude, you fucking rock!