Automated freeform assembly of threaded fasteners