The best way to access the script at this point is to enable the “Add Mesh: Extra Objects” add-in, and then Add > Mesh > Extras > Wall Factory
The UI code I used in the linked code below is long depreciated, so if you want to use any of this stuff that isn’t in the pack-in add-in, you’re going to be up to your elbows in Python. That said, if you want any help, let me know in a PM and I’ll see what I can do.
This project now has a SorceForge account. I’ll keep up with the thread too, but I’m trying to move operations over that way.
I looked around a bit for a scrip that would do this, but couldn’t find one. It seems that someone must have done this before, maybe I wasn’t looking hard enough.
Anyhow, I decided to make a wizard that will build stone/brick masonry walls, paths, towers, etc. Here’s my first pass at one, about a week and a half of work in this script so far. All the pictures are of the plain untextured geometry. All the walls seen can be made using the current GUI. Everything is properly registered, copy the script to your “scripts” folder:
(note, the code is too long to paste into a block, here is the link)
Go to the “Python Window” Scripts->Wizards->Auto Masonry
A few questions:
Would assigning each block it’s own UV cords on a UV layer be helpful for texturing? Should I spend a lot of time improving the current GUI? Will you power users just hardwire the code to get the extra functionality you want? Are there other scripts which do the same/similar things, perhaps that could be merged? Would anyone be interested in a version which makes a lot of individual linked blocks for physics experiments? Comments, suggestions, critiques are welcome.
A few responses to comments:
The pathway was made by creating a tall narrow “wall” and rotating it to a horizontal position. Afterwords I added the Curve modifier (the script didn’t do the pathway automatically).
The “inner” mesh is actually the grout, while the outer one is the stones. This way you can sub-surf and smooth the stones and grout seperately. It also allows easier texturing.
Quick guide to use the script (with paths):
- Add a Path (Add->Curve->Path)
- Select the path
- Go to the “Python Window” Scripts->Wizards->Auto Masonry
- Tweak settings and click “Make this wall”
Thanks Hoehrer! Forgot to mention that…