Ship data conversion method and system

Through the ship data conversion method and system, the problem of data in the ship design is solved, data migration is realized, and design efficiency and quality are improved.

CN118965580APending Publication Date: 2024-11-15SHANGHAI WAIGAOQIAO SHIP BUILDING CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411124495.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The design tools and software at each stage of the ship design process are incompatible, resulting in the inability to effectively integrate the data, and repeated modeling is required on different software, which reduces work efficiency and may introduce human errors.

Method used

Provide a ship data conversion method and system, by obtaining the profile position of the ship, obtaining the profile model in the three-dimensional modeling software, converting it into a data format suitable for the two-dimensional modeling software, and filling it into the corresponding template to realize the data. Migration between different software.

Benefits of technology

Repeated modeling is avoided, design efficiency is improved, human error is reduced, and ship design quality is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965580A_ABST
    Figure CN118965580A_ABST
Patent Text Reader

Abstract

The invention provides a ship data conversion method and system, and the method comprises the steps: obtaining a section model of a ship model at a section position in three-dimensional modeling software through an obtained ship section position, converting the format of data corresponding to the section model into a data format suitable for two-dimensional modeling software, and obtaining target data, and finally, the target data is filled into a target template corresponding to the two-dimensional modeling software, a ship model in the two-dimensional modeling software is obtained, and the target template corresponds to the two-dimensional modeling software. The three-dimensional modeling software and the two-dimensional modeling software are applied to different stages of ship design respectively, migration of ship data in different software can be achieved based on the ship data conversion method, repeated modeling is not needed in the ship design stage, the design efficiency is improved, human errors possibly introduced by repeated modeling are avoided, and the ship design efficiency is improved. And therefore, the ship design quality is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of integrated three-dimensional digital design, and in particular to a ship data conversion method and system. Background Art

[0002] As an important part of the manufacturing industry, the shipbuilding industry has a slow pace of informatization development due to its unique complexity, such as a large number of parts, numerous development stages, huge amounts of design data, long R&D cycles, and a long life cycle. In addition, the information gap in the ship design and manufacturing process is particularly significant due to the wide variety of software involved in the ship design process and the difficulty in integration.

[0003] In the traditional ship design process, the design stages are independent of each other, the design tools and software used in each stage are incompatible with each other, and the data cannot be effectively integrated. Therefore, at each stage of ship design, repetitive modeling work is required on different design software. This not only reduces work efficiency, but may also cause errors in the ship modeling process due to differences in manual operations, thereby affecting the final quality of the ship design. Summary of the invention

[0004] The technical problem to be solved by the present disclosure is to overcome the defect in the prior art that each stage of ship design requires repeated modeling on different software, and to provide a ship data conversion method and system.

[0005] The present invention solves the above technical problems through the following technical solutions:

[0006] A first aspect of the present disclosure provides a ship data conversion method, the steps of the data conversion method comprising:

[0007] Get the profile position of the ship;

[0008] Obtaining a section model of the ship model at the section position in the three-dimensional modeling software;

[0009] Converting the format of the data corresponding to the cross-section model into a target format to obtain target data, wherein the target format is a data format suitable for two-dimensional modeling software;

[0010] The target data is filled into a target template to obtain a ship model in the two-dimensional modeling software, and the target template corresponds to the two-dimensional modeling software.

[0011] Optionally, the data format of the cross-section position is rib number plus offset distance or rib number minus offset distance.

[0012] Optionally, the step of obtaining a section model of the ship model at the section position in the three-dimensional modeling software specifically includes:

[0013] Creating a new plane in the three-dimensional modeling software according to the section position;

[0014] The section model of the section position is obtained according to the intersection result of the newly created plane and the ship model in the three-dimensional modeling software.

[0015] Optionally, the data corresponding to the section model includes at least one of plate frame data, node data, strake data, frame material data, cabin data and longitudinal bone fatigue data.

[0016] Optionally, the rack data includes a rack type and a rack name;

[0017] Optionally, the node data includes node coordinates and line types between nodes;

[0018] Optionally, the strake data includes strake width, strake thickness and strake material;

[0019] Optionally, the bone material data includes bone material position, bone material size and bone material;

[0020] Optionally, the cabin data includes the node composition, cabin type and cabin size of the cabin;

[0021] Optionally, the longitudinal bone fatigue data includes the longitudinal bone end connection form and the distance from the fatigue hotspot to the closest end of the span.

[0022] Optionally, the section position is a cross-section position.

[0023] A second aspect of the present disclosure provides a ship data conversion system, the data conversion system comprising:

[0024] A position acquisition module is used to obtain the profile position of the ship;

[0025] A model acquisition module, used for acquiring a section model of the ship model at the section position in the three-dimensional modeling software;

[0026] A data conversion module, used for converting the format of the data corresponding to the section model into a target format to obtain target data, wherein the target format is a data format suitable for two-dimensional modeling software;

[0027] The data filling module is used to fill the target data into the target template to obtain the ship model in the two-dimensional modeling software, and the target template corresponds to the two-dimensional modeling software.

[0028] Optionally, the data format of the cross-section position is rib number plus offset distance or rib number minus offset distance.

[0029] Optionally, the model acquisition module is specifically used to create a new plane in the three-dimensional modeling software according to the section position, and obtain the section model of the section position according to the intersection result of the new plane and the ship model in the three-dimensional modeling software.

[0030] Optionally, the data corresponding to the section model includes at least one of plate frame data, node data, strake data, frame material data, cabin data and longitudinal bone fatigue data.

[0031] Optionally, the rack data includes a rack type and a rack name;

[0032] Optionally, the node data includes node coordinates and line types between nodes;

[0033] Optionally, the strake data includes strake width, strake thickness and strake material;

[0034] Optionally, the bone material data includes bone material position, bone material size and bone material;

[0035] Optionally, the cabin data includes the node composition, cabin type and cabin size of the cabin;

[0036] Optionally, the longitudinal bone fatigue data includes the longitudinal bone end connection form and the distance from the fatigue hotspot to the closest end of the span.

[0037] Optionally, the section position is a cross-section position.

[0038] A third aspect of the present disclosure provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein the processor implements the data conversion method as described in any one of the first aspects when executing the computer program.

[0039] A fourth aspect of the present disclosure is a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data conversion method as described in any one of the first aspects.

[0040] A fifth aspect of the present disclosure provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the data conversion method as described in any one of the first aspects is implemented.

[0041] On the basis of being in accordance with the common sense in the art, the above-mentioned optional conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.

[0042] The positive and progressive effect of the present disclosure is that: by obtaining the section position of the ship, the section model of the ship model in the three-dimensional modeling software at the section position is obtained, and then the format of the data corresponding to the section model is converted into a data format suitable for the two-dimensional modeling software, thereby obtaining the target data, and finally filling the target data into the target template corresponding to the two-dimensional modeling software to obtain the ship model in the two-dimensional modeling software, wherein the target template is corresponding to the two-dimensional modeling software. The three-dimensional modeling software and the two-dimensional modeling software are respectively applied to different stages of ship design. Based on the above-mentioned ship data conversion method, the migration of ship data in different software can be realized, and there is no need to repeat modeling in the ship design stage, which not only improves the design efficiency, but also avoids the human errors that may be introduced by repeated modeling, thereby greatly improving the quality of ship design. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A flow chart of a ship data conversion method provided in Example 1 of the present disclosure;

[0044] Figure 2 A partial flow chart of a ship data conversion method provided in Example 1 of the present disclosure;

[0045] Figure 3 A schematic diagram of a WPF user interface provided in Embodiment 1 of the present disclosure;

[0046] Figure 4 A schematic diagram of a ship basic data template file calling interface provided in Example 1 of the present disclosure;

[0047] Figure 5 A schematic diagram of a ship model in the Smart3D software provided in Example 1 of the present disclosure;

[0048] Figure 6 A schematic diagram of a ship model in the Mars2000 software provided in Example 1 of the present disclosure;

[0049] Figure 7 A module schematic diagram of a ship data conversion system provided in Embodiment 2 of the present disclosure;

[0050] Figure 8 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present disclosure. DETAILED DESCRIPTION

[0051] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.

[0052] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.

[0053] In the embodiments of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0054] Example 1

[0055] This embodiment provides a ship data conversion method, such as Figure 1 As shown, the steps of the data conversion method include:

[0056] S1. Obtain the profile position of the ship;

[0057] In specific implementation, the section position of a ship refers to several cross-sectional positions selected along the length of the ship according to specific standards for analysis and construction purposes during the design and construction of the ship. These sections are used to display and analyze the ship's structure, shape, and changes at different positions. Obtaining and analyzing data on section positions is essential to ensuring the structural strength, hydrodynamic performance, and overall safety of the ship.

[0058] S2, obtaining a cross-sectional model of the ship model at the cross-sectional position in the three-dimensional modeling software;

[0059] In a specific implementation, a ship model has been created in the three-dimensional modeling software, and the created ship model is cut according to the section position to generate a section model.

[0060] S3, converting the format of the data corresponding to the cross-section model into a target format to obtain target data, wherein the target format is a data format suitable for two-dimensional modeling software;

[0061] In the specific implementation, after obtaining the section model, the data corresponding to the section model can be obtained by selecting the correct data type and setting the precision, and then a target format suitable for the two-dimensional modeling software is determined, and the data corresponding to the section model in the three-dimensional modeling software is converted into the target format supported by the two-dimensional modeling software to obtain the target data.

[0062] S4. Fill the target data into a target template to obtain a ship model in the two-dimensional modeling software, wherein the target template corresponds to the two-dimensional modeling software.

[0063] In a specific implementation, the target template can be an existing template or a newly created template. The target template contains the basic structure and parameter settings suitable for subsequent ship design. The target data after the data format conversion is filled into the target template, and the target data is used to replace the placeholder data or preset parameters in the target template to match the specific ship design requirements. The filled target template is saved to ensure that the data format in the target template is compatible with the two-dimensional modeling software. The import function of the two-dimensional modeling software is used to import the filled target template into the two-dimensional modeling software. After the import, the performance or appearance of the model can be further adjusted and optimized as needed to ensure the accuracy and practicality of the final generated ship model.

[0064] In an optional implementation, the data format of the cross-section position is rib number plus offset distance or rib number minus offset distance.

[0065] In this embodiment, the rib position number is a numbering system used to identify the position of ribs in ship design. It is distributed along the longitudinal direction of the ship and is used to determine the specific position in the length direction of the ship. The rib position number is usually numbered starting from a specific position of the bow or stern. The rib position number ordering of military ships and civilian ships is different. The rib position numbers of military ships are usually ordered from the bow, with the bow column as rib position 0, and the rib position numbers increase toward the stern. For example, if the rib spacing is 800 mm, then the place 8400 mm away from the bow can be marked as fr10+400 or called 10 and a half ribs; the rib position numbers of civilian ships are usually started from the stern and numbered from the stern to the bow, and most of them use the center line of the rudder shaft system as rib position "0", with negative positions toward the stern, such as: fr-1, fr-2, and positive positions toward the bow, such as: fr1, fr2. Through the precise marking and numbering system of rib position numbers, each rib and its related structures can be accurately designed and positioned to ensure the integrity and mechanical performance of the ship structure.

[0066] In an optional embodiment, Figure 2 As shown, the steps of S2 specifically include:

[0067] S21, creating a new plane in the three-dimensional modeling software according to the cross-section position;

[0068] S22. Obtaining a section model of the section position according to the intersection result of the newly created plane and the ship model in the three-dimensional modeling software.

[0069] In this embodiment, it is first necessary to clarify the section position, which is usually specified by the rib number and the offset distance. The 3D modeling software is opened and the 3D model of the ship is loaded. The 3D model contains all the structural data required for ship design. The measurement tools provided by the software are used to count from the bow or stern until the specified rib number position is found. A new plane is inserted at this position. The shape and size of the new plane need to be accurately defined so that it can intersect correctly with the 3D model of the ship. The new plane can be a simple rectangle or a complex polygon. The size must cover the entire ship or a specific part. The position and direction of the new plane are crucial to subsequent calculations and must be accurately placed so that the ship can be cut along the specified rib number and offset distance. , the newly created plane is usually perpendicular to the longitudinal axis of the ship, but sometimes it may be necessary to cut the ship at a specific angle to obtain the desired section view; the intersection calculation of the newly created plane and the ship model is performed in the 3D modeling software. The 3D modeling software first needs to identify all the intersection points of the newly created plane and the 3D model of the ship. These intersection points are where the plane contacts the surface of the ship. Then the software forms a closed contour line by connecting these intersection points. Once all the intersection points are identified and connected, the 3D modeling software can generate a complete section model, which can reflect the cross-sectional structure of the ship at a specific location. The generated section model can also be manually edited to correct errors. The accuracy and usability of the section model can be improved by adding missing details or performing other optimization processing. In a specific example, the section position is specifically set to fr15+50mm. Start the Smart3D software and load the 3D model of the ship. Use the software positioning tool to count from the bow until the rib number fr15 is found. Then move 50mm toward the bow to determine the exact section position. Insert a new plane at this section position, perpendicular to the longitudinal axis of the ship. Smart3D automatically calculates all intersections of the new plane and the ship model, and then connects these intersections to form a closed contour line, thereby generating a section model with a section position of fr15+50mm.

[0070] In an optional embodiment, the data corresponding to the section model includes at least one of plate frame data, node data, strake data, frame material data, cabin data and longitudinal bone fatigue data.

[0071] In this embodiment, the plate frame data is used in the section model to analyze and optimize the structural strength and rigidity of the ship. By adjusting the design of the plate and frame, the overall performance of the ship can be improved to ensure the stability and safety of the ship during navigation; the node data affects the load transfer and structural integrity of the ship. Only when the node is strong enough can the ship withstand various loads and stresses, thereby ensuring the reliability and durability of the ship; the strake data is used to evaluate the spatial layout and cabin division of the ship. By adjusting the strake layout, the use of the cabin and the spatial efficiency of the ship are optimized to improve the comfort of passengers and crew on board; the bone material data determines the strength and rigidity of the ship. According to the bone material data, the bearing capacity and bending resistance of the ship can be analyzed to ensure that the ship maintains structural integrity under extreme conditions; the cabin data is used to evaluate and optimize the space utilization, passenger and cargo layout of the ship. According to the cabin data, the ship design is adjusted to meet specific usage requirements, such as passenger capacity, cargo storage and other design layouts; the longitudinal bone fatigue data is used to evaluate the durability and reliability of the ship. By analyzing the longitudinal bone fatigue data, the potential weaknesses of the ship are identified, and corresponding measures are taken to improve the fatigue life of the ship to ensure the long-term safe operation of the ship. By integrating various data types in the section model, a detailed 3D model of the ship is created, which not only accurately describes the physical structure of the ship, but also provides key information about the performance and durability of the ship, thereby ensuring that the ship design fully complies with the specified standards and performance requirements, and guarantees the accuracy and reliability of the design.

[0072] In a specific example, the plate frame data, node data, strake data, frame data, cabin data and longitudinal fatigue data of the section model in Smart3D can be integrated together to build a new section model, and then the moment of inertia, neutral axis and static moment and section modulus at different heights of the section can be calculated. According to the relevant specifications for ship design, the strength of the ship beam, the minimum thickness of the structure, the local strength, etc. are verified and evaluated. Based on the verification results, it is determined whether design modifications or strengthening measures are needed.

[0073] In an optional implementation, the rack data includes a rack type and a rack name.

[0074] In this embodiment, the plate frame data refers to the basic components of the ship structure, the plate frame type refers to the specific position and function of the plate frame in the ship, such as the main deck, submarine deck, etc., and the plate frame name refers to the name of the specific plate frame, which helps to accurately identify and locate during the ship design and construction process.

[0075] In an optional implementation, the node data includes node coordinates and line types between nodes.

[0076] In this embodiment, node data refers to the points where different components in the ship structure intersect or connect. Its coordinates define the specific position of the node in the ship, and the line type describes the connection method between nodes, such as straight lines, curves, etc.

[0077] In an optional embodiment, the column plate data includes column plate width, column plate thickness and column plate material.

[0078] In this embodiment, the plate strake data refers to the data of each plate constituting the plate frame, and the width and thickness of the plate strake data have an important influence on the spatial layout and structural strength of the ship.

[0079] In an optional implementation manner, the bone material data includes bone position, bone size and bone material.

[0080] In this embodiment, the frame data refers to the main supporting structure of the ship, including ribs, longitudinals and beams, etc. The position, size and material selection of the frame have a decisive influence on the strength and rigidity of the ship.

[0081] In an optional embodiment, the cabin data includes the node composition, cabin type and cabin size of the cabin.

[0082] In this embodiment, cabin data refers to the space inside the ship used for carrying people or cargo, its node composition refers to the nodes and plates that constitute the cabin, the cabin type refers to the functional classification of the cabin, such as passenger cabin, cargo hold, etc., and the cabin size refers to the size and volume of the cabin.

[0083] In an optional embodiment, the longitudinal bone fatigue data includes the longitudinal bone end connection form and the distance from the fatigue hot spot to the closest end of the span.

[0084] In this embodiment, the fatigue data of the longitudinal bone refers to an important structural element of the ship, which is responsible for bearing the stress of the ship during navigation. The connection form of the longitudinal bone end refers to the connection method between the longitudinal bone and other components. The distance from the fatigue hotspot to the nearest end of the span refers to the distance between the position where fatigue cracks may occur on the longitudinal bone and the end of the longitudinal bone.

[0085] In a specific example, the 3D modeling software is Smart3D, and the 2D modeling software is Mars2000. The Panel module of Mars2000 is used to define the rack. By reading the rack NamingCategory attribute value in the Smart3D model, the rack type is obtained, and the rack is named according to these rack types; the Node module of Mars2000 is used to define the nodes of the rack. By analyzing the intersection lines generated by the plane and the rack, the characteristic nodes of each rack can be obtained, and the coordinate values ​​of these nodes can be obtained. According to the rack line type in the model, the line type between the nodes is further defined to ensure the correct layout and connection of the nodes; the Strakes module of Mars2000 is used to define each column of the rack. By using the intersection lines generated by the plane and the rack, the model data of the column corresponding to each intersection line can be extracted, including the width, thickness and material of the column. According to the extension direction of the rack, the column data can be sorted and organized to ensure the correct layout and order of the column in the model; The Stiffeners module is used to define each longitudinal bone on the plate frame. By analyzing the intersection line between the plane and the bone, the position of the bone can be determined, and the size and material of the bone can be obtained according to the bone model data corresponding to the intersection line, ensuring the accurate representation and position of the bone in the model; the Compartments module of Mars2000 is used to define the cabin contained in the section position. According to the input section position, the cabin intersecting with it can be obtained, and the node composition of the cabin can be obtained according to the boundary of the cabin. By reading the cabin attributes, the type and size of the cabin can be obtained, thereby ensuring the correct representation and layout of the cabin in the model; the Fatigue module of Mars2000 The e module is used to define the fatigue calculation parameters of the longitudinals. According to the input section position, the position of the frame before and after the section position can be obtained, and the information of all brackets on the frame can be obtained. By analyzing the association between the bracket and the longitudinal, the bracket connected to each longitudinal can be screened out, and the connection form of the longitudinal end can be obtained according to the type, arrangement order and corner hole type of the bracket on the longitudinal. In order to calculate the distance from the fatigue hotspot to the nearest end of the span, the point offset by 1 / 2 of the height of the frame in the direction of the frame height can be used as the feature point from the frame panel along the frame intersection line, and a new plane is created with the frame height direction as the normal vector. According to the intersection data of the plane and the associated bracket, the distance from the fatigue hotspot to the nearest end of the span is calculated. Through a series of modules provided by the Mars2000 software, various structural elements in ship design can be defined and managed in detail. Through precise data input and analysis, the modules in Mars2000 can be used to build a detailed ship model.

[0086] In an optional embodiment, the cross-sectional position is a cross-sectional position.

[0087] In this embodiment, the cross section is a cutting plane perpendicular to the longitudinal axis of the ship, which can show the horizontal interface of the ship. The cross-sectional view can more intuitively display the structural layout and mutual relationship of the various parts of the ship. For ships with symmetrical design, the cross section can show the internal structural layout that is symmetrical on both sides, ensuring the overall balance and stability of the design, and at the same time facilitating the inspection of the symmetry and load distribution of the ship structure.

[0088] In a specific example, the ship data in Smart3D is converted to be suitable for Mars2000, such as Figure 3 As shown, in the WPF interface, enter the standard ship length tail value fr3 in the Aft End (AE) input box, enter the cross-section position fr62+2180, fr79+2180 in the Planes input box, the cross-section position data format is the rib number plus the offset distance, and the two cross-section positions are separated by a comma. Click Calculate to call the ship basic data template file as the target template file. WPF (Windows Presentation Foundation) is a Windows-based user interface framework launched by Microsoft and is part of the .NET Framework 3.0. Figure 4 As shown in the figure, the template file is generated in advance by using Mars2000. A new file is created through Mars2000 and basic ship data such as standard length, breadth and still water bending moment are input, and then it is saved in .txt format to generate a ship basic data template file; then according to the cross-section position entered in the Planes input box, the program developed in VB.NET language references the Intersect method of the Ingr.SP3D.Common.Middle namespace of the CommonMiddle.dll file to obtain the model of the cross-section position. The specific function of the Intersect method is to create a new plane in Smart3D according to the cross-section position entered in the WPF interface, and intersect the plane with the ship model in Smart3D. The ship model in Smart3D is as follows: Figure 5As shown in the figure, the cross-section model of the cross-section position is obtained, and then the intersection line between the ship model and the plane and the basic data of the model are obtained from the obtained cross-section model, and then the required fatigue data of the plate frame, node, strake, frame, cabin and longitudinal bone are extracted from it; the above extracted data are converted according to the data format of Mars2000, and the converted data are filled into the basic data template file of the ship. Since the standard tail value of the length cannot be obtained from the cross-section model in Smart3D, the input standard tail value of the length fr3 is also required to be filled into the basic data template file of the ship, and the suffix of the template file in the .txt format filled with data is modified to .ma2, and finally a target template file applicable to Mars2000 is formed; the target template file is imported into Mars2000 to generate the following Figure 6 Schematic diagram of the ship model shown.

[0089] The disclosed embodiment obtains the cross-sectional position of the ship, obtains the cross-sectional model of the ship model in the three-dimensional modeling software at the cross-sectional position, and then converts the format of the data corresponding to the cross-sectional model into a data format suitable for the two-dimensional modeling software, thereby obtaining the target data, and finally fills the target data into the target template corresponding to the two-dimensional modeling software to obtain the ship model in the two-dimensional modeling software, wherein the target template corresponds to the two-dimensional modeling software. The three-dimensional modeling software and the two-dimensional modeling software are respectively applied to different stages of ship design. Based on the above-mentioned ship data conversion method, the migration of ship data in different software can be realized, and there is no need to repeat modeling in the ship design stage, which not only improves the design efficiency, but also avoids the human errors that may be introduced by repeated modeling, thereby greatly improving the quality of ship design.

[0090] Example 2

[0091] Corresponding to the ship data conversion method embodiment in the aforementioned embodiment 1, the present disclosure also provides a ship data conversion system, such as Figure 7 As shown, the data conversion system includes:

[0092] The position acquisition module 101 is used to acquire the profile position of the ship;

[0093] The model acquisition module 102 is used to acquire a section model of the ship model at the section position in the three-dimensional modeling software;

[0094] A data conversion module 103 is used to convert the format of the data corresponding to the cross-section model into a target format to obtain target data, wherein the target format is a data format suitable for two-dimensional modeling software;

[0095] The data filling module 104 is used to fill the target data into the target template to obtain the ship model in the two-dimensional modeling software, and the target template corresponds to the two-dimensional modeling software.

[0096] In an optional implementation, the data format of the cross-section position is rib number plus offset distance or rib number minus offset distance.

[0097] In an optional embodiment, the model acquisition module 102 is specifically used to create a new plane in the three-dimensional modeling software according to the section position, and obtain the section model of the section position according to the intersection result of the new plane and the ship model in the three-dimensional modeling software.

[0098] In an optional embodiment, the data corresponding to the section model includes at least one of plate frame data, node data, strake data, frame material data, cabin data and longitudinal bone fatigue data.

[0099] In an optional embodiment, the rack data includes a rack type and a rack name;

[0100] In an optional implementation, the node data includes node coordinates and line types between nodes;

[0101] In an optional embodiment, the strake data includes strake width, strake thickness and strake material;

[0102] In an optional embodiment, the bone material data includes bone material position, bone material size and bone material;

[0103] In an optional embodiment, the cabin data includes the node composition, cabin type and cabin size of the cabin;

[0104] In an optional embodiment, the longitudinal bone fatigue data includes the longitudinal bone end connection form and the distance from the fatigue hot spot to the closest end of the span.

[0105] In an optional embodiment, the cross-sectional position is a cross-sectional position.

[0106] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.

[0107] Example 3

[0108] This embodiment provides an electronic device, including a processor, a memory, and a computer program stored in the memory and used to run on the processor, and when the computer program is executed by the processor, the ship data conversion method as described in Example 1 is implemented.

[0109] Figure 8 A schematic diagram of the structure of an electronic device provided in this embodiment, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and the processor implements the ship data conversion method of Example 1 when executing the computer program. Figure 8 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 disclosure.

[0110] like Figure 8 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).

[0111] The bus 93 includes a data bus, an address bus, and a control bus.

[0112] 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 .

[0113] The memory 92 may also include a program tool 925 (or utility) 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.

[0114] The processor 91 executes various functional applications and data processing by running the computer programs stored in the memory 92, such as the ship data conversion method of embodiment 1 of the present disclosure.

[0115] 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 electronic 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. As shown, the network adapter 96 communicates with other modules of the electronic device 90 via a bus 93. It should be understood that although Figure 8 Not shown, other hardware and / or software modules may be used in conjunction with the electronic 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.

[0116] 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 the embodiments of the present disclosure, 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.

[0117] Example 4

[0118] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the ship data conversion method of embodiment 1 is implemented.

[0119] 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.

[0120] Example 5

[0121] This embodiment also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the ship data conversion method as described in Embodiment 1 is implemented.

[0122] Among them, the program code for executing the computer program product of the present disclosure 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.

[0123] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure 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 disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.

Claims

1. A ship data conversion method, characterized in that: The steps of the data conversion method include: Get the profile position of the ship; Obtaining a section model of the ship model at the section position in the three-dimensional modeling software; Converting the format of the data corresponding to the cross-section model into a target format to obtain target data, wherein the target format is a data format suitable for two-dimensional modeling software; The target data is filled into a target template to obtain a ship model in the two-dimensional modeling software, and the target template corresponds to the two-dimensional modeling software.

2. The data conversion method according to claim 1, characterized in that: The data format of the section position is rib number plus offset distance or rib number minus offset distance.

3. The data conversion method according to claim 1, characterized in that: The step of obtaining the cross-sectional model of the ship model at the cross-sectional position in the three-dimensional modeling software specifically includes: Creating a new plane in the three-dimensional modeling software according to the section position; The section model of the section position is obtained according to the intersection result of the newly created plane and the ship model in the three-dimensional modeling software.

4. The data conversion method according to claim 1, characterized in that: The data corresponding to the section model includes at least one of plate frame data, node data, strake data, frame material data, cabin data and longitudinal bone fatigue data.

5. The data conversion method according to claim 4, characterized in that: The rack data includes rack type and rack name; and / or, The node data includes node coordinates and line types between nodes; and / or, The strake data includes strake width, strake thickness and strake material; and / or, The bone material data includes the bone material position, bone material size and bone material; and / or, The cabin data includes cabin node composition, cabin type and cabin size; and / or, The longitudinal fatigue data include the longitudinal end connection form and the distance from the fatigue hot spot to the closest end of the span.

6. The data conversion method according to any one of claims 1 to 5, characterized in that: The section position is a cross-section position.

7. A ship data conversion system, characterized in that: The data conversion system comprises: A position acquisition module is used to obtain the profile position of the ship; A model acquisition module, used for acquiring a section model of the ship model at the section position in the three-dimensional modeling software; A data conversion module, used for converting the format of the data corresponding to the section model into a target format to obtain target data, wherein the target format is a data format suitable for two-dimensional modeling software; The data filling module is used to fill the target data into the target template to obtain the ship model in the two-dimensional modeling software, and the target template corresponds to the two-dimensional modeling software.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the data conversion method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data conversion method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data conversion method according to any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Modeling method and system based on complex end hull section component feature point input

    CN120086966A