A ship subdivision design method and system for ship CAD system

By using the cutting element method and sketch segmentation method to generate the cabin space in the ship CAD system, and defining attributes and colors in the database, the design difficulties in the existing technology are solved, and the rapid modeling and updating of the cabin is achieved, and design efficiency and reliability are improved.

CN120068285BActive Publication Date: 2025-08-12HUDONG ZHONGHUA SHIPBUILDINGGROUP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510543609.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-08-12
Estimated Expiration
2045-04-28

AI Technical Summary

Technical Problem

In the prior art, ship sub-cabin design has problems such as difficulty in publishing cabin definition and professional layout charts, few parameterized design methods, inability to interact with the 2D plane definition of cabin and the three-dimensional model, and inability to connect data between software, resulting in waste of resources and inefficient design.

Method used

By using the cutting element method and sketch segmentation method to generate a cutting element set in the ship CAD system, the hull space is divided into an independent cabin space, and the cabin space is published in the ship CAD database, the cabin attributes and colors are defined, and the cabin capacity report and two-dimensional layout drawings are generated to achieve rapid modeling and update of the cabin.

Benefits of technology

It solves the problems of publishing cabin definition and professional layout charts, insufficient parameterized design methods, and model interaction and linkage, and realizes rapid modeling and updating of cabins, providing important technical support for ship performance calculation and structural design, and improving design efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120068285B_ABST
    Figure CN120068285B_ABST
Patent Text Reader

Abstract

The present invention relates to a ship subdivision design method and system for a ship CAD system. The system includes a hull space definition module, a cutting element method module, a sketch segmentation method module, a cabin publishing module, a cabin attribute input module, a cabin color setting module, a cabin capacity report module, and a cabin layout drawing module. The method comprises: S1, obtaining a hull curved surface and stitching it to form a closed hull space; S2, segmenting the hull space to form independent cabin spaces; S3, publishing the cabin space to an index file of a ship CAD database and storing relevant information in the ship CAD database; S4, defining cabin attributes; S5, setting cabin colors; S6, defining and calculating a cabin capacity report based on full tank information to form a cabin capacity report; S7, generating a two-dimensional cabin layout drawing based on a three-dimensional cabin model. The present invention can achieve rapid cabin modeling and updating, providing important technical support for ship performance calculation, overall layout, structural design, and other services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of ship digitization, and in particular to a ship subdivision design method and system for a ship CAD system. Background Art

[0002] The Ship Product Design (Ship CAD) system is a 3D CAD graphics platform developed based on OpenGL. It offers capabilities for hull structure design, piping system design, duct design, electrical design, outfitting design, and paint production design. Solid and parametric modeling technologies provide a powerful means for building ship product models with complete piping topology. Data interfaces with other systems enable the integration of heterogeneous CAD data and information, creating the technical foundation for collaborative design.

[0003] Ship subdivision design is a crucial component of overall ship design. Based on the intended use of different areas within the vessel and relevant design specifications and conventions, this task involves dividing the vessel's interior space through decks, transverse and longitudinal bulkheads, and assigning names and definitions to these areas. This facilitates subsequent overall layout and performance calculations. The results of ship subdivision design provide crucial prerequisites and design background for other disciplines, such as structure, piping, electrical, outfitting, and painting. Efficient and flexible subdivision design can enhance the reliability and cost-effectiveness of a vessel's design and manufacturing throughout its lifecycle.

[0004] In the existing technology, two-dimensional CAD software (such as AutoCAD) is used to design the overall layout in two dimensions, and then the cabin capacity calculation model is rebuilt in software such as NAPA based on the overall layout design. This current model has the following problems:

[0005] 1. It is difficult to publish cabin definitions and professional layout diagrams;

[0006] 2. There are fewer parametric design methods and weaker topological relationships;

[0007] 3. The cabin's 2D plane definition and 3D model cannot interact with each other;

[0008] 4. Data between software cannot be connected, and repeated modeling causes waste of resources and energy efficiency. Summary of the Invention

[0009] In order to solve the above technical problems, the present invention provides a ship compartment design method and system for a ship CAD system, which realizes rapid modeling and updating of cabins, and provides important technical support for ship performance calculation, overall layout, structural design and other businesses.

[0010] The technical objectives of the present invention are achieved through the following technical solutions:

[0011] A ship subdivision design method for a ship CAD system, comprising:

[0012] S1. Obtaining hull surfaces from a ship CAD database, and stitching the obtained hull surfaces to form a closed hull space;

[0013] S2. Generate a cutting element set according to a cutting element method or a sketch segmentation method, and segment the hull space according to the cutting elements in the cutting element set to form independent cabin spaces;

[0014] S3. Publish all cabin spaces to be synchronized to the index file of the ship CAD database, and store the geometric information and attribute information of the cabin spaces to be published in the ship CAD database;

[0015] S4. Define cabin attributes according to user settings;

[0016] S5. Setting the cabin color according to user input;

[0017] S6. Define and calculate the tank capacity report based on the full tank information entered by the user to form a tank capacity report;

[0018] S7. Based on the three-dimensional cabin model created by the user, a two-dimensional cabin layout drawing is generated.

[0019] Furthermore, in step S1, the hull surface is a set of surfaces with connected boundaries, and the surface continuity supports point continuity, tangential continuity and curvature continuity.

[0020] Furthermore, in step S2, when the hull space is segmented using cutting elements, the following steps are included:

[0021] S21. Create a cabin space set;

[0022] S22, loading the initial hull space into the cabin space set, where there are m cabin space set elements, m ≥ 1;

[0023] S23, load the cutting element set, the number of cutting elements in the set is n, n ≥ 1;

[0024] S24, if i>n, then end the segmentation, otherwise go to step S25; wherein the initial value of i is 1;

[0025] S25. If j>m, execute step S26; otherwise, execute step S27; wherein the initial value of j is 1;

[0026] S26, i=i+1, execute step S24;

[0027] S27, using the i-th cutting element in the cutting element set to start cutting the j-th cabin space set element in the cabin space set elements, to generate k new geometric spaces;

[0028] S28. Load the generated k new geometric spaces into the cabin space set, m=m+k, j=j+1, and execute step S25.

[0029] Furthermore, when generating a cutting element set by the cutting element method, the cutting element set is selected, and it is determined whether there is an overlapping portion in the cutting element set. If there is an overlapping portion, the overlapping portion of the cutting element set is deleted.

[0030] Furthermore, when generating a cutting element set by the sketch segmentation method, a sketch is selected to determine whether there are overlapping parts in the sketch element set. If so, the overlapping parts are deleted, the sketch element set is placed in the curve set to be stretched, and the curve set is stretched toward the hull space along the normal direction of the support surface to generate a finite surface cutting element set.

[0031] Furthermore, in step S4, it includes:

[0032] S41. Selecting a cabin space from a ship CAD database;

[0033] S42. If the selected cabin space is a single cabin, execute step S43; otherwise, execute step S44;

[0034] S43. Input the attribute parameters of the selected cabin space into the cabin capacity report, and end the process;

[0035] S44. Determine whether the selected cabin space needs to be defined in batches. If so, execute step S45; otherwise, execute step S43.

[0036] S45. Copy the attribute parameters and paste the attribute parameters of the cabin space into the cabin attribute definition table in batches, and end the process.

[0037] Furthermore, when setting the cabin color in step S5, the cabin space is selected from the ship CAD database, and the colors of the bulkheads and cabins with different three-proof technology levels are set through the interface controls of the ship CAD system. The three-proof attribute types are filtered through the interface controls, and the cabin models of the entire ship or parts that meet different technical levels are displayed in the viewport.

[0038] Furthermore, in step S6, the following steps are included:

[0039] S61. Acquire cabin space and its attribute parameters from the ship CAD database;

[0040] S62. Configure the format of the tank capacity report through the *.ini file;

[0041] S63. Define and calculate attribute parameters in the tank capacity report based on the full tank information entered by the user;

[0042] S64, storing the attribute parameters related to the calculated capacity report in the ship CAD database;

[0043] S65: Determine whether to export the cabin capacity report. If the cabin capacity report needs to be exported, export the cabin capacity report in text format. Otherwise, end the process.

[0044] Furthermore, in step S7, the following steps are included:

[0045] S71. Select cabin space from the ship CAD database;

[0046] S72. Define the ship's main dimensions, coordinate system, and cabin folders;

[0047] S73, setting the drawing layout, selecting the intersection plane of each view as the reference position;

[0048] S74. Generate a cabin layout drawing and store it in a ship CAD database;

[0049] S75. Determine whether export is required. If so, export the cabin layout two-dimensional drawing. Otherwise, end the process.

[0050] The present invention also provides a ship subdivision design system for a ship CAD system, comprising:

[0051] The hull space definition module is used to connect to the ship CAD system, obtain the hull surface from the ship CAD database, and stitch the obtained hull surfaces to form a closed hull space;

[0052] Cutting element method module, used to divide the hull space into cabin space according to user-defined cutting elements;

[0053] Sketch segmentation module, used to segment the hull space into cabin space according to the user-defined sketch;

[0054] Cabin publishing module, used to connect to the ship's CAD system for cabin space synchronization;

[0055] Cabin attribute entry module, used to define the attributes of cabin space;

[0056] Cabin color setting module, used to distinguish cabin attributes based on color display;

[0057] The cabin capacity report module is used to generate a cabin capacity report based on the attributes entered in the cabin attribute entry module;

[0058] The cabin layout module is used to generate the cabin layout by performing section operations based on the reference position settings.

[0059] Compared with the existing technology, the beneficial effect of the present invention is that, with the help of the ship subdivision design method and system for the ship CAD system of the present invention, the problems in the existing technology such as cabin definition, difficulty in publishing various professional layout diagrams, few parametric design methods, inability to interact between cabin two-dimensional plane definition and three-dimensional model, and inability to connect data between software are solved. It can realize rapid modeling and updating of cabins, and provide important technical support for ship performance calculation, overall layout, structural design and other businesses. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 It is a flow chart of the ship subdivision design method for a ship CAD system according to the present invention.

[0061] Figure 2 It is a schematic diagram of the process of obtaining the hull curved surface to form a closed hull space in the present invention.

[0062] Figure 3 It is a schematic diagram of the process of segmenting the hull space according to the cutting elements in the cutting element set in the present invention.

[0063] Figure 4 It is a schematic diagram of the process of cutting the hull space by using the cutting element set generated by the cutting element method in the present invention.

[0064] Figure 5 It is a schematic diagram of the process of cutting the hull space by generating a cutting element set through the sketch segmentation method in the present invention.

[0065] Figure 6 It is a schematic diagram of the process of publishing all cabin spaces to be synchronized to the ship CAD database in the present invention.

[0066] Figure 7 It is a schematic diagram of the process of entering cabin attributes in the present invention.

[0067] Figure 8 This is a schematic diagram of the process of setting the cabin color according to user input in the present invention.

[0068] Figure 9 It is a schematic diagram of the process of forming a cabin capacity report in the present invention.

[0069] Figure 10 It is a schematic diagram of the process of generating a two-dimensional drawing of a cabin layout in the present invention. DETAILED DESCRIPTION

[0070] The technical solution of the present invention is further described below in conjunction with specific embodiments:

[0071] A ship compartment design method for ship CAD system, such as Figure 1 As shown, the method includes:

[0072] S1. Obtain hull surfaces from a ship CAD database, and stitch the obtained hull surfaces to form a closed hull space.

[0073] The hull surface is a set of surfaces connected by boundaries. The surface continuity supports point continuity, tangent continuity and curvature continuity, and can enclose a closed geometric body. After obtaining the hull surface, it is necessary to determine whether the boundary continuity of the obtained hull surface meets the requirements of point continuity (G0), tangent continuity (G1) and curvature continuity (G2). If the surface continuity requirements are not met, it is impossible to stitch together to form a closed hull space. The process ends after an error is reported. If the surface continuity requirements are met, the surfaces are stitched together to form a closed geometric body and stored as a hull space in the ship CAD database. Figure 2 shown.

[0074] S2. Generate a cutting element set according to the cutting element method or sketch segmentation method, and segment the hull space according to the cutting elements in the cutting element set to form independent cabin spaces, such as Figure 3 As shown, the specific process is as follows:

[0075] S21. Create a cabin space set;

[0076] S22, loading the initial hull space into the cabin space set, where there are m cabin space set elements, m ≥ 1;

[0077] S23, load the cutting element set, the number of cutting elements in the set is n, n ≥ 1;

[0078] S24, if i>n, then end the segmentation, otherwise go to step S25; wherein the initial value of i is 1;

[0079] S25. If j>m, execute step S26; otherwise, execute step S27; wherein the initial value of j is 1;

[0080] S26, i=i+1, execute step S24;

[0081] S27, using the i-th cutting element in the cutting element set to start cutting the j-th cabin space set element in the cabin space set elements, to generate k new geometric spaces;

[0082] S28. Load the generated k new geometric spaces into the cabin space set, m=m+k, j=j+1, and execute step S25.

[0083] More specifically, when generating a cutting element set by the cutting element method, such as Figure 4As shown, a cutting element set is selected, and it is determined whether there are any overlapping parts in the cutting element set. If there are any overlapping parts, the redundant elements in the cutting element set are deleted. The cutting elements include finite surface cutting elements and infinite plane cutting elements. All cutting elements have the same normal plane and can pass through the hull space. The cutting elements are calculated to divide the hull space to generate multiple independent geometric spaces. The generated multiple independent geometric spaces are stored as cabin spaces by default in the ship CAD database. It should be noted that in this embodiment, the multiple independent geometric spaces include at least two independent geometric spaces.

[0084] When generating a cutting element set by sketch segmentation method, such as Figure 5 As shown, a sketch is selected to determine whether there are any overlapping parts in the sketch element set. If so, redundant elements are deleted. The sketch element set is placed in the curve set to be stretched. The curve set is stretched into the hull space along the support surface normal to generate a finite surface cutting element set. The sketch includes multiple entities such as straight lines, curves, circles, and rectangles. The sketch is infinitely stretched in the direction of the sketch's support surface normal to construct a single or multiple cutting surfaces that can pass through the hull space, i.e., a finite surface cutting element set. The hull space is divided by calculating the cutting surfaces, generating multiple independent geometric spaces. These multiple independent geometric spaces are stored as cabin spaces by default in the ship CAD database.

[0085] S3, publish all cabin spaces to be synchronized to the index file of the ship CAD database, and store the geometric information and attribute information of the cabin spaces to be published in the ship CAD database, such as Figure 6 As shown in the figure, the cabin geometry information and attribute information are stored in the ship CAD database, which can support other professional designs to obtain relevant parameters. It can also support users to quickly and accurately find the corresponding cabin objects when modifying cabin information, and automatically update and cover the underlying data.

[0086] S4. Define cabin properties according to user settings, including general properties, calculation properties, and production design properties.

[0087] More specifically, common attributes include cabin name, cabin code, cabin purpose, cabin type, cabin grade, carrier type, detailed description, etc.;

[0088] Calculation attributes include carrier density, reduction factor, full tank rate, permeability, etc., which are used to calculate full tank information;

[0089] The default production design attributes include watertight areas, fire separations, thermal insulation areas, explosion-hazardous areas, three-defense areas, impact-resistant environments, and corresponding classifications.

[0090] More specifically, when defining cabin properties, such as Figure 7 Shown, including:

[0091] S41. Selecting a cabin space from a ship CAD database;

[0092] S42. If the selected cabin space is a single cabin, execute step S43; otherwise, execute step S44;

[0093] S43. Input the attribute parameters of the selected cabin space into the cabin capacity report, and end the process;

[0094] S44. Determine whether the selected cabin space needs to be defined in batches. If so, execute step S45; otherwise, execute step S43.

[0095] S45. Copy the attribute parameters and paste the attribute parameters of the cabin space into the cabin attribute definition table in batches, and end the process.

[0096] S5. Set the cabin color according to user input.

[0097] Specifically, if Figure 8 As shown, when setting cabin colors, select the cabin space from the ship CAD database, use the ship CAD system's drop-down selection box to set the colors of bulkheads and cabins with different three-proofing technology levels, filter the three-proofing attribute types using interface controls, and display the cabin models of the entire ship or parts that meet different technology levels in the viewport. The color distinction facilitates intuitive browsing and querying of cabin layout results. The bulkheads in the viewport display different technology levels based on the default color configuration of the ship CAD system.

[0098] Among them, the three-proof properties include waterproofing, fireproofing, and explosion-proofing. The three-proof technical levels of ship cabins are usually divided according to the relevant contents of relevant conventions, regulations, or design specifications. For example, the cabin fire protection level usually follows the International Convention for the Safety of Life at Sea (SOLAS) established by the International Maritime Organization (IMO) and the corresponding construction specifications, and is divided into Class A, Class B, or Class C according to its fire resistance performance and time; the cabin waterproofing level usually follows the international protection IP rating standard recommended by the International Electrotechnical Commission (IEC), and the larger the number after IP, the higher the protection level; the cabin explosion-proof level usually follows the standards established by the International Electrotechnical Commission (IEC), and the explosion-proof areas are usually divided into Class 0, Class 1, and Class 2 hazardous areas. The three-proof properties and technical levels of the cabin are usually defined during the overall design stage to provide a reference for the subsequent structural design and process design of the bulkhead.

[0099] S6. Define and calculate the tank capacity report based on the full tank information entered by the user to form a tank capacity report.

[0100] Specifically, if Figure 9 As shown in the figure, the process of forming a cargo capacity report is as follows:

[0101] S61. Acquire cabin space and its attribute parameters from the ship CAD database.

[0102] S62. Configure the format of the cabin capacity report through the *.ini file, including the configuration of the header, cabin range, attribute category, unit, field width and other items.

[0103] S63. Based on the full tank information entered by the user, define and calculate the attribute parameters in the tank capacity report; the defined attribute parameters include: the values of the cabin shape, carrier density, full load rate, reduction factor, etc. entered by the user; calculate the result values such as the cabin net volume, full load weight, full load center of gravity coordinates, and free liquid surface moment.

[0104] S64. Storing the attribute parameters related to the calculated tank capacity report in the ship CAD database, that is, storing the calculated result values such as the net volume of the cabin, the full load weight, the full load center of gravity coordinates and the free liquid surface moment in the ship CAD database.

[0105] S65. Determine whether to export the cabin capacity report. If it is necessary to export the cabin capacity report, export the cabin capacity report in a text format such as *.txt or *.pdf. Otherwise, end the process.

[0106] S7. Based on the three-dimensional cabin model created by the user, a two-dimensional cabin layout drawing is generated.

[0107] Specifically, if Figure 10 As shown in the figure, the process of forming a two-dimensional drawing of the cabin layout is as follows:

[0108] S71. Select the created cabin space from the ship CAD database according to the user's drawing requirements;

[0109] S72. Define the prerequisites such as the ship's main dimensions, coordinate system, and cabin folders;

[0110] S73, setting the drawing layout, selecting the intersection plane of each view as the reference position;

[0111] S74. Generate a cabin layout drawing and store it in a ship CAD database;

[0112] S75. Determine whether export is required. If so, export the cabin layout two-dimensional drawing in a format such as .pdf. Otherwise, end the process.

[0113] This embodiment further provides a ship subdivision design system for a ship CAD system, comprising:

[0114] The hull space definition module is used to connect to the ship CAD system, obtain the hull surface from the ship CAD database, and stitch the obtained hull surface to form a closed hull space. The hull space definition module executes Figure 2 process;

[0115] The cutting element method module is used to divide the hull space into cabin space according to the cutting elements defined by the user. The cutting element method module executes Figure 4 process;

[0116] Sketch segmentation module is used to segment the hull space into cabin space according to the user-defined sketch. Sketch segmentation module performs Figure 5 process;

[0117] Cabin publishing module is used to connect to the ship CAD system to synchronize cabin space and execute Figure 6 process;

[0118] The cabin attribute entry module is used to define the attributes of the cabin space and execute Figure 7 process;

[0119] The cabin color setting module is used to distinguish cabin attributes according to color display and execute Figure 8 process;

[0120] The cabin capacity report module is used to generate a cabin capacity report based on the attributes entered in the cabin attribute entry module. Figure 9 process;

[0121] The cabin layout module is used to generate the cabin layout according to the cross-section operation of the reference position setting, and execute Figure 10 process.

[0122] This embodiment is only a further explanation of the present invention and is not a limitation of the present invention. After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but as long as they are within the scope of the claims of the present invention, they are protected by patent law.

Claims

1. A ship subdivision design method for a ship CAD system, characterized in that: include: S1. Obtaining hull surfaces from a ship CAD database, and stitching the obtained hull surfaces to form a closed hull space; S2. Generate a cutting element set according to the cutting element method or the sketch segmentation method, segment the hull space according to the cutting elements in the cutting element set to form independent cabin spaces. When segmenting the hull space using the cutting elements, the following steps are included: S21. Create a cabin space set; S22, loading the initial hull space into the cabin space set, where there are m cabin space set elements, m ≥ 1; S23, load the cutting element set, the number of cutting elements in the set is n, n ≥ 1; S24, if i>n, then end the segmentation, otherwise go to step S25; wherein the initial value of i is 1; S25. If j>m, execute step S26; otherwise, execute step S27; wherein the initial value of j is 1; S26, i=i+1, execute step S24; S27, using the i-th cutting element in the cutting element set to start cutting the j-th cabin space set element in the cabin space set elements, to generate k new geometric spaces; S28. Load the generated k new geometric spaces into the cabin space set, m=m+k, j=j+1, and execute step S25; When generating a cutting element set by the cutting element method, the cutting element set is selected, and it is determined whether there is an overlapping part in the cutting element set. If there is an overlapping part, the overlapping part of the cutting element set is deleted; When generating a cutting element set by the sketch segmentation method, a sketch is selected to determine whether there are overlapping parts in the sketch element set. If there are overlapping parts, the overlapping parts are deleted. The sketch element set is placed in the curve set to be stretched, and the curve set is stretched into the hull space along the normal direction of the support surface to generate a finite surface cutting element set. S3. Publish all cabin spaces to be synchronized to the index file of the ship CAD database, and store the geometric information and attribute information of the cabin spaces to be published in the ship CAD database; S4. Define cabin attributes according to user settings; S5. Setting the cabin color according to user input; S6. Define and calculate the tank capacity report based on the full tank information entered by the user to form a tank capacity report; S7. Based on the three-dimensional cabin model created by the user, a two-dimensional cabin layout drawing is generated.

2. The ship subdivision design method for a ship CAD system according to claim 1, characterized in that: In step S1, the hull surface is a set of surfaces with connected boundaries, and the surface continuity supports point continuity, tangential continuity and curvature continuity.

3. The ship subdivision design method for a ship CAD system according to claim 1, characterized in that: In the step S4, it includes: S41. Selecting a cabin space from a ship CAD database; S42. If the selected cabin space is a single cabin, execute step S43; otherwise, execute step S44; S43. Input the attribute parameters of the selected cabin space into the cabin capacity report, and end the process; S44. Determine whether the selected cabin space needs to be defined in batches. If so, execute step S45; otherwise, execute step S43. S45. Copy the attribute parameters and paste the attribute parameters of the cabin space into the cabin attribute definition table in batches, and end the process.

4. The ship subdivision design method for a ship CAD system according to claim 1, characterized in that: When setting the cabin color in step S5, the cabin space is selected from the ship CAD database, and the colors of the bulkheads and cabins with different three-proof technology levels are set through the interface controls of the ship CAD system. The three-proof attribute types are filtered through the interface controls, and the cabin models of the entire ship or parts that meet different technical levels are displayed in the viewport.

5. The ship subdivision design method for a ship CAD system according to claim 1, characterized in that: In the step S6, the following steps are included: S61. Acquire cabin space and its attribute parameters from the ship CAD database; S62, pass The .ini file configures the format of the tank capacity report; S63. Define and calculate attribute parameters in the tank capacity report based on the full tank information entered by the user; S64, storing the attribute parameters related to the calculated capacity report in the ship CAD database; S65: Determine whether to export the cabin capacity report. If the cabin capacity report needs to be exported, export the cabin capacity report in text format. Otherwise, end the process.

6. The ship subdivision design method for a ship CAD system according to claim 1, characterized in that: In step S7, the following steps are included: S71. Select cabin space from the ship CAD database; S72. Define the ship's main dimensions, coordinate system, and cabin folders; S73, setting the drawing layout, selecting the intersection plane of each view as the reference position; S74. Generate a cabin layout drawing and store it in a ship CAD database; S75. Determine whether export is required. If so, export the cabin layout two-dimensional drawing. Otherwise, end the process.

7. A ship subdivision design system for a ship CAD system, characterized in that: include: The hull space definition module is used to connect to the ship CAD system, obtain the hull surface from the ship CAD database, and stitch the obtained hull surfaces to form a closed hull space; Cutting element method module, used to divide the hull space into cabin space according to user-defined cutting elements; Sketch segmentation module, used to segment the hull space into cabin space according to the user-defined sketch; Generate a cutting element set according to the cutting element method or the sketch segmentation method, segment the hull space according to the cutting elements in the cutting element set to form independent cabin spaces. When segmenting the hull space using the cutting elements, the following steps are included: S21. Create a cabin space set; S22, loading the initial hull space into the cabin space set, where there are m cabin space set elements, m ≥ 1; S23, load the cutting element set, the number of cutting elements in the set is n, n ≥ 1; S24, if i>n, then end the segmentation, otherwise go to step S25; wherein the initial value of i is 1; S25. If j>m, execute step S26; otherwise, execute step S27; wherein the initial value of j is 1; S26, i=i+1, execute step S24; S27, using the i-th cutting element in the cutting element set to start cutting the j-th cabin space set element in the cabin space set elements, to generate k new geometric spaces; S28. Load the generated k new geometric spaces into the cabin space set, m=m+k, j=j+1, and execute step S25; When generating a cutting element set by the cutting element method, the cutting element set is selected, and it is determined whether there is an overlapping part in the cutting element set. If there is an overlapping part, the overlapping part of the cutting element set is deleted; When generating a cutting element set by the sketch segmentation method, a sketch is selected to determine whether there are overlapping parts in the sketch element set. If there are overlapping parts, the overlapping parts are deleted. The sketch element set is placed in the curve set to be stretched, and the curve set is stretched into the hull space along the normal direction of the support surface to generate a finite surface cutting element set. Cabin publishing module, used to connect to the ship's CAD system for cabin space synchronization; Cabin attribute entry module, used to define the attributes of cabin space; Cabin color setting module, used to distinguish cabin attributes based on color display; The cabin capacity report module is used to generate a cabin capacity report based on the attributes entered in the cabin attribute entry module; The cabin layout module is used to generate the cabin layout by performing section operations based on the reference position settings.