Kravyn, on 03 May 2013 - 12:32 AM, said:
The versatile Shape Builder (updated 05/08/14 - now with diagonal lines)
#41
Posted 04 May 2013 - 09:20 AM
#42
Posted 05 May 2013 - 10:12 PM
Kravyn, on 03 May 2013 - 12:32 AM, said:
shell.run("scriptName", "square", "sideLength", "-z") shell.run("scriptName", "square", "sideLength", "-z")Just run the program twice from a different script
(sorry about the late reply, with finals soon I have been forgetting to check out the forums)
#43
Posted 08 May 2013 - 07:02 AM
shell.run("shape", "square", "10", "-z") for i = 1 , 5 do turtle.back() end turtle.turnRight() for i = 1 , 5 do turtle.back() end turtle.turnLeft() turtle.up() shell.run("shape", "square", "20")
#44
Posted 08 May 2013 - 07:06 AM
#45
Posted 11 May 2013 - 10:06 AM
#47
Posted 14 May 2013 - 11:04 AM
The circles that the turtle builds aren't very...umm, well, round. I understand that this code has come from another program but I think it should be mentioned (there is a pic below to illustrate this). I'm building a Star Trek museum world so as you can imagine, circles and ellipses have to be spot on for there to be any semblance of accuracy. Not sure if it's something that anyone feels is worth fixing, but thought I would point it out anyway. The various sphere generators available online all render circles almost perfectly, depending on the radius obviously. However, when I'm trying to create circles with radii of dozens or hundreds of metres, building them manually is both extremely tedious and horrifically time consuming.
Please don't take this is a criticism of anyone's work! The fact that you guys create these programs for others to use is great! I'm just being picky
#48
Posted 14 May 2013 - 06:07 PM
uberadiant, on 14 May 2013 - 11:04 AM, said:
The circles that the turtle builds aren't very...umm, well, round. I understand that this code has come from another program but I think it should be mentioned (there is a pic below to illustrate this). I'm building a Star Trek museum world so as you can imagine, circles and ellipses have to be spot on for there to be any semblance of accuracy. Not sure if it's something that anyone feels is worth fixing, but thought I would point it out anyway. The various sphere generators available online all render circles almost perfectly, depending on the radius obviously. However, when I'm trying to create circles with radii of dozens or hundreds of metres, building them manually is both extremely tedious and horrifically time consuming.
Please don't take this is a criticism of anyone's work! The fact that you guys create these programs for others to use is great! I'm just being picky
#49
Posted 15 May 2013 - 06:35 AM
I understand it's not a particularly important issue, and please don't make this a priority over anything else you might be doing. As I said, I'm just really picky. Admittedly, I've only tried it using circles with relatively small radii. I haven't attempted to create 100m radius circles or anything like that yet (the idea of waiting ages for the turtle to do it's thing to only then find out it's not exactly to my ridiculously pedantic standards and have to destroy it...me no likey that thought).
As for me trying to alter the code...I used to be a barely competent programmer, but to be honest it's something that I find a bit boring, so I'll leave it to the experts! If I could maybe make a (possibly silly) suggestion, maybe have a look at the online circle/sphere generators and see if you can see at a glance how they do the maths. Just a thought, and only if you think it might help, of course
Thanks for having a look at it though, I appreciate it a lot
#50
Posted 16 May 2013 - 11:39 PM
uberadiant, on 15 May 2013 - 06:35 AM, said:
I understand it's not a particularly important issue, and please don't make this a priority over anything else you might be doing. As I said, I'm just really picky. Admittedly, I've only tried it using circles with relatively small radii. I haven't attempted to create 100m radius circles or anything like that yet (the idea of waiting ages for the turtle to do it's thing to only then find out it's not exactly to my ridiculously pedantic standards and have to destroy it...me no likey that thought).
As for me trying to alter the code...I used to be a barely competent programmer, but to be honest it's something that I find a bit boring, so I'll leave it to the experts! If I could maybe make a (possibly silly) suggestion, maybe have a look at the online circle/sphere generators and see if you can see at a glance how they do the maths. Just a thought, and only if you think it might help, of course
Thanks for having a look at it though, I appreciate it a lot
Edited by happydude11209, 16 May 2013 - 11:44 PM.
#51
Posted 17 May 2013 - 10:43 AM
http://oranj.io/blog...SphereGenerator
http://www.plotz.co.uk/plotz.php
http://donatstudios....CircleGenerator
I had a very quick look at the source for the third one. There's a link to a github repository, and the code for the generator is there. Also, the licence seems to indicate that it is open source, so could be useful! And you're right, the radius I used was 6.
#52
Posted 19 May 2013 - 08:10 PM
uberadiant, on 17 May 2013 - 10:43 AM, said:
http://oranj.io/blog...SphereGenerator
http://www.plotz.co.uk/plotz.php
http://donatstudios....CircleGenerator
I had a very quick look at the source for the third one. There's a link to a github repository, and the code for the generator is there. Also, the licence seems to indicate that it is open source, so could be useful! And you're right, the radius I used was 6.
#53
Posted 19 May 2013 - 11:32 PM
I'm EAGERLY awaiting this (I even had a hack at it myself..no joy ) as I have 64 block radius dome to build
#54
Posted 22 May 2013 - 07:29 AM
uberadiant, on 14 May 2013 - 11:04 AM, said:
The circles that the turtle builds aren't very...umm, well, round. I understand that this code has come from another program but I think it should be mentioned (there is a pic below to illustrate this). I'm building a Star Trek museum world so as you can imagine, circles and ellipses have to be spot on for there to be any semblance of accuracy. Not sure if it's something that anyone feels is worth fixing, but thought I would point it out anyway. The various sphere generators available online all render circles almost perfectly, depending on the radius obviously. However, when I'm trying to create circles with radii of dozens or hundreds of metres, building them manually is both extremely tedious and horrifically time consuming.
Please don't take this is a criticism of anyone's work! The fact that you guys create these programs for others to use is great! I'm just being picky
Ok I thought it was only my brain tricking me, but I actually opened a bug report on github for this.
per, on 19 May 2013 - 11:32 PM, said:
I'm EAGERLY awaiting this (I even had a hack at it myself..no joy ) as I have 64 block radius dome to build
I did not really work that much on that in the past few weeks, we still have to layout the basic concept of how we want to store the coordinates etc.
#55
Posted 23 May 2013 - 04:57 PM
#56
Posted 26 May 2013 - 08:31 AM
#57
Posted 27 May 2013 - 09:25 AM
is it possible to let the turtle place Platforms and roofs of rooms over his head instead placing under him?
At the moment it leaves 1 line/row of space between roofs and the natural rocks.
#58
Posted 29 May 2013 - 04:25 AM
Steven McWayne, on 27 May 2013 - 09:25 AM, said:
is it possible to let the turtle place Platforms and roofs of rooms over his head instead placing under him?
At the moment it leaves 1 line/row of space between roofs and the natural rocks.
Most build programs build plates from above . My build program does the same (for plates). You might need a code modification to do this I'm not sure how flexible their code is.It's based on getting to a spot above and placing the block.
I've once made a piece of code called "universal floor/roof breaker". I just modified the code a little to create a "universal floor placer" .
#59
Posted 30 May 2013 - 07:36 AM
shape:846: attempt to index ? (a nil value)
#60
Posted 03 June 2013 - 05:12 PM
psyestorm, on 26 May 2013 - 08:31 AM, said:
You are welcome
Steven McWayne, on 27 May 2013 - 09:25 AM, said:
is it possible to let the turtle place Platforms and roofs of rooms over his head instead placing under him?
At the moment it leaves 1 line/row of space between roofs and the natural rocks.
Because the code to build platforms is also used to build the roof of a cuboid we cannot change this to work from below, I'm sorry.
Cupcakecreator, on 30 May 2013 - 07:36 AM, said:
shape:846: attempt to index ? (a nil value)
Are you running the most up to date code? If so, can your turtles write to the file system? Can you also try EPwMT1ug
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users