The present invention is a method for manufacturing medical scaffolds and their uses in bone repair, and in dental and orthopedic surgeries. The scaffolds are composed of electrospun nanofibers that have a continuous or stepwise gradient of porosity, and an average pore size and weight per volume. ...