Build custom shapes and then just export the code
Points
Index
X
Y
Z
0
Faces
Index
Point Indexes
Colour
0
Centering
Export Code: