Ship body three-dimensional model and two-dimensional drawing two-way linkage method based on data monitoring

By establishing a data monitoring unit for three-dimensional models and two-dimensional drawings in the hull structure design, two-way linkage updates are achieved, and the problem of inconsistent information in the later stage of the design is solved and data is synchronized in real time.

CN118940411APending Publication Date: 2024-11-12中国船舶集团海舟系统技术有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411010412.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In hull structure design, the three-dimensional model and the two-dimensional drawing are usually not updated in two-way in the later stage of the design, resulting in inconsistent with the design information of the model and the drawing.

Method used

Using a data monitoring method, a mutually monitored data monitoring unit is established for parts and primitives in the three-dimensional model and the two-dimensional drawings, a two-way linkage update between the three-dimensional model and the two-dimensional drawings is realized. Specific steps include numbering, configuring the listener, starting the listening, monitoring data changes and performing corresponding updates.

Benefits of technology

Ensure that the data of the three-dimensional model and the two-dimensional drawings are synchronized in real time, avoiding the problem of inconsistent design information, and realizing the characteristics of two-way linkage updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940411A_ABST
    Figure CN118940411A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of three-dimensional model data and two-dimensional graph linkage updating, and particularly relates to a hull three-dimensional model and two-dimensional drawing bidirectional linkage method based on data monitoring, which comprises the following steps: establishing a three-dimensional model, generating a two-dimensional drawing based on the three-dimensional model, and updating the two-dimensional drawing based on the two-dimensional drawing; numbering corresponding parts and primitives in the three-dimensional model and the two-dimensional drawing; the part and the primitive with the same serial number form a data monitoring unit for mutually monitoring, and the data monitoring group comprises at least one data monitoring unit; two-way data monitoring is established between parts of a three-dimensional model and corresponding primitives of a two-dimensional drawing, when monitored primitive data changes, data is transmitted to the primitives of the two-dimensional drawing through a data transmission z, so that the primitives are updated, monitoring and updating are carried out in a two-way linkage mode, and the data transmission speed is improved. The problem that design information of the model and the drawing is inconsistent is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of linkage updating of three-dimensional model data and two-dimensional graphics, and in particular to a two-way linkage method of a three-dimensional hull model and a two-dimensional drawing based on data monitoring. Background Art

[0002] The hull structure design is mainly divided into two stages: 3D design and 2D drawing. Usually, design software is used to perform 3D modeling of the hull structure, and then 2D drawings are generated based on the 3D model. Commonly used design software, such as AM, CATIA, etc., can realize the automatic change of 2D drawings driven by 3D model changes, but usually do not support driving 3D model changes by changing 2D drawings. In the later stage of design, designers usually only process drawing information without maintaining 3D models, resulting in inconsistency between model and drawing design information. Summary of the invention

[0003] (I) Purpose of the invention

[0004] In order to solve the technical problems existing in the background technology, the present invention proposes a two-way linkage method between a three-dimensional hull model and a two-dimensional drawing based on data monitoring, which has the characteristics of a high degree of correlation between the three-dimensional model and the two-dimensional drawing, and a two-way linkage update of the two.

[0005] (II) Technical solution

[0006] In order to solve the above technical problems, the present invention provides a two-way linkage method between a 3D model of a hull and a 2D drawing based on data monitoring, comprising the following steps:

[0007] Step 1: Establish a 3D model, generate a 2D drawing based on the 3D model, and number the corresponding parts and elements in the 3D model and the 2D drawing;

[0008] Step 2: Parts and graphics elements with the same number are a data monitoring unit for mutual monitoring, and the data monitoring group includes at least one data monitoring unit;

[0009] Step 3: Perform global monitoring and partial monitoring of the linkage update data between the 3D model and the 2D drawing through the data monitoring group;

[0010] Step 4: Monitor the existence of linkage update data between the 3D model and the 2D drawing, identify and confirm changes in the linkage update data, and update the linkage update data to the other monitored party.

[0011] Preferably, in step one, the two-dimensional drawing primitive is a representation of the three-dimensional model part on a two-dimensional plane, the two-dimensional drawing primitive includes geometric shape data, dimension data and feature data, and the three-dimensional model part includes solid shape data, dimension data and feature data.

[0012] Preferably, in step 2, the monitoring of the data monitoring unit includes:

[0013] Configure listeners: Create listener objects to capture data changes in 3D model parts and 2D drawing entities;

[0014] Monitoring target: specify the three-dimensional shape data, geometric shape data, size data and feature data to be monitored;

[0015] Listener feedback: When data changes, the listener will record the changed data, output the changed data through the callback function, and trigger the corresponding update operation;

[0016] Start monitoring: Start the listener and begin monitoring data changes.

[0017] Preferably, in step 2, the data monitoring group includes N1, N2, N3 ... Nn data monitoring units, and one data monitoring unit corresponds to one three-dimensional model part and two-dimensional drawing element that monitor each other.

[0018] Preferably, in step three, global monitoring of the linkage update data between the three-dimensional model and the two-dimensional drawing is performed through the data monitoring group;

[0019] Global monitoring works on all data monitoring units in the data monitoring group. The monitoring objects include all 3D model parts and the corresponding 2D drawing elements.

[0020] Preferably, in step 3, partial monitoring of the linkage update data between the three-dimensional model and the two-dimensional drawing is performed through the data monitoring group;

[0021] Partial monitoring is to specify the data monitoring unit work for the data monitoring group, and the monitoring objects include the specified 3D model parts and the corresponding 2D drawing primitives;

[0022] Among them, the designated 3D model parts and the corresponding 2D drawing entities are the main monitoring objects, and the 3D model parts and the corresponding 2D drawing entities that have a matching relationship with the designated 3D model parts and the corresponding 2D drawing entities are the matching monitoring objects.

[0023] Preferably, in step 4, monitoring that there is linkage update data between the three-dimensional model and the two-dimensional drawing, and identifying and confirming the linkage update data includes:

[0024] The data monitoring unit of the data monitoring group records the linkage update data of either the 3D model parts or the 2D drawing elements through the monitor. When there is a change in data on either side, the change is compared and confirmed with the initial data.

[0025] If the two are partially the same or completely different, they are confirmed as linked update data;

[0026] If the two are exactly the same, it is confirmed that the data is not updated in linkage.

[0027] Preferably, in step 4, the comparison and confirmation of the changed data with the initial data includes:

[0028] When the monitored party is a 2D drawing element, the comparison between the changed data and the initial data includes geometric shape comparison, size comparison and feature comparison;

[0029] When the monitored party is a three-dimensional model part, the comparison between the changed data and the initial data includes three-dimensional shape comparison, size comparison and feature comparison.

[0030] Preferably, in step five, updating the data of the linked update of one party of the monitored three-dimensional model and the two-dimensional drawing to the other party of the monitoring includes: converting the linked update data of any one party of the two-dimensional drawing primitives or the three-dimensional model parts into update data that can be recognized by the other party, generating a single two-dimensional drawing primitive or three-dimensional model part after update corresponding to the initial two-dimensional drawing primitives or three-dimensional model parts, and replacing the initial two-dimensional drawing primitives or three-dimensional model parts with the single two-dimensional drawing primitives or three-dimensional model parts to generate a new two-dimensional drawing or three-dimensional model.

[0031] Preferably, in step five, updating the data of the linked update of the monitored three-dimensional model and the two-dimensional drawing to the other monitored party also includes: converting the linked update data of any one of the two-dimensional drawing primitives or the three-dimensional model parts and the initial data of the two-dimensional drawing primitives or the three-dimensional model parts that have a matching relationship with them into update data that can be recognized by the other party, generating updated locally matching two-dimensional drawing primitives or three-dimensional model parts corresponding to the initial two-dimensional drawing primitives or three-dimensional model parts, and updating the two-dimensional drawing primitives or three-dimensional model through the locally matching two-dimensional drawing primitives or three-dimensional model parts.

[0032] The above-mentioned technical scheme of the present invention has the following beneficial technical effects: a two-way data monitoring is established between the parts of the three-dimensional model and the corresponding graphics elements of the two-dimensional drawing. When the monitored graphics element data changes, the data is passed to the three-dimensional model, thereby updating the data of the three-dimensional model; when the three-dimensional model data is monitored to change, the data is passed to the graphics elements of the two-dimensional drawing, thereby updating the graphics elements. The monitoring and updating are performed in a two-way linkage manner, which solves the problem of inconsistency between the model and drawing design information caused by untimely feedback on the update of the two-dimensional drawing information. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic diagram of the method steps of the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0035] like Figure 1 As shown, the present invention proposes a two-way linkage method between a 3D hull model and a 2D drawing based on data monitoring, comprising the following steps:

[0036] Step 1: Establish a 3D model, generate a 2D drawing based on the 3D model, and number the corresponding parts and elements in the 3D model and the 2D drawing;

[0037] Among them, the two-dimensional drawing primitives are the representations of the three-dimensional model parts on the two-dimensional plane. The two-dimensional drawing primitives include geometric shape data, dimension data and feature data, and the three-dimensional model parts include solid shape data, dimension data and feature data.

[0038] Step 2: Parts and graphics elements with the same number are a data monitoring unit for mutual monitoring, and the data monitoring group includes at least one data monitoring unit;

[0039] Among them, the monitoring of the data monitoring unit includes:

[0040] Configure listeners: Create listener objects to capture data changes in 3D model parts and 2D drawing entities;

[0041] Monitoring target: specify the three-dimensional shape data, geometric shape data, size data and feature data to be monitored;

[0042] Listener feedback: When data changes, the listener will record the changed data, output the changed data through the callback function, and trigger the corresponding update operation;

[0043] Start monitoring: Start the listener and begin monitoring data changes.

[0044] It should be added that the data monitoring group includes N1, N2, N3...Nn data monitoring units, and one data monitoring unit corresponds to a three-dimensional model part and a two-dimensional drawing element that monitor each other.

[0045] Step 3: Perform global monitoring and partial monitoring of the linkage update data between the 3D model and the 2D drawing through the data monitoring group;

[0046] Take global monitoring as an example: global monitoring works on all data monitoring units of the data monitoring group, and the monitoring objects include all 3D model parts and the corresponding 2D drawing elements;

[0047] The purpose of global monitoring is to monitor all parts and elements of the 3D model and 2D drawings through N1, N2, N3...Nn monitoring units. When any element monitors the linkage update data, the linkage update data is directly passed to the 3D model to update the 3D model.

[0048] When any part monitors the linkage update data, it directly passes the linkage update data to the 2D drawing to update the 2D drawing;

[0049] It effectively prevents missing linkage update data and solves the problem of inconsistent design information between 3D models and 2D drawings.

[0050] Take partial monitoring as an example: partial monitoring is to select the specified N1, N2, N3...Nn monitoring units in the data monitoring group to work and monitor the monitoring objects with the specified numbers, including the 3D model parts with the specified numbers and the corresponding 2D drawing primitives;

[0051] The purpose of partial monitoring is to accurately orient the updated 3D model parts and the corresponding 2D drawing entities, and confirm their specific positions in the 3D model and 2D drawings before and after the update. There is no need to monitor all parts and entities, which reduces the amount of data processing. It is suitable for accurate orientation of multi-part models and reduces the operating load, which is more friendly to low-configuration machines or multi-part models.

[0052] It should be added that: the specified 3D model parts and the corresponding 2D drawing entities are the main monitoring objects, and the 3D model parts and the corresponding 2D drawing entities that have a matching relationship with the specified 3D model parts and the corresponding 2D drawing entities are the matching monitoring objects;

[0053] It can be understood that when there is a linkage update data between a specified 3D model part and the corresponding 2D drawing element, its initial three-dimensional shape data, geometric shape data, dimension data and feature data may change, and its initial position and the parts or elements with which it has a matching relationship may change. The purpose of setting a matching monitoring object is to use the matching monitoring object as a reference when a position change occurs, to assist in positioning the changed 3D model parts and 2D drawing elements.

[0054] Step 4: Monitor the existence of linkage update data between the 3D model and the 2D drawing, and identify and confirm changes in the linkage update data.

[0055] The data monitoring unit of the data monitoring group records the linkage update data of any one of the three-dimensional model parts and the two-dimensional drawing elements through the monitor, and when there is a change in data of any one of them, the change data is compared and confirmed with the initial data;

[0056] If the two are partially the same or completely different, they are confirmed as linked update data;

[0057] If the two are exactly the same, it is confirmed that the data is not updated in linkage.

[0058] It should be noted that the comparison and confirmation of the changed data and the initial data includes:

[0059] When the monitored party is a 2D drawing element, the comparison between the changed data and the initial data includes geometric shape comparison, size comparison and feature comparison;

[0060] When the monitored party is a three-dimensional model part, the comparison between the changed data and the initial data includes three-dimensional shape comparison, size comparison and feature comparison.

[0061] Take the three-dimensional model of the hull structure "ribs" as an example of bidirectional linkage update:

[0062] The specification data of the three-dimensional model of the "rib" of the hull structure is Stiffener3DSect ion=HP100x10, and the specification data of the "rib" element on the two-dimensional drawing is Stiffener2DSect i on=HP100x10. Mutual data monitoring is established between Stiffener3DSect ion and Stiffener2DSect ion through the data monitoring unit;

[0063] When the data of Stiffener3DSect ion changes from HP100x10 to HP120x10, the data monitor will recognize the data change and update HP120x10 to Stiffener2DSect ion;

[0064] On the contrary, when the data of Stiffener2DSection changes from HP100x10 to HP120x10, the data monitor will recognize the data change and update HP120x10 to Stiffener3DSection.

[0065] Step 5: Update the data updated by linkage between the monitored 3D model and the 2D drawing to the other monitored party;

[0066] In one embodiment, the linked update data of either the two-dimensional drawing primitive or the three-dimensional model part is converted into update data recognizable by the other party to generate a single two-dimensional drawing primitive or three-dimensional model part after update corresponding to the initial two-dimensional drawing primitive or three-dimensional model part, and the single two-dimensional drawing primitive or three-dimensional model part replaces the initial two-dimensional drawing primitive or three-dimensional model part to generate a new two-dimensional drawing or three-dimensional model.

[0067] In another embodiment, the linkage update data of any one of the two-dimensional drawing primitives or three-dimensional model parts and the initial data of the two-dimensional drawing primitives or three-dimensional model parts having a matching relationship therewith are converted into update data recognizable by the other party, and an updated local matching two-dimensional drawing primitive or three-dimensional model part corresponding to the initial two-dimensional drawing primitive or three-dimensional model part is generated;

[0068] The locally matched 2D drawing primitives or 3D model parts are used as positioning reference objects, and the positioning reference objects are positioned and replaced with the initial matched 2D drawing primitives or 3D model parts in the initial 2D drawing or 3D model, so as to determine the updated 2D drawing primitives or 3D model containing the locally matched 2D drawing primitives or 3D model parts;

[0069] By locally mating 2D drawing entities or 3D model parts with mating relationships, there is no need to position the updated entities or parts in the updated 2D drawing or 3D model, thus preventing the updated parts or entities from shifting positions and confusing mating relationships.

[0070] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

Claims

1. A two-way linkage method between a 3D ship model and a 2D drawing based on data monitoring. It is characterized in that The following steps are involved: Step 1: Establish a 3D model, generate a 2D drawing based on the 3D model, and number the corresponding parts and elements in the 3D model and the 2D drawing; Step 2: Parts and graphics elements with the same number are a data monitoring unit for mutual monitoring, and the data monitoring group includes at least one data monitoring unit; Step 3: Perform global monitoring and partial monitoring of the linkage update data between the 3D model and the 2D drawing through the data monitoring group; Step 4: monitor whether there is linkage update data on the 3D model and the 2D drawing, and identify and confirm changes in the linkage update data; Step 5: Update the data updated by the monitored 3D model and 2D drawing to the other monitored party.

2. According to the method of bidirectional linkage between a 3D model of a hull and a 2D drawing based on data monitoring according to claim 1, It is characterized in that In step 1, the two-dimensional drawing primitive is the representation of the three-dimensional model part on the two-dimensional plane. The two-dimensional drawing primitive includes geometric shape data, dimension data and feature data, and the three-dimensional model part includes solid shape data, dimension data and feature data.

3. According to the method of bidirectional linkage between a 3D model of a hull and a 2D drawing based on data monitoring as described in claim 1, It is characterized in that In step 2, the monitoring of the data monitoring unit includes: Configure listeners: Create listener objects to capture data changes in 3D model parts and 2D drawing entities; Monitoring target: specify the three-dimensional shape data, geometric shape data, size data and feature data to be monitored; Listener feedback: When data changes, the listener will record the changed data, output the changed data through the callback function, and trigger the corresponding update operation; Start monitoring: Start the listener and begin monitoring data changes.

4. According to the method of bidirectional linkage between a 3D model of a hull and a 2D drawing based on data monitoring as described in claim 1, It is characterized in that In step 2, the data monitoring group includes N1, N2, N3 ... Nn data monitoring units, and one data monitoring unit corresponds to a mutually monitoring three-dimensional model part and a two-dimensional drawing element.

5. According to the method of bidirectional linkage between a 3D model of a hull and a 2D drawing based on data monitoring as described in claim 1, It is characterized in that In step 3, global monitoring of the linkage data update between the 3D model and the 2D drawing is performed through the data monitoring group; Global monitoring works on all data monitoring units in the data monitoring group. The monitoring objects include all 3D model parts and the corresponding 2D drawing elements.

6. According to the method of bidirectional linkage between a 3D model of a hull and a 2D drawing based on data monitoring as claimed in claim 1, It is characterized in that In step 3, partial monitoring of the linkage update data between the 3D model and the 2D drawing is performed through the data monitoring group; Partial monitoring is to specify the data monitoring unit work for the data monitoring group, and the monitoring objects include the specified 3D model parts and the corresponding 2D drawing primitives; Among them, the designated 3D model parts and the corresponding 2D drawing entities are the main monitoring objects, and the 3D model parts and the corresponding 2D drawing entities that have a matching relationship with the designated 3D model parts and the corresponding 2D drawing entities are the matching monitoring objects.

7. According to the method of bidirectional linkage between a 3D model of a ship and a 2D drawing based on data monitoring as described in claim 1, It is characterized in that In step 4, it is monitored that there is linkage update data between the 3D model and the 2D drawing, and the linkage update data is identified and confirmed, including: The data monitoring unit of the data monitoring group records the linkage update data of either the 3D model parts or the 2D drawing elements through the monitor. When there is a change in data on either side, the change is compared and confirmed with the initial data. If the two are partially the same or completely different, they are confirmed as linked update data; If the two are exactly the same, it is confirmed that the data is not updated in linkage.

8. A method for bidirectional linkage between a 3D ship model and a 2D drawing based on data monitoring according to claim 7, It is characterized in that In step 4, the comparison and confirmation of the changed data and the initial data includes: When the monitored party is a 2D drawing element, the comparison between the changed data and the initial data includes geometric shape comparison, size comparison and feature comparison; When the monitored party is a three-dimensional model part, the comparison between the changed data and the initial data includes three-dimensional shape comparison, size comparison and feature comparison.

9. According to the method of bidirectional linkage between a 3D model of a ship and a 2D drawing based on data monitoring as claimed in claim 1, It is characterized in that In step five, updating the data of the linked update of one party of the monitored three-dimensional model and the two-dimensional drawing to the other party includes: converting the linked update data of either the two-dimensional drawing primitive or the three-dimensional model part into update data that can be recognized by the other party, generating a single two-dimensional drawing primitive or three-dimensional model part after update corresponding to the initial two-dimensional drawing primitive or three-dimensional model part, and replacing the initial two-dimensional drawing primitive or three-dimensional model part with the single two-dimensional drawing primitive or three-dimensional model part to generate a new two-dimensional drawing or three-dimensional model.

10. A two-way linkage method between a 3D ship model and a 2D drawing based on data monitoring according to claim 1, It is characterized in that In step five, updating the data of the linkage update of the monitored three-dimensional model and the two-dimensional drawing to the other monitored party also includes: converting the linkage update data of any one of the two-dimensional drawing primitives or three-dimensional model parts and the initial data of the two-dimensional drawing primitives or three-dimensional model parts that have a matching relationship with them into update data that can be recognized by the other party, generating updated locally matched two-dimensional drawing primitives or three-dimensional model parts corresponding to the initial two-dimensional drawing primitives or three-dimensional model parts, and updating the two-dimensional drawing primitives or three-dimensional model through the locally matched two-dimensional drawing primitives or three-dimensional model parts.

Citation Information

Cited By

  • Method for generating axial survey single line diagram of three-dimensional pipeline of hydropower station

    CN121389390A