Patent ID: 8779324

Claim:
A welding-line selecting method of automatically selecting a welding line for a welding robot performing welding on the basis of a workpiece figure in three-dimensional CAD data displayed on a display screen, wherein the workpiece figure is defined by a first-face-group and a second-face-group, the first-face-group including data on at least one first face which represents a first plane surface of the workpiece, and the second-face-group including data on at least one second face which represents a second plane surface of the workpiece, the method comprising: a first-face-group selecting step of selecting at least one first face representative of the workpiece figure and assigning the selected first face to the first face group; a second-face-group selecting step of selecting at least one second face representative of the workpiece figure and assigning the selected second face to the second face group; an edge-line extracting step of extracting all edge lines having vertices with distances to the corresponding faces in the first face group among the edge lines of the faces selected from the second face group that are smaller than or equal to a predetermined value; a weldable-edge-line extracting step of selecting edge lines existing in a region weldable by the welding robot among the edge lines extracted in the edge-line extracting step on the basis of the directions of the normal vectors of the faces in the first face group and the faces in the second face group; a weldable-edge-line adding step of calculating an intersection between the faces in the first-face-group and the corresponding faces in the second-face-group based on the edge lines selected in the weldable-edge-line extracting step, and further selecting a weldable edge line on the basis of information about the intersection; and an integrating step of integrating the edge lines selected in the weldable-edge-line extracting step and the weldable-edge-line adding step into a continuous welding line.