No errors reported in Slic3er or FreeCAD analysis.
Top and bottom surface fuction with scaling / normalization in the Z direction