Modeling method and system based on complex end ship body section component feature point input

By defining feature point rules and a rectangular coordinate system to construct hull section components, the problems of low efficiency, poor accuracy and poor flexibility in traditional hull cabin modeling are solved, and efficient and accurate cabin model construction and design change support are achieved.

CN120086966BActive Publication Date: 2025-10-17CHINESE CLASSIFICATION SOC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411945194.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-10-17
Estimated Expiration
2044-12-27

AI Technical Summary

Technical Problem

Traditional hull cabin modeling methods are inefficient, difficult to guarantee accuracy, and have poor flexibility. They are unable to meet the high-precision and diversified requirements of complex-shaped cabins, and design changes are difficult.

Method used

By defining the usage rules of feature points, the key feature points of the cabin are selected, and the geometric shape and structure of the hull section components are constructed based on these feature points. The main hull model of the hull is formed using the rectangular coordinate system and hull scale, and the synthetic cabin model is connected through the feature points.

Benefits of technology

It achieves high-precision construction of cabin models, improves modeling efficiency and flexibility, meets the high-precision and diversified requirements of ship design and manufacturing, and supports design changes and personalized development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120086966B_ABST
    Figure CN120086966B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on complex end ship body section component feature point input post-modeling method and system, method includes: set ship main element and set ship body coordinate system as right-angle orthogonal coordinate system;Set ship body scale;Form hull main ship body model by creating point, line, surface, body;Determine the number of end face required to build cabin, and input the X coordinate of each end face corresponding thereto;Determine the contour feature point of each end face, and sequentially order according to a rotation direction to form the feature point sequence of the end face;According to the order of each end face feature point sequence, the feature point of the end face is input in sequence;Determine the location profile of the main ship body where the end face is located according to the end face X coordinate;Determine the shape profile of the end face according to the feature point in the feature point sequence corresponding to the end face;According to the input multiple end faces, connect the body in sequence according to the feature point, and then intersect with the main ship body to create a cabin.The problem of low efficiency and precision of traditional ship modeling is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of ship hull cabin modeling, and more particularly relates to a modeling method and system based on complex end hull section component feature point input after modeling. BACKGROUND

[0002] In the current global shipbuilding boom, ship design and manufacturing technology is constantly evolving, among which ship hull modeling technology plays a key role in the shipbuilding field. In particular, three-dimensional modeling technology has been widely used in ship design, manufacturing, management, and subsequent simulation analysis of many important links. As a core component of the ship, the accuracy and efficiency of the ship cabin modeling play a decisive role in the quality and performance of the entire ship.

[0003] Traditional ship hull modeling methods mainly rely on the experience and manual operation of designers, usually by first constructing the overall hull framework and then gradually refining the shape and structure of each cabin. This approach has many significant drawbacks when faced with complex ship cabin designs. On the one hand, the modeling efficiency is extremely low, and designers need to spend a lot of time and effort to draw and adjust the cabin profile, repeatedly performing tedious measurement and modification work. This not only prolongs the ship design cycle and increases labor costs, but also may accumulate errors and mistakes due to human negligence, thereby affecting the progress and quality of the entire project. On the other hand, the traditional method is difficult to guarantee accuracy, and for complex-shaped cabins, especially those with irregular boundaries and multiple special structures, it is difficult to accurately determine their geometric shapes and positional relationships, thus failing to meet the strict requirements of modern ships for high-precision design and manufacturing. In addition, the traditional modeling method lacks flexibility, and once the design scheme needs to be adjusted, a large amount of basic work needs to be done again, which is not conducive to quickly responding to design changes and optimization needs, and is difficult to adapt to changing market demands and technological development trends.

[0004] With the continuous progress of computer technology and digital design concepts, parametric design and feature point-based modeling methods have gradually been applied and explored in various fields. However, in the field of ship hull cabin modeling, there is still no mature, efficient, and accurate modeling method based on complex end hull section component feature point input. Some existing attempts either have imperfect definitions and usage rules for feature points, leading to chaotic and error-prone modeling processes, or lack effective algorithms and processes when dealing with multi-end complex cabins, failing to meet the diverse needs of complex cabin modeling in actual engineering. Therefore, there is an urgent need for an innovative ship cabin modeling method that can overcome the above problems to improve the overall level of ship design and manufacturing and enhance the competitiveness of the shipbuilding industry in the global market. SUMMARY

[0005] The application proposes a method for quickly modeling based on complex end ship body section component feature point input, which is a modeling method for defining the use rules of feature points, selecting the key feature points of the cabin, and defining and constructing the cabin geometry and structure based on these feature points.

[0006] In view of the above defects or improvement needs of the prior art, as a first aspect of the application, the application provides a modeling method based on complex end ship body section component feature point input, comprising:

[0007] S1. Set the main elements of the ship and set the ship body coordinate system as a rectangular orthogonal coordinate system O-XYZ, with the X axis being the ship length direction, the Y axis being the ship width direction, and the Z axis being the depth direction;

[0008] S2. Set the ship body scale;

[0009] S3. Form the main ship body model of the hull by creating points, lines, surfaces, and bodies;

[0010] S4. Determine the number of end faces required for constructing the cabin, and input the X coordinates of each end face corresponding thereto; then determine the contour feature points of each end face, and sequentially sort them into a feature point sequence of the end face in a rotation direction; and then input the feature points of the end face in the order of the feature point sequence of each end face;

[0011] S5. Construct the cabin model, and the specific steps are as follows:

[0012] Determine the position profile of the main ship body where the end face is located according to the X coordinate of the end face;

[0013] Determine the shape contour of the end face according to the feature points in the feature point sequence corresponding to the end face;

[0014] Connect and synthesize the bodies one by one according to the input multiple end faces in the order of the feature points, and then intersect the main ship body to create the cabin.

[0015] Further, the step S2 further comprises: when the rib position coordinate expression and the station position coordinate expression need to be used, the original point type, the 0th station position transverse coordinate, the rib position interval, the transverse coordinate of the 0th rib position, and the equal interval station number must be set.

[0016] Further, in the S4 step, when the number of required end faces is 2, the required end faces are defined as the tail end face and the head end face, and the positions of the tail end face and the head end face of the cabin along the ship length direction are defined.

[0017] Further, in the S4, the number of end faces is consistent with the number of X coordinates where the end faces are located, i.e., x={x i{P1, P2, ···, Pn} represents the coordinate value set of each end face in the X-axis direction, where m is the number of end faces, that is, there are m different x values to determine the position of each end face in the length direction of the ship.

[0018] Further, the total number of feature point sequences in S4 is consistent with the number of X coordinates where the end face is located, that is, for each end face i (1, 2, ···, m), let its set of profile feature points be where n represents the number of feature points of each end face.

[0019] Further, the number of feature points of each end face in S4 is the same, that is, n, and there can be repeated feature points in the feature point sequence of a single end face.

[0020] Further, the specific method for determining the shape profile of the end face according to the feature points in the feature point sequence corresponding to the end face in S5 is:

[0021] The profile shape S of the i-th end face (i = 1, 2, 3, ···, m) i is determined according to the set of profile feature points P i as follows:

[0022] Let the i-th end face (i = 1, 2, 3, ···, m) be located at the X i coordinate of the main hull section, the maximum value of the main hull section in the Y-axis is and the minimum value is The maximum value of the main hull section in the Z-axis is i and the minimum value is

[0023] When n = 0, the end face is the entire main hull section corresponding to the X i coordinate, which can be represented as:

[0024]

[0025] When n = 1, let the feature point be with a special coordinate component, which is Y+ or Y- or Z+ or Z-; Y+ represents the port side, Y- represents the starboard side, Z+ represents the deck, and Z- represents the bottom of the ship, as follows:

[0026] When the special coordinate component is Y+, which indicates the relevant direction of the port side, the feature point is represented as The profile shape S i of the end face can be described as:

[0027]

[0028] When the special coordinate component is Y-, indicating the starboard direction correlation, the feature point is represented as Then the end face profile shape S i Can be described as:

[0029]

[0030] When the special coordinate component is Z+, indicating the deck direction correlation, the feature point is represented as Then the end face profile shape S i Can be described as:

[0031]

[0032] When the special coordinate component is Z-, indicating the bottom direction correlation, the feature point is represented as Then the end face profile shape S i Can be described as:

[0033]

[0034] When n = 2, let the two feature points be And The end face profile shape S i Is represented by the rectangular region formed by two points, when the feature point includes a special coordinate component, the aft end face includes the corresponding deck, bottom, port or starboard:

[0035]

[0036] When n > 2, the feature point can use a special coordinate component and a special coordinate point, the special coordinate point (P+, θ) or (P-, θ), to represent the intersection of the inclined bulkhead (non-horizontal bulkhead and non-vertical bulkhead) and the ship's hull, where P- represents the intersection of the ray with the ship's hull with the upper point of the coordinate point as the pole and at an angle θ, and if there is no upper point, the tail point is taken; P+ represents the intersection of the ray with the ship's hull with the lower point of the coordinate point as the pole and at an angle θ, and if there is no lower point, the head point is taken; θ represents the angle (degrees, clockwise) between the ray and the Y-axis in the end face, with a value range of [0, 360);

[0037] Let the boundary of the closed polygon formed by connecting the feature points in the set direction sequence in the YZ plane projection be L i Then the end face profile shape S i Can be described as:

[0038] S i = {(x, y, z) | x = xi, (y, z) ∈ the region enclosed by L i}

[0039] In the formula, S irepresents the end face profile shape, x i represents the X coordinate corresponding to the end face, L i represents the boundary of the closed polygon in the YZ plane formed by connecting the feature points in the set direction sequence.

[0040] Further, the specific method for creating the cabin by intersecting the main hull in S5 is:

[0041] First, the profile shape S i (i = 1, 2, 3, ···, m) is connected in the order of input to form a whole geometric shape S, which is represented by the union here:

[0042]

[0043] Then, the cabin model M is obtained by intersecting the whole geometric shape S with the main hull model H, which can be represented by the formula:

[0044] M = S ∩ H

[0045] In the formula, M represents the cabin model, S represents the whole geometric shape obtained by connecting the profiles of the end faces, and H represents the main hull model.

[0046] As a second aspect of the present application, a modeling system based on complex end hull section component feature point input is also provided, comprising:

[0047] A hull coordinate system construction unit is used to set the main elements of the ship and set the hull coordinate system as a rectangular orthogonal coordinate system O-XYZ, with the X axis being the ship length direction, the Y axis being the ship width direction, and the Z axis being the depth direction.

[0048] A ship hull scale setting unit is used to set the ship hull scale.

[0049] A ship hull model construction unit is used to form the ship hull model by creating points, lines, surfaces, and bodies.

[0050] A multi-end face parameter input unit is used to determine the number of end faces required for constructing the cabin, and input the X coordinate of each end face corresponding to it; then determine the profile feature points of each end face, and sequentially sort them into the feature point sequence of the end face in a rotation direction; then input the feature points of the end face in the order of each end face feature point sequence.

[0051] A cabin model construction unit is used to construct the cabin model, with the specific steps being as follows:

[0052] Determine the location profile of the main hull where the end face is located according to the X coordinate of the end face.

[0053] Determine the shape profile of the end face according to the feature points in the sequence of feature points corresponding to the end face;

[0054] According to the input of multiple end faces, the feature points are sequentially connected to form a synthesis body, and then the synthesis body is intersected with the main hull to create a cabin.

[0055] As a third aspect of the present application, it also relates to a computer readable storage medium, which stores a computer program executed by a processor for modeling based on complex end hull section component feature point input.

[0056] Overall, compared with the prior art, the above technical solutions conceived by the present application can achieve the following beneficial effects:

[0057] 1. The present application is based on the modeling method of complex end hull section component feature point input, which forms a stable modeling foundation by strictly defining the main elements of the ship and the ship scale, and at the same time, the feature point input rules are refined, covering various special coordinate representations and accurate shape determination methods corresponding to the number, building a complete system from feature points to accurate cabin model, solving the problem of low precision of traditional ship modeling, achieving the effect of making the cabin model construction highly accurate and meeting the high precision requirements of each link of the ship model, providing accurate and reliable model basis for subsequent design and manufacturing.

[0058] 2. The present application is based on the modeling method of complex end hull section component feature point input, which can conveniently perform various modification operations on the feature points of multiple end faces in multi-end face modeling, including adding, reducing, moving, changing coordinate values, and supporting repeated feature point input, etc., solving the problem of poor flexibility of traditional ship modeling, achieving the effect of realizing highly flexible customization of cabin model, meeting the needs of ship diversification and design change, and providing strong support for individualized development of ships in different application scenarios.

[0059] 3. The present application is based on the modeling method of complex end hull section component feature point input, which combines the convenience of using the first and last end faces for simple two-end cabin with the adaptability of multi-end face modeling for complex multi-end cabin, and according to different cabin conditions, X coordinates and contour feature points of simple first and last end or multiple end are input, combined with specific synthesis and intersection algorithm, solving the problem of low efficiency of traditional ship modeling, achieving the effect of greatly improving the modeling speed and efficiently completing the construction of various cabin models, and effectively promoting the acceleration of ship design and manufacturing process. BRIEF DESCRIPTION OF DRAWINGS

[0060] Figure 1 The method flowchart of the preferred embodiment of the present application is shown in the figure;

[0061] Figure 2A schematic diagram of the main algorithm flow of a preferred embodiment of the present invention;

[0062] Figure 3 Schematic diagram of multiple end surfaces of a preferred embodiment of the present invention;

[0063] Figure 4 A schematic diagram of a cabin model constructed by parametric modeling according to a preferred embodiment of the present invention;

[0064] Figure 5 This is a schematic diagram of a preferred embodiment of the present invention where the characteristic points of the first and second end surfaces are connected to form a body;

[0065] Figures 6-29 Schematic diagrams of end faces of preferred embodiments of the present invention under different conditions. DETAILED DESCRIPTION

[0066] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.

[0067] Example 1

[0068] Please refer to Figure 1 This embodiment 1 provides a modeling method based on input of feature points of a complex end hull section component, including:

[0069] Step 1. Set the main elements of the ship: Set the main elements of the ship, such as the length between perpendiculars, standard length, width and depth. The hull coordinate system is a rectangular coordinate system, with the x-axis being the length direction, the y-axis being the width direction, and the z-axis being the depth direction;

[0070] Step 2. Set the ship hull scale; when using rib coordinate expressions and station coordinate expressions, you must set the origin type, the horizontal coordinate of station 0, the rib spacing, the horizontal coordinate of rib 0, and the number of equally spaced stations.

[0071] Step 3. Create the main hull model by creating points, lines, surfaces, and bodies;

[0072] Step 4. Determine the number of end faces required to construct the cabin and input the corresponding X coordinates of each end face. Then, determine the contour feature points of each end face and sort them in sequence according to a rotation direction to form a feature point sequence for that end face. Then, input the feature points of each end face in the order of the feature point sequence.

[0073] Step 5. Build the cabin model. The specific steps are as follows:

[0074] Determine the location section of the main hull where the end surface is located according to the end surface X coordinate;

[0075] Determine the shape profile of the end surface according to the feature points in the feature point sequence corresponding to the end surface;

[0076] According to the input of multiple end surfaces, connect the synthesized body in sequence according to the feature points, and then intersect with the main hull to create a cabin.

[0077] Specifically, the above steps are further illustrated and supplemented as follows:

[0078] Please refer to Figure 2 In this embodiment, when the number of required end surfaces is 2, enter the parameterized modeling step, define the required end surfaces as the tail end surface and the head end surface, and define the tail end surface and the head end surface of the cabin along the ship length direction position. The specific parameterized modeling steps are as follows:

[0079] 1. Input the tail end and head end X coordinate of the cabin: define the tail end surface and the head end surface of the cabin along the ship length direction position;

[0080] 2. Input the tail end and head end profile feature points of the cabin: input the tail end and head end surface profile feature points. The profile feature points are YZ plane coordinate points, and the number of head and tail end surface feature points should be the same. When only the feature points of one end surface are input, it means that the profile feature points of the head and tail end surfaces are the same. When the feature points of the head and tail end surfaces are both default, it means the entire section. Set the special coordinate components of the feature points, Y+ represents the port side, Y- represents the starboard, Z+ represents the deck, and Z- represents the bottom;

[0081] 3. Build a cabin model: build a cabin model based on the tail end and head end surface profile feature points.

[0082] Please refer to Figure 2 In this embodiment, when the number of required end surfaces is greater than 2, then enter the multi-end surface modeling step, and the specific steps are as follows:

[0083] 1. Input the X coordinate of multiple end surfaces: the number of x coordinates should be consistent with the number of end surfaces, such as 3 end surfaces, then fill in 3 x values;

[0084] 2. Input the profile feature points of multiple end surfaces: the number of multi-end surface point sequences should be consistent with the number of X coordinates;

[0085] 3. Build a cabin model: please refer to Figure 3 According to the input of multiple end surfaces, connect the synthesized body in sequence according to the feature points, and then intersect with the main hull to create a cabin.

[0086] In the above two ways, the difference is only in the specific number of end faces adopted. When there are only two end faces, the tail end face and the head end face of the cabin are defined for convenience. At the same time, the head end face and the tail end face have important representativeness in the structural definition of the cabin of the ship. They can determine the start and end positions of the cabin in the length direction of the ship, just like the two opposite faces of a cuboid. Through the two faces, the length range of the cabin can be basically framed, thereby providing a key longitudinal constraint for the construction of the entire cabin, so that the position of the cabin in the overall structure of the ship is clear.

[0087] Please refer to Figure 4 In this embodiment, parameterized modeling is taken as an example. The algorithm flow of the third step of constructing the cabin model is as follows:

[0088] First, judge the number of input tail end face contour feature points:

[0089] (1) The number of feature points is 0: the tail end face is the entire main hull section corresponding to the X coordinate;

[0090]

[0091] (2) The number of feature points is 1: the feature point must contain special coordinate components (Y+, Y-, Z+, Z-), such as feature point (Z-, 0.8), and the tail end face is the part below 0.8 m of the main hull section corresponding to the X coordinate;

[0092] Example:

[0093]

[0094] (3) The number of feature points is 2: the tail end face is the rectangular region of the diagonal line of the two feature points. If the feature points include special coordinate components, the tail end face includes the corresponding deck, bottom, port or starboard;

[0095] Example:

[0096]

[0097] (4) The number of feature points is greater than 2: the tail end face is the closed region formed by connecting the feature points in the clockwise direction (connecting the tail with the head). At this time, special coordinate components and special coordinate points can be used. For example, special coordinate point (P+, θ) or (P-, θ) represents the intersection point of the inclined bulkhead (non-horizontal bulkhead and non-vertical bulkhead) and the ship hull. Among them, P- represents the intersection point of the ray with the ship hull with the upper point of the coordinate point as the pole and at an angle of θ. If there is no upper point, the tail point is taken; P+ represents the intersection point of the ray with the ship hull with the lower point of the coordinate point as the pole and at an angle of θ. If there is no lower point, the head point is taken; θ represents the angle (degree, clockwise) between the ray and the Y axis in the end face, and the value range is [0, 360).

[0098] Examples:

[0099]

[0100]

[0101] Then the leading end surface is constructed, the number of feature points of the leading end surface is consistent with the trailing end surface, and the construction method is consistent.

[0102] Finally, the feature points of the leading and trailing end surfaces are connected into a body, and the intersection with the main hull is obtained to complete the construction of the cabin model.

[0103] Please refer to Figure 5 , this method supports input of repeated end surface profile feature points, such as the cabin in the following figure, the second point of the leading end surface corresponds to two points of the trailing end surface, and the same coordinates of point 2 and point 3 are supported when inputting the coordinates of the leading end surface, to correspond to the two points of the trailing end surface.

[0104] In other preferred embodiments, the specific steps for multi-end surface modeling are as follows:

[0105] (1) Define related variables

[0106] Let the rectangular orthogonal coordinate system in which the ship main hull model is located be O-XYZ, the X-axis be the ship length direction, the Y-axis be the ship width direction, and the Z-axis be the depth direction.

[0107] Let x = {x i |i = 1, 2, ···, m} represent the coordinate value set of each end surface in the X-axis direction, where m is the number of end surfaces, that is, there are m different x values to determine the position of each end surface in the length direction.

[0108] For each end surface i (1, 2, ···, m), let its profile feature point set be where n represents the number of feature points of each end surface, is the coordinate of each feature point in the YZ plane.

[0109] (2) Determine the position of each end surface in the length direction

[0110] The position of each end surface in the X-axis direction can be determined by the coordinate value x i , and the whole can be regarded as a discrete position set:

[0111] I x = {x i |i = 1, 2, ···, m}

[0112] (3) Determine the profile shape of each end surface based on the feature points

[0113] The profile shape S of the i-th end surface (1, 2, ···, m) i The determination method and the parameterization modeling are similar to the profile shape based on the feature point, but each end surface is processed separately.

[0114] Suppose the i-th end surface (i = 1, 2, 3, ···, m) is located in the X i The maximum value of the main hull section in the Y axis is The minimum value is The i-th end surface (i = 1, 2, 3, ···, m) is located in the X i The maximum value of the main hull section in the Z axis is The minimum value is

[0115] For example, when n = 0, the end surface is the entire main hull section corresponding to the X i coordinate, which can be expressed as:

[0116]

[0117] When n = 1, suppose the feature point is with a special coordinate component, which is Y+ or Y- or Z+ or Z-; Y+ represents the port side, Y- represents the starboard side, Z+ represents the deck, and Z- represents the bottom of the ship, as follows:

[0118] When the special coordinate component is Y+, which indicates the port side direction, the feature point is represented as The profile shape S of the end surface i can be described as:

[0119]

[0120] When the special coordinate component is Y-, which indicates the starboard direction, the feature point is represented as The profile shape S of the end surface i can be described as:

[0121]

[0122] When the special coordinate component is Z+, which indicates the deck direction, the feature point is represented as The profile shape S of the end surface i can be described as:

[0123]

[0124] When the special coordinate component is Z-, which indicates the bottom direction, the feature point is represented as The profile shape S of the end surface i can be described as:

[0125]

[0126] When n = 2, let the two feature points be and The end face profile shape S i is represented by a rectangular region formed by two points, and if the feature point includes a special coordinate component, the end face includes the corresponding deck, bottom, port or starboard:

[0127]

[0128] When n > 2, the feature point can be represented by a special coordinate component and a special coordinate point, the special coordinate point (P+, θ) or (P-, θ), which represents the intersection of the inclined bulkhead (non-horizontal bulkhead and non-vertical bulkhead) and the hull. Wherein, P- represents the intersection of the ray with the hull at an angle θ with the upper point of the coordinate point as the pole, and if there is no upper point, the tail point is taken; P+ represents the intersection of the ray with the hull at an angle θ with the lower point of the coordinate point as the pole, and if there is no lower point, the head point is taken; θ represents the angle (degree, clockwise) between the ray and the Y axis in the end face, and the value range is [0, 360). Let the boundary of the closed polygon formed by connecting the feature points in the set direction sequence in the YZ plane projection be L i , then the end face profile shape S i can be described as:

[0129] S i = {(x, y, z) | x = x i , (y, z) ∈ the region surrounded by L i}

[0130] In the formula, S i represents the end face profile shape, x i represents the X coordinate corresponding to the end face, and L i represents the boundary of the closed polygon formed by connecting the feature points in the set direction sequence in the YZ plane projection.

[0131] (4) Constructing a cabin model

[0132] First, the profile shape S i of each end face (i = 1, 2, 3, ···, m) is connected in the input order to form a whole geometric shape S, which is represented by a union here:

[0133]

[0134] Then, the constructed cabin model M is the intersection of this synthesized whole geometric shape S and the main hull model H, which can be represented by the formula:

[0135] M = S ∩ H

[0136] In the formula, M represents the cabin model, S represents the overall geometry of the profile connection and synthesis of each end surface, and H represents the main hull model.

[0137] Embodiment 2

[0138] The embodiment 2 provides a post-modeling system based on complex end hull section component feature point input, comprising:

[0139] A hull coordinate system construction unit is configured to set main elements of a ship and set a hull coordinate system as a rectangular orthogonal coordinate system O-XYZ, wherein an X axis is a ship length direction, a Y axis is a ship width direction, and a Z axis is a type depth direction.

[0140] A ship hull scale setting unit is configured to set a ship hull scale.

[0141] A ship hull model construction unit is configured to form a ship hull model by creating points, lines, surfaces, and bodies.

[0142] A multi-end surface parameter input unit is configured to determine a number of end surfaces required for constructing a cabin, input X coordinates of each end surface corresponding to the number, determine profile feature points of each end surface, sequentially sort the feature points of the end surface into a feature point sequence according to a rotation direction, and input the feature points of the end surface according to the sequence of the feature point sequence.

[0143] A cabin model construction unit is configured to construct a cabin model, and the specific steps are as follows:

[0144] An end surface position profile of a main hull is determined according to an X coordinate of the end surface.

[0145] A shape profile of the end surface is determined according to feature points in a feature point sequence corresponding to the end surface.

[0146] A body is connected and synthesized according to the input multiple end surfaces according to the sequence of the feature points, and a cabin is created by intersecting the body with the main hull.

[0147] Embodiment 3

[0148] The embodiment 3 provides a computer readable storage medium, and the computer readable storage medium stores a computer program.

[0149] The computer readable storage medium can include a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0150] The computer readable storage medium provided in the application is described in the above method embodiments, which will not be repeated herein.

[0151] It is to be understood that the above description is merely a preferred embodiment of the application and not in any way to restrict the application. Any modification, equivalent replacement and improvement made within the spirit and principle of the application shall be included in the protection scope of the application.

Claims

1. A modeling method based on input of feature points of complex end hull section components, characterized in that: include: S1. Set the main elements of the ship and set the hull coordinate system to the rectangular coordinate system O-XYZ, with the X axis being the direction of the ship's length, the Y axis being the direction of the ship's width, and the Z axis being the direction of the molded depth; S2. Set the ship hull scale; S3. Form a main hull model by creating points, lines, surfaces, and bodies; S4. Determine the number of end faces required to construct the cabin, and input the X coordinate of each end face corresponding to it; then determine the contour feature points of each end face, and sort them in a rotational direction to form a sequence of feature points of the end face; then input the feature points of the end face in the order of each end face feature point sequence; S5. Build the cabin model. The specific steps are as follows: Determine the position section of the main hull where the end face is located according to the X coordinate of the end face; Determine the shape outline of the end face according to the feature points in the feature point sequence corresponding to the end face; The composite body is connected one by one according to the sequence of feature points based on the input multiple end faces, and then intersected with the main hull to create a cabin.

2. The modeling method based on input of feature points of complex end hull section components according to claim 1 is characterized in that: The step S2 also includes: when the rib coordinate expression and the station coordinate expression are required, the origin type, the horizontal coordinate of station No. 0, the rib spacing, the horizontal coordinate of rib No. 0 and the number of equally spaced stations must be set.

3. The modeling method based on input of feature points of complex end hull section components according to claim 1 is characterized in that: In the step S4, when the number of the required end faces is 2, the required end faces are defined as the tail end face and the head end face, and the positions of the tail end face and the head end face of the cabin along the length direction of the ship are defined.

4. The modeling method based on input of feature points of complex end hull section components according to claim 3 is characterized in that: The number of end faces in S4 is consistent with the number of X coordinates where the end faces are located, that is, let x={x i |i=1,2,···,m} represents the set of coordinate values ​​of each end face in the X-axis direction, where m is the number of end faces, that is, there are m different x values ​​to determine the position of each end face in the direction of the ship's length.

5. The modeling method based on input of feature points of complex end hull section components according to claim 4 is characterized in that: The total number of feature point sequences in S4 is consistent with the number of X coordinates of the end faces, that is, for each end face i, where i∈(1,2,···,m), m is the number of end faces, let its contour feature point set Where n represents the number of feature points on each end face.

6. The modeling method based on input of feature points of complex end hull section components according to claim 5 is characterized in that: The number of feature points of each end face in S4 is the same, that is, the number is n. There may be repeated feature points in the feature point sequence of each end face.

7. The modeling method based on input of feature points of complex end hull section components according to claim 5 is characterized in that: The specific method for determining the shape contour of the end face according to the feature points in the feature point sequence corresponding to the end face in S5 is: For the i-th end face, i∈(1,2,···,m), m is the number of end faces, the contour shape S i , according to the contour feature point set P i The determination method is as follows: Let corresponding to the i-th end face, i∈(1,2,···,m), m is the number of end faces, and its X i The maximum value of the main hull section on the Y axis of the coordinate is The minimum value is Its location X i The maximum value of the main hull section on the Z axis of the coordinate is The minimum value is When n=0, the end face corresponds to X i The entire main hull section corresponding to the coordinates can be expressed as: When n=1, let the feature point be And it has special coordinate components, which are Y+ or Y- or Z+ or Z-; Y+ represents the port side, Y- represents the starboard side, Z+ represents the deck, and Z- represents the bottom of the ship, as follows: When the special coordinate component is Y+, indicating port direction, the feature point is represented as Then the end face profile shape S i It can be described as: When the special coordinate component is Y-, indicating the starboard direction, the feature point is represented as Then the end face profile shape S i It can be described as: When the special coordinate component is Z+, indicating that the deck direction is related, the feature point is expressed as Then the end face profile shape S i It can be described as: When the special coordinate component is Z-, indicating the direction of the bottom of the ship, the feature point is expressed as Then the end face profile shape S i It can be described as: When n=2, let the two feature points be and The end face profile shape S i It is represented by a rectangular area formed by two points. When the feature point includes a special coordinate component, the end surface includes the corresponding deck, bottom, port or starboard side: When n>2, the characteristic points can use special coordinate components and special coordinate points. Let the special coordinate point be (P+, θ) or (P-, θ), which represents the intersection of the inclined bulkhead and the hull. Among them, P- represents the intersection of the angle θ and the hull with the point above the coordinate point as the pole. If there is no previous point, the last point is taken; P+ represents the intersection of the angle θ and the hull with the point below the coordinate point as the pole. If there is no next point, the first point is taken; θ represents the angle between the ray and the Y axis in the end plane, and the value range is [0,360). Let the boundary of the closed polygon formed by connecting the feature points in the set direction be L i , then the end face profile shape S i It can be described as: S i ={(x,y,z)|x=x i ,(y,z)∈area is defined by L i Surrounded Where S i Indicates the end face profile shape, x i Indicates the X coordinate corresponding to the end face, L i Indicates the boundary of the YZ plane projection of a closed polygon formed by connecting feature points in a set direction.

8. According to the modeling method based on input of feature points of complex end hull section components according to claim 7, the specific method of creating the cabin by intersecting with the main hull in S5 is: First, the contour shape S of each end face i , i∈(1,2,···,m), m is the number of end faces, and they are connected in the order of input to form an overall geometric shape S, which is represented by a union: Then, the constructed cabin model M is obtained by intersecting the synthesized overall geometric shape S with the main hull model H, which can be expressed as: M=S∩H Where M represents the cabin model, S represents the overall geometric shape synthesized by connecting the contours of each end surface, and H represents the main hull model.

9. A modeling system based on the input of feature points of complex end hull section components, characterized in that: include: The hull coordinate system construction unit is used to set the main elements of the ship and set the hull coordinate system to the rectangular orthogonal coordinate system O-XYZ, where the X axis is the direction of the ship's length, the Y axis is the direction of the ship's width, and the Z axis is the direction of the depth; A ship hull scale setting unit, used for setting the ship hull scale; A hull main body model building unit is used to form a hull main body model by creating points, lines, surfaces and bodies; The multi-end face parameter input unit is used to determine the number of end faces required to construct the cabin and input the X coordinate of each end face accordingly; then determine the contour feature points of each end face and sort them in sequence according to a rotation direction to form a feature point sequence of the end face; then input the feature points of each end face in the order of the feature point sequence; The cabin model construction unit is used to construct the cabin model. The specific steps are as follows: Determine the position section of the main hull where the end face is located according to the X coordinate of the end face; Determine the shape outline of the end face according to the feature points in the feature point sequence corresponding to the end face; The composite body is connected one by one according to the sequence of feature points based on the input multiple end faces, and then intersected with the main hull to create a cabin.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program is executed by a processor to implement the modeling method based on input of feature points of complex end hull section components as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Marking method, system and equipment for outfitting installation information outside ship and storage medium

    CN113888734A

  • Main hull subdivision optimization method, device and equipment and storage medium

    CN116714738A