The 3D Castle Maze demo uses a layer named "Map" to lay out its maze as 2D sprites, which are converted to 3D objects when the game starts. All the walls are uniform.
simply increase their width and it clones itself, like a tiled background.
You can use tiled backgrounds as wall textures, and they'll tile as you increase the size of the object. The "z tiling factor" on the object may need to be adjusted. Automatic generation from a sprite layout would probably be a little trickier with this method.
I built my levels manually, but I have different sizes and angles so I'd really have to think through making a level generator for my next project. construct.net/en/free-online-games/vault-peril-32857/play