Terrain Cutter

I have just finished making a large landscape, and rather that cut it up into small peices manually, I was wondering if there was a script that did it automatically?

Thanks
/Ex.

Do you mean Slice it up? There’s a script under Object->slice for that. (You need object(s) and a plane to slice them.)

You may need to download it from Blender Catalog ( http://wiki.blender.org/index.php/Extensions:Py/Scripts ), if it’s not there in your installation. Or look for Meta-Androcto’s “script pack” in graphicall.org.

Good luck :slight_smile:

@makr: Thanks! but unless I am doing something wrong, it doesn’t work.

I have 1 big landscape, and I want to slice it into 20 even pieces.

any ideas?

/Ex.

Do you mean 20 even stripes or 20 squares in a net of 4x5, for example?

>>
@makr: Thanks! but unless I am doing something wrong, it doesn’t work.
<<
afaik, you’re supposed to use the object and a plane (which fully “cuts” through it) - but the docs should be on the Blender Catalog site. Did you try it that way?

Can you post (a part of) the file here - maybe just delete all the vertices on half of it – since it’s just for testing, it shouldn’t matter much.

(You know, I too would like to know the answer to abidos’ query. Just curiosity on my part )

good luck :slight_smile:

Thanks for the replys,

@Abidos, I want 20 squares. Right now I have 12 large pieces of land, I want to split each piece into 9 pieces, so I will end up with 108 small pieces.

@makr, I tried that, but the most I could get out of it was a line of vertexes that matched the height of the land.

Here is a mini-version of the landscape (without textures) - http://www.pasteall.org/blend/1433
But you can see a pic of the full landscape here - http://blenderartists.org/forum/showthread.php?t=164816

Hmm, you’re right. All it does is produce a “section cut” - not much use for what you want.
All I can think of is the “cookie cutter” scripts. (See attached: http://rapidshare.com/files/327009740/example_Land1.blend.html
) Have a plane fully intersecting the landscape; then delete it’s face only (The cookie cutter works only for edge loops, acting as a sort of knife, view based)
Copy this “edge” in parallel, 4 or 5 times.
Select all the edges and, lastly, the lscape mesh.
Run the script.
Rotate the “edges” and repeat.
Separate the "slices (A very tedious procedure)

Or make 5 copies of the lscape mesh. Then subtract “boxes” from it - suitably scaled - so you have a slice in 1 direction. Repeat…

Hope this helps :slight_smile:

(This thread should help you more:
http://blenderartists.org/forum/showthread.php?t=171777 )

Hi,

I have recently managed to put in order (i.e. make it work nicely) a script to cut meshes. I opened a new thread on that here. It is within my TO DO list to re-work it to cut meshes on squares (rectangles). The script’s logic allows this get achieved fairly easy… Sooo… if no other script is matching you needs, may be I will be able to send you a beta-version of the modified script which cuts a mesh on square (rectangular) pieces??? :stuck_out_tongue:

Regards,

@makr: Thanks for the suggestions!, but I would like to keep the face count as low as possible.

@Abidos: Yes! I would love to try out the beta script! I loved your mesh cleaner too!

Thanks

Ex.

Hi,

I’ve issues the ALPHA version of the script I was talking you about - please look here

Regards,