Page 1 of 1
/fill2d additions
Posted: April 10th, 2012, 1:34 pm
by Zafum
One feature I think would be very helpful for /fill2d, is if you could (optionally) specify the specific plane you want to use it on. Maybe "/fill2d {X,Y,Z} {Blocks}".
• First thing this'd be helpful with, is that it's not always easy to fill a 2D plane in a specific direction, like if you're filling a plane of air on the z axis, but there's nothing to place a block on directly under you.
• Secondly, this command is a little awkward to use while /mark-ing. Say you're using a lot of /mark XX YY ZZ commands, Fill2d makes that a little more complicated, because you also have to position yourself looking in specific directions.
Edit by fragmer: Merged the two "/fill2d addition" topics
/fill2d addition.
Posted: April 13th, 2012, 4:56 pm
by Pemalite
I would *like* to see an edge /fill2d command.
Essentially, you do a fill 2d and it changes all the edges of a block to another.
As an example in the Ponymain map where I pain-stakingly went around all the edges and manually placed black blocks.
Would be nice to do a /edgefill2d which will change all the edges for you on that 2d plane.
Example:

Re: /fill2d addition.
Posted: April 13th, 2012, 10:16 pm
by BobKare
/fill2dh >.>
Anyway, good idea. Would be useful, indeed.
Re: /fill2d addition.
Posted: April 14th, 2012, 12:43 am
by Zafum
Pemalite, this would be in all seriousness, the most useful thing since ducks :3
Although, as an alternative (which I often use) to manually placing the blocks you could,
• /copy
• /paste original {block} 4 times, one block in each direction from where you copied it (to basically expand it by one on all sides).
• /replace {block} {edgeblock}
• /paste the {block} where you originally copied it
• /copyslot 2
• /copy
• /paste {edgeblock} in all four directions like in part two
• /copyslot 1
• /paste air
And that would do the same thing as the edgefill2d. But it's a lot more complex to use :3
Re: /fill2d addition.
Posted: April 14th, 2012, 1:35 am
by Sanjar Khan
Zafum wrote:Pemalite, this would be in all seriousness, the most useful thing since ducks :3
Although, as an alternative to manually placing the blocks you could,
• /copy
• /paste 4 times, one block in each direction from where you copied it (to basically expand it by one on all sides).
• /replace {block} tnt
• /paste the {block} where you originally copied it
• /copyslot 2
• /copy
• /paste tnt in all four directions like in part two
• /replace tnt black
• /copyslot 1
• /paste air
And that would do the same thing as the edgefill2d. But it's a lot more complex to use :3
I don't get it
Re: /fill2d addition.
Posted: April 14th, 2012, 1:59 am
by Zafum
Like say that Pemalite had green blocks that he wants to edgefill2d between the coordinates 30 30 40 and 50 50 40, but he didn't have that command, so he had to do this:
Commands
/copyslot 1
/static (on)
/copy
/mark 30 30 40
/mark 50 50 40
/paste green
/mark 31 30 40
/mark 29 30 40
/mark 30 31 40
/mark 30 29 40
/replace green black
/mark 30 30 40
/mark 50 50 40
/paste green
/mark 30 30 40
/copyslot 2
/copy
/mark 30 30 40
/mark 50 50 40
/paste black
/mark 31 30 40
/mark 29 30 40
/mark 30 31 40
/mark 30 29 40
/copyslot 1
/paste air
/mark 30 30 40
Edgefill2d would simplify something like that into just a single command:
Command
/edgefill2d black
/mark 40 40 40 (on Z axis)
Re: /fill2d addition.
Posted: April 14th, 2012, 2:34 am
by Sanjar Khan
Oh I do understand what you want, I just don't understand how you see your method working with the free flowing shapes as seen in Pemalites picture. At all.
Re: /fill2d addition.
Posted: April 14th, 2012, 6:14 am
by Zafum
But my method is built just so that it can work with any shapes, free flowing or not :3
Let's say we have a 14x14 space with a free flowing platform on it, without the edges filled. (the glass stands for air)
I copy an entire layer of those free flowing shapes onto copyslot 1 (almost maximum X and Y, as marked on the gold above). I /paste green four times, marking each side of the copied origin once (see yellow below), to expand the free flowing shape (grass below).
I /replace the green with black:
And then paste the original green platform over that.
Then I go to /copyslot 2, and copy the thing again, pasting the black on all four sides just like I did with the green. It makes the black line a block thicker on each side.
Then I just go back to /copyslot 1, and paste the air that was originally there.
You should be able to use this concept on any 2-D shape or plane, to fill the edges.
Edit: Now of course this is impractical on such a small scale, when you could /paint just as easily. But if you have a largescale area you need this done on, say like the entire ponymain world, this is a way you could save hours of time :3 Edgefill2d would just simplify it into a single command.
Re: /fill2d addition.
Posted: April 14th, 2012, 8:10 am
by xN8Gx
Zafum wrote:Pictures with blocks
...Or you could just use /paint and hit the blocks on the edge with a different block.
This is one of those time-saver commands; not really necessary, but would make working with /f2d more convenient at times.
Re: /fill2d addition.
Posted: April 14th, 2012, 4:54 pm
by Pemalite
xN8Gx wrote:Zafum wrote:Pictures with blocks
...Or you could just use /paint and hit the blocks on the edge with a different block.
This is one of those time-saver commands; not really necessary, but would make working with /f2d more convenient at times.
Well. It could be said that all draw commands are time saver commands and not really necessary.

It's not that hard to make a cuboid after-all... But it sure makes life easier!