Micro-machining and nano-machining