A supervised community detection method for automatic machining region construction in structural parts NC machining