Dimension and graph interaction method, system, equipment and medium
By constructing a view classification system and a structured two-dimensional table in the three-dimensional MBD model, the problem of low efficiency in the size label information management in the three-dimensional model is solved, the rapid retrieval and positioning of information is realized, and the efficiency of production quality inspection is improved.
Patent Information
- Application Number
- CN202510374361.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2025-06-27
AI Technical Summary
The prior art is difficult to effectively structure the management of dimension labeling information in three-dimensional models, resulting in low information retrieval, query and editing efficiency.
By generating a three-dimensional MBD model containing geometric information and non-geometric information, a view classification system is built in a three-dimensional environment, the three-dimensional model annotation information is extracted and stored as a structured two-dimensional table, the association mapping relationship between two-dimensional table records and three-dimensional annotation is established, and the linkage response between two-dimensional table record selection and three-dimensional annotation positioning is realized.
It realizes structured management of dimension label information in three-dimensional models, improves the efficiency of rapid retrieval, query and editing of information, helps personnel such as process, manufacturing, and quality inspection to quickly locate and orient parts, and improves the efficiency and accuracy of production quality inspection.
Smart Images

Figure CN120217478A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of design and manufacturing of large equipment, and specifically to a method, system, device and medium for interaction between dimensions and graphics. Background Art
[0002] The statements in this section only provide background information related to the present disclosure and may not constitute prior art.
[0003] With the deepening application of three-dimensional digital technology, digital design and manufacturing technology based on Model Based Definition (MBD) has become the development trend of informatization in the manufacturing industry. MBD is the digital definition based on a model. Its core idea is a method of using an integrated three-dimensional solid model to completely express product definition information, which details non-geometric information such as dimensions, roughness, tolerance markings, references, technical requirements, etc. of the product in the three-dimensional solid model, and fully integrates the three-dimensional product design geometric information and non-geometric information into the three-dimensional model, forming a complete set of three-dimensional engineering drawings. It takes the three-dimensional model as the sole basis in the production and manufacturing process, changing the traditional research and development mode that mainly relies on engineering drawings and supplemented by three-dimensional solid models. Compared with the traditional mode, the manufacturing technology based on the MBD data set as the sole basis has brought about a transformation in the production mode and more effectively improved the convenience brought by digital technology. The model structure of MBD is as Figure 2 shown, and the MBD data set structure is as Figure 3 shown.
[0004] The amount of information contained in the three-dimensional model is much larger than that of traditional two-dimensional drawings. Some of these annotation information can be directly obtained from the design model, such as geometric dimensions; some are manually generated during annotation, such as references, tolerances, surface roughness, etc.; and some can be read from the enterprise database, such as information on equipment, tools, etc. involved in the processing method. Such a large amount of information poses high requirements for storage technology and transmission technology. In order to achieve rapid retrieval, query and editing of information, it is necessary to study how to structurally manage this information. Summary of the Invention
[0005] The purpose of the present invention is to provide a method, system, device and medium for interaction between dimensions and graphics, which, based on the structuring of MBD dimension annotations, converts the dimension annotation information represented by the graphics and unrecognizable by the computer into an ordered record recognizable by the computer, and realizes the application of dimension-graphics interaction in the field of production quality inspection for the problems existing in the prior art.
[0006] The technical solution of the present invention is as follows:
[0007] A method for interaction between dimensions and graphics based on the structuring of MBD dimension annotations, comprising:
[0008] Generate a 3D MBD model containing geometric and non-geometric information;
[0009] Construct a view classification system in a 3D environment, which is used to classify and organize different types of annotation information;
[0010] Extract the 3D model annotation information and store it as a structured 2D table;
[0011] Establish an association mapping relationship between the 2D table records and the 3D annotations;
[0012] In response to the user's selection operation on the 2D table record, automatically switch the 3D model to the corresponding view and highlight the target annotation.
[0013] Furthermore, the 2D table contains fields such as annotation number, view name, dimension type, dimension value, upper tolerance, and lower tolerance.
[0014] Furthermore, the annotation number serves as the unique identifier.
[0015] Furthermore, the structured 2D table also contains a mesh information field for recording the positioning information of the annotation in the 3D model.
[0016] Furthermore, the extracted 3D model annotation information includes dimensional tolerance, geometric tolerance, and datum information.
[0017] Furthermore, the view switching operation is performed based on the view name field recorded in the 2D table.
[0018] Furthermore, the highlighting operation is achieved by changing the rendering attributes of the annotation entity.
[0019] The present invention also proposes a dimension and graphics interaction system based on MBD dimension annotation structuring, including:
[0020] A model generation module for creating a 3D MBD model integrating dimensional tolerance, geometric tolerance, and technical requirements;
[0021] A view management module for constructing a hierarchical management system including views in multiple projection directions;
[0022] A structuring processing module for generating a structured 2D table containing annotation number, view name, and dimension parameters;
[0023] A data association module for establishing a two-way association between the 2D table records and the 3D annotation entities through the annotation number;
[0024] An interaction response module for realizing the linkage response between the 2D table record selection and the 3D annotation positioning.
[0025] The present invention also proposes an electronic device, including:
[0026] At least one processor; and a memory communicatively connected to the at least one processor;
[0027] Wherein, the memory stores instructions executable by the at least one processor, and by executing the instructions stored in the memory, the at least one processor is caused to execute the method as described above.
[0028] The present invention also provides a computer-readable storage medium for storing instructions which, when executed, cause the method as described above to be implemented.
[0029] Compared with the prior art, the beneficial effects of the present invention are:
[0030] The present invention introduces a concept similar to the two-dimensional drawing view in three-dimensional dimensioning, so as to facilitate the positioning and orientation of parts when dimensioning, tolerancing, etc., and help relevant personnel in processes such as reading three-dimensional models, manufacturing, and quality inspection to quickly orient, improving the work efficiency of reading three-dimensional models. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of three-dimensional dimensioning;
[0032] Figure 2 It is a model structure diagram of MBD;
[0033] Figure 3 It is an MBD data set structure;
[0034] Figure 4 It is a two-dimensional schematic diagram;
[0035] Figure 5 It is a schematic diagram of view switching;
[0036] Figure 6 It is a schematic diagram of an electronic device. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0037] It should be noted that relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0038] The features and performance of the present invention will be further described in detail below in conjunction with the embodiments.
[0039] Embodiment 1
[0040] First of all, it should be noted that the structuring of annotation information is to associate three-dimensional annotation information with the three-dimensional model of the product according to a certain hierarchical structure and store it, so that this information can be retrieved and managed by a computer. In the past, the annotation information on engineering drawings was scattered, and retrieval and management relied on manual operations and could not be automatically recognized by a computer. In this embodiment, views are used to quickly and clearly manage the information related to design processes. That is, in a three-dimensional environment, various views similar to two-dimensional drawings are constructed, and different types of annotation information are classified and organized for management under different views.
[0041] Please refer to Figures 1-5 , a method for the interaction between dimensions and graphics based on the structuring of MBD dimension annotations, specifically including:
[0042] Generate a three-dimensional MBD model containing geometric information and non-geometric information;
[0043] Construct a view classification system in a three-dimensional environment, and the view classification system is used to classify and organize different types of annotation information;
[0044] Extract the annotation information of the three-dimensional model and store it as a structured two-dimensional table;
[0045] Establish an association mapping relationship between the two-dimensional table records and the three-dimensional annotations;
[0046] In response to the user's selection operation on the two-dimensional table records, automatically switch the three-dimensional model to the corresponding view and highlight the target annotation;
[0047] That is, during the design stage, designers express the main information in the two-dimensional drawing more completely on the three-dimensional model, express the component information completely at the design source, and at the same time can meet the utilization in various links of the product life cycle such as subsequent processes, manufacturing, production, inspection, and maintenance. The content of the three-dimensional annotation should mainly include views, dimensions and dimensional tolerances, and technical requirements. As Figure 1 shown;
[0048] In this embodiment, specifically, the two-dimensional table contains fields such as annotation number, view name, dimension type, dimension value, upper tolerance, and lower tolerance. The annotation number is used as the unique identifier.
[0049] In this embodiment, specifically, the structured two-dimensional table further contains a grid information field for recording the positioning information of the annotation in the three-dimensional model.
[0050] In this embodiment, specifically, the extracted 3D model annotation information includes dimensional tolerances, geometric tolerances, and datum information; that is, dimensions and dimensional tolerances, datums and geometric tolerances, etc., which can be directly annotated on the 3D model.
[0051] In this embodiment, specifically, the view switching operation is performed based on the view name field recorded in the two-dimensional table.
[0052] In this embodiment, specifically, the highlighting operation is achieved by changing the rendering attributes of the annotated entities.
[0053] In the actual use process, according to design requirements, process requirements, manufacturing requirements, quality inspection requirements, etc., technicians extract target dimensions from the annotation set of the 3D model, and the extracted dimensions will be stored in a two-dimensional table as shown in Figure 4 The columns of the two-dimensional table include annotation number, grid information, view name, dimension type, dimension value, upper tolerance, lower tolerance, suffix, prefix, description, etc. It is uniquely identified by the annotation number. Thus, the transformation from image expression to structured expression is realized, as shown in Figure 4 shown.
[0054] After realizing the structuring of MBD dimension annotation, when a technician randomly clicks on a row of dimension records in the two-dimensional table storing dimension annotations, the 3D model will switch to the corresponding view, and the corresponding annotation will be highlighted. This is the interaction between dimensions and graphics. As shown in Figure 5 shown. In the production process, most traditional quality inspection activities are carried out in the form of a quality inspection item list accompanied by two-dimensional drawings. Technicians need to spend a lot of time looking for the dimensions to be measured on the two-dimensional drawings, and there is a certain error rate. The dimension and graphics interaction function introduced in this article can automatically help technicians locate the dimension positions, with faster and more accurate positioning, improving the detection efficiency and accuracy rate, and having higher economic benefits.
[0055] This method introduces the concept of views similar to those in two-dimensional drawings in 3D annotation to facilitate the positioning and orientation of parts when performing dimension, tolerance, etc. annotation, helping relevant personnel such as those involved in the process, manufacturing, and quality inspection of the 3D model to quickly orient, and improving the reading efficiency of the 3D model.
[0056] Embodiment 2
[0057] Embodiment 2 proposes a dimension and graphics interaction system based on the structuring of MBD dimension annotation, including:
[0058] A model generation module, used to create a 3D MBD model integrating dimensional tolerances, geometric tolerances, and technical requirements;
[0059] A view management module, used to construct a hierarchical management system including views in multiple projection directions;
[0060] A structured processing module for generating a structured two-dimensional table containing annotation numbers, view names, and dimensional parameters;
[0061] A data association module for establishing a two-way association between two-dimensional table records and three-dimensional annotation entities through annotation numbers;
[0062] An interactive response module for implementing a linkage response between two-dimensional table record selection and three-dimensional annotation positioning.
[0063] Through the above system, it is possible to implement a dimension and graphics interaction method based on MBD dimension annotation structuring proposed in Embodiment 1.
[0064] Embodiment 3
[0065] Embodiment 3 also proposes an electronic device, including:
[0066] At least one processor; and a memory communicatively connected to the at least one processor;
[0067] Wherein, the memory stores instructions executable by the at least one processor, and the at least one processor, by executing the instructions stored in the memory, causes the at least one processor to execute a dimension and graphics interaction method based on MBD dimension annotation structuring proposed in Embodiment 1. In one embodiment, the electronic device can be a server, or a terminal device or other electronic devices.
[0068] As Figure 6 shown, the electronic device may include:
[0069] At least one processor, and a memory connected to the at least one processor. In the embodiments of the present invention, the specific connection medium between the processor and the memory is not limited. Figure 6 In, it is taken as an example that the processor and the memory are connected through a bus. The bus is represented by a thick line in Figure 6 In, and the connection manners between other components are only for illustrative purposes and are not to be taken as limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 6 In, only one thick line is used to represent it, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor can also be called a controller, and the name is not limited.
[0070] In the embodiments of the present invention, the memory stores instructions executable by at least one processor, and at least one processor, by executing the instructions stored in the memory, can execute a collaborative resource configuration optimization method based on network nodes and software described above. The processor can implement Figure 6 the functions of each module in the device shown.
[0071] Among them, the processor is the control center of the device. It can connect various parts of the entire control device through various interfaces and circuits. By running or executing instructions stored in the memory and calling data stored in the memory, it can perform various functions and process data of the device, thereby monitoring the device as a whole.
[0072] In an alternative design, the processor may include one or more processing units. The processor may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor. In some embodiments, the processor and the memory may be implemented on the same chip, and in some embodiments, they may also be separately implemented on independent chips.
[0073] The processor can be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of a method for constructing a target spatio-temporal trajectory pre-training model disclosed in combination with the embodiments of the present invention can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
[0074] As a non-volatile computer-readable storage medium, the memory can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The memory may include at least one type of storage medium, for example, it may include flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disc, and so on. The memory is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the embodiments of the present invention may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and / or data.
[0075] By programming the design of the processor, the code corresponding to the method for constructing a target spatio-temporal trajectory pre-training model introduced in the foregoing embodiments can be solidified into the chip, so that the chip can execute the steps of the method of the foregoing embodiments during operation. How to program the design of the processor is a well-known technology to those skilled in the art and will not be elaborated here.
[0076] Embodiment 4
[0077] Based on the same inventive concept, Embodiment 4 proposes a computer-readable storage medium for storing instructions, which when executed, implement a method for interacting between dimensions and graphics based on MBD dimension annotation structuring as proposed in Embodiment 1.
[0078] In some alternative embodiments, aspects of the method for constructing a target spatio-temporal trajectory pre-training model of the present invention can also be implemented in the form of a program product, which includes program code. When the program product runs on a device, the program code is used to cause the control device to execute the steps in the method for constructing a target spatio-temporal trajectory pre-training model according to various exemplary embodiments of the present invention described above in this specification.
[0079] It should be noted that although several units or subunits of the device are mentioned in the foregoing detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present invention, the features and functions of the two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units. In addition, although the operations of the method of the present invention are described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution.
[0080] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0081] The present invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each flow and / or block in the flowchart illustrations and / or block diagrams, and combinations of flows and / or blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device create means for implementing the functions specified in the flow Figure 1 one flow or multiple flows and / or blocks Figure 1 means for implementing the functions specified in one block or multiple blocks.
[0082] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server.
[0083] In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0084] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including instruction means for implementing the functions specified in the flow Figure 1 one flow or multiple flows and / or blocks Figure 1 means for implementing the functions specified in one block or multiple blocks.
[0085] These computer program instructions may also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are performed on the computer or other programmable device to produce a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the flow Figure 1 one flow or multiple flows and / or blocks Figure 1 means for implementing the functions specified in one block or multiple blocks.
[0086] The above-described embodiments merely represent specific implementation manners of the present application. Although the description is relatively specific and detailed, it should not be construed as a limitation on the protection scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the technical solution of the present application, several variations and improvements can still be made, and these all fall within the protection scope of the present application.
[0087] This background art section is provided to generally present the context of the present invention. The work of the currently named inventors, to the extent described in this background art section, and aspects of the work that are not prior art as of the filing date of this application are neither expressly nor impliedly admitted to be prior art to the present invention.
Claims
1. A dimension and graphic interaction method based on MBD dimensioning structure, characterized in that: include: Generate a 3D MBD model containing geometric and non-geometric information; Constructing a view classification system in a three-dimensional environment, wherein the view classification system is used to classify and organize annotation information of different categories; Extracting the annotation information of the three-dimensional model and storing it as a structured two-dimensional table; Establishing the associative mapping relationship between two-dimensional table records and three-dimensional annotations; In response to the user's selection operation on the two-dimensional table record, the three-dimensional model is automatically switched to the corresponding view and the target annotation is highlighted.
2. The dimension and graphic interaction method based on MBD dimensioning structure according to claim 1, characterized in that: The two-dimensional table contains fields for dimension number, view name, dimension type, dimension value, upper tolerance, and lower tolerance.
3. The dimension and graphic interaction method based on MBD dimensioning structure according to claim 2 is characterized in that: The annotation number serves as a unique identifier.
4. The dimension and graphic interaction method based on MBD dimensioning structure according to claim 3 is characterized in that: The structured two-dimensional table also includes a grid information field for recording positioning information marked in the three-dimensional model.
5. The dimension and graphic interaction method based on MBD dimensioning structure according to claim 4 is characterized in that: The extracted 3D model annotation information includes dimensional tolerance, geometric tolerance and datum information.
6. The dimension and graphic interaction method based on MBD dimensioning structure according to claim 5, characterized in that: The view switching operation is performed based on the view name field of the records in the two-dimensional table.
7. The dimension and graphic interaction method based on MBD dimensioning structure according to claim 6 is characterized in that: Highlighting is done by changing the rendering properties of the annotation entity.
8. A dimension and graphic interactive system based on MBD dimension annotation structure, characterized in that: include: Model generation module, used to create 3D MBD models integrating dimensional tolerances, geometric tolerances and technical requirements; The view management module is used to build a hierarchical management system including multi-projection direction views; The structured processing module is used to generate a structured two-dimensional table containing annotation numbers, view names, and size parameters; The data association module establishes a bidirectional association between the two-dimensional table records and the three-dimensional annotated entities through the annotation numbers; The interactive response module realizes the linkage response of two-dimensional table record selection and three-dimensional annotation positioning.
9. An electronic device, characterized in that: include: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the method as described in any one of claims 1 to 7 by executing the instructions stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is implemented.