Castle Wall Maker




This script adds the main components of a Medieval castle wall from single input geometry. After fine-tuning the script input sliders, which can change the wall to your specifications, the resulting geometry can be exported directly for 3D printing as everything is a closed, solid mesh. The meshes are extremely low-poly and could also be used in video games or movies. Besides making this script nearly indestructible to input geometry (assuming it follows a very basic set of setup principles), significant development went into making the meshes behave this way.

The script's logic was planned out based on how physical stones would be placed on top of each other. This made the process significantly more complicated but means the solutions are likely more physically accurate. It also sets them up nicely for being simulated since letting the accumulation of meshes rest under gravity would result in a standing structure. The output of this script can be 3D printed or otherwise fabricated, or it can be used as a digital asset for computer graphics. This is unique because most (procedural) scripts are made to produce images or 3d printable material, not both.



Physical Output (3D Prints)






Digital Output






Input Object for Script







Script Working


Main Brick Creation and Customization



Main Brick Rotation and Movement Adjustments



Edge Seam Stones



Stones Around Arrowslits



Bottom Stone Fortification Kick-out



Top Crenellations and Supports



Wall Components (extra)


Grout filler geometry



Grout filler geometry for Kick-out



Detail Stone Banding



Bottom Kick-out



Stone Edge Seams



Script Overview




Script Cluster Overview for Stone Seam