First image I see should be a difference of how the merges work.
# compute centers for screw holes
topOfLidCenters = (
cutlip
.faces(">Z")
.workplane(centerOption="CenterOfMass")
.rect(POSTWIDTH, POSTLENGTH, forConstruction=True)
.vertices()
)
Each of those lines should be a gui tool interaction that generates that line of code.