Method and system for automatic matching of a piece model and a solid model based on a fitting model
By automatically identifying assembly features and adjusting algorithms, the problem of interference between outfitting models and sheet metal models was solved, achieving efficient automatic matching and improving ship design efficiency and construction quality.
Patent Information
- Application Number
- CN202310293513.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2043-03-23
AI Technical Summary
In ship 3D design, interference can easily occur when matching outfitting models with sheet metal models. Existing technologies rely on manual correction, which is inefficient and affects design and construction efficiency.
By identifying the assembly features of the outfitting model and the sheet model, and utilizing the normals, plate thickness orientation, and plate thickness values, an automatic matching algorithm is employed to achieve free movement, coordinate system assembly, and non-coordinate system assembly. The outfitting model is automatically adjusted to achieve interference-free matching with the solid model.
It improves ship design efficiency, reduces design time, ensures seamless integration of detailed design and production design models, and enables the transfer of a single digital model without spatial interference.
Smart Images

Figure CN116280075B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of ship three-dimensional design, in particular to a method and system for automatically matching outfitting models based on sheet models and entity models. BACKGROUND
[0002] With the continuous advancement of digital transformation in the field of ships, the concept of three-dimensional design has shown a development trend of covering all stages of ship design. The stages of ship design can be roughly divided into basic design, detailed design and production design, etc. Due to the large number and variety of parts in ship design, the amount of three-dimensional model data in the ship design process is extremely large, and the attributes, characteristics and purposes of three-dimensional models required in different design stages are different. Based on the above reasons, in the current ship three-dimensional design, sheet models of ship models are generally used for collaborative design and submission before the production design stage, and entity models of ship models are used to guide ship production and construction in the production design stage. The three-dimensional models in ship design usually include ship models and outfitting models, which are independently constructed. When calculating, the outfitting model is matched into the ship model. This requires the outfitting model to automatically match different ship models in the switching of two kinds of ship models (sheet model and entity model).
[0003] Since the sheet model has no thickness, the outfitting model will often be mismatched after matching with the sheet model, such as interference with the entity model, for example, the outfitting model is embedded or suspended in the entity model. At present, when the mismatch phenomenon such as interference occurs, manual matching correction is usually used. The process of manual correction is to view the structure information of the mismatched outfitting parts in the entity model, and manually adjust the position of each outfitting part to complete the matching. However, the number of outfitting parts on the whole ship is in the tens of thousands, and this manual adjustment method is low in efficiency, which greatly affects the efficiency of ship design and construction. SUMMARY
[0004] The purpose of the embodiments of the present application is to provide a method and system for automatically matching outfitting models based on sheet models and entity models, which solves the problems of matching interference and low matching efficiency of outfitting models and ship models in the prior art.
[0005] In a first aspect, a method for automatically matching outfitting models based on sheet models and entity models is provided, comprising:
[0006] S1, identifying the assembly mode of the outfitting model and the sheet model according to the assembly features of the outfitting model and the sheet model, the assembly mode including free movement assembly, coordinate system assembly and non-coordinate system assembly;
[0007] S2, project the center of the bounding box formed by the boundary of the outfitting model to be matched onto the contacted panel model, obtain the normal of the projection point on the contacted panel model, the plate thickness orientation of the outfitting model to be matched, and the plate thickness value;
[0008] S3, automatically match the entity model based on different assembly modes and in combination with the normal, the plate thickness orientation, and the plate thickness value.
[0009] In an embodiment, in the S3, the automatically matching the outfitting model based on different assembly modes and in combination with the normal, the plate thickness orientation, and the plate thickness value includes, when the assembly mode is free movement assembly, moving the spatial position of the outfitting model along the normal to the direction of the plate thickness orientation by the plate thickness value, so that the minimum distance between the moved outfitting model and the entity ship body model is 0 mm.
[0010] In an embodiment, in the S3, the automatically matching the outfitting model based on different assembly modes and in combination with the normal, the plate thickness orientation, and the plate thickness value includes, when the assembly mode is coordinate system assembly, moving the coordinate direction in which the normal of the outfitting model on the panel model is located along the normal to the direction of the plate thickness orientation by a preset value of the coordinate system, the preset value being the plate thickness value, so that the minimum distance between the adjusted outfitting model and the entity ship body model is 0 mm.
[0011] In an embodiment, in the S3, the automatically matching the outfitting model based on different assembly modes and in combination with the normal, the plate thickness orientation, and the plate thickness value includes, when the assembly mode is non-coordinate system assembly, obtaining the associated elements corresponding to the associated relationship nodes, and then obtaining the faces on which the associated elements are located, offsetting the faces on which the associated elements are located by a preset value along the normal to the direction of the plate thickness orientation, the preset value being the plate thickness value, the corresponding associated elements being automatically offset, the outfitting model being offset with the associated elements, so that the minimum distance between the offset outfitting model and the entity ship body model is 0 mm.
[0012] In an embodiment, in the S1, the assembly features include that there are associated relationship nodes and coordinate system elements outside the two model nodes of the outfitting model and the panel model, there are no coordinate system elements but there are associated relationship nodes outside the two model nodes, and there are no coordinate system elements and associated relationship nodes outside the two model nodes.
[0013] In an embodiment, in the S1, the assembly mode of the outfitting model and the panel model is identified according to the assembly features of the outfitting model and the panel model, which includes:
[0014] When there are associated relationship nodes and coordinate system elements outside the two model nodes of the outfitting model and the panel model, and both are valid, the assembly mode of the outfitting model and the panel model is identified as coordinate system assembly.
[0015] When there is no coordinate system element and no association relationship node outside the two model nodes of the outfitting model and the plate model, or there is an association relationship node outside the two model nodes but the association relationship node is invalid, the assembly mode of the outfitting model and the plate model is identified as free movement assembly.
[0016] When there is no coordinate system element and no association relationship node outside the two model nodes of the outfitting model and the plate model, or there is an association relationship node outside the two model nodes but the association relationship node is invalid, the assembly mode of the outfitting model and the plate model is identified as free movement assembly.
[0017] In an embodiment, after the S3, S4 is further included, checking the matching of the outfitting model and the entity model, extracting positions where the minimum distance between the outfitting model and the entity model is greater than 0 mm and less than 0 mm, and using manual correction to fine-tune the outfitting model at the extracted positions.
[0018] In an embodiment, the association element includes a line and a sketch.
[0019] According to the second aspect of the present application, a system for automatically matching an outfitting model with an entity model based on a plate model is also provided, comprising:
[0020] The identification assembly mode module is configured to identify the assembly mode of the outfitting model and the plate model according to the assembly features of the outfitting model and the plate model, wherein the assembly mode includes free movement assembly, coordinate system assembly and non-coordinate system assembly.
[0021] The plate thickness information acquisition module is configured to project the center of the bounding box formed by the boundary of the outfitting model to be matched onto the contacted plate model, and acquire the normal line of the projection point on the contacted plate model, the plate thickness orientation of the contacted plate model and the plate thickness value.
[0022] The automatic adjustment module is configured to automatically match the entity model based on different assembly modes and in combination with the normal line, the plate thickness orientation and the plate thickness value.
[0023] The method and system for automatically matching an outfitting model with an entity model based on a plate model in the present application have the following beneficial effects:
[0024] The present application is based on the automatic matching of the outfitting model to the entity model, which includes the matching of the outfitting model to the entity model according to different matching schemes, and finally checking the interference between the outfitting model and the entity model. Compared with the existing manual matching or the re-arrangement of the outfitting model, the present application can greatly improve the efficiency of ship design, save design time, ensure the effective connection between the detailed design and the production design, realize the transmission of a single digital model, and ensure the non-space interference of the model before production and construction, thereby improving the matching efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.
[0026] Figure 1 A flow chart of a method for automatically matching an outfitting model to an entity model based on a piece model according to an embodiment of the present application is shown.
[0027] Figure 2 A schematic diagram of the normal line of an outfitting model on the piece model contacted by the outfitting model according to an embodiment of the present application is shown.
[0028] 100, outfitting model; 200, piece model; 300, projection point; 400, normal line. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the following will clearly and completely describe the technical solutions of the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations.
[0030] Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0031] Figure 1 A flow chart of a method for automatically matching an outfitting model to an entity model based on a piece model according to an embodiment of the present application is shown.Figure 1 The method comprises the following steps:
[0032] S1, identifying the assembly mode of the outfitting model and the plate model according to the assembly features of the outfitting model and the plate model, wherein the assembly mode comprises free movement assembly, coordinate system assembly and non-coordinate system assembly;
[0033] Specifically, when the outfitting model is assembled with the plate model, the assembly relationship of the outfitting model and the plate model can be generally divided into unrelated relationship assembly and related relationship assembly. The unrelated relationship assembly refers to that the outfitting model is assembled on the plate model, and the outfitting model can still move freely, and there is no relationship between the two, which is referred to as automatic movement assembly. The related relationship assembly refers to that the outfitting model is assembled on the plate model, and there is a relationship between the two. If the position of the outfitting model needs to be changed, the relationship between the two needs to be changed. Generally, the relationship is divided into coordinate system relationship and non-coordinate system relationship, which is referred to as coordinate system assembly and non-coordinate system assembly.
[0034] S2, projecting the center of the bounding box formed by the boundary of the outfitting model to be matched on the contacted plate model, obtaining the normal line of the projection point on the contacted plate model, the plate thickness direction of the outfitting model to be matched and the plate thickness value;
[0035] S3, automatically matching the entity model based on different assembly modes and in combination with the normal line, the plate thickness direction and the plate thickness value.
[0036] In an embodiment, S4 is further included after S3, that is, the program automatically checks the interference between the outfitting model and the entity model. The interference criterion is whether the minimum distance between the outfitting model and the entity model is 0 mm. If the minimum distance is 0 mm, it is determined that there is no interference, and the matching is completed. If the minimum distance is not 0 mm, it is determined that there is interference. The positions where the minimum distance between the outfitting model and the entity model is greater than 0 mm and less than 0 mm are extracted, and the outfitting model is fine-tuned in the extracted positions by using manual correction. In the implementation process, the program may have problems, and the assembly mode recognition fails in some positions. In this case, manual checking and modification into the above-mentioned three assembly modes can be performed, and then automatic matching is performed according to the assembly mode.
[0037] In the above implementation process, the application adopts different adjustment schemes to automatically match the entity model based on different assembly modes of the plate model and the outfitting model, which greatly improves the ship design efficiency, saves design working hours, ensures the effective connection of the detailed design and the production design stage, realizes the transmission of a single digital model, and ensures that the model has no spatial interference before production and construction.
[0038] In an embodiment, in S3, the automatic matching of the outfitting model based on different assembly modes and in combination with the normal, plate thickness orientation and plate thickness value comprises,
[0039] Referring to Figure 2 When the assembly mode is free movement assembly, since under free movement assembly, the program can directly drag the outfitting model in three-dimensional space, the spatial position thereof can be freely changed. The spatial position of the outfitting model 100 can be moved along the normal 400 of the projection point 300 on the contacted plate body model 200 in the direction of the plate thickness orientation (i.e. the arrow direction of the normal 400) by a plate thickness value, so that the minimum distance between the moved outfitting model 100 and the solid ship body model is 0 mm.
[0040] When the assembly mode is coordinate system assembly, since under coordinate system assembly, i.e. the outfitting model and the plate body model are assembled through coordinate system assembly in three-dimensional space, a first positioning coordinate system is created under the node of the outfitting model, a second positioning coordinate system is created under the node of the positioning point of the plate body model, and the outfitting model is assembled through the coincidence of the first positioning coordinate system and the second positioning coordinate system. The coordinate direction of the normal 400 can be moved in the direction of the plate thickness orientation by a preset value of the coordinate system, which is a plate thickness value, through extracting the coordinate system outside the node of the outfitting model. That is, the program changes the three-dimensional coordinate values (X, Y, Z directions) of the corresponding positioning point of the first positioning coordinate system of the outfitting model. In an embodiment, when the plate body model is a planar plate, the normal is the plate thickness. For example, when the plate thickness orientation is the X direction, the value of the X direction is changed, and the change value is the plate thickness value. The minimum distance between the adjusted outfitting model and the solid ship body model is 0 mm.
[0041] When the assembly mode is non-coordinate system assembly, the corresponding associated element of the associated relationship node is obtained, the face where the associated element is located is obtained, and the face where the associated element is located is offset according to the plate thickness orientation and the plate thickness value, so that the corresponding associated element is automatically offset, and the outfitting model is offset along with the associated element. That is, the plate body model contacted by the assembly position of the outfitting model can be obtained by the program, and since it is non-coordinate system assembly, the associated element corresponding to the associated relationship node can be a line or a sketch, etc. The program obtains the face where the associated element is located, moves the face where the associated element is located by a plate thickness value in the direction of the plate thickness orientation along the normal of the projection point on the contacted plate body model, completes the offset of this face, the corresponding associated element is automatically offset, and the outfitting model is offset according to the associated element. After the outfitting model is moved, the minimum distance between the outfitting model and the solid ship body model is 0 mm, and the contact surfaces thereof are exactly fitted to complete the matching.
[0042] In the above embodiments, different matching schemes are adopted based on different assembly modes of the outfitting model and the plate body model, so as to quickly and accurately adjust the outfitting model, reduce the assembly interference between the outfitting model and the solid ship body model, and improve the matching efficiency.
[0043] Due to the assembly by coordinate system, in the three-dimensional space, a first positioning coordinate system needs to be created under the outfitting model node, and a second positioning coordinate system needs to be created under the node containing the positioning point of the plate body model. Through the coincidence of the first positioning coordinate system and the second positioning coordinate system, the assembly of the outfitting model can be completed. If the assembly is completed, the associated relationship nodes and the assembly features of the coordinate system elements outside the two model nodes are formed, indicating that this type of assembly is coordinate system assembly with associated relationship. In particular, if the associated relationship of the current positioning coordinate system exists but cannot be updated, it indicates that the associated relationship is incorrect, and the program automatically repairs the associated relationship. If it is successful, it is determined as coordinate system assembly. If it is not successful, the associated relationship is automatically deleted, and it is determined as free movement assembly.
[0044] Through the non-coordinate system positioning method to complete the assembly, such as creating positioning lines, sketches and other elements on the plate body model to complete the layout of the outfitting model. It will also form associated relationship nodes outside the two model nodes, but there is no associated coordinate system element, indicating that this type of assembly is non-coordinate system assembly with associated relationship. In particular, if the current associated relationship exists but cannot be updated, it indicates that the associated relationship is incorrect, and the program automatically repairs the associated relationship. If it is successful, it is determined as non-coordinate system assembly. If it is not successful, the associated relationship is automatically deleted, and it is determined as free movement assembly.
[0045] The free movement assembly is determined as free movement assembly by whether the outfitting model can be directly dragged in the three-dimensional space, and the spatial position can be freely changed, indicating that it has no associated relationship with the plate body model.
[0046] Based on the above analysis, in one embodiment, in S1, the assembly features include that the associated relationship nodes and the coordinate system elements exist outside the two model nodes of the outfitting model and the plate model, that the coordinate system elements do not exist outside the two model nodes but the associated relationship nodes exist, and that the coordinate system elements and the associated relationship nodes do not exist outside the two model nodes. Based on the above assembly features, the different assembly methods of the outfitting model and the plate model can be determined.
[0047] In one embodiment, the assembly method of the outfitting model and the plate model is identified according to the assembly features of the outfitting model and the plate model, including:
[0048] When the associated relationship nodes and the coordinate system elements exist outside the two model nodes of the outfitting model and the plate model, and are both valid, the assembly method of the outfitting model and the plate model is identified as coordinate system assembly;
[0049] When there is no coordinate system element and no association relationship node outside the two model nodes of the outfitting model and the plate model, or there is an association relationship node outside the two model nodes but the association relationship node is invalid, the assembly mode of the outfitting model and the plate model is identified as free movement assembly.
[0050] When there is no coordinate system element and no association relationship node outside the two model nodes of the outfitting model and the plate model, or there is an association relationship node outside the two model nodes but the association relationship node is invalid, the assembly mode of the outfitting model and the plate model is identified as free movement assembly.
[0051] In addition, when the association relationship node exists but cannot be updated, it indicates that the association relationship is incorrect. The program can automatically repair the association relationship first. If successful, it is determined that the association relationship assembly is successful. If not successful, the association relationship is automatically deleted, and it is determined that the free movement assembly is successful. In combination with whether there is a coordinate system element and whether it is valid, if there is a coordinate system element, it is determined that the coordinate system assembly is successful, otherwise, it is determined that the non-coordinate system assembly is successful.
[0052] By determining the assembly mode through the assembly feature, the contact position of the outfitting model and the plate model can be uniformly defined, which is convenient for subsequent automatic matching of the outfitting model.
[0053] In a second aspect, the application also provides a system for automatically matching an outfitting model based on a plate model and an entity model, comprising:
[0054] An assembly mode identification module is configured to identify the assembly mode of the outfitting model and the plate model according to the assembly feature of the outfitting model and the plate model, wherein the assembly mode includes free movement assembly, coordinate system assembly and non-coordinate system assembly.
[0055] A plate thickness information acquisition module is configured to project the center of the bounding box formed by the boundary of the outfitting model to be matched onto the contacted plate model, and acquire the normal line of the projection point on the contacted plate model, the plate thickness orientation of the outfitting model to be matched, and the plate thickness value.
[0056] An automatic adjustment module is configured to automatically match the entity model based on different assembly modes and in combination with the normal line, the plate thickness orientation and the plate thickness value.
[0057] An inspection and fine adjustment module is configured to check the matching of the outfitting model and the entity model, and extract the positions where the minimum distance between the outfitting model and the entity model is greater than 0 mm and less than 0 mm. The program automatically lists the inspection results in a table form, which is convenient for designers to determine the completion of automatic matching. The outfitting model is fine adjusted at the extracted positions.
[0058] The above descriptions are only the preferred embodiments of the present application, and are not intended to limit the present application. The present application can have various modifications and changes for those skilled in the art. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for automatically matching a fitting model based on a slice model and a solid model, characterized in that, The method comprises the following steps: S1, identifying the assembly mode of the outfitting model and the plate model according to the assembly features of the outfitting model and the plate model, wherein the assembly mode comprises free movement assembly, coordinate system assembly and non-coordinate system assembly; S2, projecting the center of the bounding box formed by the boundary of the outfitting model to be matched onto the contacted plate model, obtaining the normal of the projection point on the contacted plate model, the plate thickness orientation of the outfitting model to be matched and the plate thickness value; S3, automatically matching the entity model based on different assembly modes and in combination with the normal, the plate thickness orientation and the plate thickness value, when the assembly mode is free movement assembly, moving the spatial position of the outfitting model along the normal to the direction of the plate thickness orientation by the plate thickness value, so that the minimum distance between the moved outfitting model and the entity ship model is 0mm; when the assembly mode is coordinate system assembly, moving the coordinate direction of the normal of the outfitting model on the plate model along the normal to the direction of the plate thickness orientation by a preset value of the coordinate system, and the preset value is the plate thickness value, so that the minimum distance between the adjusted outfitting model and the entity ship model is 0mm; when the assembly mode is non-coordinate system assembly, obtaining the associated elements corresponding to the associated relationship nodes, then obtaining the faces where the associated elements are located, and offsetting the faces where the associated elements are located by a preset value along the normal to the direction of the plate thickness orientation, and the preset value is the plate thickness value, so that the corresponding associated elements are automatically offset, the outfitting model is offset with the associated elements, and the minimum distance between the offset outfitting model and the entity ship model is 0mm.
2. The method for automatic matching of the outfitting model based on the sheet model and the entity model according to claim 1, characterized in that, In the S1, the assembly features comprise associated relationship nodes and coordinate system elements outside the two model nodes of the outfitting model and the plate model, no coordinate system elements but associated relationship nodes outside the two model nodes, and no coordinate system elements and associated relationship nodes outside the two model nodes.
3. The method of claim 1, wherein the outfitting model is automatically matched with the physical model based on a slice model. In the S1, the assembly mode of the outfitting model and the plate model is identified according to the assembly features of the outfitting model and the plate model, which comprises: when there are associated relationship nodes and coordinate system elements outside the two model nodes of the outfitting model and the plate model, and both are valid, the assembly mode of the outfitting model and the plate model is identified as coordinate system assembly; when there are no coordinate system elements but associated relationship nodes outside the two model nodes, or there are coordinate system elements and associated relationship nodes outside the two model nodes, but the coordinate system elements are invalid and the associated relationship nodes are valid, the assembly mode of the outfitting model and the plate model is identified as non-coordinate system assembly; when there are no coordinate system elements and associated relationship nodes outside the two model nodes, or there are associated relationship nodes outside the two model nodes but the associated relationship nodes are invalid, the assembly mode of the outfitting model and the plate model is identified as free movement assembly.
4. The method of claim 1, wherein the outfitting model is automatically matched with the physical model based on a slice model. After the S3, S4 is further included, checking the matching condition of the outfitting model and the entity model, extracting the positions where the minimum distance between the outfitting model and the entity model is greater than 0mm and less than 0mm, and finely adjusting the outfitting model in the extracted positions by manual correction.
5. The method of claim 1, wherein the outfitting model is automatically matched with the physical model based on a slice model. The associated elements comprise lines and sketches.
6. A system for automatically matching a piece model with a solid model based on a fit-up model, the system comprising: The method comprises the following steps: The recognition assembly mode module is configured to recognize an assembly mode of the outfitting model and the plate model according to assembly features of the outfitting model and the plate model, and the assembly mode includes free movement assembly, coordinate system assembly and non-coordinate system assembly; The information acquisition module is configured to project a center of a bounding box formed by a boundary of the outfitting model to be matched onto the contacted plate model, acquire a normal line of a projection point on the contacted plate model, a plate thickness orientation of the contacted plate model and a plate thickness value; The automatic matching module is configured to automatically match the entity model based on different assembly modes and in combination with the normal line, the plate thickness orientation and the plate thickness value, When the assembly mode is the free movement assembly, the spatial position of the outfitting model is moved by the plate thickness value along the normal line to the plate thickness orientation, so that a minimum distance between the moved outfitting model and the entity ship body model is 0 mm; When the assembly mode is the coordinate system assembly, a coordinate system outside a node of the outfitting model is extracted, a coordinate direction of the normal line of the outfitting model on the plate model is moved by a preset value along the normal line to the plate thickness orientation, and the preset value is the plate thickness value, so that a minimum distance between the adjusted outfitting model and the entity ship body model is 0 mm; When the assembly mode is the non-coordinate system assembly, an associated element corresponding to a relationship node is acquired, a face where the associated element is located is acquired, the face is offset by a preset value along the normal line to the plate thickness orientation, the preset value is the plate thickness value, the corresponding associated element is automatically offset, the outfitting model is offset along with the associated element, and a minimum distance between the offset outfitting model and the entity ship body model is 0 mm.
Citation Information
Patent Citations
Modeling method and modeling apparatus for bracket of ship and bracket
CN105260535A