matt77 wrote:Excellent Script. Many thanks -- works a treat for me!!!
I must commend you also on another of your scripts that I find invaluable at work. It's your slicer ruby. It comes in very handy for working out the floor space across very large master-plan massing models. It has saved me so much time. Thank you. I'm not sure it was ever intended for this, but if you set the floor to ceiling height say 3 metres, but don't give the slices any thickness, then run the script across a large grouped area of buildings then explode the floor slabs within the main group, by using the area tool with all faces within that group selected you get a total floor space for that whole area. You may have to delete the top slices so that you don't include the roofs. But very, very handy indeed...
Whilst using your most recent roof script I was impressed in the way that you could assign a material and a layer to the new roof.
I have a request. (Not that your not busy enough as it is)
Is it possible to implement this within in the slicer ruby? So that the when you create the new slices you have an option of also assigning a material to the new slices. In this way you could have separate materials for residential, commercial and retail space. This information regarding the areas assigned to the materials could be then exported to an excel sheet. Giving you a detailed breakdown very quickly regarding your model.
Matt
A few months ago we started using Slicer.rb for exactly the same thing - to get a rough idea of the floor-space in massing blocks on master-plans [although its original use was for making 3D card models from a Sketchup volume - cheap 3D-printer !]
Not so long ago I added a make your own layer and pick materials on the fly option to VolumeCalculator.rb. Since this a son (or perhaps grandson ?) of Slicer it'll be pretty easy to implement (I hope)... I'll add it to the list of things to do.
Watch this space...


