Buiding menu to change object dimensions and export geometry


I would like to make a little app, in this app I can deform and object with menu I have on right. Once I put my parameters I push the button below and I to export the geometry in STL file, or obj

¿How can I make it?