Ship subdivision design method and system for ship CAD system
By using the ship sub-cabin design method in the ship CAD system and using the cutting element method or sketch segmentation method to generate the cabin space, multiple problems in the ship sub-cabin design in the existing technology are solved, rapid modeling and updating of the cabin, and design efficiency and resource utilization are enhanced.
Patent Information
- Application Number
- CN202510543609.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-04-28
AI Technical Summary
In the prior art, ship sub-cabin design has difficulty publishing cabin definition and professional layout charts, few parameterized design methods, the chamber two-dimensional plane definition and three-dimensional model cannot be interconnected, and data between software cannot be connected, resulting in waste of resources and inefficiency.
A ship sub-cabin design method for ship CAD system is provided. By obtaining the hull surface from the ship CAD database, sewing it to form a closed space, and using the cutting element method or sketch segmentation method to generate the cabin space, realize the rapid modeling and updating of the cabin, and store the geometric information and attribute information of the cabin space in the database, supporting data synchronization and multi-professional design.
It realizes rapid modeling and update of the cabin, solves the problem of difficulty in publishing cabin definition and professional layout charts, enhances parameterized design capabilities, realizes the interactive linkage of the cabin two-dimensional plane and three-dimensional model, opens up data between software, and improves design efficiency and resource utilization.
Smart Images

Figure CN120068285A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ship digitization, and in particular to a ship compartment 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, with functions such as hull structure design, piping design, duct design, electrical design, iron and steel equipment design, and painting production design. It provides a powerful means for establishing a ship product model with a complete topological piping system through solid and parametric modeling technology, and realizes the data and information integration of heterogeneous CAD through data interfaces with other systems, creating technical conditions for collaborative design.
[0003] Ship subdivision design is an important part of the overall ship design. This business divides the internal space of the ship through decks, transverse and longitudinal bulkheads and performs naming and definition operations according to the use requirements of different areas inside the ship and related design specifications and conventions, which facilitates the next step of overall layout, performance calculation, etc. The results of ship subdivision design provide important prerequisites and design backgrounds for other disciplines such as structure, piping, electrical, interior equipment, and painting. Efficient and flexible subdivision design can improve the reliability and economy of ship design and manufacturing throughout the life cycle.
[0004] In the prior art, two-dimensional CAD software (such as AutoCAD) drawings are used to carry out two-dimensional layout design of the general layout, and the cabin capacity calculation model is rebuilt in software such as NAPA according to the general layout design plan. The current model has the following problems: 1. It is difficult to publish cabin definitions and professional layout diagrams; 2. There are fewer parametric design methods and weaker topological relationships; 3. The cabin 2D plane definition and 3D model cannot interact with each other; 4. Data between software cannot be connected, and repeated modeling causes waste of resources and energy efficiency. Summary of the invention
[0005] 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.
[0006] The technical objectives of the present invention are achieved through the following technical solutions: A ship compartment design method for a ship CAD system, comprising: S1. Obtain the hull surface from the ship CAD database, and stitch the obtained hull surfaces to form a closed hull space; S2. Generate a set of cutting elements according to the cutting element method or the sketch segmentation method, and divide the hull space according to the cutting elements in the cutting element set to form independent compartment spaces; S3. Publish all the compartment spaces to be synchronized to the index file of the ship CAD database, and store the geometric information and attribute information of the compartment spaces to be published in the ship CAD database; S4. Define the compartment attributes according to the user settings; S5. Set the compartment color according to the user input; S6. Define and calculate the compartment volume report according to the full-compartment information entered by the user to form a compartment volume report; S7. Create a two-dimensional drawing of the compartment layout according to the three-dimensional compartment model selected by the user.
[0007] Further, in step S1, the hull surface is a set of surfaces with adjacent boundaries, and the surface continuity supports point continuity, tangential continuity, and curvature continuity.
[0008] Further, in step S2, when using the cutting elements to divide the hull space, it includes: S21. Create a set of compartment spaces; S22. Load the initial hull space into the set of compartment spaces. There are m elements of the set of compartment spaces in the set of compartment spaces, and m≥1; S23. Load the cutting element set. The number of cutting elements in the set is n, and n≥1; S24. If i>n, end the division, otherwise execute step S25; where the initial value of i is 1; S25. If j>m, execute step S26, otherwise execute step S27; where the initial value of j is 1; S26. i = i + 1, and execute step S24; S27. Use the i-th cutting element in the cutting element set to start cutting the j-th compartment space element in the set of compartment space elements to generate k new geometric spaces; S28. Load the k new geometric spaces generated into the set of compartment spaces, m = m + k, j = j + 1, and execute step S25.
[0009] Further, when generating the cutting element set by the cutting element method, select the cutting element set, and judge whether there is an overlapping part in the cutting element set. If there is an overlapping part, delete the overlapping part of the cutting element set.
[0010] Furthermore, when generating a cutting element set by the sketch segmentation method, select the sketch, determine whether there is an overlapping part in the sketch element set, delete the overlapping part if there is, put the sketch element set into the curve set to be stretched, stretch the curve set toward the hull space along the normal direction of the support surface, and generate a finite surface cutting element set.
[0011] Furthermore, in 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, inputting the attribute parameters of the selected cabin space into the cabin capacity report, and ending the process; S44, determining whether the selected cabin space needs to be defined in batches, if yes, executing step S45, otherwise executing step S43; S45, copy the attribute parameters, and paste the attribute parameters of the cabin space in batches into the cabin attribute definition table, and end the process.
[0012] 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-defense technical levels are set through the interface controls of the ship CAD system. The three-defense attribute types are filtered through the interface controls, and the cabin models that meet different technical levels of the entire ship or part of the ship are displayed in the viewport.
[0013] Furthermore, in step S6, the following steps are included: S61, obtaining cabin space and its attribute parameters from the ship CAD database; S62. Configure the format of the tank capacity report through the *.ini file; S63. Define and calculate attribute parameters in the tank capacity report according to the full tank information entered by the user; S64, storing the attribute parameters related to the calculated tank capacity report in the ship CAD database; S65, determining whether to export the tank capacity report, if it is necessary to export the tank capacity report, export the tank capacity report in text format, otherwise the process ends.
[0014] Furthermore, in step S7, the following steps are included: S71. Selecting a cabin space from a ship CAD database; S72. Define the ship's main dimensions, coordinate system and cabin folders; S73, setting the drawing layout, and selecting the intersection surface of each view as the reference position; S74, generating a cabin layout drawing and storing it in a ship CAD database; S75, determining whether export is required, if so, export the cabin layout two-dimensional drawing, otherwise, the process ends.
[0015] The present invention also provides a ship compartment design system for a ship CAD system, comprising: The hull space definition module is used to connect to the ship CAD system, obtain the hull surface from the ship CAD database, and sew the obtained hull surface to form a closed hull space; Cutting element method module, which is used to divide the hull space into cabin space according to user-defined cutting elements; Sketch segmentation module, which is used to segment the hull space into cabin space according to the sketch defined by the user; Cabin publishing module, used to connect to the ship CAD system for cabin space synchronization; Cabin attribute input module, used to define the attributes of cabin space; Cabin color setting module, used to distinguish cabin attributes based on color display; A cabin capacity report module is used to generate a cabin capacity report according to the attributes entered in the cabin attribute entry module; The cabin layout module is used to generate the cabin layout by performing section operations according to the reference position settings.
[0016] Compared with the prior art, the beneficial effect of the present invention lies in 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 prior art of cabin definition, difficulty in publishing various professional layout diagrams, few parametric design methods, inability to interact between two-dimensional plane definition and three-dimensional model of cabin, and inability to connect data between software are solved, and rapid modeling and updating of cabins can be achieved, providing important technical support for ship performance calculation, overall layout, structural design and other businesses. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic flow chart of a ship compartment design method for a ship CAD system according to the present invention.
[0018] 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.
[0019] 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.
[0020] 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.
[0021] Figure 5It is a schematic diagram of the process of generating a cutting element set by the sketch segmentation method to cut the hull space in the present invention.
[0022] Figure 6 It is a schematic diagram of the process of publishing all the compartment spaces to be synchronized to the ship CAD database in the present invention.
[0023] Figure 7 It is a schematic diagram of the process of inputting compartment attributes in the present invention.
[0024] Figure 8 It is a schematic diagram of the process of setting the color of the compartment according to the user input in the present invention.
[0025] Figure 9 It is a schematic diagram of the process of forming a compartment volume report in the present invention.
[0026] Figure 10 It is a schematic diagram of the process of generating a two-dimensional drawing of the compartment layout in the present invention. Specific embodiments
[0027] The technical solution of the present invention will be further described below in conjunction with specific embodiments: A ship compartment design method for a ship CAD system, as Figure 1 shown, the method includes: S1. Obtain the hull surface from the ship CAD database, and stitch the obtained hull surfaces to form a closed hull space.
[0028] The hull surface is a set of surfaces with adjacent boundaries. The surface continuity supports point continuity, tangential continuity, and curvature continuity, and can enclose a closed geometric body. After obtaining the hull surface, it is necessary to judge whether the boundary continuity of the obtained hull surface meets the requirements of point continuity (G0), tangential continuity (G1), and curvature continuity (G2). If the surface continuity requirements cannot be met, a closed hull space cannot be stitched, and the process ends after reporting an error. If the surface continuity requirements are met, the surfaces are stitched to form a closed geometric body and stored as a hull space in the ship CAD database, as Figure 2 shown.
[0029] S2. Generate a cutting element set according to the cutting element method or the sketch segmentation method, and divide the hull space according to the cutting elements in the cutting element set to form independent compartment spaces, as Figure 3 shown. The specific process is as follows: S21. Create a compartment space set; S22. Load the initial hull space into the compartment space set. There are m compartment space set elements in the compartment space set, where m≥1; S23. Load the cutting element set. The number of cutting elements in the set is n, where n≥1; S24. If i > n, end the segmentation; otherwise, execute step S25. Here, the initial value of i is 1; S25. If j > m, execute step S26; otherwise, execute step S27. Here, the initial value of j is 1; S26. i = i + 1, and execute step S24; S27. Use the i-th cutting element in the cutting element set to start cutting the j-th compartment space set element in the compartment space set, generating k new geometric spaces; S28. Load the k new geometric spaces generated into the compartment space set, m = m + k, j = j + 1, and execute step S25.
[0030] More specifically, when generating the cutting element set by the cutting element method, as Figure 4 shown, select the cutting element set, and determine whether there is an overlapping part in the cutting element set. If there is an overlapping part, delete the duplicate and redundant elements in the cutting element set. The cutting elements include finite surface cutting elements and infinite plane cutting elements. All the cutting elements have the same normal plane. The cutting elements can pass through the hull space. Calculate the cutting elements to divide the hull space to generate multiple independent geometric body spaces, and default the generated multiple independent geometric body spaces as compartment spaces and store them in the ship CAD database. It should be noted that in the embodiment, the multiple independent geometric body spaces include at least 2 independent geometric body spaces.
[0031] When generating the cutting element set by the sketch segmentation method, as Figure 5 shown, select the sketch, and determine whether there is an overlapping part in the sketch element set. If there is, delete the duplicate and redundant elements, put the sketch element set into the curve set to be stretched, and stretch the curve set along the normal direction of the support surface into the hull space to generate a finite surface cutting element set. The sketch includes multiple entities such as straight line segments, curve segments, circles, rectangles, etc. The sketch is infinitely stretched along the normal direction of the support surface of the sketch to construct a single or multiple cutting surfaces that can pass through the hull space, that is, the finite surface cutting element set. Divide the hull space by calculating the cutting surfaces to generate multiple independent geometric body spaces, and default the generated multiple independent geometric body spaces as compartment spaces and store them in the ship CAD database.
[0032] S3. Publish all the compartment spaces to be synchronized to the index file of the ship CAD database, and store the geometric information and attribute information of the compartment spaces to be published in the ship CAD database, as Figure 6 shown; storing the compartment geometric information and attribute information in the ship CAD database can support other professional designs to obtain relevant parameters, support quickly and accurately finding the corresponding compartment object when the user modifies the compartment information, and automatically update and overwrite the underlying data.
[0033] S4. Define cabin properties according to user settings, including general properties, calculation properties, and production design properties.
[0034] More specifically, the common attributes include cabin name, cabin code, cabin purpose, cabin type, cabin grade, carrier type, detailed description, etc.; The calculated attributes include carrier density, reduction factor, full tank rate, permeability, etc., which are used to calculate full tank information; The production design attributes by default include watertight areas, fire separations, thermal insulation areas, explosion hazard areas, three-defense areas, impact-resistant environments and corresponding classifications.
[0035] More specifically, when defining cabin properties, such as Figure 7 As shown, including: 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, inputting the attribute parameters of the selected cabin space into the cabin capacity report, and ending the process; S44, determining whether the selected cabin space needs to be defined in batches, if yes, executing step S45, otherwise executing step S43; S45, copy the attribute parameters, and paste the attribute parameters of the cabin space in batches into the cabin attribute definition table, and end the process.
[0036] S5. Set the cabin color according to user input.
[0037] Specifically, Figure 8 As shown, when setting the cabin color, select the cabin space from the ship CAD database, set the color of the bulkheads and cabins with different three-proof technology levels through the drop-down selection box of the ship CAD system, filter the three-proof attribute types through the interface controls, and display the cabin models that meet different technical levels for the entire ship or part of it in the viewport. Color distinction facilitates users to intuitively browse and query the cabin layout results. The bulkheads in the viewport display different technical levels according to the default configuration colors of the ship CAD system.
[0038] Among them, the three-proof properties include three categories: waterproof, fireproof, and explosion-proof. The three-proof technical levels of ship cabins are usually divided according to relevant contents in relevant conventions, regulations, or design specifications. For example, the fireproof grade of cabins usually follows the International Convention for the Safety of Life at Sea (SOLAS) formulated 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 waterproof grade of cabins usually follows the international protection IP grade standard recommended by the International Electrotechnical Commission (IEC). The larger the number after IP, the higher the protection level; the explosion-proof grade of cabins usually follows the standard formulated by the International Electrotechnical Commission (IEC), and the explosion-proof area is usually divided into Hazardous Areas 0, 1, and 2. The three-proof properties and technical levels of cabins are usually defined in the overall design stage to provide reference for the subsequent structural design and process design of cabin walls.
[0039] S6. Define and calculate the hold capacity report based on the full hold information entered by the user to form a hold capacity report.
[0040] Specifically, as Figure 9 shown, the process of forming the hold capacity report is as follows: S61. Obtain the cabin space and its attribute parameters from the ship CAD database.
[0041] S62. Configure the format of the hold capacity report through the *.ini file, including configuring items such as the table header, cabin range, attribute categories, units, field widths, etc.
[0042] S63. Define and calculate the attribute parameters in the hold capacity report according to the full hold information entered by the user; the defined attribute parameters include: values such as the cabin shape, carrier density, full load rate, reduction coefficient, etc. entered by the user; calculate the results such as the net volume of the cabin, full load weight, full load center of gravity coordinates, and free surface moment.
[0043] S64. Store the relevant attribute parameters in the hold capacity report in the ship CAD database, that is, store the results such as the net volume of the cabin, full load weight, full load center of gravity coordinates, and free surface moment in the ship CAD database.
[0044] S65. Determine whether to export the hold capacity report. If it is necessary to export the hold capacity report, export the hold capacity report in text formats such as *.txt, *.pdf, etc., otherwise end the process.
[0045] S7. Form a two-dimensional drawing of the cabin layout according to the three-dimensional cabin model created by the user's selection.
[0046] Specifically, as Figure 10 shown, the process of forming the two-dimensional drawing of the cabin layout is as follows: S71. Select the already created cabin spaces from the ship CAD database according to the user's drawing requirements; S72. Define the prerequisite conditions such as the main dimensions of the ship, the coordinate system, and the cabin folder; S73. Set the drawing layout and select the intersection planes of each view as the reference positions; S74. Generate the cabin layout plan and store it in the ship CAD database; S75. Determine whether to export. If so, export the 2D cabin layout drawings in formats such as.pdf, otherwise end the process.
[0047] This embodiment also provides a ship compartment design system for a ship CAD system, including: A hull space definition module for connecting to the ship CAD system, obtaining the hull surface from the ship CAD database, and stitching the obtained hull surfaces to form a closed hull space. The hull space definition module executes Figure 2 the process; A cutting element method module for dividing the hull space into cabin spaces according to the cutting elements defined by the user. The cutting element method module executes Figure 4 the process; A sketch segmentation method module for dividing the hull space into cabin spaces according to the sketch defined by the user. The sketch segmentation method module executes Figure 5 the process; A cabin publishing module for connecting to the ship CAD system to synchronize the cabin spaces and execute Figure 6 the process; A cabin attribute entry module for defining the attributes of the cabin spaces and executing Figure 7 the process; A cabin color setting module for distinguishing the cabin attributes according to the color display and executing Figure 8 the process; A cabin volume report module for generating a cabin volume report according to the attributes entered in the cabin attribute entry module and executing Figure 9 the process; A cabin layout plan module for performing sectional operations according to the reference position settings to generate a cabin layout plan and executing Figure 10 the process.
[0048] This embodiment is only a further explanation of the present invention and not a limitation thereof. Those skilled in the art can make non-creative modifications to this embodiment as needed after reading this specification, but as long as they are within the scope of the claims of the present invention, they are protected by the patent law.
Claims
1. A ship subdivision design method for a ship CAD system, characterized in that: include: S1. Obtaining a hull surface from a ship CAD database, and stitching the obtained hull surface to form a closed hull space; 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 an independent cabin space; S3. Publish all cabin spaces to be synchronized into 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. defining cabin attributes according to user settings; S5. Setting the cabin color according to user input; S6. Define and calculate the tank capacity report according to 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 formed.
2. A ship subdivision design method for a ship CAD system according to claim 1, characterized in that: In step S1, the hull surface is a group of surfaces with connected boundaries, and the surface continuity supports point continuity, tangent continuity and curvature continuity.
3. A ship subdivision design method for a ship CAD system according to claim 1, characterized in that: In the step S2, when the cutting element is used to segment the hull space, it includes: S21, creating a cabin space set; S22, loading the initial hull space into the cabin space set, the cabin space set has m cabin space set elements, m ≥ 1; S23, loading a cutting element set, the number of cutting elements in the set is n, n ≥ 1; S24, if i>n, then end the segmentation, otherwise execute 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.
4. A ship subdivision design method for a ship CAD system according to claim 3, characterized in that: When a cutting element set is generated by the cutting element method, the cutting element set is selected to determine 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.
5. The ship subdivision design method for a ship CAD system according to claim 3, characterized in that: When generating a cutting element set by the sketch segmentation method, select the sketch, determine whether there is an overlapping part in the sketch element set, delete the overlapping part if there is, put the sketch element set into the curve set to be stretched, stretch the curve set toward the hull space along the normal direction of the support surface, and generate a finite surface cutting element set.
6. 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, inputting the attribute parameters of the selected cabin space into the cabin capacity report, and ending the process; S44, determining whether the selected cabin space needs to be defined in batches, if yes, executing step S45, otherwise executing step S43; S45, copy the attribute parameters, and paste the attribute parameters of the cabin space in batches into the cabin attribute definition table, and end the process.
7. 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 technical 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.
8. The ship subdivision design method for a ship CAD system according to claim 1, characterized in that: In step S6, the following steps are included: S61, obtaining cabin space and its attribute parameters from the ship CAD database; S62. Configure the format of the tank capacity report through the *.ini file; S63. Define and calculate attribute parameters in the tank capacity report according to the full tank information entered by the user; S64, storing the attribute parameters related to the calculated tank capacity report in the ship CAD database; S65, determining whether to export the tank capacity report, if it is necessary to export the tank capacity report, export the tank capacity report in text format, otherwise the process ends.
9. 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. Selecting a cabin space from a ship CAD database; S72. Define the ship's main dimensions, coordinate system and cabin folders; S73, setting the drawing layout, and selecting the intersection surface of each view as the reference position; S74, generating a cabin layout drawing and storing it in a ship CAD database; S75, determining whether export is required, if so, export the cabin layout two-dimensional drawing, otherwise, the process ends.
10. A ship compartment 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 sew the obtained hull surface to form a closed hull space; Cutting element method module, which is used to divide the hull space into cabin space according to user-defined cutting elements; Sketch segmentation module, which is used to segment the hull space into cabin space according to the sketch defined by the user; Cabin publishing module, used to connect to the ship CAD system for cabin space synchronization; Cabin attribute input module, used to define the attributes of cabin space; Cabin color setting module, used to distinguish cabin attributes based on color display; A cabin capacity report module is used to generate a cabin capacity report according to the attributes entered in the cabin attribute entry module; The cabin layout module is used to generate the cabin layout by performing section operations according to the reference position settings.
Citation Information
Patent Citations
AutoCAD and PDM-based digital design method for ship general drawing
CN107229773A
Ship unsinkability standard plate chart calculation method based on intermediate data format (IDF) data model
CN110871876A
Ship operation monitoring method based on three-dimensional visualization system
CN115375830A
Rapid digital processing method for ship general layout diagram
CN115688272A
Ship body curved surface modeling system and method based on SPD system
CN117494298A