Posted 03 September 2013 - 04:04 AM
Hello every one,
its me again.
Currently i'm working on a program for a turtle du build or dig (atm) a circle or sphere which is hollow or filled.
I think my math is correct and it works for the circle. But when I calculate a hollow sphere, all layers above 0 will be complete filled.
I can't figure out why that happens.
Becaus the turtle screen is to small for coding and testing I use codepad.
It will be awesome if some on could help me.
- BW
EDIT:
remove the link to the file
its me again.
Currently i'm working on a program for a turtle du build or dig (atm) a circle or sphere which is hollow or filled.
I think my math is correct and it works for the circle. But when I calculate a hollow sphere, all layers above 0 will be complete filled.
I can't figure out why that happens.
Becaus the turtle screen is to small for coding and testing I use codepad.
It will be awesome if some on could help me.
- BW
EDIT:
remove the link to the file