Shaping of diamond in 1D nanostructures and strategies for fabrication of all diamond microcomponents