A rapid digital processing method for the general arrangement plan of a ship
Through the rapid digital processing method, problems such as overlapping lines in the ship's overall layout diagram are automatically identified and processed, and the automatic integration of cabin attributes is achieved, which solves the problems of low processing efficiency and high error rate in the existing technology, and improves the digital processing efficiency and quality of the overall layout diagram.
Patent Information
- Application Number
- CN202211326309.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-10-27
AI Technical Summary
In the prior art, the digital processing efficiency of ship total layout drawings is low, time-consuming, and it is prone to problems such as missed cabins, missed lines and crossed lines. The design changes frequently, which limits the application and promotion of digital overall layout drawings.
A rapid digital processing method for ship total layout diagram is adopted, including integrating basic attributes, processing overlapping lines, cross lines, overlapping lines, three-dimensional lines, polylines, hanging points and overlapping points in the layer, and automatically identifying the cabin, calculating and integrating the cabin attributes to form a digital overall layout diagram that integrates drawing attributes, deck attributes, and cabin attributes.
It realizes rapid digital processing of the overall layout drawing, improves processing efficiency, improves drawing quality, reduces manual operation time, and reduces the incidence of errors.
Smart Images

Figure CN115688272B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to ship digital technology, and in particular to a method for quickly digitalizing the general arrangement plan of a ship. Background Art
[0002] The general arrangement plan of a ship is a drawing showing the overall arrangement of the whole ship, which centrally reflects the form of the superstructure of the ship, the division of internal cabins, the layout of passages, etc. It is also the fundamental basis for drawing other drawings and the foundation for the next-step design of each system specialty. At present, when conducting ship design, each research institute, design institute, and shipyard will issue a general arrangement plan and use it as the basis for calculating the total weight and the position of the center of gravity of the whole ship, structural design, system design, equipment layout, and guiding the construction design and manufacturing. In system design, professional designers need to spend a lot of time searching for and comparing drawings to confirm the background and attribute information of the general arrangement plan of the operation area during the design process, resulting in low design efficiency. Therefore, it is necessary to digitalize the general arrangement plan to form a digital general arrangement plan integrating cabin attribute information.
[0003] In the past digital processing of the general arrangement plan, designers needed to manually trace each cabin with a polyline according to the endpoint coordinates, and at the same time attach attribute information such as cabin number, cabin name, and cabin area to the polyline. The digital processing process of the general arrangement plan of a large ship often requires 7 to 9 people to spend more than 7 days to complete, and the processing efficiency is low. It is very easy to have problems such as missed tracing, wrong tracing, and line crossing of cabins, and the inspection is difficult. In the early stage of the design phase, the general arrangement plan is updated and revised frequently. Once the general arrangement plan changes, subsequent professional designs also need to be modified or redesigned accordingly, which greatly limits the application and promotion of the digital general arrangement plan. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a method for quickly digitalizing the general arrangement plan of a ship in view of the defects in the prior art.
[0005] The technical solution adopted by the present invention to solve its technical problems is: A method for quickly digitalizing the general arrangement plan of a ship, comprising the following steps:
[0006] 1) Integrate the basic attributes of the general arrangement plan of the ship on the drawing file, and the basic attributes include ship product code, design stage, version, base point coordinates, deck layer, cabin top layer, cabin bottom layer, cabin number layer, and cabin name layer;
[0007] 2) Check and process the overlapping lines, intersecting lines, overlapping lines, three-dimensional lines, broken lines, hanging points, and coincident points in the cabin top layer and the cabin bottom layer in turn, so that all points in the cabin top layer and the cabin bottom layer are single points, all line segments are single line segments and there is no overlapping part;
[0008] 3) Digitize the deck layer, and the specific steps are as follows:
[0009] Step 3.1) Draw the deck curve; draw a closed rectangular polyline in the deck layer to represent the deck. This polyline encloses all the cabins on this deck, and no two deck curves can intersect.
[0010] Step 3.2) Integrate the deck attributes on the deck curve; the deck attributes include deck number, deck name, deck base point coordinates, deck height, and deck end point coordinates.
[0011] 4) Automatically identify the corresponding cabin top curve and cabin bottom curve in sequence according to the cabin number, and realize the calculation and integration of cabin attributes.
[0012] 4.1) Set the insertion point of the cabin number within the cabin boundary. Taking the insertion point of the cabin number as the center point, find the nearest line segment in the positive X-axis direction in the cabin top layer. Then, based on the end point of this line segment, traverse the cabin wall line segments around this center point in the counterclockwise direction in the cabin top curve layer. If the smallest enclosed area surrounded by each cabin wall line segment contains this center point, then it is considered that this smallest enclosed area is the cabin top curve corresponding to this cabin, and redraw the boundary of this smallest enclosed area as a closed polyline in the cabin top layer as the cabin top curve.
[0013] 4.2) Taking the insertion point of the cabin number as the center point, find the nearest line segment in the positive X-axis direction in the cabin bottom layer. Then, based on the end point of this line segment, traverse the cabin wall line segments around this center point in the counterclockwise direction in the cabin bottom layer. If the smallest enclosed area surrounded by each cabin wall line segment contains this center point, then it is considered that this smallest enclosed area is the cabin bottom curve corresponding to this cabin, and redraw the boundary of this smallest enclosed area as a closed polyline in the cabin bottom layer as the cabin bottom curve.
[0014] 4.3) Calculate the cabin top area and the deck to which the cabin top belongs according to the cabin top curve, calculate the cabin bottom area and the deck to which the cabin bottom belongs according to the cabin bottom curve, and then calculate the cabin height and cabin volume according to the cabin top area, cabin bottom area, and the belonging deck.
[0015] 4.4) Integrate the cabin top attributes, and integrate the cabin number, cabin name, the deck to which the cabin top belongs, and the cabin top area on the cabin top curve.
[0016] 4.5) Integrate the cabin bottom attributes, and integrate the cabin number, cabin name, the deck to which the cabin bottom belongs, the cabin bottom area, cabin height, and cabin volume on the cabin bottom curve.
[0017] 5) Obtain the digital general arrangement plan according to the digital general arrangement plan formed after digitizing the ship's general arrangement plan, which includes drawing, deck, and cabin attribute information.
[0018] According to the above solution, the coincidence lines, intersection lines, overlapping lines, three-dimensional lines, broken lines, hanging points, and coincidence points in the top layer and bottom layer of the cabin are processed in step 2) as follows:
[0019] Step 2.1) Coincidence line processing: If the starting points and ending points of two line segments are exactly the same, it is considered that the two line segments coincide, then one of the line segments is deleted, and only one line segment is retained;
[0020] Step 2.2) Intersection line processing: If the vertical distance between the endpoints of two intersecting line segments is less than or equal to a preset threshold, it is considered that the two line segments are intersection lines, then according to the principle of projecting one line segment onto the other line segment that is more horizontal or vertical, the two line segments are processed to be on the same straight line;
[0021] Step 2.3) Overlapping line processing: If two line segments have an overlapping part, it is considered that the two line segments are overlapping lines, then the two line segments are broken at the endpoints so that there is no overlapping part between the broken line segments;
[0022] Step 2.4) Three-dimensional line processing: If the Z coordinate of the endpoint coordinates of a line segment is not 0, it is considered that the line segment is a three-dimensional line, then the Z coordinate of the endpoint coordinates of the three-dimensional line is set to 0;
[0023] Step 2.5) Broken line processing: If a line segment has three or more endpoints, it is considered that the line segment is a broken line, then the line segment is broken at the endpoints to become single line segments;
[0024] Step 2.6) Hanging point processing: If a point is the endpoint of only one line segment, it is considered that the point is a hanging point, then the point and the line segment with this point as the endpoint are deleted;
[0025] Step 2.7) Coincidence point processing: If the distance between two points is less than the threshold, it is considered that the two points are coincidence points, then one of the points is deleted.
[0026] The beneficial effects produced by the present invention are:
[0027] By automatically identifying the graphic objects in the general drawing of the ship, the present invention realizes the automatic identification and processing of cabin and the integration of attributes, realizes the rapid digital processing of the general arrangement drawing, and forms a digital general arrangement drawing integrating drawing attributes, deck attributes, and cabin attributes, greatly improving the processing efficiency and enhancing the drawing quality. Brief Description of the Drawings
[0028] The present invention will be further described below in conjunction with the drawings and embodiments. In the drawings:
[0029] Figure 1 is the flowchart of the method of the embodiment of the present invention;
[0030] Figure 2It is a schematic diagram of the general arrangement plan of a ship according to an embodiment of the present invention;
[0031] Figure 3 It is a schematic diagram of the intersecting lines in the general arrangement plan of a ship according to an embodiment of the present invention;
[0032] Figure 4 It is a schematic diagram of the overlapping lines in the general arrangement plan of a ship according to an embodiment of the present invention;
[0033] Figure 5 It is a schematic diagram of the broken lines in the general arrangement plan of a ship according to an embodiment of the present invention;
[0034] Figure 6 It is a schematic diagram of the suspension points in the general arrangement plan of a ship according to an embodiment of the present invention;
[0035] Figure 7 It is a schematic diagram of the deck curves in the general arrangement plan of a ship according to an embodiment of the present invention;
[0036] Figure 8 It is a schematic diagram of the ceiling curves in the general arrangement plan of a ship according to an embodiment of the present invention. Detailed implementation manners
[0037] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below in conjunction with embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0038] As Figure 1 shown, a digital processing method for the general arrangement plan of a ship includes the following steps:
[0039] Step 1, drawing attribute configuration, integrating the basic attributes of the general arrangement plan in the drawing file in the form of a SummaryInfo object, including product code, design stage, version, base point coordinates, deck layer, ceiling layer, bottom layer, cabin number layer, and cabin name layer;
[0040] Step 2, drawing inspection, sequentially check and process the problems of overlapping lines, intersecting lines, overlapping lines, three-dimensional lines, broken lines, suspension points, and overlapping points in the ceiling layer and the bottom layer respectively, so that all points in the ceiling layer and the bottom layer are single points, and all line segments are single line segments and there is no overlapping part. Taking the ceiling layer as an example, the specific steps of the drawing inspection are as follows (the inspection steps for the bottom layer are the same as those for the ceiling layer):
[0041] Step 2.1, overlapping line processing, if the starting points and ending points of two line segments are exactly the same, it is considered that the two line segments overlap, then delete one of the line segments and only retain one line segment;
[0042] Step 2.2, intersecting line processing, in the general arrangement plan of a ship, the main forms of intersecting lines are asFigure 3 As shown. Taking Figure 3 (d) as an example, if the end-point perpendicular distances d1 and d2 of line segment AB and line segment CD are both less than or equal to a pre-set threshold α, then according to the principle of projecting one line segment onto the other line segment that is more horizontal or vertical, the two line segments are processed to be on the same straight line, that is, C is projected onto line segment AB to form C', and D is projected onto line segment AB to form D'.
[0043] Step 2.3, overlapping line processing. As Figure 4 shown, if there is an overlapping part CB between line segment AB and line segment CD, then the two line segments are broken at the end points, and the broken line segments become line segment AC, line segment CB, and line segment BD, so that there is no overlapping part between the line segments;
[0044] Step 2.4, for three-dimensional lines, if the Z coordinate of the end-point coordinates of the line segment is not 0, that is, the line segment is considered a three-dimensional line, then the Z coordinate of the end-point coordinates of the three-dimensional line is set to 0;
[0045] Step 2.5, broken line processing. As Figure 5 shown, line segment AD has four end points A, B, C, and D, then the line segment is broken at the end points into line segment AB, line segment BC, and line segment CD, so that each of the broken line segments becomes a single line segment;
[0046] Step 2.6, hanging point processing. As Figure 6 shown, point E is and only is the end point of line segment CE, then point E and line segment CE are deleted;
[0047] Step 2.7, coincident point processing. If the distance between two points is less than the threshold, that is, the two points are considered coincident points, then one of the points is deleted.
[0048] Step 3, deck digital definition, that is, digital processing of the deck. The specific steps are as follows:
[0049] Step 3.1, draw deck curves, that is, draw a closed rectangular polyline in the deck layer to represent the deck. As Figure 7 shown. The polyline should enclose all the cabins on this layer of the deck, and no two deck curves can intersect;
[0050] Step 3.2, set deck attributes, and integrate the deck number, deck name, deck base point coordinates, deck height, and deck end-point coordinates on the deck curve by the SetXData method;
[0051] Step 4, cabin digital processing, that is, automatically identify the corresponding cabin top curve and cabin bottom curve in sequence according to the cabin number, and realize the calculation and integration of cabin attributes. Specifically, the insertion point of the cabin number needs to be within the cabin boundary. The specific steps are as follows:
[0052] Step 4.1, identification of the ceiling curve. As shown in Figure 8 , with the insertion point O of the compartment number as the center point, find the nearest line segment BC to the right. Then, based on the endpoint C of this line segment, find the next line segment with endpoint C in the counterclockwise direction. The line segment with the largest counterclockwise angle between line segment BC and each of the found line segments is the next bulkhead line segment of this compartment. Similarly, after traversing all the bulkhead line segments in turn, find line segments BC, CD, DE, EA, and AB. The smallest enclosed area surrounded by them is all the bulkhead line segments of this compartment. Then, in the ceiling layer, draw a closed curve by connecting the endpoints of each line segment in turn with a polyline, which is the ceiling curve;
[0053] Step 4.2, integration of ceiling attributes. Integrate the compartment number and compartment name on the ceiling curve by the SetXData method;
[0054] Step 4.3, identification of the bottom curve, the same as Step 4.1;
[0055] Step 4.4, calculation of compartment attributes. Calculate the ceiling area and the deck to which the ceiling belongs according to the ceiling curve, calculate the bottom area and the deck to which the bottom belongs according to the bottom curve, and then calculate the compartment height and compartment volume according to the ceiling area, bottom area, and the belonging deck. The formula for the compartment volume is as follows:
[0056]
[0057] Among them, S1 represents the ceiling area, S2 represents the bottom area, and h represents the compartment height.
[0058] Step 4.5, integration of bottom attributes. Integrate the compartment number, compartment name, the deck to which the ceiling belongs, the deck to which the bottom belongs, the ceiling area, bottom area, compartment height, and compartment volume on the bottom curve by the SetXData method.
[0059] It should be understood that for those of ordinary skill in the art, improvements or transformations can be made according to the above description, and all such improvements and transformations should fall within the protection scope of the appended claims of the present invention.
Claims
1. A rapid digital processing method for ship general arrangement plan, characterized in that, It includes the following steps: 1) Integrate the basic attributes of the ship general arrangement drawing on the drawing file. The basic attributes include the ship product code, design stage, version, base point coordinates, deck layer, cabin top layer, cabin bottom layer, cabin number layer, and cabin name layer; 2) Check and process the overlapping lines, intersecting lines, overlapping lines, 3D lines, broken lines, hanging points, and coincident points in the cabin top layer and the cabin bottom layer in sequence, so that all points in the cabin top layer and the cabin bottom layer are single points, all line segments are single line segments and there is no overlapping part; 3) Perform digital processing on the deck layer. The specific steps are as follows: Step 3.1) Draw the deck curve; draw a closed rectangular polyline in the deck layer to represent the deck. The polyline envelopes all the cabins on this layer of the deck, and no two deck curves can intersect; Step 3.2) Integrate the deck attributes on the deck curve. The deck attributes include the deck number, deck name, deck base point coordinates, deck height, and deck end point coordinates; 4) Automatically identify the corresponding cabin top curve and cabin bottom curve respectively in sequence through the cabin number, and realize the calculation and integration of cabin attributes; 4.1) Set the insertion point of the cabin number within the cabin boundary. Taking the insertion point of the cabin number as the center point, find the nearest line segment in the positive X-axis direction in the cabin top layer. Then, based on the end point of this line segment, traverse the cabin wall line segments around this center point in the counterclockwise direction in the cabin top curve layer. If the smallest enclosed area surrounded by each cabin wall line segment contains this center point, it is considered that this smallest enclosed area is the cabin top curve corresponding to this cabin, and redraw the boundary of this smallest enclosed area as a closed polyline in the cabin top layer as the cabin top curve; 4.2) Taking the insertion point of the cabin number as the center point, find the nearest line segment in the positive X-axis direction in the cabin bottom layer. Then, based on the end point of this line segment, traverse the cabin wall line segments around this center point in the counterclockwise direction in the cabin bottom layer. If the smallest enclosed area surrounded by each cabin wall line segment contains this center point, it is considered that this smallest enclosed area is the cabin bottom curve corresponding to this cabin, and redraw the boundary of this smallest enclosed area as a closed polyline in the cabin bottom layer as the cabin bottom curve; 4.3) Calculate the cabin top area and the deck to which the cabin top belongs according to the cabin top curve, calculate the cabin bottom area and the deck to which the cabin bottom belongs according to the cabin bottom curve, and then calculate the cabin height and cabin volume according to the cabin top area, cabin bottom area, and the belonging deck; 4.4) Integrate the cabin top attributes, and integrate the cabin number, cabin name, deck to which the cabin top belongs, and cabin top area on the cabin top curve; 4.5) Integrate the cabin bottom attributes, and integrate the cabin number, cabin name, deck to which the cabin bottom belongs, cabin bottom area, cabin height, and cabin volume on the cabin bottom curve; 5) Obtain the digital general arrangement drawing based on the drawing, deck, and cabin attribute information formed after digital processing of the ship general arrangement drawing.
2. The method for rapid digital processing of the general arrangement plan of a ship according to claim 1, characterized in that In step 2), the processing of the overlapping lines, intersecting lines, overlapping lines, 3D lines, broken lines, hanging points, and coincident points in the cabin top layer and the cabin bottom layer is as follows: Step 2.1) Coincident line processing: If the starting points and ending points of two line segments are exactly the same, it is considered that the two line segments coincide. Then, delete one of the line segments and only retain one line segment. Step 2.2) Intersecting line processing: If the perpendicular distance between the endpoints of two intersecting line segments is less than or equal to a pre-set threshold, it is considered that the two line segments are intersecting lines. Then, according to the principle of projecting one line segment onto the other line segment that is more horizontal or vertical, process the two line segments to be on the same straight line. Step 2.3) Overlapping line processing: If two line segments have an overlapping part, it is considered that the two line segments are overlapping lines. Then, break the two line segments at the endpoints so that there is no overlapping part between the broken line segments. Step 2.4) Three-dimensional line processing: If the Z coordinate of the endpoint coordinates of a line segment is not 0, it is considered that the line segment is a three-dimensional line. Then, set the Z coordinate of the endpoint coordinates of the three-dimensional line to 0. Step 2.5) Polyline processing: If a line segment has three or more endpoints, it is considered that the line segment is a polyline. Then, break the line segment at the endpoints to become single line segments. Step 2.6) Hanging point processing: If a point is the endpoint of only one line segment, it is considered that the point is a hanging point. Then, delete the point and the line segment with this point as the endpoint. Step 2.7) Coincident point processing: If the distance between two points is less than the threshold, it is considered that the two points are coincident points. Then, delete one of the points.
Citation Information
Patent Citations
AutoCAD and PDM-based digital design method for ship general drawing
CN107229773A
Whole-ship numeric as-built documentation system design method based on network layer
CN108509496A