if the profile is beyond a simple chamfer - you might need more advanced approaches: see this topic for fancy profiles: