Jump to content




Extruder - 1sR4CKT4


  • You cannot reply to this topic
No replies to this topic

#1 Kazenotachi

  • New Members
  • 1 posts

Posted 11 September 2014 - 03:15 PM

Hello all,

This is my first program for the turtles. And though i would leave it right here.

Extrude: used to take a template and build it up by [x] number of blocks, messages are send via rednet and local display ( feel free to remove either one by commenting the proper line in the message funtion.

usuage: extrude [x]

the block you have built the template in should go into slot 15.

it will use any block in its inventory to build the extrusion.

It pathfinds kinda like the line following robot most of us have seen or even built and it will handle diagonals. Its effeciency can probably be improved but its a first shot at it.


http://pastebin.com/1sR4CKT4


NOTE: it will go the direction of the first matching material, if it has 2 directions it can go, it will go the first one it finds. I have used this to build floors, but it sometimes "paints" itself in to a corner ( ok MOST of the time)

Let me know any suggestions on changes, and please be gentle.


KAZE





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users