Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is a short piece of Python code meant to get a list of layers (two tuples of coordinates indicating both corners of the layer) from a box. It was suggested by TheDestruc7i0n here: https://twitter.com/TheDestruc7i0n/status/586917736816758784
- layers = []
- for tempy in xrange(-y, y):
- layers.append(((box.minx, tempy, box.minz), (box.maxx, tempy + 1, box.maxz)))
Advertisement
Add Comment
Please, Sign In to add comment