发明名称 Computing device, storage medium and method for analyzing step formatted file of measurement graphics
摘要 A computing device performs a method to analyze a STEP (standardized exchange of product) formatted file of a measurement graphics, and to predefine one or more graphic keywords and graphics analysis modes in a storage device of the computing device. The method extracts a content keyword and a content character string from each line of the STEP formatted file, and analyzes the content keywords and the content character strings to obtain shell data of the graphic elements. The method further draws a geometrical shell of the measurement graphics according to the shell data using a curve meshing method, marks boundaries of the geometrical shell using an indication mark, and displays the measurement graphics with the indication mark on a display device of the computing device.
申请公布号 US9064088(B2) 申请公布日期 2015.06.23
申请号 US201213555085 申请日期 2012.07.21
申请人 HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.;HON HAI PRECISION INDUSTRY CO., LTD. 发明人 Chang Chih-Kuang;Wu Xin-Yuan;Nie Bo
分类号 G06F17/22;G06F17/50 主分类号 G06F17/22
代理机构 Novak Druce Connolly Bove + Quigg LLP 代理人 Novak Druce Connolly Bove + Quigg LLP
主权项 1. A computing device, comprising: a storage device; at least one processor; and one or more programs stored in the storage device and executed by the at least one processor, the one or more programs comprising: a keyword defining module that predefines graphic keywords for graphic elements of a measurement graphics, sets graphics analysis modes for analyzing the measurement graphics, and stores the graphic keywords and the graphics analysis modes in the storage device; a file content analysis module that obtains a STEP (standardized exchange of product) formatted file of the measurement graphics from the storage device, extracts a content keyword and a content character string from each line of the STEP formatted file, and stores the content keywords and the content character strings into a data array; a graphic element obtaining module that analyzes the content keywords and the content character strings to obtain shell data of the graphic elements by performing steps of: reading one of the content keywords from the data array; determining whether the content keyword matches one of the predefined graphic keywords; reading another content keyword from the data array if the content keyword does not match one of the predefined graphic keywords; and selecting a graphics analysis mode from the predefined graphics analysis modes stored in the storage device according to the content keyword, obtaining the geometrical data of the graphics element by analyzing the content character using the graphics analysis mode, and extracting the shell data of the geometrical element from the geometrical data, if the content keyword matches one of the predefined graphic keywords; and a shell surface drawing module that draws a geometrical shell of the measurement graphics according to the shell data using a curve meshing method, marks boundaries of the geometrical shell using an indication marks, and displays the measurement graphics with the indication marks on a display device of the computing device.
地址 Shenzhen CN