Data bidirectional conversion method, system and device based on S3D-Mars and medium
Through S3D-MARS-based data two-way conversion method, the problem of manual repeated modeling and modification in the construction of the ship structure is solved, and the efficient modeling process and the improved design quality are realized.
Patent Information
- Application Number
- CN202411407508.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-28
AI Technical Summary
In the prior art, manual repeated modeling and repeated modification are required during the modeling process of ship structure, resulting in low modeling efficiency and poor accuracy.
The two-way conversion method based on the S3D-MARS is used to obtain the original data of the horizontal section model of the S3D model, and it is prepared and adjusted until the MARS model meets the standard design standard of the ship to achieve the two-way conversion of the data.
It greatly shortened the time modeling and model modification time, significantly improved the efficiency of ship modeling, eliminated artificial modeling errors, and improved the quality of design.
Smart Images

Figure CN119378104A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ship data conversion, and in particular to a method, system, device and medium for bidirectional data conversion based on S3D-Mars. Background Art
[0002] The ship structure design process includes multiple design stages and multiple design software. The preliminary plan of the ship structure is determined by the classification society's standard design software. Cross-sections at different longitudinal positions along the hull are established, the dimensions of structural components in different areas are defined, and the moment of inertia, static moment and section modulus at the neutral axis and different height positions of the section are calculated. According to the descriptive requirements corresponding to the relevant specifications and rules, the hull beam strength, minimum thickness of the structure, local strength, etc. are verified and evaluated for compliance. The software commonly used for the standard design optimization of ship cross-sections includes BV Classification Society Mars and Smart3D.
[0003] In the traditional ship design model, data sharing and data conversion cannot be achieved between design software, so designers can only rely on drawings to manually build cross-sectional models in Mars for calculation optimization, and then modify the design according to the optimization results. The process of repeating modeling and modification results in low efficiency and poor accuracy in ship structure modeling. Summary of the invention
[0004] The technical problem to be solved by the present invention is to overcome the defects of low modeling efficiency and poor accuracy caused by repeated manual modeling and repeated modification in the process of ship structure modeling according to ship specification design data in the prior art, and to provide a method, system, device and medium for bidirectional data conversion based on S3D-Mars.
[0005] The present invention solves the above technical problems through the following technical solutions:
[0006] In a first aspect, the present invention provides a method for bidirectional data conversion based on S3D-Mars, the method comprising:
[0007] Acquire the original data of the cross-section model corresponding to the S3D model; the original data of the cross-section model is used to characterize the ship specification design data required for ship structure modeling;
[0008] Preprocessing the original data of the cross-section model to obtain cross-section model data;
[0009] The cross-section model data is used as input of the Mars model, and the cross-section model data is adjusted until the Mars model reaches the set ship specification design standard, thereby obtaining the cross-section model target data;
[0010] The cross-section model data is compared with the cross-section model target data, and the S3D model is adjusted according to the comparison result.
[0011] Preferably, the step of preprocessing the original data of the cross-section model to obtain the cross-section model data comprises:
[0012] The original data of the cross-section model is parsed to obtain strake data, frame data, node data, cabin data and bracket data;
[0013] The strake data, the frame data, the node data, the cabin data and the bracket data are respectively converted into data formats to obtain the cross-section model data in a file data format corresponding to the Mars model.
[0014] Preferably, the step of converting the data formats of the strake data, the frame data, the node data, the cabin data and the bracket data respectively comprises:
[0015] Convert the list width data in the strake data into plate seam position data, convert the node data into a marked node number form in the form of first connected in the order of plate rack data arrangement, convert the cabin boundary plate rack data in the cabin data into cabin node composition data, and convert the combined bracket arrangement type in the bracket data into a longitudinal bone end connection;
[0016] The data format corresponding to the bone material coordinates, size and material of the bone material data is mapped.
[0017] Preferably, the step of comparing the cross-section model data with the cross-section model target data and adjusting the S3D model according to the comparison result comprises:
[0018] Comparing the cross-section model data with the cross-section model target data, and determining the strake thickness data, frame size data, plate seam displacement data, and frame displacement data that are different;
[0019] The corresponding data in the S3D model are updated according to the strake thickness data, the frame size data, the plate seam displacement data and the frame displacement data that have differences.
[0020] In a second aspect, the present invention provides a system for bidirectional data conversion based on S3D-Mars, the system comprising:
[0021] An acquisition module is used to acquire the original data of the cross-section model corresponding to the S3D model; the original data of the cross-section model is used to characterize the ship specification design data required for ship structure modeling;
[0022] A preprocessing module, used for preprocessing the original data of the cross-section model to obtain cross-section model data;
[0023] An input module, used to use the cross-section model data as input of the Mars model, and adjust the cross-section model data until the Mars model reaches the set ship specification design standard, thereby obtaining the cross-section model target data;
[0024] The adjustment module is used to compare the cross-section model data with the cross-section model target data, and adjust the S3D model according to the comparison result.
[0025] Preferably, the pre-processing module comprises:
[0026] A parsing unit, used for parsing the original data of the cross-section model to obtain strake data, frame data, node data, cabin data and bracket data;
[0027] A conversion unit is used to convert the strake data, the frame data, the node data, the cabin data and the bracket data respectively to obtain the cross-section model data in a file data format corresponding to the Mars model.
[0028] Preferably, the conversion unit is specifically used for:
[0029] Convert the list width data in the strake data into plate seam position data, convert the node data into a marked node number form in the form of first connected in the order of plate rack data arrangement, convert the cabin boundary plate rack data in the cabin data into cabin node composition data, and convert the combined bracket arrangement type in the bracket data into a longitudinal bone end connection;
[0030] The data format corresponding to the bone material coordinates, size and material of the bone material data is mapped.
[0031] Preferably, the adjustment module comprises:
[0032] A determination unit, used for comparing the cross-section model data with the cross-section model target data, and determining the strake thickness data, frame size data, plate seam displacement data and frame displacement data that are different;
[0033] An updating unit is used to update corresponding data in the S3D model according to the column plate thickness data, the frame size data, the plate seam displacement data and the frame displacement data that have differences.
[0034] In a third aspect, the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the method for bidirectional data conversion based on S3D-Mars as described in the first aspect is implemented.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for bidirectional data conversion based on S3D-Mars as described in the first aspect.
[0036] The positive and progressive effects of the present invention are: obtaining the original data of the cross-section model corresponding to the S3D model; preprocessing the original data of the cross-section model to obtain the cross-section model data; using the cross-section model data as the input of the Mars model, and adjusting the cross-section model data until the Mars model reaches the set ship specification design standard, to obtain the cross-section model target data; comparing the cross-section model data with the cross-section model target data, and adjusting the S3D model according to the comparison result. The present invention greatly shortens the modeling and model modification time, significantly improves the efficiency of ship modeling; and the data conversion is based on a single data source, eliminating human modeling errors, and significantly improving the quality of ship design. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 This is a flow chart of a method for bidirectional data conversion based on S3D-Mars according to Example 1 of the present invention.
[0038] Figure 2 This is a flowchart of step S12 of the method for bidirectional data conversion based on S3D-Mars according to Embodiment 1 of the present invention.
[0039] Figure 3 This is a flowchart of step S14 of the method for bidirectional data conversion based on S3D-Mars according to Embodiment 1 of the present invention.
[0040] Figure 4 This is a schematic diagram of the first module of the system for bidirectional data conversion based on S3D-Mars according to Example 1 of the present invention.
[0041] Figure 5 This is a schematic diagram of the second module of the system for bidirectional data conversion based on S3D-Mars according to Example 1 of the present invention.
[0042] Figure 6 This is a schematic diagram of the structure of an electronic device according to Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0043] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0044] Example 1
[0045] The method for bidirectional data conversion based on S3D-Mars in this embodiment is as follows: Figure 1 As shown, the method includes:
[0046] S11, obtaining the original data of the cross-section model corresponding to the S3D model; the original data of the cross-section model is used to represent the ship specification design data required for ship structure modeling;
[0047] S12, preprocessing the original data of the cross-section model to obtain cross-section model data;
[0048] S13, using the cross-section model data as input of the Mars model, and adjusting the cross-section model data until the Mars model reaches the set ship specification design standard, thereby obtaining the cross-section model target data;
[0049] S14, comparing the cross-section model data with the cross-section model target data, and adjusting the S3D model according to the comparison result.
[0050] For the above steps S11-S14, the plate frames and cabin objects of the whole ship are obtained from the database of the S3D model. The plate frames and cabin objects of the whole ship are traversed by longitudinal range traversal and screening. The cross-section position input by the user is judged. If the longitudinal range of the plate frame and cabin object contains the cross-section position, it is screened out as the original data of the cross-section model. The original data of the cross-section model of the plate frame, cabin and longitudinal bone connection node extracted from the S3D model are converted according to the modeling rule requirements of the Mars model. According to the characteristics of the Mars modeling, the following three rules are defined: (1) The order of the plate frames is arranged according to "outer bottom-bilge-side-deck-longitudinal bulkhead-inner bottom-inner shell-longitudinal girder-horizontal girder"; (2) The extension direction of the plate frame is defined from the center of the ship to the side and from the bottom to the top; (3) The starting node of each plate frame is used as the reference point. Write the converted cross-section model data into a text document, and automatically change the text document suffix to ".ma2" to realize the data input of the Mars model. Use the cross-section model data generated in the S3D-Mars data conversion as the input data of the Mars model, run the Mars model calculation analysis, optimize and modify the model according to the analysis results, and use the modified Mars model as the cross-section model target data. By comparing the cross-section model target data and the cross-section model data, the model modification data is identified, and according to the modification data, the corresponding model object data in the S3D model is reversely located and automatically updated.
[0051] In this embodiment, the data of the connection nodes of the plate frame, cabin and longitudinal bone contained in a certain cross-section position of the S3D model are converted into the input data of the Mars model; the S3D model is automatically updated according to the modified data of the strake, frame and plate seam of the Mars model after calculation and optimization. The process of repeated modeling and modification is omitted, and the modeling operation efficiency of designers is improved.
[0052] In one embodiment, Figure 2 As shown, step S12 includes:
[0053] S121. Analyze the original data of the cross-section model to obtain strake data, frame data, node data, cabin data and bracket data;
[0054] S122. Convert the data formats of strake data, frame data, node data, cabin data and bracket data respectively to obtain cross-section model data in a file data format corresponding to the Mars model.
[0055] Wherein, step S121 specifically includes:
[0056] Convert the list width data in the column plate data into the plate seam position data, convert the node data in the form of first connected in the order of plate rack data into the form of marked node number, convert the cabin boundary plate rack data in the cabin data into cabin node composition data, and convert the combined bracket arrangement type in the bracket data into the longitudinal bone end connection;
[0057] Map the data format corresponding to the bone coordinates, dimensions and materials of the bone data.
[0058] The specific preprocessing process is as follows: sort the nodes of each plate frame according to the order of plate frame arrangement and define the node serial number. The data of the column plates and frames on the frame are sorted with the starting node of the frame as the reference point and the extension direction of the frame as the condition. According to the composition of the cabin boundary frame, select the characteristic nodes of the boundary frame, record the serial number of the node, and combine the node serial numbers in the counterclockwise direction of the cabin boundary as the node composition of the cabin. The column plates, frames and cabin data are directly mapped according to the rules in Mars. The longitudinal bone connection node data mainly includes two parts: the connection form of the longitudinal bone end and the distance from the fatigue hot spot to the nearest end of the span. The connection form of the longitudinal end is converted by combination and matching. The type and arrangement of the bracket connected to the longitudinal at the strong frame are combined and matched one by one with the longitudinal connection form included in Mars. The distance from the fatigue hotspot to the nearest end of the span is calculated by creating a translation surface. According to the requirements of the CSR specification, a plane with a distance from the longitudinal wing plate surface of 1 / 2 the total height of the longitudinal is established to obtain the length of the intersection line with the bracket, and the value is calculated by combining the end connection form.
[0059] In one embodiment, Figure 3 As shown, step S14 includes:
[0060] S141, comparing the cross-section model data with the cross-section model target data, and determining the strake thickness data, frame size data, plate seam displacement data, and frame displacement data that are different;
[0061] S142. Update corresponding data in the S3D model according to the different column plate thickness data, frame size data, plate seam displacement data and frame displacement data.
[0062] Specifically, read the original file corresponding to the cross-section model data and the modified file corresponding to the cross-section model target data row by row, and record all the data contained in the data headers "STRAKES", "STIFF LOC" and "STIFF SCANT". Compare the data row by row, and filter out the modified data in the strake thickness data, frame size data and plate seam displacement data. Record the modified strake position, thickness and width data, frame position, size and type data.
[0063] The S3D model is matched with the Mars model one by one, and the S3D model objects that need to be updated are located according to the position information in the strake and frame modification data. The strake thickness and frame size are updated by directly modifying the object attribute values of the S3D model. According to the position information in the frame modification data, a new position plane is established in the S3D model, and a new frame is created at the position plane using the Sketch2D drawing method, and then the unnecessary frame is deleted, so that the frame position can be updated. The S3D model is adjusted according to the above method.
[0064] In this embodiment, the cross-section model raw data corresponding to the S3D model is preprocessed to obtain cross-section model data that meets the input specifications of the Mars model, and the S3D model is updated by comparing the cross-section model target data and the cross-section model data, which greatly shortens the modeling and model modification time and significantly improves the ship modeling efficiency; and the data conversion is based on a single data source, eliminating human modeling errors and significantly improving the quality of ship design.
[0065] Example 2
[0066] The system of the present embodiment based on the bidirectional conversion of data of S3D-Mars is as follows: Figure 4 As shown, the system includes:
[0067] The acquisition module 310 is used to acquire the original data of the cross-section model corresponding to the S3D model; the original data of the cross-section model is used to represent the ship specification design data required for ship structure modeling;
[0068] A preprocessing module 320 is used to preprocess the original data of the cross-section model to obtain cross-section model data;
[0069] An input module 330 is used to use the cross-section model data as input of the Mars model, and adjust the cross-section model data until the Mars model reaches the set ship specification design standard, thereby obtaining the cross-section model target data;
[0070] The adjustment module 340 is used to compare the cross-section model data with the cross-section model target data, and adjust the S3D model according to the comparison result.
[0071] The acquisition module 310 obtains the plate frame and cabin objects of the whole ship from the database of the S3D model, and traverses the plate frame and cabin objects of the whole ship by longitudinal range traversal and screening. It determines according to the cross-section position input by the user. If the longitudinal range of the plate frame and cabin object contains the cross-section position, it will be screened out as the original data of the cross-section model. The pre-processing module 320 converts the original data of the cross-section model of the plate frame, cabin and longitudinal bone connection node extracted from the S3D model according to the modeling rule requirements of the Mars model. According to the characteristics of the Mars modeling, the following three rules are defined: (1) The order of the plate frame is arranged according to "outer bottom-bilge-side-deck-longitudinal bulkhead-inner bottom-inner shell-longitudinal girder-horizontal girder"; (2) The extension direction of the plate frame is defined from the center of the ship to the side and from the bottom to the top; (3) The starting node of each plate frame is used as the reference point. The converted cross-section model data is written into a text document, and the extension of the text document is automatically modified to ".ma2" to realize the data input of the Mars model. The preprocessing module 320 uses the cross-section model data generated in the S3D-Mars data conversion as the input data of the Mars model, runs the Mars model calculation analysis, optimizes and modifies the model according to the analysis results, and uses the modified Mars model data as the cross-section model target data. By comparing the cross-section model target data and the cross-section model data, the model modification data is identified, and according to the modification data, the corresponding model object data in the S3D model is reversely located and automatically updated.
[0072] In this embodiment, the data of the connection nodes of the plate frame, cabin and longitudinal bone contained in a certain cross-section position of the S3D model are converted into the input data of the Mars model; the S3D model is automatically updated according to the modified data of the strake, frame and plate seam of the Mars model after calculation and optimization. The process of repeated modeling and modification is omitted, and the modeling operation efficiency of designers is improved.
[0073] In one embodiment, Figure 5 As shown, the pre-processing module 320 includes:
[0074] The parsing unit 321 is used to parse the original data of the cross-section model to obtain strake data, frame data, node data, cabin data and bracket data;
[0075] The conversion unit 322 is used to convert the data formats of the strake data, the frame data, the node data, the cabin data and the bracket data respectively, so as to obtain the cross-section model data in the file data format corresponding to the Mars model.
[0076] The specific preprocessing process is as follows: sort the nodes of each plate frame according to the order of plate frame arrangement and define the node serial number. The data of the column plates and frames on the frame are sorted with the starting node of the frame as the reference point and the extension direction of the frame as the condition. According to the composition of the cabin boundary frame, select the characteristic nodes of the boundary frame, record the serial number of the node, and combine the node serial numbers in the counterclockwise direction of the cabin boundary as the node composition of the cabin. The column plates, frames and cabin data are directly mapped according to the rules in Mars. The longitudinal bone connection node data mainly includes two parts: the connection form of the longitudinal bone end and the distance from the fatigue hot spot to the nearest end of the span. The connection form of the longitudinal end is converted by combination and matching. The type and arrangement of the bracket connected to the longitudinal at the strong frame are combined and matched one by one with the longitudinal connection form included in Mars. The distance from the fatigue hotspot to the nearest end of the span is calculated by creating a translation surface. According to the requirements of the CSR specification, a plane with a distance from the longitudinal wing plate surface of 1 / 2 the total height of the longitudinal is established to obtain the length of the intersection line with the bracket, and the value is calculated by combining the end connection form.
[0077] In one embodiment, Figure 5 As shown, the adjustment module 340 includes:
[0078] A determination unit 341 is used to compare the cross-section model data with the cross-section model target data to determine the strake thickness data, frame size data, plate seam displacement data and frame displacement data that have differences;
[0079] The updating unit 342 is used to update the corresponding data in the S3D model according to the different strake thickness data, frame size data, plate seam displacement data and frame displacement data.
[0080] Specifically, the original file corresponding to the cross-section model data and the modified file corresponding to the cross-section model target data are read row by row, and all data contained in the data headers "STRAKES", "STIFF LOC" and "STIFF SCANT" are recorded. The determination unit 341 compares the data row by row, filters out the modified data in the strake thickness data, the frame size data and the plate seam displacement data, and records the modified strake position, thickness and width data, frame position, size and type data.
[0081] The updating unit 342 makes a one-to-one correspondence between the S3D model and the Mars model, and locates the S3D model object that needs to be updated according to the position information in the strake and frame modification data. The strake thickness and frame size are updated by directly modifying the object attribute value of the S3D model. A new position plane is established in the S3D model according to the position information in the frame modification data, and a new frame is created at the position plane using the Sketch2D drawing method, and then the unnecessary frame is deleted, so that the frame position can be updated, and the S3D model can be adjusted according to the above method.
[0082] In this embodiment, the preprocessing module preprocesses the original data of the cross-section model corresponding to the S3D model to obtain cross-section model data that meets the input specifications of the Mars model. The adjustment module updates the S3D model through the comparison results of the cross-section model target data and the cross-section model data, which greatly shortens the modeling and model modification time and significantly improves the efficiency of ship modeling. In addition, data conversion is based on a single data source, eliminating human modeling errors and significantly improving the quality of ship design.
[0083] Example 3
[0084] Figure 6 The schematic diagram of the structure of an electronic device provided in this embodiment includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the method for bidirectional data conversion based on S3D-Mars in embodiment 1 is implemented when the processor executes the program. Figure 6 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0085] like Figure 6 As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).
[0086] The bus 93 includes a data bus, an address bus, and a control bus.
[0087] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .
[0088] The memory 92 may also include a program / utility 925 having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.
[0089] The processor 91 executes various functional applications and data processing by running the computer programs stored in the memory 92, such as the method for bidirectional data conversion based on S3D-Mars in embodiment 1 of the present invention.
[0090] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the model generating device 90 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 96. Figure 6 As shown, the network adapter 96 communicates with other modules of the model-generated device 90 via the bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0091] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0092] Example 4
[0093] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the method for bidirectional data conversion based on S3D-Mars in Embodiment 1 are implemented.
[0094] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0095] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps in the method for bidirectional data conversion based on S3D-Mars in Example 1.
[0096] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0097] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A method for bidirectional data conversion based on S3D-Mars, characterized in that: The method comprises: Acquire the original data of the cross-section model corresponding to the S3D model; the original data of the cross-section model is used to characterize the ship specification design data required for ship structure modeling; Preprocessing the original data of the cross-section model to obtain cross-section model data; The cross-section model data is used as input of the Mars model, and the cross-section model data is adjusted until the Mars model reaches the set ship specification design standard, thereby obtaining the cross-section model target data; The cross-section model data is compared with the cross-section model target data, and the S3D model is adjusted according to the comparison result.
2. The method for bidirectional data conversion based on S3D-Mars according to claim 1, characterized in that: The step of preprocessing the original data of the cross-section model to obtain the cross-section model data comprises: The original data of the cross-section model is parsed to obtain strake data, frame data, node data, cabin data and bracket data; The strake data, the frame data, the node data, the cabin data and the bracket data are respectively converted into data formats to obtain the cross-section model data in a file data format corresponding to the Mars model.
3. The method for bidirectional data conversion based on S3D-Mars as claimed in claim 2, characterized in that: The step of converting the strake data, the frame data, the node data, the cabin data and the bracket data into data formats respectively comprises: Convert the list width data in the strake data into plate seam position data, convert the node data into a marked node number form in the form of first connected in the order of plate rack data arrangement, convert the cabin boundary plate rack data in the cabin data into cabin node composition data, and convert the combined bracket arrangement type in the bracket data into a longitudinal bone end connection; The data format corresponding to the bone material coordinates, size and material of the bone material data is mapped.
4. The method for bidirectional data conversion based on S3D-Mars according to claim 1, characterized in that: The step of comparing the cross-section model data with the cross-section model target data and adjusting the S3D model according to the comparison result includes: Comparing the cross-section model data with the cross-section model target data, and determining the strake thickness data, frame size data, plate seam displacement data, and frame displacement data that are different; The corresponding data in the S3D model are updated according to the strake thickness data, the frame size data, the plate seam displacement data and the frame displacement data that have differences.
5. A system for bidirectional data conversion based on S3D-Mars, characterized in that: The system comprises: An acquisition module is used to acquire the original data of the cross-section model corresponding to the S3D model; the original data of the cross-section model is used to characterize the ship specification design data required for ship structure modeling; A preprocessing module, used for preprocessing the original data of the cross-section model to obtain cross-section model data; An input module, used to use the cross-section model data as input of the Mars model, and adjust the cross-section model data until the Mars model reaches the set ship specification design standard, thereby obtaining the cross-section model target data; The adjustment module is used to compare the cross-section model data with the cross-section model target data, and adjust the S3D model according to the comparison result.
6. The system for bidirectional data conversion based on S3D-Mars as claimed in claim 5, characterized in that: The preprocessing module comprises: A parsing unit, used for parsing the original data of the cross-section model to obtain strake data, frame data, node data, cabin data and bracket data; A conversion unit is used to convert the strake data, the frame data, the node data, the cabin data and the bracket data respectively to obtain the cross-section model data in a file data format corresponding to the Mars model.
7. The system for bidirectional data conversion based on S3D-Mars as claimed in claim 6, characterized in that: The conversion unit is specifically used for: Convert the list width data in the strake data into plate seam position data, convert the node data into a marked node number form in the form of first connected in the order of plate rack data arrangement, convert the cabin boundary plate rack data in the cabin data into cabin node composition data, and convert the combined bracket arrangement type in the bracket data into a longitudinal bone end connection; The data format corresponding to the bone material coordinates, size and material of the bone material data is mapped.
8. The system for bidirectional data conversion based on S3D-Mars as claimed in claim 5, characterized in that: The adjustment module comprises: A determination unit, used for comparing the cross-section model data with the cross-section model target data, and determining the strake thickness data, frame size data, plate seam displacement data and frame displacement data that are different; An updating unit is used to update corresponding data in the S3D model according to the column plate thickness data, the frame size data, the plate seam displacement data and the frame displacement data that have differences.
9. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the method for bidirectional data conversion based on S3D-Mars as described in any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for bidirectional data conversion based on S3D-Mars according to any one of claims 1 to 4 is implemented.