Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. %Assuming printing cube of 100 layers with a 20 layer pipe in the middle
  2. for $z = 1 to 39 step 1
  3. print square layer
  4. end
  5.  
  6. for $z = 40 to 60 step 1
  7. print square layer
  8. print bottom half of pipe
  9. print top half of pipe
  10. end
  11.  
  12. for $z = 61 to 100 step 1
  13. print square layer
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement