Blender, Procedural, 3d Modeling, Geometry Node, Coding.
be used to reconstruct the “local” space of each house. Using this information you can mask certain areas in local space to select only the vertices you need for raising the roof. In order to adjust each house individually and with variation, you would have to realize the instances. If you want to