- make a sketch that will be used for the walls
- Part WB extrude the sketch to make thin edges
- make another sketch constrained to the boundaries of the walls. Move the sketch up slightly so the bounding edges are not coincident
- in the Surface WB, create a surface from the bounds sketch
- back in Part WB, use the boolean fragments tool
- create a draft line that crosses only the walls
- use the CompoundFilter tool on top of the boolean fragments. Set filter type to collision-pass, for stencil use the drawn line, and set the invert to True. Set window from 0 to 100. now there should be nicely fragmented footrpint faces
extrude either with slab tool or with part extrude
The next steps need to be redone at the moment if the wall sketch gets updated and the number fragments changes (ie more or less rooms) for the spaces to work as they currently do.
- explode the Compund tool on the Extrusion, which results in a group with the fragments
- Select each element individually and use the space tool
Not sure which approach would look after the changes in the number of spaces in a way that preserves the indices.
Further thinking about it, the whole process could be automated besides the initial walls sketch:
- create initial walls sketch by hand
- get the bounds of the wall sketch, maybe turn it into a face(s) or another way to create an automatic boundary?
- then use the same steps as above in a script