svg-flatten

svg-flatten is a command-line utility that performs vector occlusion and clipping on SVG files, producing a flattened SVG file without overlapping elements, without changing what the file looks like. svg-flatten is used as a part of gerbolyze.

I developed svg-flatten as part of gerbolyze, but it can be used independently.