The invention claimed is:
1. A program creation apparatus for a wire electric discharge machine for performing turning tool machining, the program creation apparatus configured to create a program for machining an edge part of the turning tool, the program creation apparatus comprising:
a machining route creation unit configured to create a machining route with respect to a reference rake face having no tip-attaching error;
an input unit configured to input a result obtained by measuring a height from a reference face at a plurality of measurement points on the machining route;
an error calculation unit configured to calculate, for each measurement point among the plurality of measurement points, a height error of a surface of a tip attached to the turning tool with respect to the reference rake face having no tip attaching error, on the basis of the inputted value of the measured height;
a correction amount calculation unit configured to calculate a correction amount for said each measurement point on the basis of (i) the height error calculated for said each measurement point and (ii) an angle formed by a rake face and a flank face of the turning tool that is determined in design, wherein a position, on a horizontal plane, of the edge part of the turning tool accords with a position, on the horizontal plane, of an edge part of the reference rake face;
a machining route calculation unit configured to calculate a new machining route obtained by correcting the machining route on the basis of the calculated correction amount; and
a machining program creation unit configured to create a machining program with respect to the calculated new machining route.
2. The program creation apparatus according to claim 1 , wherein
when an object to be machined of the turning tool is a rotating body, the correction amount calculation unit is configured to calculate the correction amount for said each measurement point on the basis of (i) the height error, (ii) the angle formed by the rake face and the flank face of the turning tool that is determined in design, and (iii) a distance from a rotation center axis of the object to be machined to the edge part of the turning tool, wherein the distance from the rotation center axis of the object to be machined to the edge part of the turning tool accords with a distance from the rotation center axis of the object to be machined to the edge part of the reference rake face.
3. A program creation apparatus for a wire electric discharge machine for performing turning tool machining, the program creation apparatus configured to create a program for machining an edge part of the turning tool, the program creation apparatus comprising:
a storage unit configured to store a machining program for machining the turning tool;
an input unit configured to input a result obtained by measuring a height from a reference face at a plurality of measurement points on a route of the machining program;
an error calculation unit configured to calculate, for each measurement point among the plurality of measurement points, a height error of a surface of a tip attached to the turning tool with respect to a reference rake face having no tip-attaching error, on the basis of the inputted value of the measured height;
a correction amount calculation unit configured to calculate a correction amount for said each measurement point on the basis of (i) the height error calculated for said each measurement point and (ii) an angle formed by a rake face and a flank face of the turning tool that is determined in design, wherein a position, on a horizontal plane, of the edge part of the turning tool accords with a position, on the horizontal plane, of an edge part of the reference rake face; and
a machining program creation unit configured to create a new machining program obtained by correcting the machining program on the basis of the calculated correction amount.