[go: up one dir, main page]

CN101739432A - System and method for searching graphic elements - Google Patents

System and method for searching graphic elements Download PDF

Info

Publication number
CN101739432A
CN101739432A CN200810305531A CN200810305531A CN101739432A CN 101739432 A CN101739432 A CN 101739432A CN 200810305531 A CN200810305531 A CN 200810305531A CN 200810305531 A CN200810305531 A CN 200810305531A CN 101739432 A CN101739432 A CN 101739432A
Authority
CN
China
Prior art keywords
pel
view diagram
search
graphic elements
selected pel
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN200810305531A
Other languages
Chinese (zh)
Inventor
王寄清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN200810305531A priority Critical patent/CN101739432A/en
Publication of CN101739432A publication Critical patent/CN101739432A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for searching graphic elements. The method comprises the following steps of: selecting graphic elements to be searched for; acquiring frame IDs of the selected graphic elements so as to record the number of graphic elements; acquiring all graphic elements and attribute values thereof in a standard graphic library; acquiring the external dimensions and the textures of the selected graphic elements in the graphic library in sequence; and searching the graphic elements matched with the selected graphic elements in terms of external dimension, texture and three-view graph in the standard graphic library, adding the labeling information to the selected graphic elements if the matched graphic elements are searched, and otherwise, outputting the search failure information. The invention also provides a system for searching graphic elements. By the method and the device, the graphic elements which are matched with the selected graphic elements can be automatically searched in the standard graphic library according to the graphic elements selected by a user.

Description

图形元件查找系统及方法 Graphical component search system and method

技术领域technical field

本发明涉及一种图形设计系统及方法,尤其涉及一种图形元件查找系统及方法。The invention relates to a graphic design system and method, in particular to a graphic element search system and method.

背景技术Background technique

一套模具生产工具(如一套模架)对应只能生产一种元件,而一套产品(如一个机箱)是由许多相同或不相同的元件组成,这就需要很多种生产这些不同元件的生产工具进行生产。当设计者需要开发一套新产品时,通常先人工查找该新产品中包含的元件是否已经在仓库中存在,如果该元件不存在,则需要利用图形设计软件(如AutoCAD)设计该元件的二维图形,然后将该元件的二维图形交给生产单位,生产单位再依照该元件的二维图形,利用模具生产工具生产出该元件。但是,这种人工查找方式容易出现遗漏和错误,导致元件的重复生产,浪费生产资料,同时也会增加元件的库存量。A set of mold production tools (such as a set of mold bases) can only produce one type of component, while a set of products (such as a chassis) is composed of many identical or different components, which requires many kinds of production of these different components. tools for production. When a designer needs to develop a new product, he usually manually finds out whether the component contained in the new product already exists in the warehouse. If the component does not exist, he needs to use graphic design software (such as AutoCAD) to design a second version of the component dimensional graphics, and then give the two-dimensional graphics of the component to the production unit, and the production unit will use the mold production tool to produce the component according to the two-dimensional graphics of the component. However, this manual search method is prone to omissions and errors, which leads to repeated production of components, waste of production materials, and also increases the inventory of components.

发明内容Contents of the invention

鉴于以上内容,有必要提供一种图形元件查找系统,其可根据用户选择的图元,自动在标准图形库中查找与所选图元匹配的图元。In view of the above, it is necessary to provide a graphic element search system, which can automatically search for a graphic element matching the selected graphic element in a standard graphic library according to the graphic element selected by the user.

此外,还有必要提供一种图形元件查找方法,其可根据用户选择的图元,自动在标准图形库中查找与所选图元匹配的图元。In addition, it is also necessary to provide a graphic component search method, which can automatically search for a graphic element matching the selected graphic element in a standard graphic library according to the graphic element selected by the user.

一种图形元件查找系统,包括主机,所述主机包括模具设计单元,用于生成各种工件的二维图形,所述主机还包含有图元查找单元,该图元查找单元包括:获取模块,用于在用户选择需要查找的图元后,获取所选图元的图框ID,并以获取的图框ID的个数记录用户所选图元的个数;所述获取模块,还用于从模具设计单元的标准图形库中获取所有图元及其属性值,所述属性值包括图元的外形尺寸、材质、三视图、版本号和产品号;所述获取模块,还用于从模具设计单元的图形数据库中依次获取所选图元的外形尺寸和材质;查找模块,用于在所述标准图形库中查找外形尺寸、材质和三视图均与所选图元匹配的图元;标注模块,用于当查找模块在所述标准图形库中找到与所选图元匹配的图元时,对该所选图元添加标注信息;输出模块,用于当查找模块没有在标准图形库31中找到与所选图元匹配的图元时,输出查找失败的信息。A graphic element search system, including a host, the host includes a mold design unit for generating two-dimensional graphics of various workpieces, the host also includes a graphic element search unit, the graphic element search unit includes: an acquisition module, After the user selects the graphic element that needs to be searched, obtain the frame ID of the selected graphic element, and record the number of the graphic element selected by the user with the number of the acquired frame ID; the acquisition module is also used to Obtain all graphics elements and their attribute values from the standard graphics library of the mold design unit, the attribute values include the outline size, material, three views, version number and product number of the graphics elements; the acquisition module is also used to obtain from the mold The external dimensions and materials of the selected graphic elements are sequentially obtained from the graphic database of the design unit; the search module is used to search for the graphic entities whose external dimensions, materials and three views all match the selected graphic elements in the standard graphic library; mark Module, used to add annotation information to the selected graphic entity when the search module finds a graphic entity matching the selected graphic entity in the standard graphic library; output module, used when the search module is not in the standard graphic library 31 When a primitive that matches the selected primitive is found in , output the message that the search failed.

一种图形元件查找方法,包括如下步骤:(a)选择需要查找的图元;(b)获取所选图元的图框ID,并以获取的图框ID的个数记录所选图元的个数;(c)获取标准图形库中的所有图元及其属性值,所述属性值包括图元的外形尺寸、材质、三视图、版本号和产品号;(d)从图形数据库中依次获取所选图元的外形尺寸和材质;(e)在所述标准图形库中查找外形尺寸、材质和三视图均与一个所选图元匹配的图元;(f)如果步骤(e)中找到匹配的图元,则对该所选图元添加标注信息,然后返回步骤(d),继续在标准图形库中查找外形尺寸、材质和三视图均与下一个所选图元匹配的图元;(g)如果步骤(e)中没有找到匹配的图元,则输出查找失败的信息,然后返回步骤(d),直到所有的所选图元查找完毕。A method for finding graphic elements, comprising the steps of: (a) selecting a graphic element to be searched; (b) obtaining the frame ID of the selected graphic element, and recording the number of the selected graphic element with the number of the acquired frame ID number; (c) obtain all graphic elements and their attribute values in the standard graphics library, and the attribute values include the outline size, material, three views, version number and product number of the graphic elements; (d) sequentially from the graphic database Obtain the external dimensions and the material of the selected graphic element; (e) search for a graphic entity whose external dimension, material and three views all match a selected graphic entity in the standard graphics library; (f) if in step (e) If a matching primitive is found, label information will be added to the selected primitive, and then return to step (d), and continue to search for the primitive in the standard graphics library whose external dimensions, materials and three views all match the next selected primitive ; (g) If no matching graphic entity is found in step (e), then output the information that the search failed, and then return to step (d), until all the selected graphic entities are searched.

相较于现有技术,所述图形元件查找系统及方法,可根据用户选择的图元,自动在标准图形库中查找与所选图元匹配的图元,从而防止人工查找方式出现的遗漏和错误,降低元件的库存量。Compared with the prior art, the graphic element search system and method can automatically search for graphic elements that match the selected graphic elements in the standard graphics library according to the graphic elements selected by the user, thereby preventing omissions and errors caused by manual search methods. Error, reduce component inventory.

附图说明Description of drawings

图1是本发明图形元件查找系统的较佳实施例的系统架构图。FIG. 1 is a system architecture diagram of a preferred embodiment of the graphic element search system of the present invention.

图2是图1中所示图元查找单元的功能模块图。FIG. 2 is a functional block diagram of the primitive search unit shown in FIG. 1 .

图3是本发明图形元件查找方法较佳实施例的流程图。Fig. 3 is a flow chart of a preferred embodiment of the graphic element search method of the present invention.

具体实施方式Detailed ways

如图1所示,是本发明图形元件查找系统的较佳实施例的系统架构图。该系统主要包括显示器1、主机2、键盘3及鼠标4,所述主机2包含有模具设计单元20及图元查找单元21。其中,模具设计单元20是一种模具自动设计软件(如AutoCAD),用于在模具设计中生成各种工件的二维图形。所述模具设计单元20包括一个图形数据库30和标准图形库31,所述图形数据库30用于存储模具设计单元20生成的工件的图元及每个图元的属性值。所述图元的属性值包括:图元的外形尺寸、材质、版本号和产品号等。所述标准图形库31用于存储用户事先录入的已有图元及每个已有图元的属性值,所述已有图元的属性值包括:图元的外形尺寸、材质、三视图、版本号和产品号等。As shown in FIG. 1 , it is a system architecture diagram of a preferred embodiment of the graphic element search system of the present invention. The system mainly includes a display 1 , a host 2 , a keyboard 3 and a mouse 4 , and the host 2 includes a mold design unit 20 and a graphic element search unit 21 . Wherein, the mold design unit 20 is a mold automatic design software (such as AutoCAD), which is used to generate two-dimensional graphics of various workpieces in mold design. The mold design unit 20 includes a graphics database 30 and a standard graphics library 31 , the graphics database 30 is used to store the graphic elements of the workpiece generated by the mold design unit 20 and the attribute values of each graphic element. The attribute value of the graphic element includes: the external dimension, material, version number and product number of the graphic element. The standard graphics storehouse 31 is used to store the existing graphics primitives and the attribute values of each existing graphics primitives entered by the user in advance. The attribute values of the existing graphics primitives include: external dimensions, materials, three views, version number, product number, etc.

所述图元查找单元21用于根据用户选择的模具设计单元20生成的图元,自动在标准图形库31中查找与所选图元匹配的图元,并在找到与所选图元匹配的图元后,在所选图元的旁边插入一个标注方块,同时在标注方块内添加标注信息。The graphic element search unit 21 is used to automatically search for a graphic element matching the selected graphic element in the standard graphics library 31 according to the graphic element generated by the mold design unit 20 selected by the user, and find the graphic element matching the selected graphic element. After the graphic element, insert a label box next to the selected graphic entity, and add label information in the label box at the same time.

所述主机2连接有显示器1,用于显示模具设计单元20生成的图元和图元查找单元21插入的标注方块等。所述键盘3和鼠标4用作输入设备,可以在生成图元和查找图元时输入数据。The host 2 is connected with a display 1 for displaying the graphic elements generated by the mold design unit 20 and the marked blocks inserted by the graphic element search unit 21 . The keyboard 3 and the mouse 4 are used as input devices, and can input data when generating and searching graphics primitives.

如图2所示,是图1中所示图元查找单元21的功能模块图。所述图元查找单元21包括获取模块210、查找模块211、标注模块212和输出模块213。本发明所称的模块是完成一特定功能的计算机程序段,比程序更适合于描述软件在计算机中的执行过程,因此在本发明以下对软件描述中都以模块描述。As shown in FIG. 2 , it is a functional block diagram of the primitive search unit 21 shown in FIG. 1 . The primitive search unit 21 includes an acquisition module 210 , a search module 211 , a labeling module 212 and an output module 213 . The module referred to in the present invention is a computer program segment that completes a specific function, which is more suitable than a program to describe the execution process of software in a computer, so the following description of software in the present invention is described as a module.

所述获取模块210用于在用户选择需要查找的图元后,获取所选图元的图框ID,并以获取的图框ID的个数记录用户所选图元的个数。The acquiring module 210 is configured to acquire the frame ID of the selected graphic entity after the user selects the graphic entity to be searched, and record the number of graphic entities selected by the user with the number of acquired frame IDs.

所述获取模块210还用于获取标准图形库31中的所有图元及其属性值。其中,图元的属性值包括:图元的外形尺寸、材质、三视图、版本号和产品号等。The obtaining module 210 is also used to obtain all graphic elements and their attribute values in the standard graphics library 31 . Wherein, the attribute value of the primitive includes: the external dimension, material, three views, version number and product number of the primitive, etc.

所述获取模块210还用于从图形数据库30中依次获取所选图元的外形尺寸和材质。The obtaining module 210 is further configured to sequentially obtain the external dimensions and materials of the selected graphic elements from the graphics database 30 .

所述查找模块211用于在标准图形库31中查找外形尺寸、材质和三视图均与所选图元匹配的图元。具体而言,首先,查找模块211在标准图形库31中查找外形尺寸和材质与从图形数据库30中获取的所选图元的外形尺寸和材质匹配的图元。如果不存在匹配的图元,则判断查找失败,如果存在匹配的图元,则计算出所选图元的三视图,并继续比较查找到的图元的三视图与计算出的所选图元的三视图是否匹配。The search module 211 is used to search the standard graphic library 31 for a graphic entity whose external dimension, material and three views all match the selected graphic entity. Specifically, first, the search module 211 searches the standard graphics library 31 for graphics entities whose external dimensions and materials match those of the selected graphics entity acquired from the graphics database 30 . If there is no matching primitive, it is judged that the search fails, if there is a matching primitive, calculate the three-view of the selected primitive, and continue to compare the three-view of the found primitive with the calculated selected primitive Whether the three views of the match.

如果比较结果匹配,则判断查找成功,如果比较结果不匹配,则对计算出的所选图元的三视图进行镜像处理,然后,再一次比较该查找到的图元的三视图与所选图元镜像处理后的三视图是否匹配。If the comparison result matches, it is judged that the search is successful. If the comparison result does not match, the calculated three-view image of the selected primitive is mirrored, and then, the three-view image of the found primitive is compared with the selected image again. Whether the three views after meta-mirror processing match.

如果比较结果不匹配,则判断查找失败,如果比较结果匹配,则判断查找成功。所述镜像处理是指对所选图元的三视图进行旋转操作(例如,顺时针旋转90度)。在本实施例中,所选图元的三视图是指主视图、右视图和下视图。If the comparison result does not match, it is judged that the search has failed, and if the comparison result matches, it is judged that the search is successful. The mirror image processing refers to performing a rotation operation on the three views of the selected primitive (for example, rotating 90 degrees clockwise). In this embodiment, the three views of the selected graphic element refer to the front view, the right view and the bottom view.

其中,所述查找模块211对所选图元的三视图进行计算的步骤包括:先根据所选图元的外形尺寸计算其包围集,然后对所选图元进行过滤处理,过滤掉所选图元的图框、DIM层、几何公差标签和注解文字,最后根据所选图元的外形尺寸对所选图元的包围集进行偏移,得到三个偏移后的包围集,该三个偏移后的包围集即所选图元的三视图。Wherein, the step of the search module 211 calculating the three-view of the selected graphic element includes: first calculating its enclosing set according to the outline size of the selected graphic element, and then filtering the selected graphic element to filter out the selected graphic element. The drawing frame, DIM layer, geometric tolerance label and annotation text of the element, and finally offset the enclosing set of the selected entity according to the outline size of the selected entity, and obtain three offset enclosing sets, the three offset The moved bounding set is the three-view of the selected entity.

所述标注模块212用于当查找模块211在标准图形库31中找到与所选图元匹配的图元时,在所选图元的旁边插入一个标注方块,并在该标注方块内添加标注信息。所述标注信息包括:标准图形库31中与所选图元匹配的图元的版本号和产品号。The labeling module 212 is used to insert a labeling block next to the selected graphic element when the search module 211 finds a graphic element matching the selected graphic element in the standard graphics library 31, and add labeling information in the labeling box . The labeling information includes: the version number and product number of the graphic element matching the selected graphic element in the standard graphics library 31 .

所述输出模块213用于当查找模块211没有在标准图形库31中找到与所选图元匹配的图元时,输出查找失败的信息。The output module 213 is configured to output search failure information when the search module 211 does not find a graphic element matching the selected graphic element in the standard graphics library 31 .

如图3所示,是本发明图形元件查找方法较佳实施例的流程图。步骤S41,选择需要查找的图元。As shown in FIG. 3 , it is a flow chart of a preferred embodiment of the graphic element search method of the present invention. Step S41, selecting the graphics entity to be searched.

步骤S42,获取模块210获取所选图元的图框ID,并以获取的图框ID的个数记录用户所选图元的个数。In step S42, the acquiring module 210 acquires the frame IDs of the selected graphic entities, and records the number of graphic entities selected by the user with the number of acquired frame IDs.

步骤S43,获取模块210获取标准图形库31中的所有图元及其属性值。其中,图元的属性值包括:图元的外形尺寸、材质、三视图、版本号和产品号等。In step S43 , the acquisition module 210 acquires all graphics entities and their attribute values in the standard graphics library 31 . Wherein, the attribute value of the primitive includes: the external dimension, material, three views, version number and product number of the primitive, etc.

步骤S44,获取模块210从图形数据库30中依次获取所选图元的外形尺寸和材质。In step S44, the obtaining module 210 sequentially obtains the external dimensions and materials of the selected graphic elements from the graphic database 30 .

步骤S45,查找模块211在标准图形库31中查找外形尺寸、材质和三视图均与所选图元匹配的图元。In step S45, the search module 211 searches the standard graphic library 31 for a graphic entity whose external dimension, material and three views all match the selected graphic entity.

步骤S46,查找模块211判断是否查找与所选图元匹配的图元。具体而言,首先,查找模块211在标准图形库31中查找外形尺寸和材质与从图形数据库30中获取的所选图元的外形尺寸和材质匹配的图元。如果不存在匹配的图元,则判断查找失败,执行步骤S48,否则,如果存在匹配的图元,则计算出所选图元的三视图,并继续比较查找到的图元的三视图与计算出的所选图元的三视图是否匹配。In step S46, the search module 211 determines whether to search for a graphic entity matching the selected graphic entity. Specifically, first, the search module 211 searches the standard graphics library 31 for graphics entities whose external dimensions and materials match those of the selected graphics entity acquired from the graphics database 30 . If there is no matching graphic element, it is judged that the search fails, and step S48 is performed; otherwise, if there is a matching graphic element, then the three-view of the selected graphic element is calculated, and the three-view of the graphic element that is found is compared with the calculation. Check whether the three views of the selected entities match.

如果比较结果匹配,则判断查找成功,执行步骤S47,否则,如果比较结果不匹配,则对计算出的所选图元的三视图进行镜像处理,然后,再一次比较该查找到的图元的三视图与所选图元镜像处理后的三视图是否匹配。If the comparison result matches, it is judged that the search is successful, and step S47 is performed; otherwise, if the comparison result does not match, the calculated three-view image of the selected graphic element is mirrored, and then, the image of the searched graphic element is compared again. Whether the three views match the three views after mirroring the selected entity.

如果比较结果不匹配,则判断查找失败,执行步骤S48,否则,如果比较结果匹配,则判断查找成功,执行步骤S47。If the comparison result does not match, it is judged that the search fails, and step S48 is executed; otherwise, if the comparison result matches, it is judged that the search is successful, and step S47 is executed.

所述镜像处理是指对所选图元的三视图进行旋转操作。在本实施例中,所选图元的三视图是指主视图、右视图和下视图。The mirror image processing refers to performing a rotation operation on the three views of the selected primitive. In this embodiment, the three views of the selected graphic element refer to the front view, the right view and the bottom view.

其中,所述查找模块211对所选图元的三视图进行计算的步骤包括:先根据所选图元的外形尺寸计算其包围集,然后对所选图元进行过滤处理,过滤掉所选图元的图框、DIM层、几何公差标签和注解文字,最后根据所选图元的外形尺寸对所选图元的包围集进行偏移,得到三个偏移后的包围集,该三个偏移后的包围集即所选图元的三视图。Wherein, the step of the search module 211 calculating the three-view of the selected graphic element includes: first calculating its enclosing set according to the outline size of the selected graphic element, and then filtering the selected graphic element to filter out the selected graphic element. The drawing frame, DIM layer, geometric tolerance label and annotation text of the element, and finally offset the enclosing set of the selected entity according to the outline size of the selected entity, and obtain three offset enclosing sets, the three offset The moved bounding set is the three-view of the selected entity.

步骤S47,标注模块212在所选图元的旁边插入一个标注方块,并在该标注方块内添加标注信息,然后执行步骤S49。所述标注信息包括:标准图形库31中与所选图元匹配的图元的版本号和产品号。In step S47, the labeling module 212 inserts a labeling box next to the selected graphic element, and adds labeling information in the labeling box, and then executes step S49. The labeling information includes: the version number and product number of the graphic element matching the selected graphic element in the standard graphics library 31 .

步骤S48,输出模块213输出查找失败的信息,然后执行步骤S49。In step S48, the output module 213 outputs information that the search fails, and then executes step S49.

步骤S49,查找模块211判断用户所选的所有图元是否查找完毕,如果还有图元没有查找完毕,则流程转到步骤S44,继续在标准图形库31中查找外形尺寸、材质和三视图均与下一个图元匹配的图元。如果所有图元都已查找完毕,则流程结束。Step S49, the search module 211 judges whether all the graphic elements selected by the user have been searched, if there are still graphic elements that have not been searched, then the flow process goes to step S44, and continues to search the standard graphics library 31 for external dimensions, materials and three-view uniformity. The primitive to match the next primitive. If all primitives have been found, the process ends.

最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements can be made without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. a searching graphic elements method is characterized in that, this method comprises the steps:
(a) select the pel that to search;
(b) obtain the picture frame ID of selected pel, and write down the number of selected pel with the number of the picture frame ID that obtains;
(c) obtain all pels and property value thereof in the test pattern storehouse, described property value comprises physical dimension, material, three-view diagram, version number and the production number of pel;
(d) from graphic data base, obtain the physical dimension and the material of selected pel successively;
(e) in described test pattern storehouse, search physical dimension, material and three-view diagram all with the pel of a selected pel coupling;
(f) if find the pel of coupling in the step (e), then this selected pel is added markup information, return step (d) then, continue in the test pattern storehouse, to search the pel that physical dimension, material and three-view diagram all mate with next selected pel;
(g) if do not find the pel of coupling in the step (e), then the information of failure is searched in output, returns step (d) then, searches up to all selected pels to finish.
2. searching graphic elements method as claimed in claim 1 is characterized in that, step (e) comprising:
At first, in described test pattern storehouse, search the pel of physical dimension and material and selected pel coupling, if there is no Pi Pei pel, then judge and search failure, execution in step (g), otherwise, if there is the pel of coupling, then calculate the three-view diagram of selected pel, and whether the three-view diagram of the three-view diagram that continues the pel relatively find and the selected pel that calculates mates;
If comparative result coupling, then judge and search successfully, execution in step (f), otherwise, if comparative result does not match, then the three-view diagram to the selected pel that calculates carries out mirror image processing, and then, relatively whether the three-view diagram after the three-view diagram of this pel that finds and the selected pel mirror image processing mates again;
If comparative result does not match, then judge and search failure, execution in step (g), otherwise, if the comparative result coupling is then judged and is searched successfully execution in step (f).
3. searching graphic elements method as claimed in claim 2 is characterized in that, the three-view diagram that described step calculates selected pel comprises:
Calculate it according to the physical dimension of selected pel and surround collection;
Selected pel is carried out filtration treatment, filter out picture frame, DIM layer, the geometric tolerances label of selected pel and explain literal; And
Be offset according to the physical dimension of the selected pel encirclement collection to selected pel, obtain three encirclement collection after the skew, the encirclement collection after these three skews is the three-view diagram of selected pel.
4. searching graphic elements method as claimed in claim 2 is characterized in that, the three-view diagram of selected pel is meant front view, right view and following view.
5. searching graphic elements method as claimed in claim 1 is characterized in that, described markup information comprises: the version number and the production number of the pel that mates with selected pel in the test pattern storehouse.
6. a system for searching graphic elements comprises main frame, and described main frame comprises the mould design cell, is used to generate the X-Y scheme of various workpiece, it is characterized in that, described main frame also includes pel and searches the unit, and this pel is searched the unit and comprised:
Acquisition module is used for obtaining the picture frame ID of selected pel behind the pel that the user selects to search, and with the number of the selected pel of number recording user of the picture frame ID that obtains;
Described acquisition module also is used for obtaining all pels and property value thereof from the test pattern storehouse of mould design cell, and described property value comprises physical dimension, material, three-view diagram, version number and the production number of pel;
Described acquisition module also is used for obtaining successively from the graphic data base of mould design cell the physical dimension and the material of selected pel;
Search module, be used for searching in described test pattern storehouse physical dimension, material and three-view diagram all with the pel of selected pel coupling;
Labeling module is used for when searching module when finding pel with selected pel coupling in described test pattern storehouse this selected pel being added markup information;
Output module is used for when searching module when not finding pel with selected pel coupling in test pattern storehouse 31, and the information of failure is searched in output.
7. system for searching graphic elements as claimed in claim 6 is characterized in that, the described module of searching is searched physical dimension, material and three-view diagram and all comprised with the pel of selected pel coupling in described test pattern storehouse:
At first, in described test pattern storehouse, search the pel of physical dimension and material and selected pel coupling, if there is no Pi Pei pel, then judge and search failure, if there is the pel of coupling, then calculate the three-view diagram of selected pel, and whether the three-view diagram of the three-view diagram that continues the pel relatively find and the selected pel that calculates mates;
If comparative result coupling, judge then and search successfully that if comparative result does not match, then the three-view diagram to the selected pel that calculates carries out mirror image processing, then, again relatively the three-view diagram after the three-view diagram of this pel that finds and the selected pel mirror image processing whether mate;
If comparative result does not match, then judge and search failure, if the comparative result coupling is then judged and searched successfully.
8. system for searching graphic elements as claimed in claim 7 is characterized in that, describedly searches the three-view diagram that module calculates selected pel and comprises:
Calculate it according to the physical dimension of selected pel and surround collection;
Selected pel is carried out filtration treatment, filter out picture frame, DIM layer, the geometric tolerances label of selected pel and explain literal; And
Be offset according to the physical dimension of the selected pel encirclement collection to selected pel, obtain three encirclement collection after the skew, the encirclement collection after these three skews is the three-view diagram of selected pel.
9. system for searching graphic elements as claimed in claim 7 is characterized in that, described mirror image processing is meant that the three-view diagram to selected pel is rotated operation.
10. system for searching graphic elements as claimed in claim 6 is characterized in that, described markup information comprises: the version number and the production number of the pel that mates with selected pel in the test pattern storehouse.
CN200810305531A 2008-11-13 2008-11-13 System and method for searching graphic elements Pending CN101739432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810305531A CN101739432A (en) 2008-11-13 2008-11-13 System and method for searching graphic elements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810305531A CN101739432A (en) 2008-11-13 2008-11-13 System and method for searching graphic elements

Publications (1)

Publication Number Publication Date
CN101739432A true CN101739432A (en) 2010-06-16

Family

ID=42462923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810305531A Pending CN101739432A (en) 2008-11-13 2008-11-13 System and method for searching graphic elements

Country Status (1)

Country Link
CN (1) CN101739432A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106709038A (en) * 2016-12-29 2017-05-24 武汉华安科技股份有限公司 Method and system for citing standard design drawing blocks
CN107463731A (en) * 2017-07-05 2017-12-12 西安理工大学 A kind of automatic classified statistic method of steel structure work amount based on Tekla
CN108733442A (en) * 2017-04-18 2018-11-02 西安融成科技有限公司 A kind of electronic chart escape character structure system based on vector symbol description language
CN117195338A (en) * 2023-09-11 2023-12-08 广州水纹厨房工程设计有限公司 Automatic generation method and device of product design diagram, electronic equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106709038A (en) * 2016-12-29 2017-05-24 武汉华安科技股份有限公司 Method and system for citing standard design drawing blocks
CN106709038B (en) * 2016-12-29 2020-05-01 武汉华安科技股份有限公司 Reference method and reference system for standard design pattern block
CN108733442A (en) * 2017-04-18 2018-11-02 西安融成科技有限公司 A kind of electronic chart escape character structure system based on vector symbol description language
CN107463731A (en) * 2017-07-05 2017-12-12 西安理工大学 A kind of automatic classified statistic method of steel structure work amount based on Tekla
CN117195338A (en) * 2023-09-11 2023-12-08 广州水纹厨房工程设计有限公司 Automatic generation method and device of product design diagram, electronic equipment and storage medium
CN117195338B (en) * 2023-09-11 2024-05-28 广州水纹厨房工程设计有限公司 Automatic generation method and device of product design diagram, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102598002B (en) System and method for producing editable three-dimensional models
US7746341B2 (en) System and method for parsing point-cloud data
CN106997613B (en) 3D model generation from 2D images
Denning et al. Meshgit: Diffing and merging meshes for polygonal modeling
CN102542093A (en) Designing a modeled object within a session of a computer-aided design system interacting with a database
Doboš et al. 3D Timeline: Reverse engineering of a part‐based provenance from consecutive 3D models
Spina et al. Point cloud segmentation for cultural heritage sites
CN116324783A (en) Method and system for providing three-dimensional computer-aided design (CAD) models in a CAD environment
CN101739432A (en) System and method for searching graphic elements
US20180285511A1 (en) Information processing apparatus, design support method, and recording medium storing design support program
CN110647826A (en) Method, device, computer equipment and storage medium for obtaining training pictures of commodities
CN113642054A (en) CAD drawing data processing method, device and storage medium
US20070038668A1 (en) Object matching management system enabling instantaneous reflection of change in object information in operation terminals
US8630477B2 (en) Electronic device and method for outputting measurement data
CN111133474B (en) Image processing apparatus, image processing method, and computer-readable recording medium
CN111985015B (en) A system and method for automatically generating BOM using VBA function
TW201020833A (en) System and method for searching graphic elements
CN108319750B (en) Subway engineering collaborative design system based on DWG file splitting and recombining method
US20190156265A1 (en) Section procedure tracking system and section procedure tracking system method
CN119722873B (en) Drawing format conversion method, device, computer equipment and storage medium
US20120215480A1 (en) Computing device and programming method for a three-dimensional measurement machine
JP5651446B2 (en) Drawing creation support system
CN119004190B (en) A method, system and medium for generating enterprise patent information classification rules
CN114819458B (en) Simulation model construction method and simulation model construction device
CN101290637A (en) Drawing and file merging system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100616