Diamond core drilling parameters and grinding shape generation