Orthotic and prosthetic devices having integrated features such as cushioning features are described, as well as methods for computer aided designing and making of these devices. The orthotic or prosthetic devices comprise a cushioning layer superimposed onto an orthotic or prosthetic shell, the cushioning layer comprising an array (35) of discrete solid and resilient cushioning elements (31). In one preferred embodiment, said cushioning structure is a beam, defined around a centerline of any arbitrary shape. In another preferred embodiment, said cushioning structure has the shape of a spiral.