Mark generation method and system for ship three-dimensional deliverable, medium and terminal
By collecting historical annotation data, creating annotation templates and dynamically adjusting parameters, the complexity of the three-dimensional delivery item annotation generation and management is solved, the efficiency and accuracy of the annotation are improved, and the ship production process is optimized.
Patent Information
- Application Number
- CN202510247105.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-04
- Publication Date
- 2025-06-24
AI Technical Summary
In the prior art, the label generation and management of three-dimensional delivery items are complex, which can easily lead to label errors or failure to meet actual needs, affecting production efficiency and product quality.
By collecting historical annotation data of the ship model, creating different types of annotation templates, and calling the corresponding annotation templates according to the type of actual annotation data, dynamically adjusting the parameters in the template to generate the delivered annotation data.
It significantly improves the generation efficiency, accuracy and consistency of labels, optimizes the coordinated work in ship design, production, inspection and other links, improves production efficiency and quality, and reduces error rate and rework costs.
Smart Images

Figure CN120197290A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ship design, and in particular, to a method, system, medium and terminal for generating annotations of ship three-dimensional deliverables. Background Art
[0002] In the field of modern shipbuilding, with the continuous development of digital technology, three-dimensional deliverables have become the core basis for guiding on-site workers in production activities. Compared with traditional two-dimensional drawings, three-dimensional deliverables show significant advantages in many aspects. First, in terms of data acquisition, three-dimensional deliverables can directly extract information from digital models, avoiding the interpretation errors and information omissions that may occur in two-dimensional drawings, enabling on-site workers to obtain the required design data and production instructions more quickly and accurately. Second, in terms of information understanding, three-dimensional deliverables display the geometric shapes, spatial relationships, and assembly sequences of ship structures and components through intuitive three-dimensional views, greatly reducing the difficulty of understanding and improving work efficiency. Especially in production links with complex structures and high-precision requirements, the advantages of three-dimensional deliverables are more obvious.
[0003] However, the wide application of three-dimensional deliverables has also brought new challenges. To ensure that three-dimensional deliverables can effectively guide production, it is necessary to organically integrate necessary production information such as geometric models, model attributes, and annotations. Geometric models provide the physical shape and structural information of the ship, model attributes contain key information such as materials, processing requirements, tolerances, etc., and annotations are supplements and explanations for this information, used to clarify specific contents such as dimensions, positions, and operation requirements. Annotations play a crucial role in three-dimensional deliverables, but their complexity cannot be ignored. There are many types of annotations, including dimension annotations, text annotations, symbol annotations, etc., and each type has multiple variable attributes, such as the orientation of the annotation, font size, font type, arrangement method, color, line type, etc. The diversity and variability of these attributes make the generation and management of annotations extremely complex. A slight oversight may lead to annotation errors or inconsistencies with actual requirements, thereby affecting production efficiency and product quality. Summary of the Invention
[0004] In view of the problems existing in the above-mentioned prior art, the present application provides a method, system, medium and terminal for generating annotations of ship three-dimensional deliverables, which can accurately generate deliverable annotation data in three-dimensional deliverables and improve production efficiency.
[0005] To achieve the above object and other related objects, on the one hand, the present invention provides a method for generating annotations of ship three-dimensional deliverables, including the following steps:
[0006] Collect historical annotation data of the ship model;
[0007] Create different types of annotation templates based on historical annotation data;
[0008] Obtain actual annotation data from the actual ship model;
[0009] Call the corresponding annotation template according to the type of actual annotation data, and modify the existing annotation data in the annotation template according to the actual annotation data to obtain the deliverable annotation data;
[0010] Output the deliverable annotation data.
[0011] Optionally, create different types of annotation templates based on historical annotation data, including:
[0012] Create a dimension annotation template according to historical annotation data;
[0013] Create a text annotation template according to historical annotation data;
[0014] Create a symbol annotation template according to historical annotation data;
[0015] Create a tolerance annotation template according to historical annotation data.
[0016] Optionally, the actual annotation data includes self-annotation data and associated annotation data.
[0017] Optionally, obtain actual annotation data from the actual ship model, including:
[0018] Determine the annotation type, annotation position, annotation arrangement, and annotation font according to the self-annotation data;
[0019] Establish an association relationship between the associated annotation data and the parts and views in the actual ship model.
[0020] Optionally, the types of actual annotation data include dimension annotation type, text annotation type, symbol annotation type, and tolerance annotation type.
[0021] Optionally, after modifying the existing annotation data in the annotation template according to the actual annotation data to obtain the deliverable annotation data, the following steps are included:
[0022] Store the deliverable annotation data in the deliverable annotation file.
[0023] On the other hand, the present invention provides a system for generating annotations of a three-dimensional deliverable of a ship, including:
[0024] A collection module for collecting historical annotation data of a ship model;
[0025] A creation module for creating different types of annotation templates according to historical annotation data;
[0026] An acquisition module, configured to acquire actual annotation data from an actual ship model;
[0027] A result module, configured to call a corresponding annotation template according to the type of the actual annotation data, and modify the existing annotation data in the annotation template according to the actual annotation data to obtain deliverable annotation data;
[0028] An output module, configured to output the deliverable annotation data.
[0029] Optionally, the result module includes:
[0030] A type judgment unit, configured to judge the type of the actual annotation data;
[0031] A calling unit, configured to call an annotation template corresponding to the type of the actual annotation data;
[0032] A modification unit, configured to modify the existing annotation data in the annotation template according to the actual annotation data to obtain deliverable annotation data.
[0033] Another aspect of the present invention provides a storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for generating annotations of a three-dimensional deliverable of a ship is implemented.
[0034] Another aspect of the present invention provides a terminal, including:
[0035] A memory, configured to store a computer program;
[0036] A processor, configured to execute the computer program stored in the memory, so that the terminal executes the above-mentioned method for generating annotations of a three-dimensional deliverable of a ship.
[0037] As described above, the method, system, medium and terminal for generating annotations of a three-dimensional deliverable of a ship provided by the present invention at least have the following beneficial technical effects:
[0038] A method for generating annotations of a ship's three-dimensional deliverable of the present invention first collects historical annotation data of a ship model. Then, different types of annotation templates are created based on the historical annotation data. Next, actual annotation data is obtained from the actual ship model. Subsequently, the corresponding annotation template is called according to the type of the actual annotation data, and the existing annotation data in the annotation template is modified based on the actual annotation data to obtain deliverable annotation data. Finally, the deliverable annotation data is output. The method for generating annotations of the ship's three-dimensional deliverable in this embodiment can flexibly modify the parameters in the template according to the actual annotation data by creating different types of annotation templates, and the annotation templates support dynamic parameter adjustment, so as to adapt to different design and production requirements. It significantly improves the generation efficiency, accuracy and consistency of annotations, and optimizes the collaborative work in ship design, production, inspection and other links. This method not only enhances the intuitiveness of information understanding, but also improves production efficiency and quality through integration with the production system, reduces error rates and rework costs, and has significant economic benefits and application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It shows a schematic flowchart of the method for generating annotations of a ship's three-dimensional deliverable provided in Embodiment 1 of the present invention.
[0040] Figure 2 It shows a schematic diagram of the modules of the system for generating annotations of a ship's three-dimensional deliverable provided in Embodiment 2 of the present invention.
[0041] Figure 3 It shows a schematic diagram of the structure of a terminal provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0042] The following specific examples illustrate the embodiments of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention.
[0043] It should be noted that the diagrams provided in this embodiment only illustrate the basic concept of the present invention in a schematic manner. Although only the components related to the present invention are shown in the diagrams, they are not drawn according to the number, shape and size of the components in actual implementation. The form, quantity, positional relationship and proportion of each component in actual implementation can be arbitrarily changed on the premise of implementing the technical solution of the present invention, and the component layout form may also be more complex.
[0044] Embodiment 1
[0045] This embodiment provides a method for generating annotations of a ship's three-dimensional deliverable. Refer to Figure 1, the method includes the following steps:
[0046] S100: Collect historical annotation data of the ship model;
[0047] Specifically, the sources of historical annotation data include 3D design software, external databases, dedicated annotation files, cloud platforms, or data management systems, etc. During the ship design process, designers use professional 3D design software, such as CAD software, to create a ship model and add annotation information to the ship model. The historical annotation data in the 3D design software is stored in the 3D model file. The historical annotation data includes geometric information data, attribute information data, and association information data. The geometric information data includes the starting and ending coordinates of the dimension line, the coordinates of the text bounding box, etc. The attribute information data includes font size, color, alignment method, etc. The association information data includes the part ID associated with the annotation, view information, etc. In some complex ship design projects, the historical annotation data may be stored in an external database for easy management and sharing. The external database can be a relational database or a non-relational database. The historical annotation data in the external database includes detailed information data, association relationship data, and historical record data. The detailed information data includes dimension values, text content, font attributes, etc. The association relationship data includes associated part ID, view information, etc. The historical record data includes modification time, modifier, modification content, etc. The historical annotation data may also be stored in dedicated annotation files that are separated from the 3D model file but remain associated with the model. With the wide application of cloud computing and data management systems, the historical annotation data may be stored in a cloud platform or a project management system. These systems provide functions such as data sharing, version control, and permission management, facilitating team collaboration and project management. The historical annotation data in the cloud platform or data management system includes detailed information data, association relationship data, and version information data. The detailed information data includes dimension values, text content, font attributes, etc. The association relationship data includes associated part ID, view information, etc. The version information data includes version number, modification history, etc.
[0048] S200: Create different types of annotation templates based on the historical annotation data;
[0049] Specifically, classify the historical annotation data according to the type, function, material description, and attributes of the historical annotation data to create different types of annotation templates. This includes creating a dimension annotation template based on the historical annotation data, creating a text annotation template based on the historical annotation data, creating a symbol annotation template based on the historical annotation data, and creating a tolerance annotation template based on the historical annotation data. Dimension annotation is used to clarify the dimension information of geometric elements and is the most common annotation type in ship design and production. The dimension annotation template includes dimension type, geometric features, text content, display attributes, and association relationships. Dimension types include linear dimension, angular dimension, radius dimension, diameter dimension, arc length dimension, etc. Geometric features include the starting and ending coordinates of the dimension line, the starting and ending coordinates of the extension line, the coordinates of the annotation frame, the rotation angle, and additional geometric elements, such as the arc line for angular annotation, the center of the circle for radius annotation, etc. Text content includes dimension values, such as 100mm, 90°; text position, such as above or below the dimension line; text alignment, such as centered alignment, left alignment; font size, font type, font color, font weight, etc. Display attributes include dimension line style, such as solid line, dashed line; dimension line color; leader style, such as whether there is a leader, leader length, and angle, etc. Association relationships include associated part ID, associated view, and dynamic association, such as updating with the movement or hiding of the part. The text annotation in the text annotation template is used to provide additional explanatory information, such as material type, processing requirements, welding symbols, etc. The text annotation template includes text content, text attributes, leader information, and association relationships, etc. The symbol annotation in the symbol annotation template is used to represent specific engineering symbols, such as welding symbols, surface treatment symbols, etc. The symbol annotation template includes symbol type, symbol position, symbol attributes, and association relationships, etc. The tolerance annotation in the tolerance annotation template is used to clarify the allowable deviation range of the dimension. The tolerance annotation template includes dimension value, tolerance range, text content, text attributes, and association relationships, etc.
[0050] S300: Obtain actual annotation data from the actual ship model;
[0051] In the actual ship design and production process, it is necessary to extract actual annotation data from the ship model, and the actual annotation data is used to guide on-site production. The actual annotation data includes self-annotation data and associated annotation data. The self-annotation data includes, but is not limited to, the type of annotation, the specific content of the annotation, the geometric information of the annotation, and the style information of the annotation. The type of annotation includes dimension annotation, text annotation, etc.; the specific content of the annotation includes dimension values, text descriptions, etc.; the geometric information of the annotation includes position coordinates, rotation angles, etc.; the style information of the annotation includes font size, color, line type, etc. Determine the annotation type, annotation position, annotation arrangement, and annotation font according to the self-annotation data, including: judging the annotation type of the self-annotation data and refining the self-annotation data based on the annotation type. Among them, the annotation type is mainly divided into two major categories: dimension annotation type and text annotation type, and also includes symbol annotation type and tolerance annotation type. The dimension annotation type needs to determine the dimension category, specifically including distance, length, angle, radius, etc., and determine additional content based on the dimension category. For example, an angle annotation needs to add an arc line, and a radius annotation requires the center position. The text annotation type is divided into pure text type and leader annotation type. If it is the leader annotation type, the coordinates of the leader anchor point need to be determined. Determine the annotation position according to the plane where the annotation is located, the center point or starting point coordinates of the annotation frame, and the rotation angle of the annotation relative to its plane. Determine the annotation arrangement according to information such as the anchor point type of the text, character spacing, and paragraph spacing. Determine the annotation font according to information such as font size, font type, font color, and font weight.
[0052] Establish an association relationship between the associated annotation data and the parts and views in the actual ship model, and realize dynamically controlling the display state of the associated annotation data according to the display state of the parts and realizing batch processing of the associated annotation data under the same view. For example, when hiding or deleting a certain view, the associated annotation data associated with that view can be grouped and hidden or deleted, so as to maintain the consistency of the associated annotation data and the views of the actual ship model.
[0053] S400: Call the corresponding annotation template according to the type of the actual annotation data, and modify the existing annotation data in the annotation template according to the actual annotation data to obtain the deliverable annotation data;
[0054] Specifically, call the corresponding annotation template according to the type of actual annotation data. For example, call the dimension annotation template, text annotation template, symbol annotation template, and tolerance annotation template according to the dimension annotation type, text annotation type, symbol annotation type, and tolerance annotation type of the actual annotation data respectively. Then, modify the corresponding historical annotation data of the corresponding annotation template according to the actual annotation data, such as dimension values, text content, and font size, etc., and dynamically adjust the historical annotation data of the annotation template to meet the actual annotation requirements. For example, modify the font size, color, or annotation position, etc. The modified historical annotation data is stored as the deliverable annotation data in the deliverable annotation file.
[0055] S500: Output the deliverable annotation data.
[0056] Specifically, the display program reads the deliverable annotation data from the deliverable annotation file and displays the deliverable annotation data in the ship model. The output form of the deliverable annotation data is diversified to meet the needs of different users and application scenarios. The deliverable annotation data can be directly displayed in the 3D view, enabling users to intuitively view the annotation information in the 3D environment. It can also be output in the form of an annotation file or a data format integrated with the production system.
[0057] The annotation generation method for the ship 3D deliverable in this embodiment can create different types of annotation templates, and the annotation templates support dynamic parameter adjustment. It can flexibly modify the parameters in the template according to the actual annotation data to adapt to different design and production requirements. It significantly improves the generation efficiency, accuracy, and consistency of annotations, and optimizes the collaborative work in ship design, production, inspection, and other links. This method not only enhances the intuitiveness of information understanding but also improves production efficiency and quality through integration with the production system, reduces error rates and rework costs, and has significant economic benefits and application value.
[0058] Embodiment 2
[0059] This embodiment provides a system for generating annotations for ship 3D deliverables, referring to Figure 2, the annotation generation system for the 3D ship delivery object of this embodiment includes a collection module, a creation module, an acquisition module, a result module, and an output module. The collection module is used to collect the historical annotation data of the ship model. The creation module is used to create different types of annotation templates according to the historical annotation data. The acquisition module is used to obtain the actual annotation data in the actual ship model. The result module is used to call the corresponding annotation template according to the type of the actual annotation data, and modify the existing annotation data in the annotation template according to the actual annotation data to obtain the delivery object annotation data. The result module includes a type judgment unit, a call unit, and a modification unit. The type judgment unit is used to judge the type of the actual annotation data. The call unit is used to call the annotation template corresponding to the type of the actual annotation data. The modification unit is used to modify the existing annotation data in the annotation template according to the actual annotation data to obtain the delivery object annotation data. The output module is used to output the delivery object annotation data.
[0060] Embodiment 3
[0061] This embodiment provides a storage medium. A computer program is stored on the storage medium of this embodiment, and when the program is executed by a processor, it implements the annotation generation method for the 3D ship delivery object described in Embodiment 1. The storage medium includes: various media such as ROM, RAM, magnetic disk, USB flash drive, memory card, or optical disc that can store program codes.
[0062] Embodiment 4
[0063] This embodiment provides a terminal, as Figure 3 shown. The terminal of this embodiment includes a memory and a processor. The memory is used to store a computer program. Preferably, the memory includes: various media such as ROM, RAM, magnetic disk, USB flash drive, memory card, or optical disc that can store program codes. The processor is connected to the memory and is used to execute the computer program stored in the memory so that the terminal executes the annotation generation method for the 3D ship delivery object described in Embodiment 1. Preferably, the processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), etc.; it can also be a digital signal processor (Digital Signal Processor, abbreviated as DSP), an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), a field programmable gate array (Field Programmable Gate Array, abbreviated as FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0064] The above embodiments are only illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed by the present invention should still be covered by the claims of the present invention.
Claims
1. A method for generating annotations for a three-dimensional ship deliverable, characterized in that: The following steps are involved: Collect historical annotation data of ship models; Creating different types of annotation templates according to the historical annotation data; Obtain actual annotation data in the actual ship model; Calling the corresponding annotation template according to the type of the actual annotation data, and modifying the existing annotation data in the annotation template according to the actual annotation data to obtain deliverable annotation data; The deliverable annotation data is output.
2. The method for generating annotations of a three-dimensional ship deliverable according to claim 1, characterized in that: Different types of annotation templates are created based on the historical annotation data, including: Creating a dimension annotation template based on the historical annotation data; Creating a text annotation template according to the historical annotation data; Creating a symbol annotation template according to the historical annotation data; A tolerance annotation template is created based on the historical annotation data.
3. The method for generating annotations of a three-dimensional ship deliverable according to claim 1, characterized in that: The actual annotation data includes self-annotation data and associated annotation data.
4. The method for generating annotations of a three-dimensional ship deliverable according to claim 3, characterized in that: Obtain actual annotation data in the actual ship model, including: Determine the annotation type, annotation position, annotation arrangement, and annotation font according to the self-annotation data; An association relationship is established between the associated annotation data and the parts and views in the actual ship model.
5. The method for generating annotations of a three-dimensional ship deliverable according to claim 1, characterized in that: The types of the actual annotation data include dimension annotation type, text annotation type, symbol annotation type and tolerance annotation type.
6. The method for generating annotations of a three-dimensional ship deliverable according to claim 1, characterized in that: After the existing annotation data in the annotation template is modified according to the actual annotation data to obtain the deliverable annotation data, the following steps are included: The deliverable annotation data is stored in a deliverable annotation file.
7. A system for generating annotations for three-dimensional ship deliverables, characterized in that: include: The acquisition module is used to collect historical annotation data of ship models; A creation module, used to create different types of annotation templates according to the historical annotation data; An acquisition module is used to acquire actual annotation data in an actual ship model; A result module, configured to call the corresponding annotation template according to the type of the actual annotation data, and modify the existing annotation data in the annotation template according to the actual annotation data to obtain the deliverable annotation data; The output module is used to output the deliverable annotation data.
8. The annotation generation system for a three-dimensional ship deliverable according to claim 7, characterized in that: The result module includes: A type determination unit, used to determine the type of the actual annotation data; A calling unit, used for calling the annotation template corresponding to the type of the actual annotation data; The modification unit is used to modify the existing annotation data in the annotation template according to the actual annotation data to obtain the deliverable annotation data.
9. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for generating annotations of a three-dimensional ship delivery object according to any one of claims 1 to 6 is realized.
10. A terminal, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program stored in the memory so that the terminal executes the annotation generation method for a three-dimensional ship deliverable according to any one of claims 1 to 6.