Tell it to use the existing libraries. https://openscad.org/libraries.html, in particular BOSL2
I've one shotted a light saber hilt with threaded parts and it worked flawlessly.