Cut by Enerot3

For this plugin to work the model has to be drawn in a specific way. If you only want flat cuts you might prefer the built in section cut tool, but for complex cuts this script might be useful.

The model must be divided into groups, such as floors, that are put directly in the model root. Each group should be moved to its own unique layer. The faces where these groups touches are painted with materials named "!Cut!" or "!Cut#n!" where n is any integer. Different materials can be used where the building, the terrain and vegetation are cut.

There should be one scene for every group (usually floor) where either all other groups' layers or just the layers of the groups underneath are hidden. Camera positions should not be saved for these scenes (right click on scene tab, untick "Camera Location"). An additional scene for the exterior, showing all groups and perhaps with different lights such as sun for shading, is great to get an overview of the model.

Here the problem arises. When viewing the exterior ugly stripes are visible in the facade between each group (floor). Run this script to move all the cut faces (those where groups touches) to their own layer, "Cuts", which should be hidden in the exterior scene, but shown in the interior scenes. For the script to work these faces must be painted with properly named materials. Either “!Cut!” or “!Cut#n!” where n is any integer.

When drawing to the model the layers can be mixed up, especially when using the push-pull tool. But don’t fear - just make sure the materials are correct and run this script again.

For more information check out my website or contact me.

Copyright Julia Christina Eneroth 2013. Use for whatever you want, distribute as you like and credit me when modifying.