Ship water inlet point drawing method and device, electronic equipment and storage medium
By automatically compiling the ship's main scale and deck beam arch information table, and calculating the height and coordinate values of the water inlet point, the problem of inefficient drawing of ship damage control diagrams in the existing technology is solved, and fast and accurate drawing of ship water inlet points is achieved.
Patent Information
- Application Number
- CN202510559672.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-08-12
AI Technical Summary
In the prior art, the drawing of the water inlet point of the ship's damage control chart is inefficient, time-consuming and labor-intensive, and error-prone, and difficult to replicate on a large scale. Especially when the number of water inlet points or coordinates change, it requires repeated drawing, which consumes a lot of time and energy.
By obtaining the ship's overall layout and medium cross-section information, we will automatically prepare the main scale and deck beam arch information table, calculate the height and coordinate values of the water inlet point, establish a connection with the drawing software, and realize the automatic drawing of the ship's water inlet point.
It greatly saves drawing time, improves drawing accuracy and convenience of modifying drawings, and achieves fast and accurate drawing of ship damage.
Smart Images

Figure CN120472040A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method, device, electronic equipment and storage medium for drawing water intake points of ships in the shipbuilding industry, and belongs to the field of management technology in digital design and manufacturing technology of ships. Background Art
[0002] A damage control diagram helps crew members quickly assess the severity of flooding in the event of damage and take appropriate measures to restore the vessel's stability. Specifically, it provides key information such as the ship's interior outline, cross-sectional views of the areas, the vessel's watertight compartments, all bilge and ballast pumps, and all internal watertight closing devices. In the event of damage, crew members can use the diagram to quickly locate the source of flooding, understand the flooding situation, and understand changes in the vessel's stability, allowing them to take appropriate countermeasures.
[0003] A ship's flooding point refers to the angle at which the deck edge meets the water surface during a heeling process, commonly referred to as the flooding angle. The flooding angle is the angle of heel from the moment the ship begins to list to the moment water begins to enter the upper deck edge. It is also the minimum angle at which water begins to enter unsealed openings such as the ship's inner side and deck. The damage control plan must indicate the location of all flooding points on the ship, along with the control devices associated with these points. Flooding points on a ship are of vital importance to ship design and safety. They directly impact stability calculations and safety assessments. They also directly affect the ship's buoyancy and stability in the water, ensuring the ship remains safe in all sea conditions.
[0004] With the gradual introduction of computer information technology and data management systems into ship design, improvements in transport efficiency, optimized route planning, and enhanced shipping safety are being made. However, damage control diagrams are currently mostly drawn manually, using software. Manually drawing damage control diagrams requires marking and numbering water ingress points at the appropriate locations. This is inefficient, time-consuming, and labor-intensive, and is not easily replicated on a large scale.
[0005] However, a damage control diagram contains hundreds of flooding points, including air ducts, louvered ventilation, gooseneck ventilation, mushroom-head ventilation, watertight doors, weathertight doors, windows, watertight hatch covers, and weathertight hatch covers. Manually drawing each one takes a considerable amount of time, is prone to errors, and is difficult to check. Furthermore, changes in the number or coordinates of flooding points require modifying the drawing, requiring the previous process to be repeated, consuming considerable time and effort. Therefore, a method for rapidly drawing flooding points on ships is urgently needed to address the issues raised in the background art. Summary of the Invention
[0006] The content of this application is used to briefly introduce concepts that will be described in detail in the detailed description section below. The content of this application is not intended to identify key features or essential features of the technical solution for which protection is sought, nor is it intended to limit the scope of the technical solution for which protection is sought.
[0007] To address the problems and shortcomings of the prior art, the present invention aims to provide a method, device, electronic device, and storage medium for drawing ship flooding points. The method first obtains information about the ship's general layout, mid-section, and flooding points, automatically calculates and compiles a table of ship principal dimensions, a table of deck beam arch information, and a table of ship flooding points. After establishing a relationship with the drawing software, the ship flooding points are then sequentially drawn. The present invention significantly reduces drawing time, improves the accuracy of completed drawings, and facilitates drawing modification, thereby resolving the issues raised in the aforementioned background art.
[0008] To achieve the above object, the present invention provides the following technical solutions:
[0009] As a first aspect of the present application, the present invention discloses a method for mapping a water inlet point of a ship, comprising the following steps:
[0010] Step 1: Obtain ship general arrangement information and ship mid-section information;
[0011] Step 2: compile a ship main dimension information table and a deck beam arch information table based on the ship general arrangement information and the ship mid-cross section information;
[0012] Step 3: Obtain the ship's water inlet point information to be drawn, calculate the height of the water inlet point from the baseline and the coordinate value of the water inlet point on the deck, and save them in the ship's water inlet point information table;
[0013] Step 4: Establish a connection between the ship water intake point information table and the drawing software.
[0014] Step 5: Draw the water entry points of the ship in sequence on the drawing software.
[0015] Preferably, in step 2, compiling the deck beam arch information table further comprises the following steps:
[0016] Step 2.1, reading the coordinates of the starting point and the ending point of the deck beam arch from the ship's general arrangement information and the mid-transverse section information;
[0017] Step 2.2, compile a row of information data for each broken line of the deck beam arch and store it in the deck beam arch information table;
[0018] Step 2.3, using the coordinates of the starting point and the ending point of the deck beam arch, calculate the slope and height of the deck broken line and store them in the deck beam arch information table.
[0019] Preferably, in step 3, calculating the height of the ship's water entry point from the baseline and the coordinate value of the ship's water entry point on the deck also includes the following steps:
[0020] Step 3.1, converting the rib position of the deck X-axis in the ship main dimension information table into absolute coordinates;
[0021] Step 3.2, determining whether the obtained water inlet point is within the absolute coordinate interval;
[0022] Step 3.3, traverse the deck beam arch information table to determine if the water inlet point is at the broken line position of the deck beam arch;
[0023] Step 3.4, calculating the coordinate value of the flooding point on the deck Z axis using the slope and height of the deck broken line;
[0024] In step 3.5, combine the height of the water inlet point above the deck surface to obtain the height of the water inlet point from the baseline.
[0025] Preferably, in step 5, the ship's water entry points are drawn sequentially on the drawing software, and the drawing rules are as follows:
[0026] Different types of ship flooding points are represented by different shapes;
[0027] For existing ship water ingress points, only numbering and drawing are performed;
[0028] Each deck layer should be represented by a different color when drawing.
[0029] Preferably, the calculation formula for the slope of the deck fold line is k=z2-z1 / y2-y1, and the calculation formula for the deck fold line height is h=z1-k×y1; wherein, y1 represents the starting point of the deck beam arch fold line in the Y-axis direction, y2 represents the end point of the deck beam arch fold line in the Y-axis direction, z1 represents the starting point of the deck beam arch fold line in the Z-axis direction, and z2 represents the end point of the deck beam arch fold line in the Z-axis direction.
[0030] Preferably, in step 3.4, the calculation formula for the height of the water inlet point from the baseline is,
[0031] H=k×|X|+h+d;
[0032] Where d is the height of the flooding point above the deck surface, and |X| is the absolute coordinate value of the deck rib.
[0033] As a second aspect of the present application, the present invention discloses a device for mapping water inlet points of a ship, comprising:
[0034] A reading unit is used to obtain the ship's general arrangement information, mid-transverse section information and ship's water inlet point information;
[0035] The compilation unit is used to compile a ship main dimension information table, a deck beam arch information table and a ship water intake point information table according to the acquired ship general arrangement information, mid-transverse section information and ship water intake point information.
[0036] A calculation unit, used for calculating the height of the ship's flooding point from the baseline and the coordinate value of the ship's flooding point on the deck;
[0037] A drawing unit is used to draw the water intake points one by one using the ship water intake point information table.
[0038] As a third aspect of the present application, the present invention further discloses an electronic device, comprising:
[0039] at least one processor, and a memory communicatively coupled to the at least one processor;
[0040] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the above-mentioned ship water intake point drawing method.
[0041] As a fourth aspect of the present application, the present invention further discloses a computer storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the above-mentioned ship water intake point drawing method are implemented.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] The present invention provides a method for drawing a ship's water inflow point, which can greatly save the time for drawing a ship damage map and improve the accuracy of the drawing. The ship's main dimension information table and deck beam arch information table are compiled based on the acquired ship's general layout information and the ship's mid-cross section information. Based on the acquired ship's water inflow point information that needs to be drawn, the height of the ship's water inflow point from the baseline and the coordinate value of the ship's water inflow point on the deck are calculated in combination with the ship's main dimension information table and the deck beam arch information table, and saved in the ship's water inflow point information table. A connection is established between the ship's water inflow point information table and the drawing software, and then the ship's water inflow points are drawn in sequence on the drawing software. By adopting the present invention, a ship damage map can be drawn accurately and quickly, which not only saves drawing time but also improves the convenience of modifying the ship's damage map. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The drawings constituting a part of this application are used to provide a further understanding of this application and make other features, purposes and advantages of this application more apparent. The drawings and descriptions of the exemplary embodiments of this application are used to explain this application and do not constitute an improper limitation on this application.
[0045] In the attached figure:
[0046] Figure 1 : is a flowchart of the steps of the method for drawing the water inlet point of a ship in an embodiment of the present invention;
[0047] Figure 2 : is a partial display diagram of the ship main dimension information table in an embodiment of the present invention;
[0048] Figure 3 : This is the effect diagram after the water inflow point of the ship damage diagram is drawn in the embodiment of the present invention;
[0049] Figure 4 : is a schematic structural diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0050] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0051] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
[0052] Example
[0053] The present invention discloses a method for drawing a water inlet point of a ship, which will be described in detail below with reference to the accompanying drawings and in combination with embodiments. Figure 1 As shown, the present invention mainly includes the following steps:
[0054] Step 1: Obtain ship general arrangement information and ship mid-section information;
[0055] Step 2: Prepare a ship main dimension information table and a deck beam arch information table based on the ship general arrangement information and the ship mid-section information;
[0056] Step 3: Obtain the information of the ship's water inlet point to be drawn, calculate the height of the ship's water inlet point from the baseline and the coordinate value of the ship's water inlet point on the deck, and save them in the ship's water inlet point information table;
[0057] Step 4: Establish a connection between the ship water inlet point information table and the drawing software.
[0058] Step 5: Draw the ship's water entry points one by one on the drawing software.
[0059] Specifically, the general arrangement information of the ship in step 1 mainly includes the starboard side view, the plan views of each deck and platform, the plan view of the bilge, and the main dimensions and technical data of the hull, etc. The general arrangement drawing of the ship reflects the overall layout of the ship, that is, the division and position of each cabin in the whole ship, various ship equipment and their positions. It is also the basis for drawing other drawings and performing other calculations. The mid-transverse section information of the ship refers to the vertical section of the ship along the length direction, at the maximum width in the middle of the hull. The mid-transverse section information of the ship includes key information such as the shape of the hull at this cross section, plate thickness, rib arrangement, bulkhead position, cargo hold or engine room layout, etc. It is also an important part of the general arrangement drawing, structural drawing and production drawing of the ship. We compile the main dimension information table of the ship based on the information in the general arrangement information and the mid-transverse section information, and the compilation of the main dimension information table of the ship is manual. The main dimension information of the ship includes information such as length, width, depth, design draft, structural draft and deadweight, such as Figure 2 shown.
[0060] According to step 2, a deck girder arch information table is compiled based on the above ship general arrangement information and mid-transverse section information, which specifically includes the following steps:
[0061] Step 2.1, read the coordinates of the starting point and the ending point of the deck beam arch from the ship's general arrangement information and the mid-transverse section information;
[0062] Step 2.2, compile a row of information data for each broken line of the deck beam arch and store it in the deck beam arch information table;
[0063] Step 2.3, use the coordinates of the starting and ending points of the deck beam arch to calculate the slope and height of the deck broken line, and also save them to the deck beam arch information table.
[0064] Specifically, a ship's deck arch is an arched structure where the middle of the deck, along the ship's width, is higher than the sides. This height difference is called the deck arch. The design of a deck arch is primarily intended to improve the ship's navigational performance, quickly drain water from the deck, and increase the deck's strength and reserve buoyancy. Typically, a deck arch has multiple folds, with the deck centerline gradually rising from the midship toward the bow and stern along the ship's length, forming a zigzag shape. This type of arch is called a multi-zigzag arch. In step 2, we need to assign coordinates to each fold of the deck arch. Because deck arches often have multiple folds, a row of coordinates is assigned for each fold. Due to the characteristics of deck arches, the coordinates of the arch's X value can be ignored when calculating the deck arch slope. Instead, the deck arch's zigzag slope k and height h are calculated using the arch's Y and Z values. The starting point coordinate of the arch's Y value is denoted as y1, and the ending point coordinate is denoted as y2; the starting point coordinate of the arch's Z value is denoted as z1, and the ending point coordinate is denoted as z2. The calculation formula for the deck arch fold line slope k is k = z2 - z1 / y2 - y1, and the calculation formula for the deck arch fold line height h is h = z1 - k × y1. After calculation, the deck arch fold line slope k and height h are also compiled into the deck arch information table. For details, refer to Table 1 below, which shows a portion of the deck arch information table. Here, Arch Start X represents the starting point coordinate value of the X value, Arch End X represents the ending point coordinate value of the X value, Arch Start Y represents the starting point coordinate value y1 of the Y value, Arch End Y represents the ending point coordinate value y2 of the Y value, Arch Start Z represents the starting point coordinate value z1 of the Z value, and Arch End Z represents the ending point coordinate value z2 of the Z value.
[0065] Beam arch start X Beam arch start Y Beam arch start Z Beam arch cutoff X Beam arch cutoff Y Beam arch cutoff Z Slope k High h -3750 0 21050 210480 5500 21050 0 21050 -3750 5500 21050 210480 16130 20350 -0.065851 21412.183 210480 0 23650 325900 5500 23650 0 23650 210480 5500 23650 325900 16130 23550 -0.009407 253701.741
[0066] Table 1
[0067] In step 3, the height of the ship's flooding point from the baseline and the coordinate value of the ship's flooding point on the deck are calculated, further comprising the following steps:
[0068] Step 3.1, convert the rib position of the deck X axis in the ship main dimension information table into absolute coordinates;
[0069] Step 3.2, determine whether the obtained water inlet point is within the absolute coordinate interval;
[0070] Step 3.3, traverse the deck beam arch information table and determine whether the water inlet point is located at the broken line position of the deck beam arch;
[0071] Step 3.4, calculate the coordinate value of the ship's flooding point on the deck Z axis using the deck broken line slope and height;
[0072] In step 3.5, combine the height of the water inlet point above the deck surface to obtain the height of the water inlet point from the baseline.
[0073] First, we need to obtain information on all ship flooding points, including the name of the flooding point, the deck level on which it is located, the rib position, and the height above the deck surface. We then convert the rib position on the deck's X-axis from the ship's main dimension information table into absolute coordinates. We then traverse the ship's main dimension information table to determine whether the flooding point's coordinates fall within the deck's X-axis absolute coordinate range. We then traverse the deck girder arch information table to determine whether the flooding point's coordinates fall within the deck girder arch coordinate range, specifically, the fold position of the deck girder arch where the flooding point's coordinates fall. We then establish a linear function based on the slope and height of the deck girder arch fold line to calculate the flooding point's coordinates on the deck's Z-axis. The calculation formula is k × |X| + h. Here, |X| represents the absolute coordinate of the deck rib position, k represents the slope of the deck girder arch fold line, and h represents the deck girder arch fold line height. Then, by adding the coordinate value of the water inlet point on the deck to the height d of the water inlet point above the deck surface, we can get the height H of the water inlet point from the baseline, that is, the calculation formula is H = k × |X| + h + d.
[0074] Next, we need to establish a connection with the drawing software. In this case, AutoCAD is used, and this is achieved through the GetObject and CreateObject methods. First, we determine whether the CAD software is already open. When using GetObject, if AutoCAD is already running, the existing instance will be retrieved. Otherwise, an error will occur, and CreateObject will be used to create a new instance.
[0075] Finally, draw the ship’s water entry point in the drawing software, such as Figure 3 As shown. The rules for drawing ship flooding points are as follows: different types of ship flooding points are represented by different shapes; existing ship flooding points are simply numbered and drawn; and each deck layer must be represented by a different color when drawing. We represent different types of flooding points in different forms, such as air pipes represented by circles and blinds represented by rectangles. If the flooding point already exists in the background image, such as a door, window, or small hatch cover, there is no need to draw a graphic; simply number it in the corresponding position table as the flooding point number. In addition, the flooding point must be represented by different colors when drawing different layers according to the deck layer.
[0076] To implement the above-mentioned embodiments, the present disclosure further provides a device for mapping ship waterlogging points. The device includes a reading unit configured to obtain ship general arrangement information, mid-transverse section information, and ship waterlogging point information. The compilation unit is configured to compile a ship principal dimension information table, a deck beam arch information table, and a ship waterlogging point information table based on the acquired ship general arrangement information, mid-transverse section information, and ship waterlogging point information. The calculation unit is configured to calculate the height of the ship waterlogging point from the baseline and the coordinates of the ship waterlogging point on the deck. The mapping unit is configured to use the ship waterlogging point information table to map each point individually.
[0077] In order to implement the above embodiment, the present application also discloses an electronic device. Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. Various programs and data required for the operation of the electronic device 400 are also stored in the RAM 403. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0078] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead. Figure 4 Each block shown in the figure may represent one device, or may represent multiple devices as needed.
[0079] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer storage medium, and the computer program includes program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network via the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of some embodiments of the present disclosure are performed.
[0080] It should be noted that the computer storage medium described above in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0081] In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer storage medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0082] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0083] The computer storage medium may be included in the electronic device or may exist independently without being incorporated into the electronic device. The computer storage medium carries one or more programs that, when executed by the electronic device, enable the electronic device to implement the method for mapping a ship's water inflow point.
[0084] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0085] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the part of the module, program segment or code includes one or more executable instructions for realizing the logical function of the specification. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings.
[0086] For example, two boxes shown in succession may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of boxes in the block diagram and / or flow chart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or may be implemented using a combination of dedicated hardware and computer instructions. The units described in some embodiments of the present disclosure may be implemented in software or in hardware. The units described may also be provided in a processor, and the names of these units do not, in some cases, constitute limitations on the units themselves.
[0087] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0088] The above description is only an illustration of some preferred embodiments of the present disclosure and the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.
Claims
1. A method for drawing a ship's water inlet point, characterized in that: The following steps are involved: Step 1: Obtain ship general arrangement information and ship mid-section information; Step 2: compile a ship main dimension information table and a deck beam arch information table based on the ship general arrangement information and the ship mid-cross section information; Step 3: Obtain the ship's water inlet point information to be drawn, calculate the height of the water inlet point from the baseline and the coordinate value of the water inlet point on the deck, and save them in the ship's water inlet point information table; Step 4: Establish a connection between the ship water intake point information table and the drawing software. Step 5: Draw the water entry points of the ship in sequence on the drawing software.
2. A method for drawing a ship water inlet point according to claim 1, characterized in that: In step 2, the deck beam arch information table is prepared, which further includes the following steps: Step 2.1, reading the coordinates of the starting point and the ending point of the deck beam arch from the ship's general arrangement information and the mid-transverse section information; Step 2.2, compile a row of information data for each broken line of the deck beam arch and store it in the deck beam arch information table; Step 2.3, using the coordinates of the starting point and the ending point of the deck beam arch, calculate the slope and height of the deck broken line and store them in the deck beam arch information table.
3. A method for drawing a ship water inlet point according to claim 2, characterized in that: In step 3, the height of the ship's flooding point from the baseline and the coordinate value of the ship's flooding point on the deck are calculated, which also includes the following steps: Step 3.1, converting the rib position of the deck X-axis in the ship main dimension information table into absolute coordinates; Step 3.2, determining whether the obtained water inlet point is within the absolute coordinate interval; Step 3.3, traverse the deck beam arch information table to determine if the water inlet point is at the broken line position of the deck beam arch; Step 3.4, calculating the coordinate value of the flooding point on the deck Z axis using the slope and height of the deck broken line; In step 3.5, combine the height of the water inlet point above the deck surface to obtain the height of the water inlet point from the baseline.
4. A method for drawing a ship water inlet point according to claim 3, characterized in that: In step 5, draw the ship's water entry points in sequence on the drawing software. The drawing rules are as follows: Different types of ship flooding points are represented by different shapes; For existing ship water ingress points, only numbering and drawing are performed; Each deck layer should be represented by a different color when drawing.
5. A method for drawing a water inlet point of a ship according to claim 2, characterized in that: In step 2.3, the calculation formula for the deck fold line slope is k = z2-z1 / y2-y1, and the calculation formula for the deck fold line height is h = z1-k×y1; wherein y1 represents the starting point of the deck beam arch fold line in the Y-axis direction, y2 represents the end point of the deck beam arch fold line in the Y-axis direction, z1 represents the starting point of the deck beam arch fold line in the Z-axis direction, and z2 represents the end point of the deck beam arch fold line in the Z-axis direction.
6. A method for drawing a water inlet point of a ship according to claim 3, characterized in that: In step 3.4, the calculation formula for the height of the water inlet point from the baseline is, H=k×|X|+h+d; Where d is the height of the flooding point above the deck surface, and |X| is the absolute coordinate value of the deck rib.
7. A device for drawing water inlet points of a ship, characterized by: include, A reading unit is used to obtain the ship's general arrangement information, mid-transverse section information and ship's water inlet point information; a compiling unit, configured to compile a ship main dimension information table, a deck beam arch information table, and a ship water entry point information table according to the acquired ship general arrangement information, mid-transverse section information, and ship water entry point information; A calculation unit, used for calculating the height of the ship's flooding point from the baseline and the coordinate value of the ship's flooding point on the deck; A drawing unit is used to draw the water intake points one by one according to the ship water intake point information table.
8. An electronic device, characterized in that: include: at least one processor, and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the method according to any one of claims 1 to 6.
9. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps according to any one of claims 1 to 6 are implemented.