I want to find or write a script to generate a 3 dimensional octet truss in blender. It is made of tetrahedra and octahedra joined in a repeating pattern. Like the picture, I want to connect the points with cylinders, and that’s where I’m getting stuck. I’ve found several ways to compute the points of a tetrahedron, but I can’t figure out how to connect them with cylinders that are turned to the correct angles. I haven’t even been able to create one manually because I haven’t figured out how to compute the angles.

If anyone has any pointers or suggestions I’d appreciate it. I can program, but my math skills are rusty to say the least, that’s why I’m looking for an algorithm more than a formula.

–

Chris