example011.scad 210 B

123456789101112131415161718
  1. polyhedron(
  2. points=[
  3. [10,10,0],
  4. [10,-10,0],
  5. [-10,-10,0],
  6. [-10,10,0],
  7. [0,0,10]
  8. ],
  9. triangles=[
  10. [0,1,4],
  11. [1,2,4],
  12. [2,3,4],
  13. [3,0,4],
  14. [1,0,3],
  15. [2,1,3]
  16. ]
  17. );