Tolerance marking system and method

Through the tolerance labeling system, the database and software interaction modules are used to parse user instructions and automatically execute tolerance labeling, which solves the problem of cumbersome and inefficient tolerance labeling in the prior art, improves efficiency and reduces user fatigue.

CN119888008APending Publication Date: 2025-04-25GZK INTELLIGENT POWER TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411795232.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, the use of drawing software to mark the tolerance of workpieces is cumbersome and inefficient, resulting in fatigue and even damage to the user's fingers and wrists.

Method used

It provides a tolerance labeling system, including a database, software interaction module, user interaction module, analysis processing module and tolerance labeling module. By analyzing user instructions and communicating with drawing software, tolerance labeling operations are automatically performed to reduce the number of mouse clicks.

Benefits of technology

It improves the efficiency of tolerance marking, reduces user hand fatigue, and supports tolerance marking in different drawing software, which is more versatile.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119888008A_ABST
    Figure CN119888008A_ABST
Patent Text Reader

Abstract

The invention provides a tolerance marking system and method.The tolerance marking method comprises the following steps that communication connection is established between a software interaction module and drawing software, and a to-be-edited drawing is opened through the drawing software; after obtaining a tagged object in the drawing, inputting a user instruction in the user interaction module; an analysis processing module reads specific information of the annotation object, and analyzes the user instruction based on an annotation instruction rule table and a tolerance comparison table stored in a database; and the tolerance marking module adds / modifies the tolerance of the marked object according to the specific information of the marked object and the instruction analysis result, and transmits the added / modified content to the drawing software through the software interaction module and executes the content. According to the scheme, after the user instruction is input, the input user instruction is analyzed based on the annotation instruction rule table and the tolerance comparison table stored in the database, and then tolerance annotation is executed, so that a large amount of mouse clicking operation is replaced, and the tolerance annotation work is more efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of workpiece dimension marking, and in particular to a tolerance marking system and method. Background Art

[0002] At present, 2D / 3D drawing software generally has a dimensioning function. When marking the size of a workpiece, it is usually necessary to mark the tolerance of the size at the same time. The tolerance of the product is an important factor affecting the accuracy and reliability of the product. It refers to the allowable variation in part size and geometric parameters, and is a concrete manifestation of the expression of mechanical accuracy.

[0003] Current 3D software such as SolidWorks requires the user to select and click multiple times in a dialog box that pops up when marking tolerances on workpieces. This process is cumbersome and inefficient, and long-term mouse clicking can cause fatigue or even damage to the user's fingers and wrists. Summary of the invention

[0004] Based on the above problems existing in the prior art, the present invention aims to solve the technical problems in the prior art that the process of using drawing software to mark the tolerance of workpieces is cumbersome and inefficient, and that long-time mouse clicking may cause fatigue or even injury to the user's fingers and wrists.

[0005] The present invention provides a tolerance marking system, which comprises:

[0006] A database storing a marking instruction rule table and a tolerance comparison table;

[0007] A software interaction module, which is connected to the drawing software for obtaining the marked objects in the drawing software;

[0008] A user interaction module, used for inputting user instructions;

[0009] A parsing processing module, which establishes communication connections with the database, the software interaction module and the user interaction module respectively, is used to read the specific information of the marked object, and parse the user instruction based on the marking instruction rule table and the tolerance comparison table in the database to obtain an instruction parsing result;

[0010] The tolerance marking module establishes a communication connection with the analysis and processing module, and is used to add / modify the tolerance of the marked object according to the specific information of the marked object and the instruction analysis result, and transmits the added / modified content to the drawing software through the software interaction module for execution.

[0011] According to an embodiment of the present invention, the labeling instruction rule table records a variety of labeling instructions and corresponding labeling operations;

[0012] The user instructions include tolerance data, marking instructions and tolerance code levels.

[0013] According to an embodiment of the present invention, the software interaction module establishes a communication connection with a secondary development interface of the drawing software.

[0014] According to an embodiment of the present invention, the tolerance marking system further comprises a cache module in communication with the user interaction module, for at least caching user instructions input and copied by the user interaction module during one operation of the tolerance marking system.

[0015] According to an embodiment of the present invention, the user instructions are all ASCII instructions.

[0016] The present invention also provides a tolerance marking method, which is implemented based on the tolerance marking system, and comprises the following steps:

[0017] Establishing a communication connection between the software interaction module and the drawing software, and using the drawing software to open the drawing to be edited;

[0018] After obtaining the marked objects in the drawing, input user instructions in the user interaction module;

[0019] The parsing processing module reads and obtains the specific information of the marked object, and parses the user instruction based on the marking instruction rule table and tolerance comparison table stored in the database to obtain an instruction parsing result;

[0020] The tolerance annotation module adds / modifies the tolerance of the annotation object according to the specific information of the annotation object and the instruction parsing result, and transmits the added / modified content to the drawing software through the software interaction module for execution.

[0021] According to an embodiment of the present invention, after obtaining the marked object in the drawing, inputting a user instruction in the user interaction module includes the following steps:

[0022] After obtaining the marked object in the drawing software, a user interaction interface with a text input box is automatically popped up;

[0023] Enter a user instruction in the text input box.

[0024] According to an embodiment of the present invention, the labeling instruction rule table records a variety of labeling instructions and corresponding labeling operations;

[0025] The user instruction is parsed in a table lookup manner to query the annotation operation corresponding to the annotation instruction in the annotation instruction rule table in the database and the tolerance data corresponding to the tolerance code grade in the tolerance code grade table.

[0026] According to an embodiment of the present invention, the specific information of the marked object includes the type and value of the marked object.

[0027] The beneficial effects of the present invention are:

[0028] The present invention provides a tolerance marking system and method. After a user instruction is input, the input user instruction is parsed based on a marking instruction rule table and a tolerance comparison table stored in a database, and then tolerance marking is performed, thereby replacing a large number of mouse click operations, making the tolerance marking work more efficient; and the system and method can be used for tolerance marking work in different drawing software, with high versatility. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0030] Figure 1 is a schematic structural diagram of a tolerance marking system provided by an embodiment of the present invention;

[0031] Figure 2 It is a schematic diagram of a process of a tolerance marking method provided by an embodiment of the present invention;

[0032] Figure 3 is a schematic diagram of a two-dimensional engineering drawing before tolerance marking in the first embodiment of the present invention;

[0033] Figure 4 is a schematic diagram of inputting instruction H9 in the user interaction interface in the first embodiment of the present invention;

[0034] Figure 5 is a schematic diagram of inputting the command 0.035 0.012 in the user interaction interface in the first embodiment of the present invention;

[0035] Figure 6 is a schematic diagram of inputting a command 12o in the user interaction interface in the first embodiment of the present invention;

[0036] Figure 7 yes Figure 3 go through Figure 4 , 5 , 6 corresponding to the schematic diagram after tolerance annotation;

[0037] Figure 8 This is a schematic diagram after the instruction D5 is input in the user interaction interface in the first embodiment of the present invention;

[0038] Fig. 9 yes Figure 7 through Figure 8 Schematic diagram after the labeling process shown;

[0039] Fig.10 It is a schematic diagram of a two-dimensional engineering drawing before tolerance marking in the second embodiment of the present invention;

[0040] Fig.11 is a schematic diagram of inputting instructions on a user interaction interface in Embodiment 2 of the present invention;

[0041] Fig.12 yes Fig.10 through Fig.11 Schematic diagram after the labeling process shown;

[0042] Fig.13 is a tolerance diagram selected in the second embodiment of the present invention;

[0043] Fig.14 is a schematic diagram of a three-dimensional drawing before tolerance marking in the third embodiment of the present invention;

[0044] Fig.15 is a schematic diagram of inputting command f8 in the user interaction interface in the third embodiment of the present invention;

[0045] Fig.16 yes Fig.14 through Fig.15 Schematic diagram after the labeling process shown;

[0046] Fig.17 Yes Fig.16 Schematic diagram after the geometric tolerances are marked. DETAILED DESCRIPTION

[0047] The following descriptions of the embodiments refer to the attached drawings to illustrate specific embodiments in which the present invention can be implemented.

[0048] The present invention provides a tolerance marking system, the structure of which is as follows: Figure 1As shown, it includes a database, a software interaction module, a user interaction module, a parsing and processing module and a tolerance marking module, wherein the database stores a marking instruction rule table and a tolerance comparison table; the software interaction module is connected in communication with the drawing software to obtain the marked objects in the drawing software, and the software interaction module establishes a communication connection with the secondary development interface of the drawing software (such as the API interface of the CAD software); the user interaction module is used to input user instructions; the parsing and processing module establishes communication connections with the database, the software interaction module and the user interaction module respectively, to read the specific information of the marked object, and parse the user instruction based on the marking instruction rule table and the tolerance comparison table in the database to obtain the instruction parsing result; the tolerance marking module establishes a communication connection with the parsing and processing module, to add / modify the tolerance of the marked object according to the specific information of the marked object and the instruction parsing result, and transmits the added / modified content to the drawing software through the software interaction module for execution.

[0049] Furthermore, the tolerance marking system further includes a cache module that is in communication with the user interaction module, and is used to cache at least the user instructions input and copied by the user interaction module during one working process of the tolerance marking system. It should be noted that one working process of the tolerance marking system refers to the entire process from the start of work to the shutdown of the user interaction module.

[0050] The present invention also provides a tolerance marking method, which is implemented based on the tolerance marking system, and its flow chart is as follows: Figure 2 As shown, the following steps are included:

[0051] Step 1: Establish a communication connection between the software interaction module and the drawing software, and use the drawing software to open the drawing to be edited;

[0052] Step 2: After obtaining the marked objects in the drawing, input the user instructions in the user interaction module;

[0053] This step can be performed in the following process in actual operation: after clicking (such as single-click or double-click) the marking object for a set number of times in the drawing software, a user interaction interface with a text input box is automatically popped up; user instructions are input in the text input box. Specifically, the user instructions include tolerance data, marking instructions and tolerance code level.

[0054] Step 3: the parsing processing module reads the specific information of the marked object, and parses the user instruction based on the marking instruction rule table and tolerance comparison table stored in the database to obtain the instruction parsing result;

[0055] The specific information of the annotation object includes the type and value of the annotation object, wherein the type of the annotation object includes linear dimension, angle, radius, diameter, hole annotation, roughness, geometric tolerance, etc.; correspondingly, the value includes size, angle, roughness, geometric tolerance value, etc. In addition, in addition to reading the type and value of the annotation object, it is also necessary to read the relevant style settings of the annotation object, such as whether the annotation method is horizontal annotation or aligned annotation, as well as the rotation angle, font style and size of the roughness, etc.

[0056] The marking instruction rule table records a variety of marking instructions and corresponding marking operations. The user instruction is parsed by looking up the table to query the marking operation corresponding to the marking instruction in the marking instruction rule table in the database and the tolerance data corresponding to the tolerance code level in the tolerance code level table. In addition, the method of parsing the user instruction can also include a calculation method. For example, when the input instruction is a deviation and a tolerance level, the tolerance can be obtained by calculation; and the fit clearance can also be obtained by calculation.

[0057] It should be noted that, since the user instruction includes tolerance data, marking instructions and tolerance code level, when the input user instruction is tolerance data, it is not necessary to parse the tolerance data, and the next step can be performed directly.

[0058] In step 4, the tolerance marking module adds / modifies the tolerance of the marked object according to the specific information of the marked object and the instruction parsing result, and transmits the added / modified content to the drawing software through the software interaction module for execution.

[0059] The marking instruction rule table records a variety of marking instructions and corresponding marking operations. The marking instruction rule table includes at least four tables according to the type of marking object, namely, a dimension marking instruction rule table, a roughness marking instruction rule table, a tolerance marking instruction rule table and a form and position tolerance marking instruction rule table. The four tables are shown in Tables 1 to 4 respectively.

[0060] Table 1 Dimensioning instruction rules table:

[0061]

[0062]

[0063] Table 2 Roughness marking instruction rules table:

[0064] instruction Perform an action 0 Change the roughness dimension angle to 0 1 Modify the roughness annotation angle to 90 2 Modify the roughness annotation angle to 180 3 Modify the roughness annotation angle to 270 the remaining Modify the roughness value according to the input content

[0065] Table 3 Tolerance marking instruction rules table:

[0066]

[0067]

[0068] Table 4 Geometric tolerance marking instruction rules table:

[0069]

[0070]

[0071] It should be noted that the marking instruction rule table is not limited to the above four tables, nor is it limited to the symbols, annotations, dimensions, dimensional tolerances, geometric tolerances, etc. recorded in the above four tables. In addition, the instructions recorded in the above four tables can also be added, deleted, modified, etc. according to actual needs.

[0072] Moreover, more complex and rich instructions can also be defined, such as including position, geometry, shape, display and other information for data exchange, and providing information to downstream manufacturing to facilitate downstream information extraction. At the same time, these instructions and rules can be used for data exchange between different drawing software, as an intermediate format, to transfer dimensions, tolerances, etc. in one software to another.

[0073] In addition, in order to improve the versatility of this solution, the instructions and rules recorded in the above four tables are universal for different two-dimensional and three-dimensional drawing software, so that after being executed on different drawing software, the same modifications can be made in the software and the same results can be obtained.

[0074] Preferably, the instructions input by the user are all ASCII instructions, that is, all instructions use ASCII characters, so that the instructions can be copied and saved as text files and can be directly read. The user's instruction operations will be automatically recorded in the form of text files, and the user can also directly read, copy, paste, and save the required instructions during use.

[0075] In addition, for similar parts or parts with the same or similar precision requirements, after the instructions for the first part are saved, there is no need to re-enter the instructions for the remaining parts. You can directly copy the existing instructions to mark the remaining parts as needed. For example, for shaft parts, the tolerance accuracy requirement for the diameter of the bearing installation position is level 6, and the basic deviation is k. Although the diameters of different shaft parts are different, the instructions are the same. For example, if you enter k6, it will automatically check the national standard GB / T1800 based on the diameter size and level 6 accuracy to obtain the tolerance size and basic deviation, thereby obtaining the tolerance of the part. For example, for a diameter of 30, the final marked tolerance is +0.002 to +0.015. In addition, for example, for coaxiality, the same level 8 requirement instructions are all

[0076] TZ

[0077] O8 100NN

[0078] AB NN

[0079] NN

[0080] NN

[0081] It can be copied directly or slightly modified. For example, directly changing 8 to 7 in the text will change the accuracy from level 8 to level 7, and it can be directly used in similar parts or other parts.

[0082] Similarly, you can directly input g during use to directly obtain the text of the command, and then copy it for marking other parts or similar parts. These commands can be directly copied and used between different computer-aided design software such as solidworks, UG, and CATIA, without being restricted by file formats and software. In addition to being used in two-dimensional engineering drawings, these commands can also be used in three-dimensional marking.

[0083] Furthermore, some accuracy level related tables can be preset according to actual product design needs, and analysis and marking can be performed automatically.

[0084] Furthermore, based on the basic instructions, an extended instruction can be made to enrich and expand the content of the original basic instructions to introduce information such as the geometric position, shape, and size of the object, so that it can have richer information exchange functions and be transmitted between different computer-aided design software. For example, the upstream and downstream of design and manufacturing use different software platforms. The design software used for 3D model design is solidworks, and the software used by the manufacturer is UG. The manufacturer can directly use the text file provided by the designer, read the text file through the annotation system, and directly update the dimensional tolerance information to the new software platform.

[0085] In order to facilitate the understanding of a tolerance marking method provided by an embodiment of the present invention, the working process of the tolerance marking method is specifically described below in conjunction with a specific embodiment.

[0086] Embodiment 1

[0087] This embodiment takes a two-dimensional engineering drawing as an example. The original two-dimensional drawing is as follows. Figure 3 shown.

[0088] First, if Figure 4 As shown, select size 66 and enter command H9;

[0089] Then, if Figure 5 As shown, select diameter 15 and enter 0.035 0.012;

[0090] Then, if Figure 6 As shown, select dimension 36 and enter 12o;

[0091] After clicking OK, Figure 7 As shown, the corresponding dimensions and tolerances have been modified according to the instructions.

[0092] Then, if Figure 8 As shown, select diameter 15 and enter D5;

[0093] After clicking OK, the drawing annotation content is as follows Fig. 9 shown.

[0094] Embodiment 2

[0095] This embodiment demonstrates the marking of geometric tolerances. The original two-dimensional drawing is as follows: Fig.10 shown.

[0096] like Fig.11 As shown, select the original straightness dimension and enter the command in the window:

[0097] WZ

[0098] O0.03M

[0099] AM

[0100] B

[0101] C

[0102] Click OK and the result will be as follows: Fig.12 shown.

[0103] Next, select Fig.13 The tolerance in and enter command G;

[0104] After clicking OK, the input box is rewritten as the annotation instruction as follows:

[0105] WZ

[0106] NN0.023NN

[0107] AB NN

[0108] NN

[0109] NN

[0110] Can be used for similar annotation modifications.

[0111] Embodiment 3

[0112] This embodiment demonstrates the three-dimensional PMI annotation. The original three-dimensional drawing is as follows: Fig.14 shown.

[0113] First, if Fig.15 As shown, select size 66 and enter command f8;

[0114] Then, click OK and the 3D PMI annotation will be updated accordingly. Fig.16 ;

[0115] Then, select the geometric tolerance input command:

[0116] wz

[0117] o0.31

[0118] 2.

[0119] b

[0120] c

[0121] Click OK and it will display Fig.17 .

[0122] In addition, once the instructions are written, they can be used as a template, and can be copied and simply modified to be used for other similar dimensions, tolerances, etc.

[0123] In summary, the tolerance marking system and method provided by the present invention, after the user instructions are input, the input user instructions are parsed based on the marking instruction rule table and tolerance comparison table stored in the database, and then the tolerance marking is performed, thereby replacing a large number of mouse click operations, making the tolerance marking work more efficient; and it can be used for tolerance marking work in different drawing software, with high versatility; due to the reproducibility of user instructions, the function of marking templates can be provided to reduce the repeated input of similar dimensional tolerances.

[0124] It should be noted that although the present invention is disclosed as above by specific embodiments, the above embodiments are not intended to limit the present invention. Ordinary technicians in this field can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope defined in the claims.

Claims

1. A tolerance marking system, characterized in that: include: A database storing a marking instruction rule table and a tolerance comparison table; A software interaction module, which is connected to the drawing software for obtaining the marked objects in the drawing software; A user interaction module, used for inputting user instructions; A parsing processing module, which establishes communication connections with the database, the software interaction module and the user interaction module respectively, is used to read the specific information of the marked object, and parse the user instruction based on the marking instruction rule table and the tolerance comparison table in the database to obtain an instruction parsing result; The tolerance marking module establishes a communication connection with the analysis and processing module, and is used to add / modify the tolerance of the marked object according to the specific information of the marked object and the instruction analysis result, and transmits the added / modified content to the drawing software through the software interaction module for execution.

2. A tolerance marking system according to claim 1, characterized in that: The labeling instruction rule table records a variety of labeling instructions and corresponding labeling operations; The user instructions include tolerance data, marking instructions and tolerance code levels.

3. A tolerance marking system according to claim 1, characterized in that: The software interaction module establishes a communication connection with the secondary development interface of the drawing software.

4. A tolerance marking system according to claim 1, characterized in that: It also includes a cache module that is communicatively connected to the user interaction module and is used to at least cache user instructions input and copied by the user interaction module during one working process of the tolerance marking system.

5. A tolerance marking system according to claim 4, characterized in that: The user instructions are all ASCII instructions.

6. A tolerance marking method, implemented based on the tolerance marking system according to any one of claims 1 to 5, characterized in that: The following steps are involved: Establishing a communication connection between the software interaction module and the drawing software, and using the drawing software to open the drawing to be edited; After obtaining the marked objects in the drawing, input user instructions in the user interaction module; The parsing processing module reads the specific information of the marked object, and parses the user instruction based on the marking instruction rule table and tolerance comparison table stored in the database to obtain an instruction parsing result; The tolerance annotation module adds / modifies the tolerance of the annotation object according to the specific information of the annotation object and the instruction parsing result, and transmits the added / modified content to the drawing software through the software interaction module for execution.

7. A tolerance marking system according to claim 6, characterized in that: After obtaining the marked objects in the drawing, input the user instructions in the user interaction module, including the following steps: After obtaining the marked object in the drawing software, a user interaction interface with a text input box is automatically popped up; Enter a user instruction in the text input box.

8. A tolerance marking method according to claim 6, characterized in that: The labeling instruction rule table records a variety of labeling instructions and corresponding labeling operations; The user instruction is parsed in a table lookup manner to query the annotation operation corresponding to the annotation instruction in the annotation instruction rule table in the database and the tolerance data corresponding to the tolerance code grade in the tolerance code grade table.

9. A tolerance marking method according to claim 6, characterized in that: The specific information of the marked object includes the type and value of the marked object.