You may not believe it, but triangles are one of the hardest things to do in Scratch, a fundamental of 3D generating. Here's a random triangle generator that's easy to add to your projects.