Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. (
  2. delete geometry
  3. gridAmount = 10
  4. for z = 0 to gridAmount-1 do
  5. (
  6. if mod z 2 == 1.0 then
  7. (
  8. for y = 0 to gridAmount-1 do
  9. (
  10. if mod y 2 == 1.0 then
  11. (
  12. for x = 0 to gridAmount-1 do
  13. (
  14. if mod x 2 == 1.0 do box pos:[x,y,z] length:1 width:1 height: 1
  15. )
  16. ) else
  17. (
  18. for x = 0 to gridAmount-1 do
  19. (
  20. if mod x 2 != 1.0 do box pos:[x,y,z] length:1 width:1 height: 1
  21. )
  22. )
  23. )
  24. ) else
  25. (
  26. for y = 0 to gridAmount-1 do
  27. (
  28. if mod y 2 != 1.0 then
  29. (
  30. for x = 0 to gridAmount-1 do
  31. (
  32. if mod x 2 == 1.0 do box pos:[x,y,z] length:1 width:1 height: 1
  33. )
  34. ) else
  35. (
  36. for x = 0 to gridAmount-1 do
  37. (
  38. if mod x 2 != 1.0 do box pos:[x,y,z] length:1 width:1 height: 1
  39. )
  40. )
  41. )
  42. )
  43. )
  44. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement