Automatic detection of open and closed separation and attachment lines | Synapse