Three-dimensional annotation method, system, equipment and storage medium for ship outfitting railing model
Through the three-dimensional labeling method of ship outfit railing model, the part attribute classification and geometric feature information are used to solve the problems of cumbersome annotation operations and inefficient efficiency, and efficient and standardized three-dimensional labeling is achieved to guide the manufacturing process.
Patent Information
- Application Number
- CN202111220899.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2041-10-20
AI Technical Summary
The existing technology cannot start from actual design and construction needs. The three-dimensional labeling of ship outfit railing models is cumbersome and the labeling efficiency is inefficient. Due to the differences in personnel labeling habits and professional knowledge, information expression is inconsistent, which affects manufacturing guidance.
Provide a three-dimensional labeling method for ship outfit railing models. By reading the three-dimensional labeling rules, marking according to the part attribute classification, manufacturing dimensions and assembly dimensions, and using geometric feature information to determine the manufacturing and assembly marking planes to achieve efficient labeling of part numbers and assembly dimensions.
It improves the three-dimensional labeling efficiency of ship outfit railing models, shortens the labeling cycle, ensures the consistency of labeling, guides the manufacturing process, and has high practical value.
Smart Images

Figure CN113888728B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of ship design and relates to a marking method and system, and in particular to a three-dimensional marking method, system, equipment and storage medium for a ship outfitting railing model. Background Art
[0002] In ship outfitting design, due to the significant influence of external factors, there are multiple combination variations of similar outfitting items; among them, the railing variation is relatively special. For the same type of outfitting railing, there are multiple variations in the number of railing columns, railing column spacing, bracing position, etc. in the same scenario; on the one hand, it leads to cumbersome 3D annotation operations for outfitting railing manufacturing and low annotation efficiency; on the other hand, due to differences in annotation habits and professional knowledge dimensions of the personnel involved, some of the expression information is differentiated, which is not conducive to guiding outfitting railing manufacturers in construction and production.
[0003] Therefore, how to provide a three-dimensional annotation method, system, equipment and storage medium for ship outfitting railing models to solve the defects of existing technologies such as the inability to start from actual design and construction requirements, the cumbersome three-dimensional annotation operation of ship outfitting railing models, and low annotation efficiency has become a technical problem that needs to be urgently solved in this field. Summary of the Invention
[0004] In view of the shortcomings of the existing technology described above, the purpose of the present invention is to provide a three-dimensional annotation method, system, equipment and storage medium for ship outfitting railing models, which is used to solve the problems that the existing technology cannot be based on actual design and construction requirements, the three-dimensional annotation operation of ship outfitting railing models is cumbersome, and the annotation efficiency is low.
[0005] To achieve the above-mentioned and other related purposes, the present invention provides, on the one hand, a three-dimensional annotation method for a ship outfitting railing model, comprising: reading outfitting railing three-dimensional annotation rules; the outfitting railing three-dimensional annotation rules include: annotation according to attribute classification of three-dimensional parts, annotation according to manufacturing dimensions of three-dimensional parts, and annotation according to assembly dimensions between three-dimensional parts; traversing the ship outfitting railing three-dimensional model to be annotated, and obtaining the three-dimensional part entity features in the ship outfitting railing three-dimensional model; classifying the three-dimensional part entity features by attributes, and annotating the three-dimensional parts after attribute classification by part numbers; extracting geometric feature information of the three-dimensional part entity features, determining the manufacturing annotation plane of the three-dimensional part based on the geometric feature information, and annotating the manufacturing dimensions of the three-dimensional part on the manufacturing annotation plane; and obtaining the spatial range of the outfitting railing according to the geometric feature information of the three-dimensional part entity features, constructing an assembly annotation plane by judging the range values of the spatial range of the outfitting railing in each axis direction to construct the assembly annotation plane, and annotating the assembly dimensions between the three-dimensional parts on the assembly annotation plane.
[0006] In one embodiment of the present invention, the outfitting railing three-dimensional annotation rules include ship outfitting railing manufacturing information; the ship outfitting railing manufacturing information includes railing part number information, railing part manufacturing size information and assembly size information between railing parts.
[0007] In one embodiment of the present invention, the steps of classifying the attributes of the three-dimensional part entity features and marking the part numbers of the three-dimensional parts after the attribute classification include: classifying the three-dimensional parts in the three-dimensional model of the ship outfitting railing to be marked according to type, specification, and material; and marking the part numbers of the three-dimensional parts after the classification according to type, specification, and material attributes.
[0008] In one embodiment of the present invention, the steps of extracting the geometric feature information of the three-dimensional part entity features, determining the manufacturing annotation plane of the three-dimensional part based on the geometric feature information, and marking the manufacturing dimensions of the three-dimensional part on the manufacturing annotation plane include: screening out the longest contour line from the extracted geometric feature information, taking the direction of the longest contour line as the reference direction, and determining the manufacturing annotation plane at the same time; projecting the geometric feature information of the three-dimensional part entity features onto the axial direction of the manufacturing annotation plane in sequence, and obtaining the projection points; determining the annotation order and annotation relationship of the geometric feature information according to the distribution status and projection order of the projection points, the geometric feature information, and each axis direction.
[0009] In one embodiment of the present invention, the distribution states of the projection points and the axis directions include: single-direction distribution and multi-direction distribution; the single-direction distribution includes the geometric feature information being projected in sequence on the X-axis or Y-axis direction; the multi-direction distribution includes the geometric feature information being projected in sequence on the X-axis and Y-axis directions.
[0010] In one embodiment of the present invention, the spatial range of the outfitting railing is obtained based on the geometric feature information of the three-dimensional part entity feature, and an assembly annotation plane is constructed by judging the range values of the spatial range of the outfitting railing in each axis direction. The step of marking the assembly dimensions between the three-dimensional parts on the assembly annotation plane includes: obtaining the spatial range of each three-dimensional part; superimposing the spatial range of each three-dimensional part to obtain the spatial range of the outfitting railing; sorting the range values of the spatial range of the outfitting railing in each axis direction from large to small, and constructing the assembly annotation plane according to the sorting result; based on the axis direction in the assembly annotation plane, spatially arranging the geometric feature information according to the three-dimensional part entity feature, and marking the assembly dimensions between the three-dimensional parts according to the arrangement order in each axis direction.
[0011] In one embodiment of the present invention, the range values in each axis direction of the spatial range of the outfitting railing are sorted from large to small, and the step of constructing the assembly annotation plane according to the sorting result includes: sorting the range values in each axis direction of the spatial range of the outfitting railing from large to small, using the sorted first and second directions as the X and Y axis directions of the first assembly annotation plane to construct the first assembly annotation plane; judging whether the range value in the minimum axis direction is greater than a preset value; if so, combining the second direction and the minimum axis direction to form the X and Y axis directions of the second assembly annotation plane; if not, not constructing the second assembly annotation plane.
[0012] The last aspect of the present invention provides a three-dimensional annotation system for a ship outfitting railing model, comprising: a reading module for reading the outfitting railing three-dimensional annotation rules; the outfitting railing three-dimensional annotation rules include: annotation according to the attribute classification of the three-dimensional part, annotation according to the manufacturing dimension of the three-dimensional part, and annotation according to the assembly dimension between the three-dimensional parts; an acquisition module for traversing the ship outfitting railing three-dimensional model to be annotated, and obtaining the three-dimensional part entity features in the ship outfitting railing three-dimensional model; an attribute annotation module for classifying the three-dimensional part entity features by attributes, and annotating the three-dimensional parts after the attribute classification with part numbers; a manufacturing dimension annotation module for extracting the geometric feature information of the three-dimensional part entity features, determining the manufacturing annotation plane of the three-dimensional part based on the geometric feature information, and annotating the manufacturing dimension of the three-dimensional part on the manufacturing annotation plane; and an assembly dimension annotation module for obtaining the spatial range of the outfitting railing according to the geometric feature information of the three-dimensional part entity features, constructing an assembly annotation plane by judging the range values of the spatial range of the outfitting railing in each axis direction to construct the assembly annotation plane, and performing assembly dimension annotation between the three-dimensional parts on the assembly annotation plane.
[0013] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the three-dimensional annotation method of the ship outfitting railing model.
[0014] The last aspect of the present invention provides a three-dimensional annotation device for a ship outfitting railing model, comprising: a processor and a memory, the memory storing program instructions, and the processor running the program instructions to implement the steps in the three-dimensional annotation method of the ship outfitting railing model.
[0015] As described above, the three-dimensional annotation method, system, device, and storage medium of the ship outfitting railing model of the present invention have the following beneficial effects:
[0016] The 3D annotation method, system, device, and storage medium for ship outfitting railing models described in this invention address the inefficient 3D annotation of ship outfitting railing models based on practical design and construction. Based on actual 3D model data, this method allows for efficient and rapid 3D annotation of outfitting railing manufacturing, shortening the annotation cycle and possessing high practical and promotional value in the field of ship design. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Shown is a flow chart of a method for three-dimensionally labeling a ship outfitting railing model in one embodiment of the present invention.
[0018] Figure 2 Shown is a schematic diagram of the principle structure of a three-dimensional annotation system for a ship outfitting railing model in one embodiment of the present invention.
[0019] Component number description
[0020] 2 Three-dimensional model of ship outfitting railing Annotation system
[0021] 21 Read Module
[0022] 22 Get Module
[0023] 23 Attribute Annotation Module
[0024] 24 Manufacturing Dimensioning Module
[0025] 25 Assembly Dimensioning Module
[0026] Steps S11 to S15 DETAILED DESCRIPTION
[0027] The following describes the embodiments of the present invention through specific examples. 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. The 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. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.
[0028] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.
[0029] This embodiment provides a three-dimensional annotation method for a ship outfitting railing model, comprising:
[0030] Reading the 3D marking rules of the outfitting railing; the 3D marking rules of the outfitting railing include: marking according to the attribute classification of the 3D parts, marking according to the manufacturing dimensions of the 3D parts, and marking according to the assembly dimensions between the 3D parts;
[0031] Traversing the three-dimensional model of the ship outfitting railing to be annotated, and obtaining the three-dimensional part entity features in the three-dimensional model of the ship outfitting railing;
[0032] Classify the attributes of the three-dimensional part entity features and mark the part numbers of the three-dimensional parts after attribute classification;
[0033] Extract the geometric feature information of the three-dimensional part entity features, determine the manufacturing annotation plane of the three-dimensional part based on the geometric feature information, and annotate the manufacturing dimensions of the three-dimensional part on the manufacturing annotation plane; obtain the spatial range of the outfitting railing based on the geometric feature information of the three-dimensional part entity features, construct an assembly annotation plane by determining the range values of the spatial range of the outfitting railing in each axis direction, and perform assembly dimension annotation between the three-dimensional parts on the assembly annotation plane.
[0034] The following, with accompanying diagrams, details the 3D annotation method for a ship outfitting railing model provided in this embodiment. In this embodiment, all models reside in the same product structure tree, and all are 3D models. For example, within a 3D CAD / CAM software environment, model selection is accomplished by selecting the corresponding 3D model structure node. Alternatively, within a 3D CAD / CAM software environment, the desired 3D model can be generated by clicking on a process part model.
[0035] See also Figure 1 , which is a flow chart of a three-dimensional annotation method for a ship outfitting railing model in one embodiment. Figure 1 As shown, the three-dimensional annotation method of the ship outfitting railing model specifically includes the following steps:
[0036] S11, read the 3D annotation rules of outfitting railings.
[0037] In this embodiment, the outfitting railing 3D annotation rule includes ship outfitting railing manufacturing information; the ship outfitting railing manufacturing information includes railing part number information, railing part manufacturing size information and assembly size information between railing parts.
[0038] The three-dimensional marking rules for outfitting railings include: marking according to the attribute classification of three-dimensional parts, marking according to the manufacturing dimensions of three-dimensional parts, and marking according to the assembly dimensions between three-dimensional parts.
[0039] S12, traversing the three-dimensional model of the ship outfitting railing to be annotated, and obtaining three-dimensional part entity features in the three-dimensional model of the ship outfitting railing.
[0040] S13, classifying the three-dimensional part entity features by attributes, and marking the part numbers of the three-dimensional parts after the attribute classification.
[0041] In this embodiment, the S13 includes:
[0042] Classify the three-dimensional parts in the three-dimensional model of the ship outfitting railing to be annotated according to type, specification, and material;
[0043] The three-dimensional parts classified according to type, specification and material properties are marked with part numbers.
[0044] For example: according to the component part name information, the part information obtained is classified into round steel and railing column in order; first, using the "round steel" character as the query condition, all instance parts with the same part name under the outfitting railing 3D model object are traversed, and the first part object that meets the query condition is the annotation object; then, the geometric features of the annotation object part are analyzed to determine whether its feature contour is a circle. If the current feature contour is a circle, the center axis of the part is obtained, otherwise the longest contour line is obtained; finally, the center point of the obtained contour line or center axis is the part number annotation position, and the part number annotation information is 1. Similarly, the instance part with the part name "railing column" is obtained, and its part number annotation information is 2 (increased in sequence according to the part type, such as: 1, 2, 3...).
[0045] S14, extracting geometric feature information of the physical features of the three-dimensional part, determining a manufacturing annotation plane of the three-dimensional part based on the geometric feature information, and marking the manufacturing dimensions of the three-dimensional part on the manufacturing annotation plane.
[0046] Specifically, the S14 includes:
[0047] The longest contour line is selected from the extracted geometric feature information, and the direction of the longest contour line is used as a reference direction (e.g., the X-axis direction), while determining a manufacturing annotation plane; the geometric feature information of the three-dimensional part entity feature is sequentially projected onto the axis direction of the manufacturing annotation plane, and projection points are obtained;
[0048] According to the distribution states and projection order of the projection points and geometric feature information and the directions of the axis systems, the marking order and marking relationship of the geometric feature information are determined.
[0049] In this embodiment, the distribution states of the projection points and the axis directions include: single-direction distribution and multi-direction distribution.
[0050] The single-direction distribution includes sequentially projecting the geometric feature information onto the X-axis or Y-axis. For example, if there is only one geometric feature point in the previous axis direction (X-axis or Y-axis), no part manufacturing information is marked in that direction.
[0051] The multi-directional distribution includes sequentially projecting the geometric feature information onto the X-axis and Y-axis. For example, if there is no unique geometric feature point in either the Z-axis or the Y-axis, then the manufacturing information of the three-dimensional part must be annotated in both the X-axis and the Y-axis.
[0052] For example: according to the component part name information, the part name classification is obtained as round steel and railing column; first, with the "round steel" character as the query condition, all part feature names under the outfitting railing 3D model object are traversed to obtain all part objects that meet the query conditions and analyze the part geometric features; determine whether its feature contour is a circle, if the feature contour is a circle, obtain the center axis of the part, otherwise obtain all outer boundary contour lines of the current entity part; construct the annotation plane based on the longest contour line (the midpoint of the contour line is set as the center point of the plane, the direction of the longest contour line is set as the X-axis direction of the plane, and the perpendicular direction of the X-direction is set as the Y-axis direction of the plane); then, parse the topological lines and topological points of all the obtained center axes or outer boundary contour lines in turn, and project the obtained topological points in the annotation plane in turn; eliminate the projection coincidence points (the mathematical coordinates of the projection points are the same); take the minimum projection point in the X-axis direction as the starting point, and obtain the X-axis The projection point closest to the starting point in the positive direction is marked as the end point, and the mathematical point coordinates of the two projection points are obtained respectively. The topological annotation object is obtained through the mathematical point coordinates (screening principle: obtain the two end points of the topological line; finally, project the two end points in the annotation plane. If the current two projection point coordinates are the same as the starting point and the end point coordinates, the topological line is changed to an annotation object, otherwise it is not an annotation object). The topological points at both ends of the topological annotation object are used as annotation input objects for dimension annotation. After the annotation is completed, the above-mentioned end point is defined as the starting point, and the projection point closest to the positive direction is obtained, and the annotation is performed in the same way as above. The Y-axis direction is annotated in the same way as the X-axis direction. S15. According to the geometric feature information of the three-dimensional part entity feature, the spatial range of the outfitting railing is obtained, and the assembly annotation plane is constructed by judging the range values of the spatial range of the outfitting railing in each axis direction to perform assembly dimension annotation between the three-dimensional parts on the assembly annotation plane.
[0053] Specifically, the S15 includes the following steps:
[0054] Get the spatial extent of each three-dimensional part;
[0055] Superimpose the spatial ranges of each three-dimensional part to obtain the spatial range of the outfitting railing;
[0056] Sorting the range values of the spatial range of the outfitting railing in each axis direction from large to small, and constructing the assembly annotation plane according to the sorting result;
[0057] The range values of the spatial range of the outfitting railing in each axis direction are sorted from large to small, and the sorted first and second directions are used as the X and Y axis directions of the first assembly annotation plane to construct the first assembly annotation plane.
[0058] For example, the range value in the X-axis direction is 6000mm, the range value in the Y-axis direction is 1000mm, and the range value in the Z-axis direction is 2600mm. Sort the range values in X, Y, and Z from largest to smallest: 6000mm, 2600mm, and 1000mm; and use X6000mm and Z2600mm as the X and Y axis directions of the first assembly annotation plane.
[0059] Determine whether the range value in the minimum axis direction is greater than a preset value. If so, the second direction and the minimum axis direction are combined to form the X and Y axis directions of the second assembly annotation plane; if not, the second assembly annotation plane is not constructed.
[0060] For example, if the range value of the minimum axis direction is 1000mm, is it greater than the preset value of 200mm? If it is greater than 200mm, Z2600mm and Y1000mm will be used as the X and Y axis directions of the second assembly annotation plane.
[0061] For example: based on the entity part features of the outfitting railing, the model space range is obtained, and based on the model space range, the annotation plane is constructed (the minimum extreme value coordinate of the space range is the center point of the annotation plane, and the X and axis directions refer to the above); first, all the entity parts in the railing are obtained, the geometric features of the parts are analyzed and the coordinates of the topological points are obtained, each topological point is projected on the X axis of the annotation plane, and the minimum and maximum values of the projection in each axis direction are recorded. Similarly, the minimum and maximum values of the projection of other parts are recorded in the same way; then, the part projection range corresponding to the minimum projection point in the X axis direction is obtained, and recorded as the first projection range. Take the projection range closest to the first projection range in the positive direction of the X-axis system and record it as the second projection range; if the two current projection ranges overlap or touch, do not mark them, otherwise obtain the physical parts corresponding to the two projection ranges, and obtain the geometric topological line closest to the two physical parts based on the analytical geometric features; finally, perform dimensioning based on the two obtained geometric topological line objects, modify the recorded second projection range to the first projection range, obtain the part projection range closest to the first projection range in the positive direction of the X-axis, and mark it according to the above judgment method; the distance marking in the Y-axis marking direction is the same as that of the X-axis.
[0062] Based on the axis direction in the assembly annotation plane, the geometric feature information based on the three-dimensional part entity features is spatially arranged, and the assembly dimensions between the three-dimensional parts are marked according to the arrangement order in each axis direction.
[0063] In actual applications, the attribute classification marking step, the manufacturing dimension marking step, and the assembly dimension marking step can be performed simultaneously or sequentially. In this embodiment, they are completed sequentially.
[0064] The 3D annotation method for ship outfitting railing models described in this embodiment addresses the issue of inefficient 3D annotation for ship outfitting railing models, based on actual design and construction data. Based on actual 3D model data, this method allows for efficient and rapid 3D annotation of outfitting railing manufacturing, shortening the annotation cycle and possessing high practical and promotional value in the field of ship design.
[0065] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the three-dimensional annotation method of the ship outfitting railing model.
[0066] Those skilled in the art will understand that a computer-readable storage medium is a computer program capable of implementing all or part of the steps of the aforementioned method embodiments via hardware associated with the computer program. The aforementioned computer program may be stored in a computer-readable storage medium. When executed, the program performs the steps of the aforementioned method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0067] Example 2
[0068] This embodiment provides a three-dimensional annotation system for a ship outfitting railing model, including:
[0069] A reading module is used to read the 3D marking rules of the outfitting railing; the 3D marking rules of the outfitting railing include: marking according to the attribute classification of the 3D parts, marking according to the manufacturing dimensions of the 3D parts, and marking according to the assembly dimensions between the 3D parts;
[0070] An acquisition module is used to traverse the three-dimensional model of the ship outfitting railing to be annotated and acquire the three-dimensional part entity features in the three-dimensional model of the ship outfitting railing;
[0071] The attribute marking module is used to classify the attributes of the three-dimensional part entity features and mark the part numbers of the three-dimensional parts after attribute classification;
[0072] a manufacturing dimensioning module, configured to extract geometric feature information of the physical features of the three-dimensional part, determine a manufacturing dimensioning plane of the three-dimensional part based on the geometric feature information, and mark the manufacturing dimensions of the three-dimensional part on the manufacturing dimensioning plane; and / or
[0073] The assembly dimensioning module is used to obtain the spatial range of the outfitting railing based on the geometric feature information of the three-dimensional part entity features, construct an assembly annotation plane by determining the range values of the spatial range of the outfitting railing in each axis direction, and perform assembly dimensioning between three-dimensional parts on the assembly annotation plane.
[0074] The following is a detailed description of the three-dimensional annotation system of the ship outfitting railing model provided by this embodiment with a collection of diagrams. Figure 2 , which shows a schematic diagram of the principle structure of a three-dimensional annotation system for a ship outfitting railing model in one embodiment. Figure 2 As shown, the three-dimensional annotation system 2 of the ship outfitting railing model includes a reading module 21, an acquisition module 22, an attribute annotation module 23, a manufacturing dimension annotation module 24 and an assembly dimension annotation module 25.
[0075] The reading module 21 is used to read the three-dimensional marking rules of the outfitting railing.
[0076] In this embodiment, the outfitting railing 3D annotation rule includes ship outfitting railing manufacturing information; the ship outfitting railing manufacturing information includes railing part number information, railing part manufacturing size information and assembly size information between railing parts.
[0077] The three-dimensional marking rules for outfitting railings include: marking according to the attribute classification of three-dimensional parts, marking according to the manufacturing dimensions of three-dimensional parts, and marking according to the assembly dimensions between three-dimensional parts.
[0078] The acquisition module 22 is used to traverse the three-dimensional model of the ship outfitting railing to be marked, and acquire the three-dimensional part entity features in the three-dimensional model of the ship outfitting railing.
[0079] The attribute labeling module 23 is used to classify the attributes of the three-dimensional part entity features and label the part numbers of the three-dimensional parts after the attribute classification.
[0080] In this embodiment, the attribute labeling module 23 classifies the three-dimensional parts in the three-dimensional model of the ship outfitting railing to be labeled according to type, specification, and material; and labels the three-dimensional parts classified according to type, specification, and material attributes with part numbers.
[0081] For example, attributes of the same type are classified according to part type, and then based on the classified parts, reverse queries are performed in the 3D model to obtain the entity features of the 3D parts of the same type. Finally, the entity features of the 3D parts of the same type are marked with part numbers.
[0082] The manufacturing dimension marking module 24 is used to extract geometric feature information of the three-dimensional part entity features, determine the manufacturing marking plane of the three-dimensional part based on the geometric feature information, and mark the manufacturing dimensions of the three-dimensional part on the manufacturing marking plane.
[0083] Specifically, the manufacturing dimension marking module 24 selects the longest contour line from the extracted geometric feature information, takes the direction of the longest contour line as the reference direction, and determines the production marking plane at the same time; projects the geometric feature information of the three-dimensional part entity feature onto the axis direction of the manufacturing marking plane in sequence, and obtains the projection point; determines the geometric feature information marking order and marking relationship according to the distribution state and projection order of the projection point and the geometric feature information and each axis direction.
[0084] In this embodiment, the distribution states of the projection points and the axis directions include: single-direction distribution and multi-direction distribution.
[0085] The single-direction distribution includes sequentially projecting the geometric feature information onto the X-axis or Y-axis. For example, if there is only one geometric feature point in the previous axis direction (X-axis or Y-axis), no part manufacturing information is marked in that direction.
[0086] The multi-directional distribution includes sequentially projecting the geometric feature information onto the X-axis and Y-axis. For example, if there is no unique geometric feature point in either the Z-axis or the Y-axis, then the manufacturing information of the three-dimensional part must be annotated in both the X-axis and the Y-axis.
[0087] The assembly dimension annotation module 25 obtains the spatial range of the outfitting railing based on the geometric feature information of the three-dimensional part entity features, constructs an assembly annotation plane by determining the range values of the spatial range of the outfitting railing in each axis direction, and performs assembly dimension annotation between the three-dimensional parts on the assembly annotation plane.
[0088] Specifically, the assembly dimension annotation module 25 obtains the spatial range of each three-dimensional part; superimposes the spatial range of each three-dimensional part to obtain the spatial range of the outfitting railing; sorts the range values in each axis direction of the spatial range of the outfitting railing from large to small, and constructs the assembly annotation plane according to the sorting result; sorts the range values in each axis direction of the spatial range of the outfitting railing from large to small, and uses the sorted first and second directions as the X and Y axis directions of the first assembly annotation plane to construct the first assembly annotation plane; determines whether the range value in the minimum axis direction is greater than the preset value. If so, the second direction and the minimum axis direction are combined to form the X and Y axis directions of the second assembly annotation plane; if not, the second assembly annotation plane is not constructed. Based on the axis directions in the assembly annotation plane, the geometric feature information based on the entity features of the three-dimensional parts is spatially arranged, and the assembly dimensions between the three-dimensional parts are annotated according to the arrangement order of each axis direction.
[0089] It should be understood that the division of the modules in the above system is merely a division of logical functions. In actual implementation, they may be fully or partially integrated into a single physical entity or physically separated. Furthermore, these modules may be implemented entirely in software called by a processing element, or entirely in hardware. Alternatively, some modules may be implemented in software called by a processing element, while others may be implemented in hardware. For example, module x may be a separate processing element, or integrated into a chip in the above system. Furthermore, it may be stored in the form of program code in the memory of the above system, called by a processing element in the system to perform the functions of module x. The implementation of other modules is similar. Furthermore, these modules may be fully or partially integrated or implemented independently. The processing element described herein may be an integrated circuit with signal processing capabilities. During implementation, the steps of the above method or the modules above may be performed by hardware integrated logic circuits in the processor element or by software instructions.
[0090] For example, the above modules can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented by scheduling program code through a processing element, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0091] Example 3
[0092] This embodiment provides a three-dimensional annotation device for a ship outfitting railing model, and the three-dimensional annotation device includes: a processor, a memory, a transceiver, a communication interface and a system bus; the memory and the communication interface are connected to the processor and the transceiver through the system bus and complete communication with each other, the memory is used to store computer programs, the communication interface is used to communicate with other devices, and the processor and the transceiver are used to run computer programs, so that the three-dimensional annotation device executes each step of the above-mentioned three-dimensional annotation method for the ship outfitting railing model.
[0093] The system bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize communication between the database access device and other devices (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM), and may also include non-volatile memory, such as at least one disk storage.
[0094] The above-mentioned processors can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0095] In summary, the 3D annotation method, system, device, and storage medium for ship outfitting railing models described in this invention address the inefficient 3D annotation of ship outfitting railing models based on practical design and construction. Based on actual 3D model data, this method enables efficient and rapid 3D annotation of outfitting railing manufacturing, shortening the annotation cycle and possessing high practical and dissemination value in the field of ship design. Therefore, this invention effectively overcomes the shortcomings of existing technologies and possesses high industrial application value.
[0096] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical principles disclosed herein are intended to be covered by the claims of the present invention.
Claims
1. A three-dimensional annotation method for a ship outfitting railing model, characterized in that: include: Read the 3D annotation rules of outfitting railings; The three-dimensional marking rules for outfitting railings include: marking according to the attribute classification of three-dimensional parts, marking according to the manufacturing dimensions of three-dimensional parts, and marking according to the assembly dimensions between three-dimensional parts; Traversing the three-dimensional model of the ship outfitting railing to be annotated, and obtaining the three-dimensional part entity features in the three-dimensional model of the ship outfitting railing; Classify the attributes of the three-dimensional part entity features and mark the part numbers of the three-dimensional parts after attribute classification; Extracting geometric feature information of the three-dimensional part entity feature, determining a manufacturing annotation plane of the three-dimensional part based on the geometric feature information, and marking the manufacturing dimensions of the three-dimensional part on the manufacturing annotation plane; specifically comprising: The longest contour line is selected from the extracted geometric feature information, and the direction of the longest contour line is used as the reference direction, and the annotation plane is determined at the same time; Projecting the geometric feature information of the three-dimensional part entity features sequentially onto the axis direction of the manufacturing annotation plane and obtaining projection points; Determine the order and relationship of marking the geometric feature information according to the distribution state and projection order of the projection points and the geometric feature information and the directions of the axis systems; and According to the geometric feature information of the three-dimensional part entity feature, the spatial range of the outfitting railing is obtained, and the range value of each axis direction of the spatial range of the outfitting railing is determined to construct an assembly annotation plane, and the assembly dimension annotation between the three-dimensional parts is performed on the assembly annotation plane; specifically, the method includes: Get the spatial extent of each three-dimensional part; Superimpose the spatial ranges of each three-dimensional part to obtain the spatial range of the outfitting railing; Sorting the range values of the spatial range of the outfitting railing in each axis direction from large to small, and constructing the assembly annotation plane according to the sorting result; Based on the axis direction in the assembly annotation plane, the geometric feature information based on the three-dimensional part entity features is spatially arranged, and the assembly dimensions between the three-dimensional parts are marked according to the arrangement order in each axis direction.
2. The three-dimensional annotation method for a ship outfitting railing model according to claim 1, characterized in that: The outfitting railing three-dimensional annotation rules include ship outfitting railing manufacturing information; the ship outfitting railing manufacturing information includes railing part number information, railing part manufacturing size information and assembly size information between railing parts.
3. The three-dimensional annotation method for a ship outfitting railing model according to claim 2, characterized in that: The steps of classifying the attributes of the three-dimensional part entity features and marking the part numbers of the three-dimensional parts after the attribute classification include: Classify the three-dimensional parts in the three-dimensional model of the ship outfitting railing to be annotated according to type, specification, and material; The three-dimensional parts classified according to type, specification and material properties are marked with part numbers.
4. The three-dimensional annotation method for a ship outfitting railing model according to claim 1, characterized in that: The distribution of projection points and axis directions includes: Single-directional distribution and multi-directional distribution; The single direction distribution includes sequentially projecting the geometric feature information onto the X-axis or Y-axis direction; The multi-directional distribution includes sequentially projecting the geometric feature information onto the X-axis and Y-axis directions.
5. The three-dimensional annotation method of a ship outfitting railing model according to claim 1, characterized in that: The steps of sorting the range values of the spatial range of the outfitting railing in each axis direction from large to small and constructing the assembly annotation plane according to the sorting results include: Sorting the range values of the spatial range of the outfitting railing in each axis direction from large to small, and using the sorted first and second directions as the X and Y axis directions of the first assembly annotation plane to construct the first assembly annotation plane; Determine whether the range value in the minimum axis direction is greater than a preset value. If so, the second direction and the minimum axis direction are combined to form the X and Y axis directions of the second assembly annotation plane; if not, the second assembly annotation plane is not constructed.
6. A 3D annotation system for ship outfitting railing models, characterized in that: include: Reading module, used to read the 3D marking rules of outfitting railings; The three-dimensional marking rules for outfitting railings include: marking according to the attribute classification of three-dimensional parts, marking according to the manufacturing dimensions of three-dimensional parts, and marking according to the assembly dimensions between three-dimensional parts; An acquisition module is used to traverse the three-dimensional model of the ship outfitting railing to be annotated and acquire the three-dimensional part entity features in the three-dimensional model of the ship outfitting railing; The attribute marking module is used to classify the attributes of the three-dimensional part entity features and mark the part numbers of the three-dimensional parts after attribute classification; A manufacturing dimension annotation module is used to extract the geometric feature information of the three-dimensional part entity features, determine the manufacturing annotation plane of the three-dimensional part based on the geometric feature information, and annotate the manufacturing dimensions of the three-dimensional part on the manufacturing annotation plane; specifically comprising: screening out the longest contour line from the extracted geometric feature information, taking the direction of the longest contour line as the reference direction, and determining the manufacturing annotation plane at the same time; projecting the geometric feature information of the three-dimensional part entity features onto the axis direction of the manufacturing annotation plane in sequence, and obtaining the projection points; determining the annotation order and annotation relationship of the geometric feature information according to the distribution state and projection order of the projection points, the geometric feature information and each axis direction; and The assembly dimensioning module is used to obtain the spatial range of the outfitting railing based on the geometric feature information of the three-dimensional part entity features, construct an assembly annotation plane by determining the range values of the spatial range of the outfitting railing in each axis direction, and perform assembly dimension annotation between the three-dimensional parts on the assembly annotation plane. The module specifically includes: obtaining the spatial range of each three-dimensional part; superimposing the spatial ranges of each three-dimensional part to obtain the spatial range of the outfitting railing; and sorting the range values of the spatial range of the outfitting railing in each axis direction from large to small. The assembly annotation plane is constructed according to the sorting result; based on the axis direction in the assembly annotation plane, the geometric feature information according to the three-dimensional part entity features is spatially arranged, and the assembly dimensions between the three-dimensional parts are marked according to the arrangement order in each axis direction.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the three-dimensional annotation method of the ship outfitting railing model described in any one of claims 1 to 5 are implemented.
8. A 3D annotation device for a ship outfitting railing model, comprising: A processor and a memory, wherein the memory stores program instructions, and the processor runs the program instructions to implement the steps in the three-dimensional annotation method of the ship outfitting railing model as described in any one of items 1 to 5.
Citation Information
Patent Citations
A ship wooden cabin model three-dimensional labeling method and system based on a 3DEXP platform
CN112836302A