Main hull large grillage topology modeling method based on two-dimensional identification strategy three-dimensional linkage
Through a three-dimensional linkage modeling method based on two-dimensional recognition strategy, using Excel and Smart3D software, the inefficiency problem of two-dimensional drawings to three-dimensional models in ship design is solved, and efficient, precise and automatic creation of the main hull large slab frame and topological relationship binding are achieved.
Patent Information
- Application Number
- CN202411401286.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-02-25
AI Technical Summary
In the prior art, in ship design, the efficiency of two-dimensional drawings to three-dimensional models is inefficient, errors are prone to occur, and it is difficult to realize the circulation and conversion of data, resulting in low model quality.
The topological modeling method of main hull large hull rack based on three-dimensional linkage based on two-dimensional identification strategy is adopted. Through the two-dimensional linkage technology, Excel data source files and Smart3D software are used to realize efficient and accurate automatic creation of main hull large hull rack in multiple scenarios.
It improves the efficiency and accuracy of the three-dimensional model of the hull large plate frame, ensures the topological relationship binding between the plate frames, and facilitates model inspection and update in the subsequent design stage.
Smart Images

Figure CN119514008A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a main hull large plate frame topology modeling method based on a two-dimensional recognition strategy and three-dimensional linkage. Background Art
[0002] Ship design is a complex and systematic project. The 3D model of the hull frame, as an important component of the hull structure, is an indispensable basis for ship performance calculation and structural finite element analysis. It is particularly important to quickly and accurately establish the 3D model of the hull frame.
[0003] In traditional ship design, the main ways to convert two-dimensional drawings into three-dimensional models include manual modeling and parametric modeling. Manual modeling is that designers manually model models in three-dimensional design software based on two-dimensional drawings. This modeling method cannot make full use of effective resources, resulting in low modeling efficiency, and designers are prone to errors and other problems, which seriously affects the quality of the model. The data cannot be circulated and converted between many design software, resulting in the loss of design parameters; parametric modeling is the secondary development of the native modeling function of the three-dimensional ship design software, and the batch creation of three-dimensional models is carried out through the parametric definition of design parameters. This modeling method requires the pre-definition of a large number of design parameters, which increases the difficulty of parametric operation, and the relationship between the model structure and the parameters must be deeply understood, otherwise the model will be unstable.
[0004] Among the existing patents, the method, device and computer storage medium for three-dimensional modeling driven by two-dimensional drawings with publication number CN116070345A proposes a method for three-dimensional establishment of piping models based on the Smart3D platform driven by ZWCAD (computer-aided technology) two-dimensional drawings, extracting two-dimensional drawing model symbols, importing model information into a database, and using secondary development tools to reload the structure tree and establish a three-dimensional model, which improves the efficiency of piping modeling to a certain extent. However, this method stores the design parameters in the two-dimensional drawings in the database. If the two-dimensional drawings are modified, the structure tree constructed according to the two-dimensional drawings and the design parameters in the database are difficult to change synchronously.
[0005] The modeling method, system, electronic equipment and medium of the hull plate frame with the publication number CN117034394A proposes a method for building a three-dimensional model by obtaining design parameters based on two-dimensional drawings of AutoCAD (two-dimensional software). The patent needs to convert the txt file into a template file to realize the transmission and circulation of the design parameters of the hull plate and profile. A large number of parameters need to be defined in advance in the Smar3D interface. For batch plates and profiles, they can only be created in a single form, and there is no plate seam or plate thickness arrangement, and there is no topological relationship binding between plates. In the subsequent production design stage, there are problems such as model refinement errors and separate isolation between plate frames.
[0006] Therefore, a main hull large plate frame topology modeling method based on three-dimensional linkage of two-dimensional recognition strategy is provided. Summary of the invention
[0007] The purpose of the present invention is to overcome the existing defects and provide a main hull large frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage, which uses two-dimensional and three-dimensional linkage technology to achieve efficient and accurate automatic creation of the main hull large frame in multiple scenarios.
[0008] The technical solution to achieve the above purpose is:
[0009] The main hull large plate frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage includes:
[0010] Step S1, clarify the main hull large plate frame area to be established, and check the information in the hull basic structure diagram and the mid-transverse section diagram;
[0011] Step S2, according to the definition of the main hull plate frame, classify and determine the hull drawing objects into hull plates, profiles, and annotations;
[0012] Step S3, extracting different object types in the two-dimensional drawing according to the optimized two-dimensional recognition strategy;
[0013] Step S4, according to the topology driven rule, the block reference element is identified to obtain the parameter information of the hull plate and form a rule driven modeling step;
[0014] Step S5, outputting the data information in step S3 and step S4 to an Excel data source file to realize data source visualization and customized modification and update;
[0015] Step S6, according to the multi-scenario judgment rules, matching the data source information under different scenarios with the built-in data information of Smart3D (3D software) is achieved, and the best creation method is selected for different rack area models;
[0016] Step S7, based on the Excel data source file, complete the creation of the main hull large plate frame three-dimensional model in different scenarios.
[0017] Preferably, in step S1, the main hull large plate frame area required for establishing the three-dimensional model by the method is determined according to the starting rib position and the ending rib position on the basic structure diagram and the original data information of the plate and profile in the mid-transverse section diagram.
[0018] Preferably, in step S2, the differences in layer colors and display characteristics of objects of different types are taken into consideration, and the plate parts in the two-dimensional drawing are set in advance to be created into blocks.
[0019] Preferably, in step S3, for the hull plate, attribute definition is performed and packaged into block references, for the hull profile, the hull profile table information in the two-dimensional drawing is extracted, and for the plate annotation, the annotation information is extracted.
[0020] Preferably, in step S3, the property definition of the hull plate includes base surface information, boundary information and property information of the plate.
[0021] Preferably, in step S4, the topology driving rule used for identifying the frame block with reference to the primitive is:
[0022] In the two-dimensional drawings, the order of identifying plates is deck plate, hopper tank inclined plate, inner bottom plate, side bottom girder, middle bottom girder, longitudinal bulkhead, side horizontal girder and inner hull longitudinal bulkhead. The deck plate is used as the basis of topology-driven rules. In the algorithm, the deck plate data is stored in the List list. The next type of plate frame takes the previous type of plate frame as the boundary condition, which is linked together. The namespace in Smart3D is used to call the PlateSystem class to form a modeling order based on rule-driven, so as to complete the binding of topological relationships between plates in the subsequent three-dimensional model creation.
[0023] Preferably, in step S4, for the tables and annotation information in the two-dimensional drawings, the parameter information therein is further screened and retained by an extraction algorithm, and the data information is output to an Excel data source file to realize data source visualization and customized modification and update;
[0024] The text data information in the table and annotations parsed by the extraction algorithm mainly includes:
[0025] When using the pattern matching-based extraction algorithm, it will automatically analyze the table or annotation type and match it according to the two types of patterns. It will process structured or semi-structured text data by calling the Regex class in the namespace of AutoCAD, and search, split and extract text information according to different object types.
[0026] In the embodiment, data visualization and modification functions are realized through data flow between Smart3D and Excel data source files, mainly including:
[0027] Display the data source information in the modeling tool interface, modify the table, unlock the data source information display control, complete the modification of the data source information, insert rows, use when adding new data source information entries, lock the table to prevent accidental touches during other operations that may cause errors in the data source information, and update the table.
[0028] Preferably, in step S6, based on the optimized two-dimensional recognition strategy and topology driving rules, based on the Smart3D secondary development interface and using the .NET language, according to multi-scenario judgment rules, corresponding matching of Excel data source file information and Smart3D built-in data information in different scenarios is achieved, so as to facilitate the creation of the three-dimensional model in the best way in different rack areas.
[0029] Preferably, in step S5, data visualization and modification functions are realized through data flow between Smart3D and Excel data source file, mainly including:
[0030] Display the data source information in the modeling tool interface, modify the table, unlock the data source information display control, complete the modification of the data source information, insert rows, use when adding new data source information entries, lock the table to prevent accidental touches during other operations that may cause errors in the data source information, and update the table.
[0031] Preferably, in step S6, based on the optimized two-dimensional recognition strategy and topology driving rules, the .NET language is used based on the Smart3D secondary development interface and according to the multi-scenario judgment rules, the Excel data source file information and the Smart3D built-in data information are matched accordingly in different scenarios, so as to facilitate the creation of the three-dimensional model in the best way in different rack areas;
[0032] Multi-scenario judgment rules mainly include:
[0033] Under the premise of topology-driven rules, the modeling scenario is determined by judging whether the data information comes from the main deck area / hopper tank area;
[0034] If yes, match the X, Y, and Z coordinate information of the plate with the three-point coordinate system information built into Smart3D;
[0035] If not, match the base surface position and boundary position information of the plate with the Cartesian coordinate system information built into Smart3D.
[0036] Preferably, in step S7, the created three-dimensional model of the main hull large plate frame includes the position information and attribute information of the plate, the position information and attribute information of the profile, the plate thickness, the plate seam position information and attribute information of the plate, and is automatically created through the Platesystem, StiffenerSystem and Seam classes in Smart3D;
[0037] Among them, the position information and attribute information of the plate are obtained by presetting and encapsulating them into block references in advance. The position information and attribute information of the profile, the plate thickness, plate seam position information, and attribute information of the plate are all obtained by direct extraction in conjunction with the extraction algorithm of the matching mode. The three are output to an Excel single-form data source file.
[0038] The beneficial effects of the present invention are as follows: based on an optimized two-dimensional recognition strategy, the present invention realizes the acquisition of different forms of content in drawings, and most of the drawing data has been automatically processed by algorithms, without the need for manual data editing; Excel single-form data source files are used throughout the process to ensure a high degree of matching of data flow between AutoCAD and Smart3D, and with corresponding judgment rules, the best modeling method is automatically selected in different scenarios to ensure efficient and accurate establishment of three-dimensional models; there is a topological relationship between each panel area, and mutual connections are established between the panels, laying the foundation for other designs of subsequent models; the respective advantages of two-dimensional design and three-dimensional design are retained, and a three-dimensional linkage modeling method based on a two-dimensional drawing recognition strategy is realized, which facilitates the inspection and update of three-dimensional models by two-dimensional drawings in the later design stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of the main hull large plate frame topological modeling method based on two-dimensional recognition strategy and three-dimensional linkage of the present invention;
[0040] Figure 2 It is a schematic diagram of a three-dimensional model generated by the main hull large plate frame topological modeling method based on the three-dimensional linkage of the two-dimensional recognition strategy in the present invention. DETAILED DESCRIPTION
[0041] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0042] The present invention will be further described below in conjunction with the accompanying drawings.
[0043] like Figure 1 As shown, the main hull large plate frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage includes:
[0044] Step S1, clarify the main hull large plate frame area to be established, and check the information in the hull basic structure diagram and the mid-transverse section diagram.
[0045] In the embodiment, the main hull large plate frame area required for establishing the three-dimensional model by the method is determined according to the starting rib position and the ending rib position on the basic structure diagram and the original data information of the plate and profile in the mid-transverse section diagram.
[0046] Step S2, according to the definition of the main hull plate frame, classify and determine the hull drawing objects into hull plates, profiles, and annotations.
[0047] In the embodiment, the different object types of plates, profile tables and annotations in the two-dimensional drawing are determined by the differences in layer colors and display characteristics of different types of objects, for example, the plate layer color is yellow, the profile layer color is light blue, and the annotation layer color is yellow, and the plate part in the two-dimensional drawing is set in advance to be created as a block.
[0048] Step S3, extracting different object types in the two-dimensional drawing according to the optimized two-dimensional recognition strategy.
[0049] In the embodiment, for the hull plate, attribute definition is performed and encapsulated into a block reference, for the hull profile, the hull profile table information in the two-dimensional drawing is extracted, and for the plate annotation, the annotation information is extracted; wherein, the interfaces used in the algorithm for extracting the profile table and annotation are Autodesk.AutoCAD.DatabaseServices.Table and Autodesk.AutoCAD.DatabaseServices.Dimension, which facilitates accurate locking of different types of objects for data extraction during box selection.
[0050] In the embodiment, the attribute definition of the hull plate includes the base surface information, boundary information and attribute information of the plate.
[0051] Step S4, according to the topology driven rules, the block reference elements are identified to obtain the parameter information of the hull plate and form a rule driven modeling step.
[0052] In the embodiment, the topology driving rule used when identifying the frame block with reference to the primitive is:
[0053] The order of identifying plates in the two-dimensional drawings is deck plate, hopper tank inclined plate, inner bottom plate, side bottom girder, middle bottom girder, longitudinal bulkhead, side horizontal girder and inner shell longitudinal bulkhead. The deck plate is used as the basis of topology-driven rules. In the algorithm, the deck plate data is stored in the List list. The next type of plate frame takes the previous type of plate frame as the boundary condition, which is linked together. The namespace of Ingr.SP3D.Structure.Middle in Smart3D is used to call the PlateSystem class to form a modeling order based on rule-driven, so as to complete the binding of topological relationships between plates in the subsequent three-dimensional model creation; among them, the interface used for extracting plate block reference is Autodesk.AutoCAD.DatabaseServices.BlockReference, which is convenient for accurately locking block reference type objects when selecting two-dimensional drawings.
[0054] In the embodiment, for the tables and annotation information in the two-dimensional drawings, the parameter information therein is further screened and retained through the extraction algorithm, and the data information is output to the Excel data source file to realize data source visualization and customized modification and update;
[0055] The text data information in the table and annotations parsed by the extraction algorithm mainly includes:
[0056] When using the pattern matching-based extraction algorithm, it will automatically analyze the table or annotation type and match it according to the two types of patterns. It will process structured or semi-structured text data by calling the Regex class in the System.Text.RegularExpress ions namespace in AutoCAD, and search, split and extract text information according to different object types.
[0057] Step S5, outputting the data information in step S3 and step S4 to an Excel data source file to realize data source visualization and customized modification and update.
[0058] In the embodiment, data visualization and modification functions are realized through data flow between Smart3D and Excel data source files, mainly including:
[0059] Display the data source information in the modeling tool interface, modify the table, unlock the data source information display control, complete the modification of the data source information, insert rows, use when adding new data source information entries, lock the table to prevent accidental touches during other operations that may cause errors in the data source information, and update the table; achieve real-time updates of the background Excel data source file to maintain data consistency between different design software.
[0060] The real-time update of Excel data source files facilitates verification and inspection with the 2D drawing content, ensures the accuracy of data source information, and provides a data basis for the establishment of 3D models.
[0061] Step S6, according to the multi-scenario judgment rules, the data source information in different scenarios is matched with the built-in data information of Smart3D, and the best creation method is selected for different rack area models.
[0062] In the embodiment, on the basis of optimized two-dimensional recognition strategy and topology driven rules, based on Smart3D secondary development interface and using .NET language, according to multi-scenario judgment rules, corresponding matching of Excel data source file information and Smart3D built-in data information is achieved in different scenarios, so as to facilitate the creation of three-dimensional models in the best way in different rack areas.
[0063] In the embodiment, the multi-scenario judgment rules mainly include:
[0064] Under the premise of topology-driven rules, the modeling scenario is determined by judging whether the data information comes from the main deck area / hopper tank area;
[0065] If yes, match the X, Y, and Z coordinate information of the plate with the three-point coordinate system information built into Smart3D;
[0066] If not, match the base surface position and boundary position information of the plate with the Cartesian coordinate system information built into Smart3D.
[0067] Step S7, based on the Excel data source file, complete the creation of the main hull large plate frame three-dimensional model in different scenarios.
[0068] In the embodiment, the created three-dimensional model of the main hull large plate frame includes the position information and attribute information of the plate, the position information and attribute information of the profile, the plate thickness, the plate seam position information and attribute information of the plate, and is automatically created through the Platesystem, StiffenerSystem and Seam classes in Smart3D;
[0069] Among them, the position information and attribute information of the plate are obtained by presetting and encapsulating them into block references in advance. The position information and attribute information of the profile, the plate thickness, plate seam position information, and attribute information of the plate are all obtained by direct extraction in conjunction with the extraction algorithm of the matching mode. The three are output to an Excel single-form data source file.
[0070] The three-dimensional model of the main hull frame created by the above method is as follows: Figure 2As shown in the figure, this method uses Excel single-format data source files throughout the process, ensuring a high degree of matching of data flow between AutoCAD and Smart3D, and with the corresponding judgment rules, it can automatically select the best modeling method in different scenarios to ensure efficient and accurate establishment of three-dimensional models; there is a topological relationship between each panel area, and the panels are interconnected, laying the foundation for other designs of subsequent models; retaining the respective advantages of two-dimensional design and three-dimensional design, realizing a three-dimensional linkage modeling method based on two-dimensional drawing recognition strategy, which is convenient for the inspection and update of three-dimensional models by two-dimensional drawings in the later design stage.
[0071] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some or all of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A main hull frame topology modeling method based on a two-dimensional recognition strategy and three-dimensional linkage, characterized in that: include: Step S1, clarify the main hull large plate frame area to be established, and check the information in the hull basic structure diagram and the mid-transverse section diagram; Step S2, according to the definition of the main hull plate frame, classify and determine the hull drawing objects into hull plates, profiles, and annotations; Step S3, extracting different object types in the two-dimensional drawing according to the optimized two-dimensional recognition strategy; Step S4, according to the topology driven rule, the block reference element is identified to obtain the parameter information of the hull plate and form a rule driven modeling step; Step S5, outputting the data information in step S3 and step S4 to an Excel data source file to realize data source visualization and customized modification and update; Step S6, according to the multi-scenario judgment rules, matching the data source information in different scenarios with the built-in data information of Smart3D is achieved, and the best creation method is selected for different rack area models; Step S7, based on the Excel data source file, complete the creation of the main hull large plate frame three-dimensional model in different scenarios.
2. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 1 is characterized in that: In step S1, the main hull plate frame area for establishing the three-dimensional model is determined according to the starting rib position and the ending rib position on the basic structure diagram and the original data information of the plate and profile in the mid-transverse section diagram.
3. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 1 is characterized in that: In the step S2, by taking into account the differences in layer colors and display characteristics of objects of different types, the plate parts in the two-dimensional drawing are set in advance to be created into blocks.
4. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 1 is characterized in that: In the step S3, for the hull plate, attribute definition is performed and packaged into block references, for the hull profile, the hull profile table information in the two-dimensional drawing is extracted, and for the plate annotation, the annotation information is extracted.
5. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 4 is characterized in that: In step S3, the attribute definition of the hull plate includes the base surface information, boundary information and attribute information of the plate.
6. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 1 is characterized in that: In step S4, the topology driving rule used for identifying the frame block with reference to the primitive is: In the two-dimensional drawings, the order of identifying plates is deck plate, hopper tank inclined plate, inner bottom plate, side bottom girder, middle bottom girder, longitudinal bulkhead, side horizontal girder and inner hull longitudinal bulkhead. The deck plate is used as the basis of topology-driven rules. In the algorithm, the deck plate data is stored in the List list. The next type of plate frame takes the previous type of plate frame as the boundary condition, which is linked together. The namespace in Smart3D is used to call the PlateSystem class to form a modeling order based on rule-driven, so as to complete the binding of topological relationships between plates in the subsequent three-dimensional model creation.
7. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 6 is characterized in that: In step S4, for the tables and annotation information in the two-dimensional drawings, the parameter information therein is further screened and retained through the extraction algorithm, and the data information is output to the Excel data source file to realize data source visualization and customized modification and update; The text data information in the table and annotations parsed by the extraction algorithm mainly includes: When using the pattern matching-based extraction algorithm, it will automatically analyze the table or annotation type and match it according to the two types of patterns. It will process structured or semi-structured text data by calling the Regex class in the namespace of AutoCAD, and search, split and extract text information according to different object types.
8. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 1 is characterized in that: In step S5, data visualization and modification functions are realized through data flow between Smart3D and Excel data source files, mainly including: Display the data source information in the modeling tool interface, modify the table, unlock the data source information display control, complete the modification of the data source information, insert rows, use when adding new data source information entries, lock the table to prevent accidental touches during other operations that may cause errors in the data source information, and update the table.
9. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 1 is characterized in that: In step S6, based on the optimized two-dimensional recognition strategy and topology driving rules, the .NET language is used based on the Smart3D secondary development interface and according to the multi-scenario judgment rules, the Excel data source file information and the Smart3D built-in data information are matched accordingly in different scenarios, so as to facilitate the creation of the three-dimensional model in the best way in different rack areas; Multi-scenario judgment rules mainly include: Under the premise of topology-driven rules, the modeling scenario is determined by judging whether the data information comes from the main deck area / hopper tank area; If yes, match the X, Y, and Z coordinate information of the plate with the three-point coordinate system information built into Smart3D; If not, the base surface position and boundary position information of the plate are matched with the Cartesian coordinate system information built into Smart3D.
10. The main hull frame topology modeling method based on two-dimensional recognition strategy and three-dimensional linkage according to claim 1 is characterized in that: In step S7, the created three-dimensional model of the main hull large plate frame includes the position information and attribute information of the plate, the position information and attribute information of the profile, the plate thickness, the plate seam position information and attribute information, and is automatically created through the Platesystem, StiffenerSystem and Seam classes in Smart3D; Among them, the position information and attribute information of the plate are obtained by presetting and encapsulating them into block references in advance. The position information and attribute information of the profile, the plate thickness, plate seam position information, and attribute information of the plate are all obtained by direct extraction in conjunction with the extraction algorithm of the matching mode. The three are output to an Excel single-form data source file.
Citation Information
Patent Citations
Two-dimensional and three-dimensional linkage bridge parametric modeling and drawing method, device, equipment and medium
CN115017569A
Method and device for driving modeling of three-dimensional model based on two-dimensional drawing and computer storage medium
CN116070345A
Modeling method and system of hull grillage, electronic equipment and medium
CN117034394A