Then I iterate through each layer and use OpenSCAD to extrude by a given amount and recreate an STL file for each.