Patent Document ID: 8250484
Application ID: 12853302
Patent Status: 1

Claim One:
1. A method for generating edge detection commands of an object using a computer, the computer providing a display interface, the display interface comprising an image area and a data exchange format (DXF) display area, the method comprising: loading a DXF image of the object and displaying the DXF image on the DXF display area; selecting a measurement tool to measure the DXF image and selecting a DXF feature on the DXF image; obtaining a size of the selected DXF feature and a size of the image area; determining whether the size of the selected DXF feature is larger than the size of the image area, upon the condition that the measurement tool is appropriate to measure the selected DXF feature; obtaining location information of the selected DXF feature in the DXF display area, and the location information of the selected DXF feature comprises coordinates of a center of the selected DXF feature, an angle between the selected DXF feature and positive direction of a horizontal line; generating an edge detection command of the selected DXF feature according to the measurement tool, upon the condition that the size of the selected DXF feature is not larger than the size of the image area, the edge detection command according to the measurement tool comprising the location information of the measurement tool, and the location information of the measurement tool comprising a center of the measurement tool, an angle between the measurement tool and positive direction of the horizontal line, and an edge detection range of the measurement tool; or reselecting at least two measurement tools, and generating an edge detection command corresponding to each of the reselected measurement tools, upon the condition that the size of the selected DXF feature is larger than the size of the image area, the edge detection command corresponding to each of the reselected measurement tools comprising location information of each of the reselected the measurement tools, an angle between each of the reselected the measurement tools and positive direction of the horizontal line, and an edge detection range of each of the reselected the measurement tools, wherein coordinates of a center of each of the reselected measurement tool of the location information of the each of the reselected the measurement tools is confirmed by: smoothing the selected DXF feature by removing rough edge of the selected DXF feature; dividing the selected DXF feature averagely according to a number of the reselected measurement tools, the divided DXF feature having at least two node points corresponding to the reselected measurement tools; and determining each of the node points as the center of one of the reselected measurement tools.