Modeling method and system based on complex end hull section component feature point input
Through the modeling method based on the feature point input of complex end hull section components, the problems of low efficiency, difficulty in guaranteeing accuracy and poor flexibility in complex designs are solved, and high-precision and flexible cabin model construction are achieved, which improves the efficiency of ship design and manufacturing.
Patent Information
- Application Number
- CN202411945194.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2044-12-27
AI Technical Summary
When facing the design of complex hull cabins, traditional hull modeling methods have problems such as low modeling efficiency, difficulty in ensuring accuracy and poor flexibility, which is difficult to meet the requirements of modern ships for high-precision design and manufacturing.
By defining the usage rules of feature points, selecting the key feature points of the cabin, and defining and constructing the geometric shape and structure of the cabin based on these feature points, forming a modeling method based on the input of feature points of the complex end hull section.
It realizes highly accurate and flexible customization of the cabin model, meets the ship's demand for high-precision design and diversified functions, and improves modeling speed and design and manufacturing process efficiency.
Smart Images

Figure CN120086966A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of hull cabin modeling, and more specifically, relates to a modeling method and system based on the input of feature points of complex end hull section components. Background Art
[0002] At present, with the booming development of the global shipbuilding industry, ship design and manufacturing technologies are constantly evolving. Among them, hull modeling technology plays a key role in the ship field. In particular, three-dimensional modeling technology has been widely applied in many important aspects such as ship design, manufacturing, management, and subsequent simulation analysis. As the core component of a ship, the accuracy and efficiency of hull cabin modeling play a decisive role in the quality and performance of the entire ship.
[0003] Traditional hull modeling methods mainly rely on the experience of designers and manual operations. Usually, the overall hull framework is first constructed, and then the shapes and structures of each cabin are gradually refined. This method has many obvious drawbacks when dealing with complex hull cabin designs. On the one hand, its modeling efficiency is extremely low. Designers need to spend a lot of time and energy drawing and adjusting the outlines of the cabins, repeatedly performing cumbersome measurements and modifications. This not only prolongs the ship design cycle, increases labor costs, but also may lead to the accumulation of errors and mistakes due to human negligence, thus affecting the progress and quality of the entire project. On the other hand, it is difficult to guarantee the accuracy of traditional methods. For cabins with complex shapes, especially those with irregular boundaries and multiple special structures, it is difficult to accurately determine their geometric shapes and positional relationships, thus unable to meet the strict requirements of modern ships for high-precision design and manufacturing. In addition, traditional modeling methods lack flexibility. Once the design scheme needs to be adjusted, a large amount of basic work often needs to be redone, which is not conducive to quickly responding to design changes and optimization requirements and is difficult to adapt to the 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 no mature, efficient, and accurate modeling method based on the input of feature points of complex end hull section components. Some existing attempts are either imperfect in the definition and usage rules of feature points, resulting in a chaotic and error-prone modeling process; or lack effective algorithms and processes when dealing with multi-end complex cabins, unable to meet the diverse needs of complex cabin modeling in actual engineering. Therefore, there is an urgent need for an innovative hull 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 ship industry in the global market. Summary of the Invention
[0005] The present invention proposes a method for rapid modeling after inputting feature points based on complex end hull section components, which is a modeling method that defines and constructs the geometric shape and structure of a cabin by defining the usage rules of feature points, selecting key feature points of the cabin, and based on these feature points.
[0006] In view of the above defects or improvement requirements of the prior art, as the first aspect of the present invention, the present invention provides a modeling method after inputting feature points based on complex end hull section components, including:
[0007] S1. Set the main elements of the ship and set the hull coordinate system as a right-angled orthogonal coordinate system O-XYZ, where the X-axis is the ship length direction, the Y-axis is the ship width direction, and the Z-axis is the molded depth direction;
[0008] S2. Set the ship hull scale;
[0009] S3. Form the main hull model of the ship's hull by creating points, lines, surfaces, and solids;
[0010] S4. Determine the number of end faces required to construct the cabin, and input the X coordinate of each of these end faces correspondingly; then determine the contour feature points of each end face, and arrange them in a sequence in a rotating direction to form the feature point sequence of the end face; then input the feature points of the end face in sequence according to the order of each end face feature point sequence;
[0011] S5. Construct the cabin model, and the specific steps are as follows:
[0012] Determine the position section of the main hull where the end face is located according to the end face X coordinate;
[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 the input multiple end faces into a combined body one by one according to the feature point order, and then intersect with the main hull to create the cabin.
[0015] Further, the step S2 further includes: when the rib position coordinate expression and the station position coordinate expression are required to be used, the origin type, the abscissa of station 0, the rib position spacing, the abscissa of rib 0, and the number of equally spaced stations must be set.
[0016] Further, 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 ship length direction are defined.
[0017] Further, the number of the end faces in the S4 is consistent with the number of X coordinates of the end faces, that is, let x = {x iThe set {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 positions of each end face in the ship length direction.
[0018] Further, the total number of the feature point sequences in S4 is consistent with the number of X coordinates where the end faces are located. That is, for each end face i (1, 2, ···, m), let its contour feature point set 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, all are the number n, and there may be repeated feature points in the feature point sequence of a single end face.
[0020] Further, 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 as follows:
[0021] For the contour shape S of the i-th end face (i = 1, 2, 3, ···, m) i , according to its contour feature point set P i The determination method is as follows:
[0022] Let it correspond to the i-th end face (i = 1, 2, 3, ···, m), and the maximum value of the main hull section at its X i coordinate on the Y-axis is The minimum value is The maximum value of the main hull section at its X i coordinate on the Z-axis is The minimum value is
[0023] When n = 0, then the end face is the entire main hull section corresponding to the X i coordinate, which can be expressed as:
[0024]
[0025] When n = 1, let the feature point be and it has special coordinate components, and its special coordinate components 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. Specifically as follows:
[0026] When the special coordinate component is Y+, indicating the port side direction, the feature point is expressed as Then the contour shape S of the end face i can be described as:
[0027]
[0028] When the special coordinate component is Y-, it indicates the relevant starboard direction, and the feature point is represented as Then the end face contour shape S i can be described as:
[0029]
[0030] When the special coordinate component is Z+, it indicates the relevant deck direction, and the feature point is represented as Then the end face contour shape S i can be described as:
[0031]
[0032] When the special coordinate component is Z-, it indicates the relevant bottom direction of the ship, and the feature point is represented as Then the end face contour shape S i can be described as:
[0033]
[0034] When n = 2, let the two feature points be and The end face contour shape S i is represented by the rectangular area formed by the two points. When the feature points include special coordinate components, the tail end face includes the corresponding deck, bottom, port side or starboard:
[0035]
[0036] When n > 2, the feature points can use special coordinate components and special coordinate points, the special coordinate points (P+, θ) or (P-, θ), to represent the intersection points of the inclined bulkhead (non-horizontal bulkhead and non-vertical bulkhead) and the hull. Among them, P- represents the intersection point of the ray with the hull at an angle θ with the upper point of this coordinate point as the pole. If there is no previous point, the tail point is taken; P+ represents the intersection point of the ray with the hull at an angle θ with the lower point of this coordinate point as the pole. If there is no next 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);
[0037] Let the boundary of the closed polygon formed by connecting the feature points in the set direction sequence projected onto the YZ plane be L i , then the end face contour shape S i can be described as:
[0038] S i = {(x, y, z)|x = xi, (y, z) ∈ the area enclosed by L i}
[0039] In the formula, S iRepresents the end face contour shape, x i Represents the X coordinate corresponding to this end face, L i Represents the boundary of the projection of the closed polygon formed by connecting the feature points in the set direction sequence on the YZ plane.
[0040] Furthermore, the specific method for creating the cabin by intersecting with the main hull in S5 is as follows:
[0041] First, the contour shapes S of each end face i (i = 1, 2, 3, ···, m) are synthesized into a whole geometric shape S in the input order by connection, which is represented by the union here:
[0042]
[0043] Then, the constructed cabin model M is obtained by taking the intersection of this synthesized whole geometric shape S and the main hull model H, which can be expressed by the formula:
[0044] M = S ∩ H
[0045] In the formula, M represents the cabin model, S represents the whole geometric shape synthesized by connecting the contours of each end face, and H represents the main hull model.
[0046] As the second aspect of the present invention, there is also provided a modeling system based on the input of feature points of complex end hull section components, including:
[0047] A hull coordinate system construction unit for setting the main elements of the ship and setting the hull coordinate system as a right-angled orthogonal coordinate system O-XYZ, with the X-axis in the ship length direction, the Y-axis in the ship width direction, and the Z-axis in the molded depth direction;
[0048] A ship hull scale setting unit for setting the ship hull scale;
[0049] A hull main hull model construction unit for forming a hull main hull model by creating points, lines, surfaces, and solids;
[0050] A multi-end face parameter input unit for determining the number of end faces required to construct the cabin and correspondingly inputting the X coordinate of each of its end faces; then determining the contour feature points of each end face and sequentially sorting them in a rotation direction to form the feature point sequence of this end face; then sequentially inputting the feature points of this end face according to the order of each end face feature point sequence;
[0051] A cabin model construction unit for constructing a cabin model, and the specific steps are as follows:
[0052] Determine the position section of the main hull where the end face is located according to the end face X coordinate;
[0053] Determine the shape contour of the end face according to the feature points in the sequence of feature points corresponding to the end face;
[0054] Connect the synthetic body one by one according to the order of feature points for multiple input end faces, and then intersect with the main hull to create a cabin.
[0055] As a third aspect of the present invention, it also relates to a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor for a modeling method based on the input of feature points of complex end hull section components.
[0056] Generally speaking, compared with the prior art through the above technical solutions conceived by the present invention, the following beneficial effects can be achieved:
[0057] 1. The modeling method of the present invention based on the input of feature points of complex end hull section components forms a stable modeling basis by strictly defining the main elements of the ship and the hull scale. At the same time, it refines the feature point input rules, covers various special coordinate representations and precise shape determination methods corresponding to the quantity, and constructs a complete system from feature points to precise cabin models, solving the problem of low accuracy in traditional hull modeling, achieving the effect of highly accurate construction of cabin models and meeting the high-precision requirements of various links of the ship for models, and providing a precise and reliable model basis for subsequent design and manufacturing work.
[0058] 2. The modeling method of the present invention based on the input of feature points of complex end hull section components takes feature points as the key control points for model adjustment, and various modification operations can be conveniently performed on the feature points of multiple end faces in multi-end face modeling, including adding, deleting, moving, changing coordinate values, and supporting the input of repeated feature points, solving the dilemma of poor flexibility in traditional hull modeling, achieving the effect of highly flexible customization of cabin models and meeting the diverse function and design change requirements of the ship, and providing strong support for the personalized development of the ship in different application scenarios.
[0059] 3. The modeling method of the present invention based on the input of feature points of complex end hull section components combines the convenience of using the head and tail end faces for simple two-end face cabins with the adaptability of multi-end face modeling for dealing with complex multi-end face cabins. According to different cabin situations, simple head and tail ends or X coordinates and contour feature points of multiple end faces are respectively input, and combined with specific synthesis and intersection algorithms, solving the problem of low efficiency in traditional hull modeling, achieving the effect of greatly improving the modeling speed and efficiently completing the construction of various cabin models, and strongly promoting the acceleration of the ship design and manufacturing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a schematic flowchart of the method of a preferred embodiment of the present invention;
[0061] Figure 2Schematic diagram of the main algorithm flow of the preferred embodiment of the present invention;
[0062] Figure 3 Schematic diagram of multiple end faces of the preferred embodiment of the present invention;
[0063] Figure 4 Schematic diagram of constructing a cabin model by parametric modeling of the preferred embodiment of the present invention;
[0064] Figure 5 Schematic diagram of connecting the feature points of the head and tail end faces into a solid of the preferred embodiment of the present invention;
[0065] Figures 6 - 29 Schematic diagram of end faces in different situations of the preferred embodiment of the present invention. Detailed implementation manners
[0066] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0067] Embodiment 1
[0068] Please refer to Figure 1 , Embodiment 1 of the present invention provides a modeling method based on the input of feature points of complex end hull section components, including:
[0069] Step 1. Set the main ship elements: Set the main ship elements, such as the length between perpendiculars, the regulatory ship length, the molded breadth, and the molded depth, etc. The hull coordinate system is a right-angled orthogonal coordinate system, the x-axis is the ship length direction, the Y-axis is the ship breadth direction, and the Z-axis is the molded depth direction;
[0070] Step 2. Set the ship hull scale; When the rib position coordinate expression and the station position coordinate expression are required, the origin type, the abscissa of station 0, the rib spacing, the abscissa of rib 0, and the number of equally spaced stations must be set.
[0071] Step 3. Form the main hull model of the hull by creating points, lines, surfaces, and solids;
[0072] Step 4. Determine the number of end faces required for constructing the cabin, and correspondingly input the X coordinate of each end face; then determine the contour feature points of each end face, and sort them in a rotational direction in sequence to form the feature point sequence of the end face; then input the feature points of the end face in sequence according to the order of each end face feature point sequence;
[0073] Step 5. Construct the cabin model, and the specific steps are as follows:
[0074] Determine the position section of the main hull where the end face is located according to the X coordinate of the end face;
[0075] Determine the shape contour of the end face according to the feature points in the sequence of feature points corresponding to the end face;
[0076] Connect the composite body one by one according to the feature point order for multiple input end faces, and then intersect with the main hull to create a cabin.
[0077] Specifically, the above steps are further expanded and supplemented with examples as follows:
[0078] Please refer to Figure 2 , in this embodiment, when the number of required end faces is 2, enter the parametric modeling step, define the required end faces as the aft end face and the forward end face, and define the positions of the aft end face and the forward end face of the cabin along the ship length direction. The specific parametric modeling steps are as follows:
[0079] 1. Input the X coordinates of the aft end and the forward end of the cabin: Define the positions of the aft end face and the forward end face of the cabin along the ship length direction;
[0080] 2. Input the profile feature points of the aft end and the forward end of the cabin: Input the profile feature points of the aft end and the forward end faces. The profile feature points are YZ plane coordinate points, and the number of feature points of the forward and aft end faces should be the same. When only the feature points of one end face are input, it means that the profile feature points of the forward and aft end faces are the same. When both the forward and aft end face feature points are missing, it means the entire section. Set the special coordinate components of the feature points, Y+ represents the port side, Y- represents the starboard side, Z+ represents the deck, and Z- represents the bottom of the ship;
[0081] 3. Construct the cabin model: Construct the cabin model based on the profile feature points of the aft end and the forward end faces.
[0082] Please refer to Figure 2 , in this embodiment, when the number of required end faces is greater than 2, then enter the multi-end face modeling step, and the specific steps are as follows:
[0083] 1. Input the X coordinates of multiple end faces: The number of x coordinates should be consistent with the number of end faces. For example, if there are 3 end faces, then fill in 3 x values;
[0084] 2. Input the profile feature points of multiple end faces: The number of multi-end face point sequences should be consistent with the number of X coordinates;
[0085] 3. Construct the cabin model: Please refer to Figure 3 , connect the composite body one by one according to the feature point order for the input multiple end faces, and then intersect with the main hull to create a cabin.
[0086] In the above two methods, the difference lies only in the specific number of end faces adopted. When only two end faces are adopted, for the sake of convenience, the two end faces are defined as the tail end face and the head end face of the cabin respectively. Also, at the same time, because the head end face and the tail end face are of great representativeness in the structural definition of the ship's cabin. They can determine the starting and ending positions of the cabin in the ship length direction, just like two opposite faces of a cuboid. Through these two faces, the length range of the cabin can be basically delimited, thus providing a key longitudinal constraint for the construction of the entire cabin and making the position of the cabin in the overall ship structure clear.
[0087] Please refer to Figure 4 , in this embodiment, taking parametric modeling as an example, the algorithm flow for constructing the cabin model in the third step is as follows:
[0088] First, judge the number of profile feature points of the input tail end face:
[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 include special coordinate components (Y+, Y-, Z+, Z-), such as the feature point (Z-, 0.8). The tail end face is the part of the main hull section corresponding to the X coordinate below 0.8 m;
[0092] Example:
[0093]
[0094] (3) The number of feature points is 2: The tail end face is the rectangular area of the diagonal of the two feature points. If the feature points include special coordinate components, the tail end face includes the corresponding deck, bottom, port side or starboard side;
[0095] Example:
[0096]
[0097] (4) The number of feature points is greater than 2: The tail end face is the closed area formed by connecting the feature points in a clockwise order (connecting the tail and the head). At this time, special coordinate components and special coordinate points can be used. Such as the special coordinate point (P+, θ) or (P-, θ), which represents the intersection point of the inclined bulkhead (neither horizontal nor vertical bulkhead) and the hull. Among them, P- represents the intersection point of the ray with the hull at an angle θ with the previous point of this coordinate point as the pole. If there is no previous point, the tail point is taken; P+ represents the intersection point of the ray with the hull at an angle θ with the next point of this coordinate point as the pole. If there is no next 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] Example:
[0099]
[0100]
[0101] Then construct the head end face, and the number of feature points on the head end face is the same as that of the tail end face, and the construction method is the same.
[0102] Finally, the feature points of the head and tail end faces are connected into a solid, and the intersection with the main hull is calculated to complete the construction of the cabin model.
[0103] Please refer to Figure 5 , this method supports inputting duplicate end face contour feature points. For example, in the cabin shown in the following figure, the second point on the head end face corresponds to two points on the tail end face. When inputting the coordinates of the head end face, it is supported to input the same coordinates for point 2 and point 3 to correspond to the two points on the tail end face.
[0104] In other preferred embodiments, the specific steps for multi-end face modeling are as follows:
[0105] (1) Define relevant variables
[0106] Let the right orthogonal coordinate system where the main hull model of the ship is located be O-XYZ, the X-axis is the ship length direction, the Y-axis is the ship width direction, and the Z-axis is the molded depth direction.
[0107] Let x = {x i | i = 1, 2, ···, m} represent 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 positions of each end face in the ship length direction.
[0108] For each end face i (1, 2, ···, m), let its set of contour feature points be where n represents the number of feature points on each end face, is the coordinate of each feature point in the YZ plane.
[0109] (2) Determine the positions of each end face in the ship length direction
[0110] The positions occupied by each end face in the X-axis direction can be determined by the coordinate values x i respectively, and as a whole, it can be regarded as a discrete set of positions:
[0111] I x = {x i | i = 1, 2, ···, m}
[0112] (3) Determine the contour shapes of each end face based on the feature points
[0113] For the contour shape S of the i-th end face (1, 2, ···, m) i , its determination method is similar to that of determining the contour shape based on feature points in parametric modeling, but it needs to be processed separately for each end face.
[0114] Let it correspond to the i-th end face (i = 1, 2, 3, ···, m), and the maximum value of the main hull section at its X i coordinate on the Y-axis is The minimum value is The maximum value of the main hull section at its X i coordinate on the Z-axis is The minimum value is
[0115] For example, when n = 0, then this end face is the entire main hull section corresponding to the X i coordinate, which can be expressed as:
[0116]
[0117] When n = 1, let the feature point be and it has special coordinate components. Its special coordinate components 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. Specifically as follows:
[0118] When the special coordinate component is Y+, indicating it is related to the port side direction, the feature point is expressed as Then the contour shape S of this end face i can be described as:
[0119]
[0120] When the special coordinate component is Y-, indicating it is related to the starboard side direction, the feature point is expressed as Then the contour shape S of this end face i can be described as:
[0121]
[0122] When the special coordinate component is Z+, indicating it is related to the deck direction, the feature point is expressed as Then the contour shape S of this end face i can be described as:
[0123]
[0124] When the special coordinate component is Z-, indicating it is related to the bottom of the ship direction, the feature point is expressed as Then the contour shape S of this end face i can be described as:
[0125]
[0126] When n = 2, let the two feature points be and The end face contour shape S i is represented by the rectangular area formed by the two points. If the feature points include special coordinate components, the end face includes the corresponding deck, bottom, port side or starboard side:
[0127]
[0128] When n>2, the feature points can use special coordinate components and special coordinate points, the special coordinate points (P+, θ) or (P-, θ), to represent the intersection points of the inclined bulkhead (non-horizontal bulkhead and non-vertical bulkhead) and the hull. Among them, P- represents the intersection point of the ray with the hull at an angle θ with the previous point of this coordinate point as the pole. If there is no previous point, the tail point is taken; P+ represents the intersection point of the ray with the hull at an angle θ with the next point of this coordinate point as the pole. If there is no next point, the head point is taken; θ represents the angle (in degrees, 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 in the YZ plane projection be L i , then the end face contour shape S i can be described as:
[0129] S i = {(x, y, z)|x = x i , (y, z) ∈ the area enclosed by L i}
[0130] In the formula, S i represents the end face contour shape, x i represents the X coordinate corresponding to this end face, and L i represents the boundary of the closed polygon formed by connecting the feature points in the set direction in the YZ plane projection.
[0131] (4) Construct the cabin model
[0132] First, the contour shapes S i (i = 1, 2, 3, ···, m) of each end face are connected and synthesized into an overall geometric shape S in the input order, which is represented by the union here:
[0133]
[0134] Then, the constructed cabin model M is obtained by taking the intersection of this synthesized overall geometric shape S and the main hull model H, which can be expressed by the formula:
[0135] M = S ∩ H
[0136] In the formula, M represents the cabin model, S represents the overall geometric shape synthesized by connecting the contours of each end face, and H represents the main hull model.
[0137] Example 2
[0138] This Example 2 provides a modeling system based on the input of characteristic points of complex end hull section components, including:
[0139] A hull coordinate system construction unit for setting the main elements of the ship and setting the hull coordinate system as a right-angled orthogonal coordinate system O-XYZ, where the X-axis is the ship length direction, the Y-axis is the ship width direction, and the Z-axis is the molded depth direction;
[0140] A ship hull scale setting unit for setting the ship hull scale;
[0141] A hull main hull model construction unit for forming a hull main hull model by creating points, lines, surfaces, and solids;
[0142] A multi-end face parameter input unit for determining the number of end faces required to construct the cabin and correspondingly inputting the X coordinate of each end face; then determining the contour characteristic points of each end face and sequentially sorting them in a rotation direction to form a characteristic point sequence of the end face; then sequentially inputting the characteristic points of the end face according to the order of each end face characteristic point sequence;
[0143] A cabin model construction unit for constructing a cabin model, and the specific steps are as follows:
[0144] Determine the position section of the main hull where the end face is located according to the end face X coordinate;
[0145] Determine the shape contour of the end face according to the characteristic points in the characteristic point sequence corresponding to the end face;
[0146] Connect and synthesize the input multiple end faces one by one according to the characteristic point order, and then intersect with the main hull to create a cabin.
[0147] Example 3
[0148] This Example 3 provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the above-mentioned modeling methods based on the input of characteristic points of complex end hull section components can be realized.
[0149] The computer-readable storage medium may include various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs.
[0150] For the introduction of the computer-readable storage medium provided in this application, please refer to the above method embodiments, and details are not described herein again.
[0151] It is easy for those skilled in the art to understand that the above are only preferred embodiments of the present invention, and are not used to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
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, where the X axis is the direction of the ship length, the Y axis is the direction of the ship width, and the Z axis is the direction of the depth; S2. Set the ship hull scale; S3. Form a main hull model of the ship 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 rotation direction to form a feature point sequence 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 contour 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. According to claim 1, a modeling method based on input of feature points of complex end hull section components is characterized in that: The step S2 also includes: when the rib coordinate expression and the station coordinate expression are needed, the origin type, the horizontal coordinate of the station No. 0, the rib spacing, the horizontal coordinate of the rib No. 0 and the number of equally spaced stations must be set.
3. According to claim 1, a modeling method based on input of feature points of complex end hull section components 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. According to claim 3, a modeling method based on input of feature points of complex end hull section components 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. According to claim 4, a modeling method based on input of feature points of complex end hull section components is characterized in that: The total number of feature point sequences in S4 is consistent with the number of X coordinates of the end face, that is, for each end face i (1, 2, ···, m), let its contour feature point set Where n represents the number of feature points on each end surface.
6. According to claim 5, a modeling method based on input of feature points of complex end hull section components 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 the single end face.
7. A modeling method based on input of feature points of complex end hull section components according to claim 1 or 5, characterized in that: The specific method of 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 contour shape S of the i-th end face (i=1, 2, 3, ···, m) i , according to the contour feature point set P i The determination method is as follows: Let the corresponding end face (i = 1, 2, 3, ···, m) be X i The maximum value of the main hull section on the Y axis of the coordinate is The minimum value is Where X i The maximum value of the main hull section of the coordinate on the Z axis 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-side orientation, 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 Y-, indicating the starboard direction, 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 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: 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, where P- represents the intersection of the ray and the hull at the angle θ with the previous point of the coordinate point as the pole. If there is no previous point, the tail point is taken; P+ represents the intersection of the ray and the hull at the angle θ with the next point of the coordinate point as the pole. If there is no next point, the head 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 and projected on the YZ plane 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 by In the formula, 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 projection on the YZ plane of a closed polygon formed by connecting feature points in a set direction.
8. According to the modeling method based on the input of feature points of complex end hull section components according to claim 7, the specific method of creating a cabin by intersecting with the main hull in S5 is: First, the contour shape S of each end face i (i=1,2,3,…,m) are connected in the order of input to form a whole geometric shape S, which is represented by a union: Then, the constructed cabin model M is obtained by finding the intersection of the synthesized overall geometric shape S and 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 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 a rectangular orthogonal coordinate system O-XYZ, where the X axis is the direction of the ship length, the Y axis is the direction of the ship width, and the Z axis is the direction of the mold depth; A ship hull scale setting unit, used for setting the ship hull scale; A ship hull main body model building unit is used to form a ship 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 sequentially sort them according to a rotation direction to form a feature point sequence of the end face; then sequentially input the feature points of the end face according to the order of each end face feature point sequence; The cabin model building unit is used to 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 contour 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 claims 1-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
Automatic creation method of ship outfitting profile end cutting model and application thereof
CN117216821A
Parametric design method for integrated energy-saving propulsion system of ship
CN117592399A
Ship data conversion method and system
CN118965580A