- Latest script version in this post: http://forums.thedar...post__p__341896
- Demo video (original) in this post: http://forums.thedar...post__p__340566
Development discussion is in the thread on cutting patches with spreadsheets.
I've done a demo video for this with use cases but I'm having to figure out how to get it onto YouTube (not done it before). With luck, I'll add it to this post this afternoon.
To install the script:
Save it to your DarkRadiant/scripts/commands folder, in the dark radiant install folder. Remove the .txt extension from the file name. Then click File > Reload scripts in DR, or just reopen DR.
You can set up a keyboard shortcut using the normal menu. The tool is called "SplitPatch".
To use it: Select one patch, enter vertex editing mode, and select 2-3 adjacent verts on the same line, including at least one pink vert (selecting 2 nearby pinks like I do in the video wherever possible will help the script run fastest). Then click Scripts > Split patch from the menu, or use your shortcut.
Save the map beforehand and don't rely on Undo. You *can* undo -- press it twice -- but the verts you originally selected will be on grid but a bit out of place.
Another side effect is it leaves your orthoview in top-down view no matter where you started.
Please watch out for bugs. Most of this code was written yesterday! I've used it for a few hours without problems.
There's sometimes a couple of seconds' delay using the tool. There's a lot going on under the hood. If people find that's a problem on bigger maps, I'll look for ways to optimise it.
EDIT: Updating the instructions to reflect what I currently think's optimal.
Edited by SteveL, 29 March 2014 - 09:48 AM.