I know that some 3D printers allow pausing of the print, so that you can place something, like in your case a captured nut. Then you can do the rest of the print around the but and install as if it were a typical knob. Hopefully this helps.
Will@acemachine.ca