WO2013128625A1 - 加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム - Google Patents

加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム Download PDF

Info

Publication number
WO2013128625A1
WO2013128625A1 PCT/JP2012/055352 JP2012055352W WO2013128625A1 WO 2013128625 A1 WO2013128625 A1 WO 2013128625A1 JP 2012055352 W JP2012055352 W JP 2012055352W WO 2013128625 A1 WO2013128625 A1 WO 2013128625A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool path
end point
tool
character
line segment
Prior art date
Application number
PCT/JP2012/055352
Other languages
English (en)
French (fr)
Inventor
晋 松原
光男 前原
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to DE112012005821.6T priority Critical patent/DE112012005821B4/de
Priority to US14/371,797 priority patent/US9740189B2/en
Priority to CN201280071050.8A priority patent/CN104145223B/zh
Priority to JP2012535470A priority patent/JP5274714B1/ja
Priority to PCT/JP2012/055352 priority patent/WO2013128625A1/ja
Priority to TW101120876A priority patent/TWI465869B/zh
Publication of WO2013128625A1 publication Critical patent/WO2013128625A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/402Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for positioning, e.g. centring a tool relative to a hole in the workpiece, additional detection means to correct position
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/45Nc applications
    • G05B2219/45212Etching, engraving, sculpturing, carving
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/49Nc machine tool, till multiple
    • G05B2219/49001Machine tool problems
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50047Positioning, indexing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to a machining program generation device, a machining program generation method, and a machining program generation program that generate an NC machining program that causes a numerical control device to execute numerical control (hereinafter, NC) of a machine tool.
  • NC numerical control
  • machining program creation devices In recent years, enhancement of the program creation support function of machining program creation devices is progressing. For example, an operator can create an NC machining program simply by setting a coordinate value of a workpiece (workpiece) in a machining program creation device while looking at a production drawing. There is also a machining program creation device that can directly read CAD data modeled by a designer using a CAD system and create an NC machining program from the read CAD data.
  • Patent Document 1 discloses that when a plurality of workpiece parts of a workpiece are continuously NC-processed using the same tool and reciprocating the tool a plurality of times for each workpiece part. In addition to the tool trajectory obtained for each workpiece, the position of the end point that can be the machining start point or the machining end point is stored, and the end point of the tool movement distance from the machining end point of the tool trajectory in one workpiece is the shortest. A technique for selecting the end point of the tool trajectory of the part to be machined as the next machining start point is disclosed.
  • Patent Document 2 when engraving a character on an object surface, data representing the planar shape of the character and data representing the engraving depth of the character associated with the thickness of each part of the character are disclosed. Based on this, a technique for engraving a character with an engraving depth associated with the thickness of the character for each part of the character is disclosed.
  • the shape of the letter may be formed by intersecting a plurality of tool paths in the XY axis direction.
  • a tool path that has already been processed is used again. It is conceivable to perform another tool path that intersects the machined tool path by performing a tool approach in the Z-axis direction.
  • a machining trace due to the tool approach in the Z-axis direction is generated at a place where the tool approach in the Z-axis direction is performed on the machined tool path.
  • Patent Documents 1 and 2 do not pay attention to the number of tool approaches in the Z-axis direction, and thus have room for further reduction in machining time. In addition, the techniques described in Patent Documents 1 and 2 cannot suppress the generation of machining traces due to the Z-axis direction tool approach.
  • the present invention has been made in view of the above, and obtains a machining program generation device, a machining program generation method, and a machining program generation program for creating an NC machining program that executes character engraving machining in as short a machining time as possible. With the goal.
  • the present invention is a machining program generation device that generates an NC machining program for engraving a workpiece, and constitutes a character to be engraved.
  • a plurality of line segments are generated by dividing the line segment at the intersection position of the character, the end point of the set tool path is set as the start point, and the line segment connected to the start point is set as the next tool path
  • a tool path generation unit that sequentially executes processing, and an NC machining program generation processing unit that generates an NC machining program for moving a tool on the set tool path in the order set by the tool path generation unit,
  • the tool path generation unit includes a line that is not set in the tool path when there is a line segment that is not yet set in the tool path among the line segments connected to the start point.
  • the machining program generation apparatus generates an NC machining program that moves a tool from a single end point to a connection end point or an intersection end point without executing a tool approach in the Z-axis direction.
  • An NC machining program to be executed can be created.
  • FIG. 1 is a diagram illustrating a configuration of a machining program generation device according to Embodiment 1 of the present invention.
  • FIG. 2 is a diagram illustrating a hardware configuration example of the machining program generation device.
  • FIG. 3 is a flowchart illustrating the machining program generation method according to the first embodiment.
  • FIG. 4 is a diagram illustrating a display example of the material shape.
  • FIG. 5 is a diagram for explaining a state in which a surface and a range for engraving a character string are designated.
  • FIG. 6 is a diagram for explaining a state in which a character string is arranged in a frame.
  • FIG. 7 is a diagram for explaining data stored in the character string storage unit.
  • FIG. 8 is a diagram illustrating a data configuration example of character setting data.
  • FIG. 1 is a diagram illustrating a configuration of a machining program generation device according to Embodiment 1 of the present invention.
  • FIG. 2 is a diagram illustrating a hardware configuration example of the
  • FIG. 9 is a diagram illustrating a data configuration example of character engraving processing data.
  • FIG. 10 is a diagram illustrating the shape of the letter “E”.
  • FIG. 11 is a diagram showing line segments that constitute the character “E”.
  • FIG. 12 is a diagram illustrating the end points constituting the character “E”.
  • FIG. 13 is a diagram illustrating a data configuration example of classification data.
  • FIG. 14 is a flowchart illustrating the route setting process.
  • FIG. 15 is a diagram illustrating a data configuration example of the tool path information relating to the letter “E”.
  • FIG. 16 is a diagram showing line segments and end points that constitute the character “N”.
  • FIG. 17 is a diagram illustrating an initial state of the classification data relating to the character “N”.
  • FIG. 15 is a diagram illustrating a data configuration example of the tool path information relating to the letter “E”.
  • FIG. 16 is a diagram showing line segments and end points that constitute the character “N”.
  • FIG. 17 is a diagram
  • FIG. 18 is a diagram illustrating a data configuration example of the tool path information relating to the letter “N”.
  • FIG. 19 is a diagram showing line segments and end points that constitute the letter “G”.
  • FIG. 20 is a diagram illustrating an initial state of the classification data relating to the letter “G”.
  • FIG. 21 is a diagram illustrating a data configuration example of the tool path information relating to the letter “G”.
  • FIG. 22 is a diagram showing line segments and end points constituting the character “car”.
  • FIG. 23 is a diagram illustrating an initial state of the classification data relating to the character “car”.
  • FIG. 24 is a diagram illustrating a data configuration example of tool path information relating to the character “car”.
  • FIG. 25 is a flowchart showing the operation of the NC machining program generation processing unit of the second embodiment.
  • FIG. 26 is a flowchart showing the operation of the NC machining program generation processing unit of the third embodiment.
  • FIG. 1 is a diagram illustrating a configuration of a machining program generation device according to Embodiment 1 of the present invention.
  • the machining program generation device 1 includes an interactive operation processing unit 2, a character string storage unit 3, a character setting data storage unit 4, a character engraving process data storage unit 5, a character engraving tool path generation unit 6, an NC machining program. It has a generation processing unit 7, a display unit 8, and an input unit 9.
  • the input unit 9 includes a mouse and a keyboard, and receives input of instruction information (character string, character setting data, character engraving data) from the operator.
  • the display unit 8 is a display device such as a liquid crystal monitor, and displays display information for the worker such as a character string designated by the worker, character setting data set by the worker, and character engraving data.
  • the dialogue operation processing unit 2 sends the character string input by the operator through the input unit 9 to the character string storage unit 3 or the character setting data input by the operator through the input unit 9 as character setting data. Or sent to the storage unit 4.
  • the character setting data is attribute information indicating the shape of the character string to be engraved. For example, the character font specification, the character size specification, the space between characters, It includes the designation of the character position and the designation of the character direction.
  • the dialogue operation processing unit 2 applies the font data 10 input from the outside and the character setting data stored in the character setting data storage unit 4 to the character string stored in the character string storage unit 3. To generate a predicted figure of the finished shape, and display the generated predicted figure on the display unit 8.
  • the dialogue operation processing unit 2 sends the character engraving data input by the operator to the character engraving data storage unit 5.
  • the character engraving process data includes designation of a tool type of a tool to be used, designation of a tool peripheral speed, designation of a cutting feed speed, designation of a rapid feed speed, and the like. Note that.
  • the interactive operation processing unit 2 displays tool data 11 describing a list of usable tools on the display unit 8. When the operator selects a tool to be used from the tools displayed as a list on the display unit 8, the dialogue operation processing unit 2 enters a description for designating the selected tool in the character engraving process data.
  • the character engraving tool path generation unit 6 uses the character string stored in the character string storage unit 3 and the character setting data stored in the character setting data storage unit 4 to process the shape, processing position, and processing of the character to be engraved. The direction is calculated, and tool path information (tool path information 14) describing the tool path is generated based on the calculated information. Then, the character engraving tool path generation unit 6 inputs the generated tool path information 14 to the NC machining program generation processing unit 7. The character engraving tool path generation unit 6 generates classification data 12 as intermediate data when generating a tool path. The classification data 12 will be described later.
  • the NC machining program generation processing unit 7 stores the shape and position of each graphic element constituting the tool path described in the tool path information 14 input from the character engraving tool path generation unit 6 and the character engraving process data storage unit 5. An NC machining program 13 is generated based on the saved detailed information of the tool. Then, the generated NC machining program 13 is output to the outside.
  • FIG. 2 is a diagram for explaining a hardware configuration example of the machining program generation device 1.
  • the machining program generation device 1 includes a CPU (Central Processing Unit) 1001, a RAM (Random Access Memory) 1002, a ROM (Read Only Memory) 1003, a display unit 8, and an input unit 9.
  • the CPU 1001, RAM 1002, ROM 1003, display unit 8, and input unit 9 are connected to each other via a bus.
  • a machining program generation program 1004 which is a computer program for realizing the machining program generation method, is recorded.
  • the CPU 1001 reads the machining program generation program 1004 recorded in the ROM 1003 and loads the read machining program generation program 1004 into the program development area of the RAM 1002.
  • the CPU 1001 functions as the interactive operation processing unit 2, the character engraving tool path generation unit 6, and the NC machining program generation processing unit 7 under the control of the machining program generation program 1004 expanded in the RAM 1002.
  • the RAM 1002 functions as a character string storage unit 3, a character setting data storage unit 4, and a character engraving data storage unit 5.
  • the RAM 1002 also has a work area for temporarily storing font data 10, tool data 11 input from the outside, and classification data 12 generated by the character engraving tool path generation unit 6.
  • the NC machining program 13 generated by the CPU 1001 is output to the RAM 1002 or an external storage device (not shown).
  • the recording medium on which the machining program generation program 1004 is recorded in advance is not limited to the ROM 1003 alone.
  • any non-temporary tangible medium such as an external storage device, a removable memory device, an optical disk, and a magnetic disk can be used as the recording medium.
  • the machining program generation program 1004 may be stored on a computer connected to a network such as the Internet and provided or distributed by being downloaded via the network.
  • FIG. 3 is a flowchart illustrating the machining program generation method according to the first embodiment.
  • the dialogue operation processing unit 2 accepts input of a character string and character setting data (step S101).
  • FIG. 4 is a diagram illustrating a display example of the material shape.
  • a perspective view of a rectangular parallelepiped material shape 20 is displayed on the display unit 8.
  • the operator can input by designating the surface and range on the material shape 20 on which the character string is engraved by operating the input unit 9.
  • FIG. 5 is a diagram for explaining a state in which a surface and a range for engraving a character string are designated.
  • a frame 21 is displayed on one surface on the material shape 20.
  • a frame 21 indicates a range for engraving the character string.
  • the operator can input a character string to be engraved in the frame 21 by operating the input unit 9.
  • FIG. 4 is a diagram illustrating a display example of the material shape.
  • a perspective view of a rectangular parallelepiped material shape 20 is displayed on the display unit 8.
  • the operator can input by designating the surface and range on the material shape 20 on which the character string is engraved by operating the input unit 9.
  • FIG. 5 is a diagram for explaining a state in which
  • FIG. 6 is a diagram for explaining a state in which a character string is arranged in the frame 21.
  • a character string “ENG” input by the operator is displayed in the frame 21.
  • the dialogue operation processing unit 2 can automatically calculate the position of each character constituting the character string “ENG” so that the character string “ENG” fits within the frame 21. it can. Then, “E”, “N”, and “G” are arranged at the respective positions obtained by calculation.
  • the dialogue operation processing unit 2 stores the input character string “ENG” in the character string storage unit 3.
  • FIG. 7 is a diagram for explaining data stored in the character string storage unit 3. As shown in the drawing, the character string “ENG” is described in the character data 31.
  • FIG. 8 is a diagram illustrating a data configuration example of character setting data.
  • the character setting data 41 includes fields for storing font, style, point, plane position vector and normal vector, character position, and character direction.
  • a stroke font that holds the shape of a character as vector data of a center line curve is designated as the font.
  • a style defines the character format, and can be specified as a italic or italic character of a character, a typeface that is slightly inclined to the right with respect to the standard.
  • a standard is specified.
  • a point represents the size of a character, the width of a margin, or the length of a character.
  • the plane position vector is a coordinate value that represents the origin position of the plane on which the character engraving is performed on the program coordinates
  • the plane normal vector is the plane normal vector on which the character engraving is processed on the program coordinates.
  • the character position is a coordinate value from the origin of the plane on which the character engraving is performed
  • the character direction represents a direction vector in which the characters are arranged when the character engraving is performed.
  • the dialogue operation processing unit 2 can calculate the position of the character and the direction of the character from the input position information of the frame 21 and register the calculated information in the character setting data 41.
  • the dialogue operation processing unit 2 calculates the position of the point and the character from the position of each character constituting the character string “ENG” automatically calculated, and registers the calculated information in the character setting data 41. can do. Further, the interactive operation processing unit 2 can display a display prompting the user to input font and style specifications on the display unit 8 and allow the operator to input font and style specifications.
  • step S101 the dialogue operation processing unit 2 accepts input of character engraving data from the operator (step S102).
  • the operator operates the input unit 9 to select a tool for performing the character engraving from the tools registered in the tool data 11, and sets the cutting conditions.
  • the cutting conditions include a machining allowance in the Z-axis direction, a peripheral speed that is the speed of the outer periphery of the tool, and a tool feed that is a distance to be cut while the tool makes one revolution.
  • the dialogue operation processing unit 2 records the input information in the character engraving data, and stores the character engraving data in the character engraving data storage unit 5.
  • FIG. 9 is a diagram illustrating a data configuration example of character engraving processing data. As shown in the figure, the tool used, Z axis direction allowance, peripheral speed, and tool feed are described in the character engraving process data 51, respectively.
  • the character engraving tool path generation unit 6 uses the character data 31 stored in the character string storage unit 3 and the used fonts, styles, and characters described in the character setting data 41 stored in the character setting data storage unit 4. Based on the point, the plane position vector, the plane normal vector, the character position, and the character direction, a line segment constituting the character is calculated for each character (step S103).
  • P is a position vector on a straight line
  • D is a straight direction vector.
  • the value of t in Expression (1) is limited to a range from a value corresponding to the start point of the target straight line portion to a value corresponding to the end point.
  • the character engraving tool path generation unit 6 describes a line segment corresponding to the curved portion of the character by the following expression (2).
  • R (t) C + rXcos (t) + rYsin (t) (2)
  • C is the center of the circle
  • r is the radius of the circle
  • X and Y are axial vectors on the surface of the circle.
  • the value of t in Expression (2) is limited to a range from a value corresponding to the start point of the target curve portion to a value corresponding to the end point.
  • the character engraving tool path generation unit 6 obtains the intersection of the line segment for each character, and divides the line segment for each character at the position of the intersection (step S104). In this step, for example, the character engraving tool path generation unit 6 divides the character “E” shown in FIG. 10 at the intersection position to generate line segments 101 to 105 shown in FIG.
  • the character engraving tool path generation unit 6 is an end point having two or more connected line segments and an end point of the line segment, which is an end point having only one line segment to be connected. It classify
  • the character “E” divided into line segments 101 to 105 has end points 151 to 156 as shown in FIG. Since the end points 151, 153, and 155 are connected to two or three line segments, respectively, they are classified as intersection end points. Since the end points 152, 154, and 156 are each connected to one line segment, they are classified as connection end points.
  • the classification result is recorded in the classification data 12.
  • FIG. 13 is a diagram illustrating a data configuration example of the classification data 12. As shown in the figure, the classification data 12 describes for each end point constituting the character “E” whether the end point is an intersection end point or a connection end point.
  • step S106 the character engraving tool path generation unit 6 sets the connection end point closest to the origin as the start point (step S106).
  • step S107 one of the character strings described in the frame 21 is executed.
  • the starting point is selected from the leftmost character “E” in the character string “ENG”.
  • the end point 152 closest to the origin among the end points included in the character “E” is set as the start point.
  • the character engraving tool path generation unit 6 executes a process (path setting process) for setting a line segment connecting the end points to the tool path (step S107). Every time the character engraving tool path generation unit 6 executes the path setting process, the tool path from the target end point (target end point) to another end point, or the target end point via another end point from the target end point Set the tool path to return to.
  • setting the tool path means an operation of recording the tool path in the tool path information 14 here.
  • the character engraving tool path generation unit 6 sets a tool path from the target end point to another end point, the other end point is set as a new target end point.
  • the character engraving tool path generation unit 6 sets the start point determined by the process of step S107 as the first end point of interest.
  • the character engraving tool path generation unit 6 determines whether or not a line segment for which the tool path has not yet been set is connected to the target end point (step S108). When a line segment for which a tool path has not yet been set is connected to the target end point (step S108, Yes), the character engraving tool path generation unit 6 executes the process of step S107 again. That is, the character engraving tool path generation unit 6 sets the tool path so that a line segment that is connected to the target end point and for which the tool path has not yet been set is used as the tool path.
  • the character engraving tool path generation unit 6 updates the classification data 12 every time the path setting process is executed. Specifically, the character engraving tool path generation unit 6 determines whether the end point is a connection end point based on the number of line segments that are not set in the tool path among the line segments connected to the end point. Reclassify When all the line segments connected to the end points are set in the tool path, the end points become end points not connected to any line segment. The character engraving tool path generation unit 6 classifies the end points not connected to any line segment into single end points (single end points).
  • FIG. 14 is a flowchart for explaining the route setting process in more detail.
  • the character engraving tool path generation unit 6 first determines whether or not the end point of interest is a connection end point (step S201). When the target end point is not the connection end point (step S201, No), the character engraving tool path generation unit 6 determines whether or not the target end point is an intersection end point (step S202). When the target end point is not an intersection end point (step S202, No), that is, when the target end point is a single end point, the character engraving tool path generation unit 6 performs path setting processing for all the line segments constituting the target character. It is determined whether or not has been completed (step S203). Whether or not the route setting process has been completed for all the line segments constituting the target character can be determined by determining whether or not all the end points included in the character are single end points, for example.
  • the character-sculpting tool path generation unit 6 searches for a path from the current end point to the intersection end point or connection end point located at the shortest distance. Then, the path found by the search is set as the tool path (step S204).
  • step S203 When the path setting process is completed for all the line segments constituting the target character (step S203, Yes), or after the process of step S204, the character engraving tool path generation unit 6 ends the path setting process.
  • the character engraving tool path generation unit 6 selects a line segment that is not yet set in the tool path from among the line segments connected to the connection end point as a tool. A route is selected (step S205), and the route setting process is terminated. Note that the character engraving tool path generation unit 6 sets the end point connected to the end point of interest by the line segment selected in step S205 as a new end point of interest.
  • a route that returns from the end point of interest to another end point of interest and that does not use the same line segment redundantly and does not use the same end point redundantly (hereinafter referred to as a stroke)
  • the character engraving tool path generation unit 6 sets the one-stroke path as the tool path.
  • the end point of interest is connected to another connecting end point through only one or more intersecting end points where two connected line segments exist or not at all, the character engraving tool path generation is performed.
  • the unit 6 sets a path (hereinafter referred to as a reciprocating path) from the target end point to the target end point via the other connection end point as a tool path.
  • a path that can be set as a tool path starting from the target end point includes a one-stroke path, a reciprocating path, and another intersection end point that is not included in the one-stroke path. This corresponds to any one of the one-way routes (one-way route) between the two.
  • the character engraving tool path generation unit 6 determines whether there is a one-stroke path with the end point as the start point and the end point (step S206). .
  • the character engraving tool path generation unit 6 finds a plurality of one-stroke paths when searching for a one-stroke path, only the shortest path among the plurality of one-stroke paths is temporarily stored. deep. When there are a plurality of shortest stroke paths, the plurality of stroke paths are temporarily stored.
  • step S206 If there is no one-stroke path (step S206, No), the character engraving tool path generator 6 searches for a reciprocal path with the end point of interest as the start point and the end point (step S207). The character engraving tool path generation unit 6 temporarily stores the reciprocating path discovered by the search. When a one-stroke path exists (step S206, Yes), the character engraving tool path generation unit 6 skips the process of step S207.
  • the character engraving tool path generation unit 6 determines the number of reciprocating paths that can be selected as a tool path starting from the end point of interest (step S208).
  • the letter-engraved tool path generating unit 6 sets the reciprocating path as a tool path (step S209), and performs path setting processing. finish.
  • the letter-engraved tool path generation unit 6 can select the longest reciprocal path as the tool path. (Step S210). However, in this process, the character engraving tool path generation unit 6 is the longest, and when there are a plurality of paths having the same length, the plurality of paths are not removed. Subsequently, the character engraving tool path generation unit 6 determines whether there is only one path (reciprocal path, single stroke path) that can be selected as the tool path (step S211). If there is only one path that can be selected as the tool path (step S211, Yes), the character engraving tool path generation unit 6 executes the process of step S209.
  • the character engraving tool path generation unit 6 determines whether there is only one path (reciprocal path, single stroke path) that can be selected as the tool path (step S211). If there is only one path that can be selected as the tool path (step S211, Yes), the character engraving tool path generation unit 6 executes the process of step S209.
  • the character engraving tool path generation unit 6 selects the end point of interest. Are selected as tool paths (step S212), and the path setting process is terminated.
  • the character engraving tool path generation unit 6 here sets the direction of the tangent vector immediately before the end point of interest in the plurality of paths. On the other hand, the path located on the right side is selected as the tool path.
  • step S109 when the line segment for which the tool path has not yet been set is not connected to the target end point (step S108, No), that is, when the target end point is a single end point, the character engraving tool path generation unit 6 It is determined whether or not the tool path setting has been completed for all characters (step S109). If there is a character for which no tool path is set (step S109, No), the character engraving tool path generation unit 6 still uses the connection end point closest to the end point of the previous character as a straight line distance to the tool path. The search is performed from the connection end points of all the characters that have not been set, and the obtained connection end point is set as a new start point (step S110).
  • the linear distance d between the end points (X1, Y1, Z2) and the end points (X2, Y2, Z2) can be calculated by the following equation (3).
  • d sqrt ⁇ (X1-X2) 2 + (Y1-Y2) 2 + (Z1-Z2) 2 ⁇ (3)
  • step S110 the character engraving tool path generation unit 6 executes the process of step S107 again.
  • the NC machining program generation processing unit 7 When the setting of the tool path is completed for all characters (step S109, Yes), the NC machining program generation processing unit 7 generates the NC machining program 13 based on the tool path information 14, and the generated NC machining program 13 is Output (step S111). Then, the machining program generation device 1 ends the operation.
  • the character engraving tool path generation unit 6 sets the end point of the set tool path as the target end point, and sequentially executes the process of setting the line segment connected to the target end point as the next tool path.
  • Tool path can be set.
  • the character engraving tool path generation unit 6 has a line segment that is not yet set in the tool path among the line segments connected to the target end point, that is, when the target end point is a connection end point or an intersection end point. A line segment not set in the tool path is set in the next tool path.
  • the character engraving tool path generation unit 6 determines that when there is no line segment that is not yet set in the tool path among the line segments connected to the target end point, that is, when the target end point is a single end point, the target end point The line segments already set in the tool path are overlapped and set in the tool path until reaching the end point constituting the line segment not yet set in the tool path. Then, the NC machining program generation processing unit 7 generates an NC machining program 13 for moving the tool on the set tool path in the order set by the character engraving tool path generation unit 6.
  • the tool can be moved from the single end point to the connection end point or the intersection end point without performing the tool approach in the Z-axis direction. Therefore, the NC machining program generation processing unit 7 can reduce the machining time as much as possible. Can be generated.
  • the character engraving tool path generation unit 6 regards a line segment connected from the target end point to the connection end point as a reciprocating path, and sets the reciprocating path as a tool path by one path setting process.
  • the generation unit 6 may regard the forward path of the round trip paths as a one-way path. In such a case, the engraving tool path generation unit 6 overlaps the same line segment set in the tool path as that of the forward path because the target end point after setting the forward path as the tool path is a single end point. Can be set to the tool path.
  • the end point 152 is set as the start point among the end points 151 to 156 constituting the character “E” by the process of step S106. That is, the end point 152 becomes the first target end point.
  • the character engraving tool path generation unit 6 sets the line segment 101 as the tool path by the processing of step S205. That is, the character engraving tool path generation unit 6 records “end point 152 ⁇ end point 151” in the tool path information 14 related to the letter “E”.
  • the end point 151 that has become the new end point of interest is originally an intersection end point where the line segment 101 and the line segment 102 are connected, but the line segment 101 is set as the tool path. Only the connected end points are considered (step S201, Yes). Therefore, the character engraving tool path generation unit 6 sets the line segment 102 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 151 ⁇ end point 153” to the tool path information 14 related to the letter “E”.
  • the end point 153 that has newly become the target end point is regarded as an intersection end point connected to the line segment 103 and the line segment 104 that are not set in the tool path (step S201, No, step S202, Yes).
  • the character engraving tool path generation unit 6 searches for a reciprocating path (step S207), and “end point 153 ⁇ end point 154 ⁇ end point 153”. And the reciprocating path “end point 153 ⁇ end point 155 ⁇ end point 156 ⁇ end point 155 ⁇ end point 153”.
  • the character engraving tool path generation unit 6 determines that the longer path “end point 153 ⁇ end point 155 ⁇ end point 156 ⁇ The end point 155 ⁇ the end point 153 ”is removed (step S210). Since the number of remaining paths is only the path of “end point 153 ⁇ end point 154 ⁇ end point 153” (step S211, Yes), the character engraving tool path generation unit 6 sets the remaining path as a tool path (step S21). S209). That is, the character engraving tool path generation unit 6 adds “end point 153 ⁇ end point 154 ⁇ end point 153” to the tool path information 14 related to the letter “E”.
  • the character engraving tool path generation unit 6 sets the line segment 104 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 153 ⁇ end point 155” to the tool path information 14 related to the letter “E”.
  • step S201 the character engraving tool path generation unit 6 sets the line segment 105 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 155 ⁇ end point 156” to the tool path information 14 related to the letter “E”.
  • step S201, No, step S202, No Since all line segments constituting the character “E” have been set in the tool path (step S203, Yes), the character engraving tool path generation unit 6 ends the path setting process for the character “E”.
  • FIG. 15 is a diagram showing a data configuration example of the tool path information 14 related to the letter “E” completed by the above operation. As shown in the drawing, a plurality of tool paths are registered in the tool path information 14 with path numbers assigned in the set order.
  • the character engraving tool path generation unit 6 performs the end point of the character “E” by the process at Step S110.
  • the connection end point closest to the end point 154 is newly set as the start point.
  • FIG. 16 is a diagram showing line segments and end points constituting the character “N”
  • FIG. 17 is a diagram showing an initial state of the classification data concerning the character “N”.
  • the character “N” is composed of line segments 201 to 203 and end points 251 to 254. In the initial state, the end points 251 and 254 are classified as connection end points, and the end points 252 and 253 are classified as intersection end points.
  • the character engraving tool path generation unit 6 sets the end point 251, which is the connection end point closest to the end point 154, as the start point by the process of step S ⁇ b> 110.
  • the character engraving tool path generation unit 6 uses the line segment 201 as a tool path by the process of step S205. Set. That is, the character engraving tool path generation unit 6 records “end point 251 ⁇ end point 252” in the tool path information 14 related to the letter “N”.
  • the character engraving tool path generation unit 6 sets the line segment 202 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 252 ⁇ end point 253” to the tool path information 14 relating to the letter “N”.
  • the character engraving tool path generation unit 6 sets the line segment 203 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 253 ⁇ end point 254” to the tool path information 14 related to the letter “N”.
  • FIG. 18 is a diagram illustrating a data configuration example of the tool path information 14 relating to the letter “N” completed by the above operation.
  • the character engraving tool path generation unit 6 has reached the end point of the character “N” by the process at Step S110.
  • the connection end point closest to 254 is newly set as the start point.
  • FIG. 19 is a diagram showing line segments and end points constituting the character “G”
  • FIG. 20 is a diagram showing an initial state of classification data relating to the character “G”.
  • the character “G” includes line segments 301 to 303 and end points 351 to 354. In the initial state, the end points 351, 353, and 354 are classified as connection end points, and the end point 352 is classified as an intersection end point.
  • the character engraving tool path generation unit 6 sets the end point 351, which is the connection end point closest to the end point 254, as the start point by the process of step S110.
  • the character engraving tool path generation unit 6 uses the line segment 301 as a tool path by the process of step S205. Set. That is, the character engraving tool path generation unit 6 records “end point 351 ⁇ end point 352” in the tool path information 14 related to the letter “G”.
  • the end point 352 which is the new end point of interest is connected to the line segment 302 and the line segment 303 not yet set in the tool path in addition to the line segment 301 already set in the tool path. It is regarded as an end point (step S201, No, step S202, Yes). Then, since there is no one-stroke path starting from the end point 352 (step S206, No), the character engraving tool path generation unit 6 searches for a reciprocal path (step S207), and “end point 352 ⁇ end point 353 ⁇ end point 352”. And the reciprocal path “end point 352 ⁇ end point 354 ⁇ end point 352”.
  • step S210 the longest path “end point 352 ⁇ end point 353 ⁇ end point 352” is excluded (step S210), and the remaining path is left (step S211, Yes). 6 sets “end point 352 ⁇ end point 354 ⁇ end point 352” to the tool path by the process of step S209. That is, the character engraving tool path generation unit 6 adds “end point 352 ⁇ end point 354 ⁇ end point 352” to the tool path information 14 relating to the letter “G”.
  • the character engraving tool path generation unit 6 sets the line segment 302 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 352 ⁇ end point 353” to the tool path information 14 relating to the letter “G”.
  • FIG. 21 is a diagram illustrating a data configuration example of the tool path information 14 relating to the letter “G” completed by the above operation.
  • the character engraving tool path generation unit 6 sends the tool path information 14 related to the letters “E”, “N”, and “G” to the NC machining program generation processing unit 7 in this order.
  • FIG. 22 is a diagram showing line segments and end points constituting the character “car”
  • FIG. 23 is a diagram showing an initial state of classification data relating to the character “car”.
  • the character “car” is composed of line segments 401 to 420 and end points 451 to 467. In the initial state, the end points 451, 452, 454, 464, 466, 467 are classified as connection end points, and the end points 453, 455 to 463, 465 are classified as intersection end points.
  • step S106 the character engraving tool path generation unit 6 selects the upper left corner of the character “car” as the origin and the end point 452 that is the connection end point closest to the origin as the start point. Since the line segment 402 connected to the end point 452 has not yet been set as the tool path, it is regarded as a connection end point (step S201, Yes). Therefore, the character engraving tool path generation unit 6 sets the line segment 402 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 records “end point 452 ⁇ end point 453” in the tool path information 14 related to the character “car”.
  • step S201, No the end point 453 that has newly become the target end point is connected to the line segment 401, the line segment 403, and the line segment 404 that are not set in the tool path, it is regarded as an intersection end point (step S201, No). , Step S202, Yes). Further, since there is no one-stroke path starting from the end point 453 (No in step S206), the character engraving tool path generation unit 6 searches for a reciprocal path (step S207), and “end point 453 ⁇ end point 451 ⁇ end point 453”. And the reciprocating path “end point 453 ⁇ end point 454 ⁇ end point 453” are recognized.
  • the end point 456 is connected to the line segment 404, the line segment 405, the line segment 406, and the line segment 408. That is, since the end point 453 is an intersection end point connecting three or more line segments, the character engraving tool path generation unit 6 recognizes the line segment 404 as a one-way path. There are two reciprocating paths that can be set as the tool path as described above (step S208, 2 or more), and the character engraving tool path generation unit 6 has a line segment 403 that is the longest path from the two reciprocating paths.
  • step S210 If the reciprocating path of “end point 453 ⁇ end point 454 ⁇ end point 453” is excluded (step S210), only the line segment 401 remains (step S211, Yes), and the line segment 401 is set as the tool path (step S209). That is, the character engraving tool path generation unit 6 adds “end point 453 ⁇ end point 451 ⁇ end point 453” to the tool path information 14 relating to the character “car”.
  • step S201 since the end point 453 that has become the target end point again is connected to the line segment 403 and the line segment 404 that are not set in the tool path, it is regarded as an intersection end point (step S201, No, step S202, Yes). ). Further, since there is no one-stroke path starting from the end point 453 (No in step S206), the character engraving tool path generation unit 6 searches for a reciprocal path (step S207), and “end point 453 ⁇ end point 454 ⁇ end point 453”. Recognize the round trip path. Here, the one-way path of the line segment 404 is not yet set as a tool path.
  • the character engraving tool path generating unit 6 determines that “end point 453 ⁇ end point 454 ⁇ The reciprocating path of “end point 453” is set as the tool path (step 209). That is, the character engraving tool path generation unit 6 adds “end point 453 ⁇ end point 454 ⁇ end point 453” to the tool path information 14 relating to the character “car”.
  • the end point 453 that is the end point of interest again was originally an intersection end point connected to the line segments 401 to 404, but is connected only to the line segment 404 by setting the line segments 401 to 403 as the tool path. It is regarded as the connected end point (step S201, Yes). Therefore, the character engraving tool path generation unit 6 sets the line segment 404 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 453 ⁇ end point 456” to the tool path information 14 relating to the character “car”.
  • step S201, No since the end point 456 that has newly become the target end point is connected to the line segment 405, the line segment 406, and the line segment 408 that are not set in the tool path, the end point 456 is regarded as an intersection end point (step S201, No). , Step S202, Yes). Then, there are the following four paths as the one-stroke path starting from the end point 456 (step S206, Yes).
  • End point 456 ⁇ End point 455 ⁇ End point 458 ⁇ End point 459 ⁇ End point 456 End point 456 ⁇ End point 459 ⁇ End point 458 ⁇ End point 455 ⁇ End point 456 End point 456 ⁇ End point 459 ⁇ End point 460 ⁇ End point 457 ⁇ End point 456 End point 456 ⁇ End point 457 ⁇ End point 460 ⁇ End point 459 ⁇ End point 456
  • a path larger than the above-described four single-stroke paths such as “end point 456 ⁇ end point 455 ⁇ end point 458 ⁇ end point 461 ⁇ end point 462 ⁇ end point 459 ⁇ end point 456”, can be extracted as a single stroke path.
  • the character engraving tool path generation unit 6 temporarily stores only the above-mentioned four paths with the smallest number of line segments to be passed as a one-stroke path.
  • the character engraving tool path generation unit 6 Since the number of reciprocating paths that can be set in the tool path is zero (step S208, 0), the character engraving tool path generation unit 6 has the least change in the tangent vector and the path on the right side with respect to the direction of the tangent vector.
  • the path “end point 456 ⁇ end point 459 ⁇ end point 458 ⁇ end point 455 ⁇ end point 456” is set as the tool path (step S212). That is, the character engraving tool path generation unit 6 adds “end point 456 ⁇ end point 459 ⁇ end point 458 ⁇ end point 455 ⁇ end point 456” to the tool path information 14 related to the character “car”.
  • the end point 456 that has become the target end point again is regarded as a connection end point because the only line segment that is not set as the tool path among the connected line segments is the line segment 406 (step S201, Yes). . Accordingly, the character engraving tool path generation unit 6 sets the line segment 406 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 456 ⁇ end point 457” to the tool path information 14 relating to the character “car”.
  • the character engraving tool path generation unit 6 sets the line segment 409 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 457 ⁇ end point 460” to the tool path information 14 relating to the character “car”.
  • end point 460 that has newly become the end point of interest is regarded as an intersection end point connected to the line segment 411 and the line segment 414 (step S201, No, step S202, Yes). Then, there are the following two paths as a one-stroke path starting from the end point 460 (step S206, Yes).
  • End point 460 ⁇ End point 459 ⁇ End point 462 ⁇ End point 463 ⁇ End point 460
  • End point 460 ⁇ End point 463 ⁇ End point 462 ⁇ End point 459 ⁇ End point 460
  • the character engraving tool path generation unit 6 has the least change in the tangent vector of the two one-stroke paths.
  • the path “end point 460 ⁇ end point 463 ⁇ end point 462 ⁇ end point 459 ⁇ end point 460” is set as the tool path (step S212). That is, the character engraving tool path generation unit 6 adds “end point 460 ⁇ end point 463 ⁇ end point 462 ⁇ end point 459 ⁇ end point 460” to the tool path information 14 related to the character “car”.
  • step S201 460 that is the end point of interest again is regarded as a single end point (step S201, No, step S202, No). Since there is a line segment that has not yet been set in the tool path for the character “car” (step S203, No), the character engraving tool path generation unit 6 starts from the end point 460 to other connection end points or intersection end points. Among these routes, the route “end point 460 ⁇ end point 459 ⁇ end point 462” and the route “end point 460 ⁇ end point 463 ⁇ end point 462” are recognized (step S204).
  • the character engraving tool path generation unit 6 sets a path of “end point 460 ⁇ end point 463 ⁇ end point 462”, which is a path with a small change in the tangent vector among these paths, as the tool path. That is, the character engraving tool path generation unit 6 adds “end point 460 ⁇ end point 463 ⁇ end point 462” to the tool path information 14 related to the character “car”.
  • the end point 462 that is newly set as the target end point is regarded as an intersection end point where the line segment 415 and the line segment 417 that are not set as the tool path are connected (step S201, No, step S202, Yes). ). Further, there is no one-stroke path starting from the end point 462 (No in step S206).
  • the character engraving tool path generation unit 6 recognizes a reciprocal path “end point 462 ⁇ end point 461 ⁇ end point 458 ⁇ end point 461 ⁇ end point 462” by searching for the reciprocating path (step S207).
  • the end point 461 connected to the line segment 415 is an intersection end point where two line segments of the line segment 412 and the line segment 415 are connected, and the end point 465 connected to the line segment 417 is the line end point 417 to 420.
  • Line segment 417 is recognized as a one-way path because it is an intersection point connected to (ie, connected to three or more line segments). Since the number of reciprocating paths that can be set as the tool path is one as described above (steps S208 and 1), the character engraving tool path generating unit 6 converts this reciprocating path into a tool path by the process of step S209. Set. That is, the character engraving tool path generation unit 6 adds “end point 462 ⁇ end point 461 ⁇ end point 458 ⁇ end point 461 ⁇ end point 462” to the tool path information 14 relating to the character “car”.
  • the character engraving tool path generation unit 6 sets the line segment 417 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 462 ⁇ end point 465” to the tool path information 14 related to the character “car”.
  • step S201 the end point 465 that is newly set as the end point of interest is regarded as an intersection end point because the line segments 418 to 420 not set in the tool path are connected (step S201, No, step S202, Yes).
  • step S206, No the character engraving tool path generation unit 6 recognizes the following three reciprocating paths by searching for a reciprocating path (step S207).
  • the character engraving tool path generation unit 6 determines that the longest path “end point 465 ⁇ The route “end point 464 ⁇ end point 465” and the route “end point 465 ⁇ end point 466 ⁇ end point 465” are excluded. Since there is only one remaining path “end point 465 ⁇ end point 467 ⁇ end point 465” (step S211, Yes), the character engraving tool path generation unit 6 performs “end point 465 ⁇ The path of “end point 467 ⁇ end point 465” is set as the tool path. That is, the character engraving tool path generation unit 6 adds “end point 465 ⁇ end point 467 ⁇ end point 465” to the tool path information 14 relating to the character “car”.
  • step S201 the end point 465 that has become the target end point again is regarded as an intersection end point because the line segment 418 and the line segment 419 that are not set in the tool path are connected.
  • step S202 the character engraving tool path generation unit 6 recognizes the next two reciprocating paths by searching for a reciprocating path (step S207).
  • the character engraving tool path generation unit 6 Since there are two reciprocating paths that can be set as the tool path (step S208, 2 or more), the character engraving tool path generation unit 6 tries to remove the longest path in the process of step S210. However, since the lengths of the two paths are equal to each other, the path is not removed here. Since the number of remaining paths is two (step S211, No), the character engraving tool path generation unit 6 uses the path of “end point 465 ⁇ end point 466 ⁇ end point 465” located on the right side of the tangent vector direction as the tool path. Set. That is, the character engraving tool path generation unit 6 adds “end point 465 ⁇ end point 466 ⁇ end point 465” to the tool path information 14 relating to the character “car”.
  • the character engraving tool path generation unit 6 sets the line segment 418 as the tool path by the process of step S205. That is, the character engraving tool path generation unit 6 adds “end point 465 ⁇ end point 464” to the tool path information 14 related to the character “car”.
  • FIG. 24 is a diagram illustrating a data configuration example of the tool path information 14 relating to the character “car” completed by the above operation.
  • the character engraving tool path generation unit 6 generates a plurality of line segments by dividing the line segments constituting the character to be engraved at the intersection positions of the characters. Then, the NC machining program generation processing unit 7 performs the process of setting the end point of the set tool path as the target end point and setting the line segment connected to the target end point as the next tool path in sequence. An NC machining program 13 for moving the tool on the set tool path in the order set by the path generating unit 6 is generated. Then, when there is a line segment that is not yet set in the tool path among the line segments connected to the target end point, the character engraving tool path generation unit 6 selects a line segment that is not set in the tool path.
  • the machining program generation device 1 can create the NC machining program 13 that executes the character engraving machining in as short a machining time as possible.
  • Embodiment 2 the machining program generation device, when another tool path that overlaps with one already machined tool path is set, causes the tool feed speed of the other tool path to be fast-forwarded. A machining program can be generated.
  • FIG. 25 is a flowchart showing the operation of the NC machining program generation processing unit 7 of the second embodiment.
  • the NC machining program generation processing unit 7 refers to the tool path information 14 input from the character engraving tool path generation unit 6, thereby overlapping tool paths (of the same plurality of tool paths, A tool path whose processing order is later is extracted (step S301). Then, the NC machining program generation processing unit 7 overrides the tool feed speed in the tool path after the machining order of the overlapping tool paths (step S302), and generates the NC machining program 13 (step S303). Finish setting the tool feed rate.
  • the NC machining program generation processing unit 7 uses the tool path set by the character engraving tool path generation unit 6 and the tool in which the machining order among the same plurality of tool paths is later. Since the path is extracted and the tool feed speed of the extracted tool path is set to the rapid feed speed, the NC machining program 13 can fast feed the tool when the machined parts are overlapped once. Thereby, the machining program generation apparatus 1 of the second embodiment can generate the NC machining program 13 that further shortens the machining time as compared with the first embodiment.
  • Embodiment 3 FIG. According to the second embodiment, the tool on the overlapping tool path is fast-forwarded, but the machining speed is shortened by skipping the overlapping tool path by escaping the tool in the Z-axis direction rather than fast-forwarding the tool. In this case, a tool approach in the Z-axis direction may be performed.
  • FIG. 26 is a flowchart showing the operation of the NC machining program generation processing unit 7 of the third embodiment.
  • the NC machining program generation processing unit 7 refers to the tool path information 14 input from the character engraving tool path generation unit 6 to extract overlapping tool paths (step S401). Then, the NC machining program generation processing unit 7 calculates a time a required for tool movement when the tool feed speed of the overlapping tool path is overridden (step S402). For example, the NC machining program generation processing unit 7 can obtain the time a by obtaining the length of the tool path and dividing the obtained length by the tool feed speed multiplied by the override.
  • the NC machining program generation processing unit 7 releases the tool in the Z-axis direction (that is, the tool path that moves the tool in the positive direction of the Z-axis by a predetermined amount at the start point of the overlapping tool path), and A tool path that connects the end points of overlapping tool paths in a straight line, and a tool path that approaches the tool in the Z-axis direction (ie, a tool path that moves the tool in the negative direction of the Z-axis to the end point of the overlapping tool path) Is calculated, and the time b required for moving the tool from the time the tool is released to the time of approach is calculated (step S403).
  • the NC machining program generation processing unit 7 determines whether or not the time a is larger than the time b (step S404). When the time a is larger than the time b (Yes at Step S404), the NC machining program generation processing unit 7 sets the overlapping tool path and the tool feed speed of the tool path to the tool path and the tool feed speed generated at Step S403. The program is changed (step S405), and the NC machining program 13 is generated (step S406). When time a is smaller than time b (step S404, No), the NC machining program generation processing unit 7 skips the process of step S405.
  • the NC machining program generation processing unit 7 may execute the processes of steps S402 to S405 for each of the overlapping tool paths.
  • the NC machining program generation processing unit 7 uses the tool path set by the character engraving tool path generation unit 6 and the tool in which the machining order among the same plurality of tool paths is later.
  • a path is extracted, and for each of the extracted tool paths, the movement time when the tool feed of the extracted tool path is fast-forwarded, and the tool is released in the Z-axis direction at the start point of the extracted tool path, and the end point
  • the movement time when the tool is moved along another tool path in which the tool is approached in the Z-axis direction is compared, and the movement time applied to the extracted tool path is greater than the movement time applied to the other tool path.
  • the NC machining program 13 is generated so that the extracted tool path is replaced with the other tool path and the tool is moved along the replaced another tool path. , It is arranged that, the machining program generating device 1 of the third embodiment, it is possible to generate the NC machining program 13 having a reduced more processing time than the second embodiment.
  • the machining program generation device, the machining program generation method, and the machining program generation program according to the present invention are a machining program generation device and a machining program that generate an NC machining program that causes a numerical control device to perform numerical control of a machine tool. It is suitable for application to a program generation method and a machining program generation program.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Geometry (AREA)
  • Numerical Control (AREA)

Abstract

 文字彫り加工をできるだけ短い加工時間で実行するNC加工プログラム(13)を作成するために、加工プログラム生成装置(1)は、設定済みの工具経路の終点を着目端点とし、当該着目端点に連結されている線分を次の工具経路に設定する処理を、交点位置で分割された夫々の線分について順次実行する、文字彫り工具経路生成部(6)と、設定された工具経路上を工具を移動せしめるNC加工プログラム(13)を生成するNC加工プログラム生成処理部(7)とを備え、文字彫り工具経路生成部6は、着目端点に連結されている線分のうち、まだ工具経路に設定されていない線分がある場合には、当該工具経路に設定されていない線分を次の工具経路に設定し、まだ工具経路に設定されていない線分がない場合には、着目端点からまだ工具経路に設定されていない線分を構成する端点に至るまで、既に工具経路に設定された線分を重複して工具経路に設定する。

Description

加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム
 本発明は、数値制御装置に工作機械の数値制御(Numerical Control;以下、NC)を実行せしめるNC加工プログラムを生成する加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラムに関する。
 近年、加工プログラム作成装置のプログラム作成支援機能の充実化が進んでいる。例えば、オペレータは、製作図面を見ながら加工対象物(ワーク)の座標値を加工プログラム作成装置に設定していくだけでNC加工プログラムを作成できるようになった。また設計者がCADシステムを用いてモデリングしたCADデータを直接読み込んで、読み込んだCADデータからNC加工プログラムの作成を行うことができる加工プログラム作成装置も存在する。
 ここで、工作機械に文字を刻彫せしめる場合には、加工時間をできるだけ短くするために、工具をできるだけ効率のよい経路で移動せしめるようなNC加工プログラムを作成したいという要望がある。
 これに関係する技術として、特許文献1には、ワークの複数の被加工部を、同一工具を用い、かつ各被加工部についてそれぞれ工具を複数回往復させる態様で連続的にNC加工する場合において、各被加工部についてそれぞれ求めた工具軌跡に関し、加工始点または加工終点となりうる端点の位置を記憶し、1つの被加工部における工具軌跡の加工終点から工具の移動距離の最も短い端点を有するほかの被加工部の工具軌跡の当該端点を次の加工始点として選択する技術が開示されている。
 また、特許文献2には、物体面上に文字を刻彫する際に、文字の平面的形状を表すデータ、および文字の各部の太さに関連付けられた文字の刻彫深さを表すデータに基づいて、文字の各部毎に上記文字の太さに関連付けられた刻彫深さでもって文字を刻彫する技術が開示されている。
特開平6-31590号公報 特開平1-274948号公報
 文字を刻彫する際には、工具をZ軸方向に逃がしたりアプローチせしめたりする回数が多いほど、トータルの加工時間が長くなる。また、文字の形状は、XY軸方向の複数の工具経路が交差して形成される場合があるが、そのような交差する複数の工具経路を加工する手法としては、加工済みの工具経路に再度Z軸方向の工具アプローチを行って、当該加工済みの工具経路に交差する別の工具経路を加工することが考えられる。しかしながら、この手法によると、前記加工済みの工具経路上におけるZ軸方向の工具アプローチを行った箇所に、Z軸方向の工具アプローチによる加工痕が発生する。上記特許文献1、2に記載の技術は、Z軸方向の工具アプローチの回数には留意していないため、加工時間のさらなる短縮の余地を有する。また、特許文献1、2に記載の技術は、Z軸方向の工具アプローチによる加工痕の発生を抑制することができない。
 本発明は、上記に鑑みてなされたものであって、文字彫り加工をできるだけ短い加工時間で実行するNC加工プログラムを作成する加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラムを得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、被加工物に文字彫り加工を行うNC加工プログラムを生成する加工プログラム生成装置であって、文字彫り加工対象の文字を構成する線分を当該文字が有する交点位置で分割することによって複数の線分を生成し、設定済みの工具経路の終点を始点とし、当該始点に連結されている線分を次の工具経路に設定する処理を順次実行する、工具経路生成部と、前記工具経路生成部により設定された順番で前記設定された工具経路上を工具を移動せしめるNC加工プログラムを生成するNC加工プログラム生成処理部と、を備え、前記工具経路生成部は、前記始点に連結されている線分のうち、まだ工具経路に設定されていない線分がある場合には、当該工具経路に設定されていない線分を次の工具経路に設定し、まだ工具経路に設定されていない線分がない場合には、前記始点からまだ工具経路に設定されていない線分を構成する端点に至るまで、既に工具経路に設定された線分を重複して工具経路に設定する、ことを特徴とする。
 本発明にかかる加工プログラム生成装置は、Z軸方向の工具アプローチを実行せしめることなく単独端点から接続端点または交差端点まで工具を移動せしめるNC加工プログラムを生成するので、文字彫り加工をできるだけ短い加工時間で実行するNC加工プログラムを作成することができる。
図1は、本発明の実施の形態1の加工プログラム生成装置の構成を説明する図である。 図2は、加工プログラム生成装置のハードウェア構成例を説明する図である。 図3は、実施の形態1の加工プログラム生成方法を説明するフローチャートである。 図4は、素材形状の表示例を示す図である。 図5は、文字列を刻彫する面および範囲が指定された状態を説明する図である。 図6は、枠内に文字列が配置された状態を説明する図である。 図7は、文字列保存部に保存されたデータを説明する図である。 図8は、文字設定データのデータ構成例を説明する図である。 図9は、文字彫り加工データのデータ構成例を説明する図である。 図10は、文字「E」の形状を示す図である。 図11は、文字「E」を構成する線分を示す図である。 図12は、文字「E」を構成する端点を示す図である。 図13は、分類データのデータ構成例を示す図である。 図14は、経路設定処理を説明するフローチャートである。 図15は、文字「E」にかかる工具経路情報のデータ構成例を示す図である。 図16は、文字「N」を構成する線分および端点を示す図である。 図17は、文字「N」にかかる分類データの初期状態を示す図である。 図18は、文字「N」にかかる工具経路情報のデータ構成例を示す図である。 図19は、文字「G」を構成する線分および端点を示す図である。 図20は、文字「G」にかかる分類データの初期状態を示す図である。 図21は、文字「G」にかかる工具経路情報のデータ構成例を示す図である。 図22は、文字「車」を構成する線分および端点を示す図である。 図23は、文字「車」にかかる分類データの初期状態を示す図である。 図24は、文字「車」にかかる工具経路情報のデータ構成例を示す図である。 図25は、実施の形態2のNC加工プログラム生成処理部の動作を示すフローチャートである。 図26は、実施の形態3のNC加工プログラム生成処理部の動作を示すフローチャートである。
 以下に、本発明にかかる加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラムの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態1.
 図1は、本発明の実施の形態1の加工プログラム生成装置の構成を説明する図である。図示するように、加工プログラム生成装置1は、対話操作処理部2、文字列保存部3、文字設定データ保存部4、文字彫り加工データ保存部5、文字彫り工具経路生成部6、NC加工プログラム生成処理部7、表示部8、入力部9を有している。
 入力部9は、マウスやキーボードを備えて構成され、作業者からの指示情報(文字列、文字設定データ、文字彫り加工データ)の入力を受け付ける。表示部8は、液晶モニタなどの表示装置であり、作業者によって指定された文字列、作業者によって設定された文字設定データ、文字彫り加工データ等、作業者に対する表示情報を表示する。
 対話操作処理部2は、作業者により入力部9を介して入力された文字列を文字列保存部3に送ったり、作業者により入力部9を介して入力された文字設定データを文字設定データ保存部4に送ったりする。文字設定データは、文字列をどのような様態の形状として刻彫するかを示す属性情報であって、例えば、文字のフォントの指定、文字の大きさの指定、文字間の間隔の指定、各文字の位置の指定、文字の方向の指定などを含んで構成されている。
 更に、対話操作処理部2は、文字列保存部3に保存されている文字列に、外部から入力されるフォントデータ10および文字設定データ保存部4に保存されている文字設定データを適用することによって仕上がり形状の予測図を生成し、生成した予測図を表示部8に表示する。
 また、対話操作処理部2は、作業者により入力された文字彫り加工データを文字彫り加工データ保存部5に送る。文字彫り加工データは、使用する工具の工具種類の指定、工具周速の指定、切削送り速度の指定、早送り速度の指定などを含んで構成されている。なお。対話操作処理部2は、使用可能な工具の一覧を記述した工具データ11を表示部8に表示する。作業者が、表示部8に一覧表示された工具から、使用したい工具を選択すると、対話操作処理部2は、選択された工具を指定する記述を文字彫り加工データに記入する。
 文字彫り工具経路生成部6は、文字列保存部3に保存された文字列と、文字設定データ保存部4に保存された文字設定データから、文字彫り加工する文字の加工形状と加工位置と加工方向を算出し、算出したこれらの情報に基づいて、工具経路を記述した工具経路情報(工具経路情報14)を生成する。そして、文字彫り工具経路生成部6は、生成した工具経路情報14をNC加工プログラム生成処理部7に入力する。文字彫り工具経路生成部6は、工具経路を生成する際に、中間データとして、分類データ12を生成する。分類データ12については後ほど説明する。
 NC加工プログラム生成処理部7は、文字彫り工具経路生成部6から入力された工具経路情報14に記述されている工具経路を構成する各図形要素の形状や位置、文字彫り加工データ保存部5に保存された工具の詳細情報などに基づいて、NC加工プログラム13を生成する。そして、生成したNC加工プログラム13を外部に出力する。
 図2は、加工プログラム生成装置1のハードウェア構成例を説明する図である。図示するように、加工プログラム生成装置1は、CPU(Central Processing Unit)1001、RAM(Random Access Memory)1002、ROM(Read Only Memory)1003、表示部8、および入力部9を備えている。CPU1001、RAM1002、ROM1003、表示部8、および入力部9は、互いにバスで接続されている。
 ROM1003には、加工プログラム生成方法を実現するためのコンピュータプログラムである加工プログラム生成プログラム1004が記録されている。CPU1001は、ROM1003に記録されている加工プログラム生成プログラム1004を読み出して、読み出した加工プログラム生成プログラム1004をRAM1002のプログラム展開領域にロードする。そして、CPU1001は、RAM1002に展開された加工プログラム生成プログラム1004による制御により、対話操作処理部2、文字彫り工具経路生成部6、NC加工プログラム生成処理部7として機能する。
 また、RAM1002は、文字列保存部3、文字設定データ保存部4および文字彫り加工データ保存部5として機能する。また、RAM1002は、外部から入力されたフォントデータ10、工具データ11や、文字彫り工具経路生成部6が生成した分類データ12を一時記憶するワーク領域を備えている。CPU1001が生成したNC加工プログラム13は、RAM1002や図示しない外部記憶装置に出力される。
 なお、加工プログラム生成プログラム1004を予め記録する記録媒体は、ROM1003だけに限定されない。例えば、外部記憶装置、着脱可能なメモリデバイス、光ディスク、磁気ディスクなど、一時的でない有形の媒体であればどのような記録媒体であっても記録媒体として適用可能である。また、加工プログラム生成プログラム1004を、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供または配布するように構成しても良い。
 次に、上述の加工プログラム生成装置1により実現する実施の形態1の加工プログラム生成方法を、具体例を用いて説明する。図3は、実施の形態1の加工プログラム生成方法を説明するフローチャートである。
 まず、対話操作処理部2は、文字列および文字設定データの入力を受け付ける(ステップS101)。
 具体的には、対話操作処理部2は、表示部8に素材形状を表示する。図4は、素材形状の表示例を示す図である。図示するように、表示部8には、直方体の素材形状20の斜視図が表示されている。この状態では、作業者は、入力部9を操作することによって、文字列を刻彫する素材形状20上の面および範囲を指定する入力を行うことができる。図5は、文字列を刻彫する面および範囲が指定された状態を説明する図である。図示するように、素材形状20上の1つの面に、枠21が表示されている。枠21は、文字列を刻彫する範囲を示す。続いて、作業者は、入力部9を操作することによって、枠21に刻彫せしめる文字列を入力することができる。図6は、枠21内に文字列が配置された状態を説明する図である。図示するように、枠21内には、作業者から入力された文字列「ENG」が表示されている。対話操作処理部2は、文字列「ENG」が入力されたとき、文字列「ENG」が枠21内に収まるように、文字列「ENG」を構成する各文字の位置を自動計算することができる。そして、「E」、「N」、「G」を、計算により求めた夫々の位置に配置する。対話操作処理部2は、入力された文字列「ENG」を文字列保存部3に保存する。図7は、文字列保存部3に保存されたデータを説明する図である。図示するように、文字データ31には、文字列「ENG」が記述されている。
 また、対話操作処理部2は、文字列「ENG」にかかる文字設定データを文字設定データ保存部4に保存する。図8は、文字設定データのデータ構成例を説明する図である。図示するように文字設定データ41は、フォント、スタイル、ポイント、平面の位置ベクトルおよび法線ベクトル、文字の位置、ならびに文字の方向が格納されるフィールドを備えている。この例によれば、フォントには、文字の形状を中心線の曲線のベクトルデータで保持するストロークフォントが指定されている。スタイルとは、文字の形式を定義し、標準体に対して標準体を右方向に若干傾いた文字・書体のイタリック体・斜体等が指定可能である。ここでは、標準体が指定されている。ポイントとは、文字のサイズや余白の幅や文字の長さを表す。平面の位置ベクトルとは、文字彫り加工を行う平面の原点位置をプログラム座標上で表す座標値であり、平面の法線ベクトルとは、文字彫り加工を行う平面の法線ベクトルをプログラム座標上で表すベクトル値である。また、文字の位置とは、文字彫り加工を行う平面の原点からの座標値であり、文字の方向とは、文字彫り加工を行う際の文字の並ぶ方向ベクトルを表す。対話操作処理部2は、入力された枠21の位置情報から、文字の位置および文字の方向を算出し、算出した夫々の情報を文字設定データ41に登録することができる。また、対話操作処理部2は、自動計算して求めた文字列「ENG」を構成する各文字の位置から、ポイントおよび文字の位置を算出し、算出した夫々の情報を文字設定データ41に登録することができる。また、対話操作処理部2は、フォントおよびスタイルの指定の入力を促す表示を表示部8に表示して、作業者にフォントおよびスタイルの指定を入力せしめることができる。
 ステップS101の処理の後、対話操作処理部2は、作業者からの文字彫り加工データの入力を受け付ける(ステップS102)。
 具体的には、作業者は、入力部9を操作して、工具データ11に登録されている工具のうちから文字彫り加工を実施する工具を選択し、切削条件を設定する。切削条件とは、Z軸方向の取代、工具の外周の速度である周速、工具が一回転する間に切り込む距離である工具送りを含む。すると、対話操作処理部2は、入力されたこれらの情報を文字彫り加工データに記録して、その文字彫り加工データを文字彫り加工データ保存部5に保存する。図9は、文字彫り加工データのデータ構成例を説明する図である。図示するように、文字彫り加工データ51には、使用工具、Z軸方向取代、周速、工具送りが夫々記述されている。
 続いて、文字彫り工具経路生成部6は、文字列保存部3に保存された文字データ31と、文字設定データ保存部4に保存された文字設定データ41に記述されている使用フォント、スタイル、ポイント、平面の位置ベクトル、平面の法線ベクトル、文字の位置、文字の方向とに基づいて、文字毎に、文字を構成する線分を算出する(ステップS103)。
 文字彫り工具経路生成部6は、線分を、例えば次のようにして算出する。即ち、文字彫り工具経路生成部6は、文字の直線部分にあたる線分を、パラメータtを用いて、次式(1)で記述する。
 R(t)=P+tD   (1)
ここで、Pは直線上の位置ベクトル、Dは直線の方向ベクトルを示す。式(1)におけるtの値は、対象の直線部分の始点に対応する値から終点に対応する値までの範囲に限定される。
 また、文字彫り工具経路生成部6は、文字の曲線部分にあたる線分を次式(2)で記述する。
 R(t)=C+rXcos(t)+rYsin(t)   (2)
ここで、Cは円の中心、rは円の半径、XとYは円の面上の軸方向ベクトルを示す。式(2)におけるtの値は、対象の曲線部分の始点に対応する値から終点に対応する値までの範囲に限定される。
 次に、文字彫り工具経路生成部6は、文字毎に線分の交点を求め、文字毎の線分を交点の位置で分割する(ステップS104)。このステップでは、文字彫り工具経路生成部6は、例えば、図10に示す「E」の文字を交点位置で分割して、図11に示す線分101~105を生成する。
 次に、文字彫り工具経路生成部6は、文字毎に、線分の端点を、連結する線分が1つしかない端点である接続端点と、連結する線分が2つ以上ある端点である交差端点とに分類する(ステップS105)。例えば、線分101~105に分割された文字「E」は、図12に示すように、端点151~156を有する。端点151、153、155は、夫々2つまたは3つの線分に連結されているので、交差端点に分類される。端点152、154、156は、夫々1つの線分に連結されているので、接続端点に分類される。分類結果は、分類データ12に記録される。図13は、分類データ12のデータ構成例を示す図である。図示するように、分類データ12には、文字「E」を構成する端点毎に端点が交差端点であるか接続端点であるかが記述されている。
 次に、文字彫り工具経路生成部6は、原点に最も近い位置の接続端点を始点に設定する(ステップS106)。ステップS107では、枠21に記述される文字列のうちの1つについて実行される。例えば、文字列「ENG」のうち、最も左に位置する文字「E」から始点が選択される。文字の左上を原点とし、文字「E」に含まれる端点のうち、原点に最も近い端点152が始点として設定される。
 そして、文字彫り工具経路生成部6は、端点間を接続する線分を工具経路に設定する処理(経路設定処理)を実行する(ステップS107)。文字彫り工具経路生成部6は、経路設定処理を実行する毎に、着目している端点(着目端点)から別の端点に至る工具経路か、または着目端点から別の端点を経由して着目端点に戻ってくる工具経路を設定する。なお、工具経路を設定するとは、ここでは、工具経路を工具経路情報14に記録する動作をいう。文字彫り工具経路生成部6は、着目端点から別の端点までの工具経路を設定したとき、当該別の端点を新たな着目端点とする。なお、ここでは、複数の端点が同時に着目端点となることはないものとしている。文字彫り工具経路生成部6は、ステップS107の処理により決定した始点を最初の着目端点とする。
 文字彫り工具経路生成部6は、経路設定処理を実行する毎に、工具経路がまだ設定されていない線分が着目端点に接続されているか否かを判定する(ステップS108)。工具経路がまだ設定されていない線分が着目端点に接続されている場合には(ステップS108、Yes)、文字彫り工具経路生成部6は、ステップS107の処理を再度実行する。即ち、文字彫り工具経路生成部6は、着目端点に接続され、工具経路がまだ設定されていない線分を工具経路とするように工具経路を設定する。
 なお、文字彫り工具経路生成部6は、経路設定処理を実行する毎に、分類データ12を更新する。具体的には、文字彫り工具経路生成部6は、端点に連結されている線分のうちの工具経路に設定されていない線分の数に基づいて、その端点が接続端点であるか交差端点であるかを再分類する。なお、端点に接続されている線分が全て工具経路に設定されると、その端点はどの線分にも接続されていない端点となる。文字彫り工具経路生成部6は、どの線分にも接続されていない端点を、単独の端点(単独端点)に分類する。
 図14は、経路設定処理をさらに詳しく説明するフローチャートである。
 図14に示すように、文字彫り工具経路生成部6はまず、着目端点が接続端点であるか否かを判定する(ステップS201)。着目端点が接続端点ではない場合(ステップS201、No)、文字彫り工具経路生成部6は、着目端点が交差端点であるか否かを判定する(ステップS202)。着目端点が交差端点ではない場合(ステップS202、No)、即ち着目端点が単独端点である場合には、文字彫り工具経路生成部6は、対象の文字を構成する全ての線分について経路設定処理が完了したか否かを判定する(ステップS203)。対象の文字を構成する全ての線分について経路設定処理が完了したか否かは、例えば当該文字に含まれる端点が全て単独端点となったか否かを判定することによって判断することができる。
 まだ工具経路が設定されていない線分が存在する場合(ステップS203、No)、文字彫り工具経路生成部6は、現在の着目端点から最短距離に位置する交差端点または接続端点までの経路を探索し、探索により見つかった経路を工具経路に設定する(ステップS204)。
 対象の文字を構成する全ての線分について経路設定処理が完了した場合(ステップS203、Yes)、またはステップS204の処理の後、文字彫り工具経路生成部6は、経路設定処理を終了する。
 着目端点が接続端点である場合(ステップS201、Yes)、文字彫り工具経路生成部6は、当該接続端点に接続されている線分のうちの、まだ工具経路に設定されていない線分を工具経路として選択し(ステップS205)、経路設定処理を終了する。なお、文字彫り工具経路生成部6は、着目端点にステップS205にて選択された線分で接続されている端点を新たな着目端点とする。
 ここで、着目端点から別の端点を経由して着目端点に戻る経路であって、同一の線分を重複して使用せず、かつ同一の端点を重複して使用しない経路(以降、一筆書き経路)を構成可能である場合には、文字彫り工具経路生成部6は、当該一筆書き経路を工具経路に設定する。また、連結されている線分が2つ存在する1以上の交差端点のみを介してまたは端点を全く介さないで着目端点が別の接続端点に接続されている場合には、文字彫り工具経路生成部6は、着目端点から当該別の接続端点を経て着目端点に戻る経路(以降、往復経路)を工具経路に設定する。即ち、着目端点が交差端点である場合には、当該着目端点を始点とする工具経路に設定しうる経路は、一筆書き経路と、往復経路と、一筆書き経路に含まれない別の交差端点との間の片道の経路(片道経路)とのうちの何れに該当することになる。
 着目端点が交差端点である場合には(ステップS202、Yes)、文字彫り工具経路生成部6は、着目端点を始点および終点とする一筆書き経路が存在するか否かを判定する(ステップS206)。なお、文字彫り工具経路生成部6は、一筆書き経路を探索した際に、複数の一筆書き経路を発見した場合には、当該複数の一筆書き経路のうちの最短の経路のみを一時記憶しておく。最短の一筆書き経路が複数存在する場合にはこれらの複数の一筆書き経路を一時保存する。
 一筆書き経路が存在しない場合(ステップS206、No)、文字彫り工具経路生成部6は、着目端点を始点および終点とする往復経路を探索する(ステップS207)。文字彫り工具経路生成部6は、探索により発見した往復経路を一時記憶しておく。一筆書き経路が存在する場合(ステップS206、Yes)、文字彫り工具経路生成部6は、ステップS207の処理をスキップする。
 続いて、文字彫り工具経路生成部6は、着目端点を始点とする、工具経路として選択し得る往復経路の数を判定する(ステップS208)。工具経路として選択し得る往復経路が1つしかない場合には(ステップS208、1)、文字彫り工具経路生成部6は、当該往復経路を工具経路に設定し(ステップS209)、経路設定処理を終了する。
 ステップS208の判定処理において工具経路として選択し得る経路が往復複数存在する場合には(ステップS208、2以上)、文字彫り工具経路生成部6は、最も長い往復経路を工具経路として選択し得る経路から除去する(ステップS210)。ただし、この処理において、文字彫り工具経路生成部6は、最も長く、同一の長さの経路が複数存在する場合には、当該複数の経路を除去しないでおく。続いて、文字彫り工具経路生成部6は、工具経路として選択し得る経路(往復経路、一筆書き経路)が1つしかないか否かを判定する(ステップS211)。工具経路として選択し得る経路が1つしかない場合(ステップS211、Yes)、文字彫り工具経路生成部6は、ステップS209の処理を実行する。
 工具経路として選択し得る往復経路が存在しない場合(ステップS208、0)、または工具経路として選択し得る経路が複数存在する場合(ステップS211、No)、文字彫り工具経路生成部6は、着目端点の前後における工具経路の接線ベクトルの変化が最も少ない経路(往復経路、一筆書き経路)を工具経路に選択し(ステップS212)、経路設定処理を終了する。なお、ステップS212において、接線ベクトルの変化が最も少ない経路が複数ある場合には、ここでは、文字彫り工具経路生成部6は、当該複数の経路のうちの着目端点の直前における接線ベクトルの向きに対して右側に位置する経路を工具経路に選択する。
 図3に戻り、工具経路がまだ設定されていない線分が着目端点に接続されていない場合(ステップS108、No)、即ち着目端点が単独端点である場合、文字彫り工具経路生成部6は、全ての文字について工具経路の設定を完了したか否かを判定する(ステップS109)。工具経路の設定を行っていない文字がある場合(ステップS109、No)、文字彫り工具経路生成部6は、前の文字の終点から直線距離にして最も近い位置にある接続端点を、まだ工具経路の設定を行っていない全ての文字の接続端点から探索し、得られた接続端点を新たな始点に設定する(ステップS110)。なお、端点(X1、Y1、Z2)と端点(X2、Y2、Z2)との間の直線距離dは次式(3)により計算することが可能である。
 d=sqrt{(X1-X2)+(Y1-Y2)+(Z1-Z2)}   (3)
 ステップS110の処理の後、文字彫り工具経路生成部6は、ステップS107の処理を再度実行する。
 全ての文字について工具経路の設定を完了した場合(ステップS109、Yes)、NC加工プログラム生成処理部7は、工具経路情報14に基づいてNC加工プログラム13を生成し、生成したNC加工プログラム13を出力する(ステップS111)。そして、加工プログラム生成装置1は動作を終了する。
 このように、文字彫り工具経路生成部6は、設定済みの工具経路の終点を着目端点とし、当該着目端点に連結されている線分を次の工具経路に設定する処理を順次実行することによって工具経路を設定することができる。そして、文字彫り工具経路生成部6は、着目端点に連結されている線分のうち、まだ工具経路に設定されていない線分がある場合、即ち着目端点が接続端点または交差端点である場合、当該工具経路に設定されていない線分を次の工具経路に設定する。また、文字彫り工具経路生成部6は、着目端点に連結されている線分のうち、まだ工具経路に設定されていない線分がない場合、即ち着目端点が単独端点である場合、当該着目端点からまだ工具経路に設定されていない線分を構成する端点に至るまで、既に工具経路に設定された線分を重複して工具経路に設定する。そして、NC加工プログラム生成処理部7は、文字彫り工具経路生成部6により設定された順番で前記設定された工具経路上を工具を移動せしめるNC加工プログラム13を生成する。
 これにより、Z軸方向の工具アプローチを行うことなく単独端点から接続端点または交差端点まで工具を移動せしめることができるので、NC加工プログラム生成処理部7は、加工時間をできるだけ短縮したNC加工プログラム13を生成することができる。
 なお、文字彫り工具経路生成部6は、着目端点から接続端点に接続された線分を往復経路としてみなし、往復経路を1回の経路設定処理により工具経路に設定するとしたが、文字彫り工具経路生成部6は、往復経路のうちの往路を片道経路とみなすようにしてもよい。このような場合には、文字彫り工具経路生成部6は、往路を工具経路に設定した後の着目端点は単独端点であるので、往路と同一の、工具経路に設定済みの線分を、重複して工具経路に設定することができる。
 次に、経路設定処理が繰り返されることにより工具経路情報14が生成される様子を、文字「E」、「N」、「G」、および「車」を例に挙げて具体的に説明する。
 まず、文字「E」の工具経路情報14が生成される場合の文字彫り工具経路生成部6の動作を説明する。なお、ステップS106の処理により、文字「E」を構成する端点151~156のうち、端点152が始点に設定されている状態となっている。即ち、端点152が最初の着目端点となる。
 初期状態、即ち文字「E」について経路設定処理が一度も行われていない状態においては、端点152に唯一連結されている線分101はまだ経路として選択されていないので、文字彫り工具経路生成部6は、ステップS205の処理により、線分101を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「E」にかかる工具経路情報14に、「端点152→端点151」を記録する。
 そして、新たに着目端点となった端点151は、元々は線分101と線分102とが連結された交差端点であったが、線分101が工具経路に設定されたことによって線分102にのみ連結された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分102を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「E」にかかる工具経路情報14に、「端点151→端点153」を追加する。
 続いて、新たに着目端点となった端点153は、工具経路に設定されていない線分103と線分104とに連結された交差端点と見なされる(ステップS201、No、ステップS202、Yes)。また、端点153を始点とした一筆書き経路がないため(ステップS206、No)、文字彫り工具経路生成部6は、往復経路の探索により(ステップS207)、「端点153→端点154→端点153」という往復経路と、「端点153→端点155→端点156→端点155→端点153」という往復経路とを認識する。工具経路に設定し得る往復経路は、上述のように2つ存在するので(ステップS208、2以上)、文字彫り工具経路生成部6は、長いほうの経路「端点153→端点155→端点156→端点155→端点153」を除去する(ステップS210)。残った経路の数は「端点153→端点154→端点153」という経路だけであるので(ステップS211、Yes)、文字彫り工具経路生成部6は、当該残った経路を工具経路に設定する(ステップS209)。即ち、文字彫り工具経路生成部6は、文字「E」にかかる工具経路情報14に、「端点153→端点154→端点153」を追加する。
 そして、再び着目端点となった端点153は、線分103が新たに工具経路に設定されたことによって、線分104にのみ接続された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分104を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「E」にかかる工具経路情報14に、「端点153→端点155」を追加する。
 そして、新たに着目端点となった端点155は、元々は線分104と線分105とが連結された交差端点であったが、線分104が工具経路に設定されたことによって線分105にのみ連結された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分105を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「E」にかかる工具経路情報14に、「端点155→端点156」を追加する。
 そして、新たに着目端点となった端点156は、単独端点と見なされる(ステップS201、No、ステップS202、No)。文字「E」を構成する全ての線分は工具経路に設定済みであるので(ステップS203、Yes)、文字彫り工具経路生成部6は、文字「E」にかかる経路設定処理を終了する。
 図15は、以上の動作により完成する文字「E」にかかる工具経路情報14のデータ構成例を示す図である。図示するように、工具経路情報14には、複数の工具経路が、設定された順番に経路番号が付されて登録されている。
 続いて、文字「N」、「G」にかかる経路設定処理が完了していないので(ステップS109、No)、文字彫り工具経路生成部6は、ステップS110の処理により、文字「E」の終点となった端点154に最も近い接続端点を新たに始点に設定する。
 具体的には、文字「G」よりも文字「N」のほうが文字「E」の近くに位置するので、文字「N」を構成する接続端点のうちのひとつが始点に設定される。図16は、文字「N」を構成する線分および端点を示す図であり、図17は、文字「N」にかかる分類データの初期状態を示す図である。文字「N」は、線分201~203と、端点251~254により構成される。また、初期状態においては、端点251、254は接続端点に分類され、端点252、253は交差端点に分類されている。文字彫り工具経路生成部6は、ステップS110の処理により、端点154に最も近い接続端点である端点251を始点に設定する。
 始点となった端点251は、線分201にのみ連結された接続端点であるので(ステップS201、Yes)、文字彫り工具経路生成部6は、ステップS205の処理により、線分201を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「N」にかかる工具経路情報14に、「端点251→端点252」を記録する。
 そして、新たに着目端点となった端点252は、線分202にのみ連結された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分202を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「N」にかかる工具経路情報14に、「端点252→端点253」を追加する。
 そして、新たに着目端点となった端点253は、線分203にのみ連結された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分203を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「N」にかかる工具経路情報14に、「端点253→端点254」を追加する。
 そして、新たに着目端点となった端点254は、単独端点と見なされる(ステップS201、No、ステップS202、No)。文字「N」を構成する全ての線分は工具経路に設定済みであるので(ステップS203、Yes)、文字彫り工具経路生成部6は、文字「N」にかかる経路設定処理を終了する。図18は、以上の動作により完成する文字「N」にかかる工具経路情報14のデータ構成例を示す図である。
 続いて、文字「G」にかかる経路設定処理が完了していないので(ステップS109、No)、文字彫り工具経路生成部6は、ステップS110の処理により、文字「N」の終点となった端点254に最も近い接続端点を新たに始点に設定する。
 図19は、文字「G」を構成する線分および端点を示す図であり、図20は、文字「G」にかかる分類データの初期状態を示す図である。文字「G」は、線分301~303と、端点351~354により構成される。また、初期状態においては、端点351、353、354は接続端点に分類され、端点352は交差端点に分類されている。文字彫り工具経路生成部6は、ステップS110の処理により、端点254に最も近い接続端点である端点351を始点に設定する。
 始点となった端点351は、線分301にのみ連結された接続端点であるので(ステップS201、Yes)、文字彫り工具経路生成部6は、ステップS205の処理により、線分301を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「G」にかかる工具経路情報14に、「端点351→端点352」を記録する。
 そして、新たに着目端点となった端点352は、既に工具経路に設定された線分301の他に、未だ工具経路に設定されていない線分302および線分303に連結されているので、交差端点と見なされる(ステップS201、No、ステップS202、Yes)。そして、端点352を始点とした一筆書き経路がないため(ステップS206、No)、文字彫り工具経路生成部6は、往復経路の探索により(ステップS207)、「端点352→端点353→端点352」という往復経路と、「端点352→端点354→端点352」という往復経路とを認識する。これらの往復経路のうち、最も長い経路である「端点352→端点353→端点352」を除くと(ステップS210)、経路は残り一つとなるので(ステップS211、Yes)、文字彫り工具経路生成部6は、ステップS209の処理により、「端点352→端点354→端点352」を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「G」にかかる工具経路情報14に、「端点352→端点354→端点352」を追加する。
 そして、再び着目端点となった端点352は、線分302にのみ連結された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分302を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「G」にかかる工具経路情報14に、「端点352→端点353」を追加する。
 そして、再び着目端点となった端点353は、単独端点と見なされる(ステップS201、No、ステップS202、No)。文字「G」を構成する全ての線分は工具経路に設定済みであるので(ステップS203、Yes)、文字彫り工具経路生成部6は、文字「G」にかかる経路設定処理を終了する。図21は、以上の動作により完成する文字「G」にかかる工具経路情報14のデータ構成例を示す図である。
 文字彫り工具経路生成部6は、文字「E」、「N」、「G」にかかる工具経路情報14をこの順番でNC加工プログラム生成処理部7に送る。
 次に、文字「車」にかかる工具経路情報14が生成される場合の文字彫り工具経路生成部6の動作を説明する。図22は、文字「車」を構成する線分および端点を示す図であり、図23は、文字「車」にかかる分類データの初期状態を示す図である。文字「車」は、線分401~420と、端点451~467により構成される。また、初期状態においては、端点451、452、454、464、466、467は接続端点に分類され、端点453、455~463、465は交差端点に分類されている。
 文字彫り工具経路生成部6は、ステップS106の処理において、文字「車」の左上を原点として、原点に最も近い接続端点である端点452を始点として選択する。端点452に連結されている線分402は、まだ工具経路として設定されていないので、接続端点として見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分402を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点452→端点453」を記録する。
 次に、新たに着目端点となった端点453は、工具経路に設定されていない線分401と線分403と線分404とに連結されているので、交差端点と見なされる(ステップS201、No、ステップS202、Yes)。また、端点453を始点とした一筆書き経路がないため(ステップS206、No)、文字彫り工具経路生成部6は、往復経路の探索により(ステップS207)、「端点453→端点451→端点453」という往復経路と、「端点453→端点454→端点453」という往復経路とを認識する。ここで、端点453に接続されている線分404は、端点456が線分404と、線分405と、線分406と、線分408に接続されている。即ち、端点453は、3つ以上の線分が接続する交差端点であるため、文字彫り工具経路生成部6は、線分404を片道経路として認識する。工具経路として設定可能な往復経路は、上述のように2つ存在し(ステップS208、2以上)、文字彫り工具経路生成部6は、その2つの往復経路から、最も長い経路である線分403の「端点453→端点454→端点453」の往復経路を除外すると(ステップS210)、線分401のみが残るので(ステップS211、Yes)、線分401を工具経路に設定する(ステップS209)。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点453→端点451→端点453」を追加する。
 次に、再び着目端点となった端点453は、工具経路に設定されていない線分403と線分404とに連結されているので、交差端点と見なされる(ステップS201、No、ステップS202、Yes)。また、端点453を始点とした一筆書き経路がないため(ステップS206、No)、文字彫り工具経路生成部6は、往復経路の探索により(ステップS207)、「端点453→端点454→端点453」という往復経路を認識する。ここで、線分404の片道経路はまだ工具経路に設定されていない状態となっている。交付経路に設定可能な往復経路は、「端点453→端点454→端点453」という往復経路のみであるので(ステップS208、1)、文字彫り工具経路生成部6は、「端点453→端点454→端点453」の往復経路を工具経路に設定する(ステップ209)。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点453→端点454→端点453」を追加する。
 そして、再び着目端点となった端点453は、元々は線分401~404に連結された交差端点であったが、線分401~403が工具経路に設定されたことによって線分404にのみ連結された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分404を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点453→端点456」を追加する。
 次に、新たに着目端点となった端点456は、工具経路に設定されていない線分405と線分406と線分408とに連結されているので、交差端点と見なされる(ステップS201、No、ステップS202、Yes)。そして、端点456を始点とした一筆書き経路としては、次に示す4つの経路が存在する(ステップS206、Yes)。
 端点456→端点455→端点458→端点459→端点456
 端点456→端点459→端点458→端点455→端点456
 端点456→端点459→端点460→端点457→端点456
 端点456→端点457→端点460→端点459→端点456
なお、「端点456→端点455→端点458→端点461→端点462→端点459→端点456」のように、上記の4つの一筆書き経路よりも大きい経路も一筆書き経路として抽出可能であるが、ここでは、文字彫り工具経路生成部6は、経由する線分の数が最小の上記の4つの経路のみを一筆書き経路として一時記憶するものとしている。
 工具経路に設定可能な往復経路の数はゼロであるので(ステップS208、0)、文字彫り工具経路生成部6は、接線ベクトルの変化が最も少なく、かつ接線ベクトルの向きに対して右側の経路である、「端点456→端点459→端点458→端点455→端点456」という経路を工具経路に設定する(ステップS212)。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点456→端点459→端点458→端点455→端点456」を追加する。
 次に、再び着目端点となった端点456は、連結されている線分のうち工具経路として設定されていない線分は線分406だけであるので、接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分406を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点456→端点457」を追加する。
 次に、新たに着目端点となった端点457は、線分409にのみ連結された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分409を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点457→端点460」を追加する。
 次に、新たに着目端点となった端点460は、線分411と線分414とに接続された交差端点と見なされる(ステップS201、No、ステップS202、Yes)。そして、端点460を始点とした一筆書き経路としては、次に示す2つの経路が存在する(ステップS206、Yes)。
 端点460→端点459→端点462→端点463→端点460
 端点460→端点463→端点462→端点459→端点460
 しかしながら、工具経路に設定可能な往復経路の数はゼロであるので(ステップS208、0)、文字彫り工具経路生成部6は、上記2つの一筆書き経路のうちの、接線ベクトルの変化が最も少ない「端点460→端点463→端点462→端点459→端点460」という経路を工具経路に設定する(ステップS212)。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点460→端点463→端点462→端点459→端点460」を追加する。
 そして、再び着目端点となった460は、単独端点とみなされる(ステップS201、No、ステップS202、No)。そして、文字「車」について、まだ工具経路に設定されていない線分が存在するので(ステップS203、No)、文字彫り工具経路生成部6は、端点460から他の接続端点または交差端点のうちのいずれかに至る経路のうちの最短の経路として「端点460→端点459→端点462」という経路と「端点460→端点463→端点462」という経路を認識する(ステップS204)。ここでは、文字彫り工具経路生成部6は、これらの経路のうちの、接線ベクトルの変化が少ない経路である、「端点460→端点463→端点462」という経路を、工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点460→端点463→端点462」を追加する。
 次に、新たに着目端点となった端点462は、工具経路として設定されていない線分415と線分417とが連結された交差端点であると見なされる(ステップS201、No、ステップS202、Yes)。また、端点462を始点とした一筆書き経路がない(ステップS206、No)。文字彫り工具経路生成部6は、往復経路の探索により(ステップS207)、「端点462→端点461→端点458→端点461→端点462」という往復経路を認識する。線分415に連結されている端点461は、線分412および線分415の2つの線分が接続された交差端点であり、線分417に連結されている端点465は、線分417~420に接続された(即ち3つ以上の線分に接続された)交差端点であるので、線分417は片道経路として認識される。工具経路として設定し得る往復経路の数は、上述のように1つであるので(ステップS208、1)、文字彫り工具経路生成部6は、ステップS209の処理により、この往復経路を工具経路に設定する。即ち、即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点462→端点461→端点458→端点461→端点462」を追加する。
 そして、再び着目端点となった端点462は、今度は、線分417のみが連結された接続端点と見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分417を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点462→端点465」を追加する。
 次に、新たに着目端点となった端点465は、工具経路に設定されていない線分418~420が連結されているので、交差端点と見なされる(ステップS201、No、ステップS202、Yes)。また、端点465を始点とした一筆書き経路がないため(ステップS206、No)、文字彫り工具経路生成部6は、往復経路の探索により(ステップS207)、次の3つの往復経路を認識する。
 端点465→端点464→端点465
 端点465→端点466→端点465
 端点465→端点467→端点465
 工具経路として設定可能な経路は、上述のように3つ存在するので(ステップS208、2以上)、文字彫り工具経路生成部6は、ステップS210の処理により、最も長い経路である「端点465→端点464→端点465」という経路と「端点465→端点466→端点465」という経路を除く。残った経路は、「端点465→端点467→端点465」という経路の1つのみであるので(ステップS211、Yes)、文字彫り工具経路生成部6は、ステップS209の処理により、「端点465→端点467→端点465」という経路を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点465→端点467→端点465」を追加する。
 そして、再び着目端点となった端点465は、工具経路に設定されていない線分418および線分419が連結されているので、交差端点と見なされる(ステップS201、No、ステップS202、Yes)。また、端点465を始点とした一筆書き経路がないため(ステップS206、No)、文字彫り工具経路生成部6は、往復経路の探索により(ステップS207)、次の2つの往復経路を認識する。
 端点465→端点464→端点465
 端点465→端点466→端点465
 工具経路として設定可能な往復経路は、上述のように2つ存在するので(ステップS208、2以上)、文字彫り工具経路生成部6は、ステップS210の処理において、最も長い経路を除去しようとするが、上述の2つの経路の長さは互いに等しいので、ここでは経路の除去を行わない。残った経路の数は2つなので(ステップS211、No)、文字彫り工具経路生成部6は、接線ベクトルの向きの右側に位置する「端点465→端点466→端点465」の経路を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点465→端点466→端点465」を追加する。
 次に、再び着目端点となった端点465は、工具経路として設定されていない線分418が連結された接続端点であると見なされる(ステップS201、Yes)。したがって、文字彫り工具経路生成部6は、ステップS205の処理により、線分418を工具経路に設定する。即ち、文字彫り工具経路生成部6は、文字「車」にかかる工具経路情報14に、「端点465→端点464」を追加する。
 そして、新たに着目端点となった端点464は、単独端点と見なされる(ステップS201、No、ステップS202、No)。文字「車」を構成する全ての線分は工具経路に設定済みであるので(ステップS203、Yes)、文字彫り工具経路生成部6は、文字「車」にかかる経路設定処理を終了する。図24は、以上の動作により完成する文字「車」にかかる工具経路情報14のデータ構成例を示す図である。
 このように、実施の形態1によれば、文字彫り工具経路生成部6は、文字彫り加工対象の文字を構成する線分を当該文字が有する交点位置で分割することによって複数の線分を生成し、設定済みの工具経路の終点を着目端点とし、当該着目端点に連結されている線分を次の工具経路に設定する処理を順次実行し、NC加工プログラム生成処理部7は、文字彫り工具経路生成部6により設定された順番で前記設定された工具経路上を工具を移動せしめるNC加工プログラム13を生成する。そして、文字彫り工具経路生成部6は、着目端点に連結されている線分のうち、まだ工具経路に設定されていない線分がある場合には、当該工具経路に設定されていない線分を次の工具経路に設定し、まだ工具経路に設定されていない線分がない場合には、着目端点からまだ工具経路に設定されていない線分を構成する端点に至るまで、既に工具経路に設定された線分を重複して工具経路に設定する。これにより、生成されたNC加工プログラム13は、Z軸方向の工具アプローチを実行せしめることなく単独端点から接続端点または交差端点まで工具を移動せしめることができるので、加工時間をできるだけ短縮したNC加工プログラム13を生成することができる。即ち、加工プログラム生成装置1は、文字彫り加工をできるだけ短い加工時間で実行するNC加工プログラム13を作成することができる。
実施の形態2.
 実施の形態2によれば、加工プログラム生成装置は、既に加工済みの一つの工具経路と重複する他の工具経路が設定されている場合に、当該他の工具経路の工具送り速度を早送りせしめるNC加工プログラムを生成することができる。
 図25は、実施の形態2のNC加工プログラム生成処理部7の動作を示すフローチャートである。
 図示するように、NC加工プログラム生成処理部7は、文字彫り工具経路生成部6から入力された工具経路情報14を参照することによって、重複する工具経路(同一の複数の工具経路のうちの、加工順序が後の工具経路)を抽出する(ステップS301)。そして、NC加工プログラム生成処理部7は、重複する工具経路のうちの加工順序が後の工具経路における工具送り速度にオーバーライドをかけて(ステップS302)、NC加工プログラム13を生成し(ステップS303)、工具送り速度の設定を終了する。
 このように、実施の形態2によれば、NC加工プログラム生成処理部7は、文字彫り工具経路生成部6が設定した工具経路から、同一の複数の工具経路のうちの加工順序が後の工具経路を抽出し、前記抽出した工具経路の工具送り速度を早送り速度に設定する、ように構成したので、NC加工プログラム13は、一度加工した部位を重複するとき、工具を早送りせしめることができる。これにより、実施の形態2の加工プログラム生成装置1は、実施の形態1よりも加工時間をさらに短縮するNC加工プログラム13を生成することができる。
実施の形態3.
 実施の形態2によれば、重複する工具経路上の工具を早送りせしめるようにしたが、工具を早送りするよりもZ軸方向に工具を逃がして重複する工具経路をスキップしたほうが加工速度が短縮される場合には、Z軸方向の工具アプローチを行うようにしてもよい。
 図26は、実施の形態3のNC加工プログラム生成処理部7の動作を示すフローチャートである。
 図示するように、NC加工プログラム生成処理部7は、文字彫り工具経路生成部6から入力された工具経路情報14を参照することによって、重複する工具経路を抽出する(ステップS401)。そして、NC加工プログラム生成処理部7は、重複する工具経路の工具送り速度にオーバーライドをかけた場合の工具移動にかかる時間aを算出する(ステップS402)。例えば、NC加工プログラム生成処理部7は、工具経路の長さを求め、求めた長さを、オーバーライドを乗じた工具送り速度で除算することによって、時間aを求めることができる。
 続いて、NC加工プログラム生成処理部7は、工具をZ軸方向に逃がす工具経路(即ち重複する工具経路の始点で所定量だけZ軸の正方向に工具を早送りで移動する工具経路)と、重複する工具経路の終点まで直線で結ぶ工具経路と、工具をZ軸方向にアプローチせしめる工具経路(即ち重複する工具経路の終点にZ軸の負方向に工具を加工送りで移動する工具経路)とを生成し、工具を逃がしてからアプローチせしめるまでの工具移動にかかる時間bを算出する(ステップS403)。
 そして、NC加工プログラム生成処理部7は、時間aが時間bよりも大きいか否かを判定する(ステップS404)。時間aが時間bより大きい場合(ステップS404、Yes)、NC加工プログラム生成処理部7は、重複する工具経路および当該工具経路の工具送り速度をステップS403にて生成した工具経路および工具送り速度に変更し(ステップS405)、NC加工プログラム13を生成する(ステップS406)。時間aが時間bより小さい場合(ステップS404、No)、NC加工プログラム生成処理部7は、ステップS405の処理をスキップする。
 なお、重複する工具経路が複数存在する場合には、NC加工プログラム生成処理部7は、重複する工具経路の夫々についてステップS402~ステップS405の処理を実行するようにするとよい。
 このように、実施の形態3によれば、NC加工プログラム生成処理部7は、文字彫り工具経路生成部6が設定した工具経路から、同一の複数の工具経路のうちの加工順序が後の工具経路を抽出し、前記抽出した工具経路の夫々について、当該抽出した工具経路の工具送りを早送りした場合の移動時間と、前記抽出した工具経路を、始点においてZ軸方向に工具を逃がして、終点においてZ軸方向に工具をアプローチせしめる別の工具経路で工具を移動せしめた場合の移動時間とを比較し、前記別の工具経路にかかる移動時間よりも前記抽出した工具経路にかかる移動時間のほうが長い場合、前記抽出した工具経路を前記別の工具経路で置き換えて、前記置き換えた別の工具経路で工具を移動せしめるようにNC加工プログラム13を生成する、ように構成したので、実施の形態3の加工プログラム生成装置1は、実施の形態2よりもさらに加工時間を短縮したNC加工プログラム13を生成することができるようになる。
 以上のように、本発明にかかる加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラムは、数値制御装置に工作機械の数値制御を実行せしめるNC加工プログラムを生成する加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラムに適用して好適である。
 1 加工プログラム生成装置
 2 対話操作処理部
 3 文字列保存部
 4 文字設定データ保存部
 5 文字彫り加工データ保存部
 6 文字彫り工具経路生成部
 7 NC加工プログラム生成処理部
 8 表示部
 9 入力部
 10 フォントデータ
 11 工具データ
 12 分類データ
 13 NC加工プログラム
 14 工具経路情報
 20 素材形状
 21 枠
 31 文字データ
 41 文字設定データ
 51 文字彫り加工データ
 101~105、201~203、301~303、401~420 線分
 151~156、251~254、351~354、451~467 端点
 1001 CPU
 1002 RAM
 1003 ROM
 1004 加工プログラム生成プログラム

Claims (9)

  1.  被加工物に文字彫り加工を行う数値制御(NC)加工プログラムを生成する加工プログラム生成装置であって、
     文字彫り加工対象の文字を構成する線分を当該文字が有する交点位置で分割することによって複数の線分を生成し、設定済みの工具経路の終点を始点とし、当該始点に連結されている線分を次の工具経路に設定する処理を順次実行する、工具経路生成部と、
     前記工具経路生成部により設定された順番で前記設定された工具経路上を工具を移動せしめるNC加工プログラムを生成するNC加工プログラム生成処理部と、
     を備え、
     前記工具経路生成部は、
     前記始点に連結されている線分のうち、まだ工具経路に設定されていない線分がある場合には、当該工具経路に設定されていない線分を次の工具経路に設定し、まだ工具経路に設定されていない線分がない場合には、前記始点からまだ工具経路に設定されていない線分を構成する端点に至るまで、既に工具経路に設定された線分を重複して工具経路に設定する、
     ことを特徴とする加工プログラム生成装置。
  2.  前記NC加工プログラム生成処理部は、前記工具経路生成部が設定した工具経路から、同一の複数の工具経路のうちの加工順序が後の工具経路を抽出し、前記抽出した工具経路の工具送り速度を早送り速度に設定する、
     ことを特徴とする請求項1に記載の加工プログラム生成装置。
  3.  前記NC加工プログラム生成処理部は、前記工具経路生成部が設定した工具経路から、同一の複数の工具経路のうちの加工順序が後の工具経路を抽出し、前記抽出した工具経路の夫々について、当該抽出した工具経路の工具送りを早送りした場合の移動時間と、前記抽出した工具経路を、始点においてZ軸方向に工具を逃がして、終点においてZ軸方向に工具をアプローチせしめる別の工具経路で工具を移動せしめた場合の移動時間とを比較し、前記別の工具経路にかかる移動時間よりも前記抽出した工具経路にかかる移動時間のほうが長い場合、前記抽出した工具経路を前記別の工具経路で置き換えて、前記置き換えた別の工具経路で工具を移動せしめるように前記NC加工プログラムを生成する、
     ことを特徴とする請求項1に記載の加工プログラム生成装置。
  4.  被加工物に文字彫り加工を行う数値制御(NC)加工プログラムを生成する加工プログラム生成方法であって、
     文字彫り加工対象の文字を構成する線分を当該文字が有する交点位置で分割することによって複数の線分を生成する線分生成ステップと、
     設定済みの工具経路の終点を始点とし、当該始点に連結されている線分を次の工具経路に設定する処理を順次実行する工具経路生成ステップと、
     前記文字彫り加工対象の文字を前記工具経路生成ステップにより設定された工具経路で加工するNC加工プログラムを生成するNC加工プログラム生成ステップと、
     を備え、
     前記工具経路生成ステップは、
     前記始点に連結されている線分のうち、まだ工具経路に設定されていない線分がある場合には、当該工具経路に設定されていない線分を次の工具経路に設定する第1の設定ステップと、
     前記始点に連結されている線分のうち、まだ工具経路に設定されていない線分がない場合には、前記始点からまだ工具経路に設定されていない線分を構成する端点に至るまで、既に工具経路に設定された線分を重複して工具経路に設定する第2の設定ステップと、
     を備えることを特徴とする加工プログラム生成方法。
  5.  前記NC加工プログラム生成ステップは、前記第2の設定ステップにより設定された重複する工具経路の工具送り速度を早送り速度に設定する早送り速度設定ステップをさらに備える、
     ことを特徴とする請求項4に記載の加工プログラム生成方法。
  6.  前記NC加工プログラム生成ステップは、
     前記第2の設定ステップにより設定された重複する工具経路の夫々について、当該重複する工具経路の工具送りを早送りした場合の移動時間と、前記重複する工具経路を、始点においてZ軸方向に工具を逃がして、終点においてZ軸方向に工具をアプローチせしめる別の工具経路で工具を移動せしめた場合の移動時間とを比較し、前記別の工具経路にかかる移動時間よりも前記重複する工具経路にかかる移動時間のほうが長い場合、前記重複する工具経路を前記別の工具経路で置き換える置き換えステップをさらに備える、
     ことを特徴とする請求項4に記載の加工プログラム生成方法。
  7.  被加工物に文字彫り加工を行う数値制御(NC)加工プログラムをコンピュータに生成せしめる加工プログラム生成プログラムであって、
     文字彫り加工対象の文字を構成する線分を当該文字が有する交点位置で分割することによって複数の線分を生成する線分生成ステップと、
     設定済みの工具経路の終点を始点とし、当該始点に連結されている線分を次の工具経路に設定する処理を順次実行する工具経路生成ステップと、
     前記文字彫り加工対象の文字を前記工具経路生成ステップにより設定された工具経路で加工するNC加工プログラムを生成するNC加工プログラム生成ステップと、
     を前記コンピュータに実行せしめ、
     前記工具経路生成ステップは、
     前記始点に連結されている線分のうち、まだ工具経路に設定されていない線分がある場合には、当該工具経路に設定されていない線分を次の工具経路に設定する第1の設定ステップと、
     前記始点に連結されている線分のうち、まだ工具経路に設定されていない線分がない場合には、前記始点からまだ工具経路に設定されていない線分を構成する端点に至るまで、既に工具経路に設定された線分を重複して工具経路に設定する第2の設定ステップと、
     を備えることを特徴とする加工プログラム生成プログラム。
  8.  前記NC加工プログラム生成ステップは、前記第2の設定ステップにより設定された重複する工具経路の工具送り速度を早送り速度に設定する早送り速度設定ステップをさらに備える、
     ことを特徴とする請求項7に記載の加工プログラム生成プログラム。
  9.  前記NC加工プログラム生成ステップは、
     前記第2の設定ステップにより設定された重複する工具経路の夫々について、当該重複する工具経路の工具送りを早送りした場合の移動時間と、前記重複する工具経路を、始点においてZ軸方向に工具を逃がして、終点においてZ軸方向に工具をアプローチせしめる別の工具経路で工具を移動せしめた場合の移動時間とを比較し、前記別の工具経路にかかる移動時間よりも前記重複する工具経路にかかる移動時間のほうが長い場合、前記重複する工具経路を前記別の工具経路で置き換える置き換えステップをさらに備える、
     ことを特徴とする請求項7に記載の加工プログラム生成プログラム。
PCT/JP2012/055352 2012-03-02 2012-03-02 加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム WO2013128625A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
DE112012005821.6T DE112012005821B4 (de) 2012-03-02 2012-03-02 Bearbeitungsprogramm-Erzeugungsvorrichtung, Bearbeitungsprogramm-Erzeugungsverfahren und Bearbeitungsprogramm-Erzeugungsprogramm
US14/371,797 US9740189B2 (en) 2012-03-02 2012-03-02 Machining program creating apparatus, machining program creating method, and machining program creating program
CN201280071050.8A CN104145223B (zh) 2012-03-02 2012-03-02 加工程序生成装置以及加工程序生成方法
JP2012535470A JP5274714B1 (ja) 2012-03-02 2012-03-02 加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム
PCT/JP2012/055352 WO2013128625A1 (ja) 2012-03-02 2012-03-02 加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム
TW101120876A TWI465869B (zh) 2012-03-02 2012-06-11 加工程式產生裝置、加工程式產生方法及加工程式產生程式

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/055352 WO2013128625A1 (ja) 2012-03-02 2012-03-02 加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム

Publications (1)

Publication Number Publication Date
WO2013128625A1 true WO2013128625A1 (ja) 2013-09-06

Family

ID=49081869

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/055352 WO2013128625A1 (ja) 2012-03-02 2012-03-02 加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム

Country Status (6)

Country Link
US (1) US9740189B2 (ja)
JP (1) JP5274714B1 (ja)
CN (1) CN104145223B (ja)
DE (1) DE112012005821B4 (ja)
TW (1) TWI465869B (ja)
WO (1) WO2013128625A1 (ja)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6235506B2 (ja) * 2015-03-05 2017-11-22 ファナック株式会社 通信先を切替えて物理データを測定するデータ測定装置
CN104827816B (zh) * 2015-05-20 2017-07-11 安徽一威贸易有限公司 一种分层雕刻上色方法
CN110816133A (zh) * 2018-08-08 2020-02-21 富鼎电子科技(嘉善)有限公司 刻字加工方法、cnc加工装置及计算机存储介质
EP4343471A1 (en) * 2022-09-26 2024-03-27 Ratier-Figeac SAS Method for generating a tool path for engraving on various shaped surfaces

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57144646A (en) * 1981-02-24 1982-09-07 Toshiba Corp Display device for article name of electronic part
JPH01175005A (ja) * 1987-12-28 1989-07-11 Fujitsu Ltd 二値化領域内の加工方式
JPH0643924A (ja) * 1992-07-24 1994-02-18 Uchiyama Kikai Seisakusho:Kk Nc工作機械の制御装置および制御方法
JP2008116996A (ja) * 2006-10-31 2008-05-22 Mitsubishi Electric Corp 製造支援装置、製造支援データの編集方法、製造支援用プログラム、ならびに工作機械および工作システム

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4115956A (en) * 1977-06-28 1978-09-26 S. E. Huffman Corporation Programmably controlled machine for grinding end cutting tools and the like
JPH0760334B2 (ja) 1985-09-20 1995-06-28 松下電工株式会社 Nc加工機用部品加工camシステム
JP2637132B2 (ja) 1988-01-20 1997-08-06 株式会社東芝 浮き上がりパターンの形成方法
JP2637131B2 (ja) 1988-01-20 1997-08-06 株式会社東芝 浮き上がりパターンの形成方法
JP2658134B2 (ja) 1988-03-07 1997-09-30 株式会社リコー Ncデータ作成方法
JPH0696360B2 (ja) 1988-04-26 1994-11-30 廣前 孝明 文字の刻彫方法および刻彫装置ならびに文字データの作成装置
JPH0631590A (ja) 1992-07-14 1994-02-08 Mazda Motor Corp Nc加工用工具移動経路の作成方法
WO1994009420A1 (en) * 1992-10-12 1994-04-28 Fanuc Ltd Apparatus and method for numeral control
JP3223477B2 (ja) 1993-01-18 2001-10-29 キヤノン株式会社 工具経路データ連結装置、及び方法
JP3539743B2 (ja) 1993-02-18 2004-07-07 大日本印刷株式会社 図形加工装置
US5663803A (en) * 1993-02-25 1997-09-02 Ohio Electronic Engravers, Inc. Engraving method and apparatus for engraving areas using a shaping signal
TW228581B (en) * 1993-05-12 1994-08-21 Huann-Jong Chiou A method of digitizing fonts and processing them in variation arrangement so as enable them for machine tooling
DE4424037C2 (de) * 1994-07-11 1997-11-20 Ibm Verfahren und System zur automatischen, rechnersystemgestützten Optimierung
JPH08243880A (ja) * 1994-12-07 1996-09-24 Us Amada Ltd 刻印装置を備えた工作機械
JPH09120310A (ja) 1995-10-24 1997-05-06 Fanuc Ltd 軸移動方法及び軸移動方式
US6128546A (en) * 1996-09-30 2000-10-03 Cincinnati Incorporated Method and apparatus for a cutting system for avoiding pre-cut features
JPH1175005A (ja) * 1997-08-29 1999-03-16 Ricoh Elemex Corp 電子黒板システム
JP2000155609A (ja) 1998-11-19 2000-06-06 Dainippon Printing Co Ltd 図形加工方法および装置
US6658316B1 (en) * 1999-12-30 2003-12-02 Abb Technology Ag Parametric programming of robots and automated machines for manufacturing electrical enclosures
US6662063B2 (en) * 2000-05-16 2003-12-09 Gsi Lumonics Corporation Method and subsystem for determining a sequence in which microstructures are to be processed at a laser-processing site
JP2005081531A (ja) 2003-09-11 2005-03-31 Mazda Motor Corp 加工順序設定装置、加工順序設定方法及び加工順序設定プログラム
JP4196936B2 (ja) * 2004-11-16 2008-12-17 三菱電機株式会社 穴加工用ncプログラム作成装置及び穴加工ncプログラム作成装置用プログラム
US7369917B2 (en) * 2006-01-17 2008-05-06 National Instruments Corporation System and method for automatic sorting of elements in drawing specifications for efficient tracing using motion control
WO2007110953A1 (ja) * 2006-03-29 2007-10-04 Mitsubishi Denki Kabushiki Kaisha プログラム作成支援装置、プログラム作成支援方法とその方法をコンピュータに実行させるプログラムおよびそれを記録した記録媒体
WO2008149431A1 (ja) * 2007-06-06 2008-12-11 Mitsubishi Electric Corporation プログラム作成装置、数値制御装置およびプログラム作成方法
US8380341B2 (en) * 2007-08-29 2013-02-19 Mitsubishi Electric Corporation NC program generating device and NC program generating method
US7720561B2 (en) * 2007-09-21 2010-05-18 The Boeing Company Optimizing non-productive part motion in an automated tape laydown machine
JP5316354B2 (ja) * 2008-12-03 2013-10-16 株式会社リコー 制御装置、レーザ照射装置、記録方法、プログラム、記憶媒体
WO2011096327A1 (ja) * 2010-02-05 2011-08-11 株式会社日立製作所 加工経路生成方法及びその装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57144646A (en) * 1981-02-24 1982-09-07 Toshiba Corp Display device for article name of electronic part
JPH01175005A (ja) * 1987-12-28 1989-07-11 Fujitsu Ltd 二値化領域内の加工方式
JPH0643924A (ja) * 1992-07-24 1994-02-18 Uchiyama Kikai Seisakusho:Kk Nc工作機械の制御装置および制御方法
JP2008116996A (ja) * 2006-10-31 2008-05-22 Mitsubishi Electric Corp 製造支援装置、製造支援データの編集方法、製造支援用プログラム、ならびに工作機械および工作システム

Also Published As

Publication number Publication date
CN104145223B (zh) 2016-10-12
TW201337484A (zh) 2013-09-16
TWI465869B (zh) 2014-12-21
US9740189B2 (en) 2017-08-22
JPWO2013128625A1 (ja) 2015-07-30
DE112012005821B4 (de) 2018-11-08
CN104145223A (zh) 2014-11-12
US20150005924A1 (en) 2015-01-01
JP5274714B1 (ja) 2013-08-28
DE112012005821T5 (de) 2014-12-31

Similar Documents

Publication Publication Date Title
KR102028203B1 (ko) 워크피스의 기계가공의 시뮬레이션
JP6033668B2 (ja) Cam装置及び製品形状加工方法
EP2669824A1 (en) Design support system, method and program
JP5657115B2 (ja) 加工シミュレーション装置及び方法
JP5274714B1 (ja) 加工プログラム生成装置、加工プログラム生成方法、および加工プログラム生成プログラム
CN104460525A (zh) 用于构建零件加工方法的方法和***
JP5936781B1 (ja) 数値制御装置、nc加工装置、nc加工方法およびシミュレーション装置
EP3535628A1 (en) Process and system for providing a machining method for manufacturing a feature in a part
US20100156936A1 (en) Deformation method of analysis model and computer
WO2006027882A1 (ja) 3次元モデル自動構築システム
JP2017006970A (ja) 鍛造型設計支援装置および鍛造型設計支援方法
US10994381B2 (en) Controller, data generation device, control method, and control program
JP6571428B2 (ja) シールドトンネル作図装置
JP2018169799A (ja) 解析用メッシュ生成方法、プログラム、記憶媒体、および解析用メッシュ生成装置
JP6716446B2 (ja) 加工プログラム解析装置、加工プログラム解析プログラムおよび加工プログラム解析方法
JP2006240183A (ja) 金型作成方法及び装置
JP6687584B2 (ja) 加工プログラム解析装置およびこれを備えた工作機械、ならびに加工プログラム解析プログラムおよび加工プログラム解析方法
WO2014050246A1 (ja) 加工システム及び数値制御データ生成装置及び数値制御データ生成方法
JP4302102B2 (ja) 3次元設計支援プログラム
JP4102057B2 (ja) 3次元製品作成方法及びその装置、3次元製品加工用モデル作成プログラム
JP2008112337A (ja) 工具参照面データの作成装置と作成方法
JP5962057B2 (ja) 3次元形状作成支援プログラム,方法及び装置
JP7182791B2 (ja) 加工支援システム
JP2007323585A (ja) ポリゴンデータ分割方法およびポリゴンデータ分割装置
JP2871991B2 (ja) 加工経路生成装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2012535470

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12870065

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14371797

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112012005821

Country of ref document: DE

Ref document number: 1120120058216

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12870065

Country of ref document: EP

Kind code of ref document: A1