Hull structure modeling closed frame structure boundary identification method and computer system

By setting the rectangular pickup cursor and central crossover line in the computer-aided design software, the boundary lines of the ship's structural board frame are quickly selected, which solves the problems of cumbersome operation and inefficiency in the existing technology, and a fast and accurate modeling process is achieved, and design efficiency is improved.

CN119885314APending Publication Date: 2025-04-25SHANGHAI MERCHANT SHIP DESIGN & RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411703465.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing modeling method of ship structural mounts requires users to select each boundary line one by one, resulting in cumbersome operation, inefficient efficiency, low degree of automation, and inability to meet the needs of rapid modeling.

Method used

By setting the rectangular pickup cursor in the computer-aided design software and setting the central cross line therein, the boundary line of the closed frame structure is quickly and accurately selected.

Benefits of technology

It realizes the rapid and accurate selection of boundary lines of the closed frame structure, simplifies the modeling process, reduces workload, and improves modeling accuracy and design work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119885314A_ABST
    Figure CN119885314A_ABST
Patent Text Reader

Abstract

The invention discloses a hull structure modeling closed frame structure boundary identification method and a computer system. The boundary identification method comprises the following steps: setting a rectangular pickup cursor (1) in computer aided design software, and setting a central cross line; the coverage range of the rectangular pickup cursor is adjusted, so that the rectangular pickup cursor covers the closed frame structure, and the center cross line of the rectangular pickup cursor intersects with the boundary line of the closed frame structure; traversing all the graphs in the rectangular pickup cursor, judging whether the traversed graphs meet a boundary selection condition or not, and if the traversed graphs meet the boundary selection condition, selecting the traversed graphs; the boundary selection condition is that the graph intersects with the central cross line of the rectangular pickup cursor, and the graph is the boundary of the grillage. The boundary recognition method and the computer system can quickly and accurately select the boundary lines of the closed frame structure, the operation process is simple and quick, and the design work efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a ship modeling technology, and in particular to a closed frame structure boundary recognition method and a computer system for ship structure modeling. Background Art

[0002] In the field of ship structure plate modeling, existing technologies usually require users to select boundaries in a counterclockwise order to create a plate frame consisting of a closed contour. This process involves plane structure modeling, and users need to accurately select the lines that constitute the plate frame boundaries. Since the boundaries of a ship bulkhead structure are usually no more than four, the existing modeling method is relatively cumbersome in actual operation, requiring users to select each boundary line one by one, which not only increases the workload but also prolongs the modeling time.

[0003] To sum up, the main problems at present are:

[0004] The existing modeling method requires users to select each boundary line one by one. As a result, there are problems such as cumbersome operation, low efficiency, and low degree of automation in the modeling of ship structure plates. These problems limit the improvement of design efficiency and quality.

[0005] Specifically,

[0006] 1) The operation is cumbersome. When selecting the boundary of the template frame, the user needs to select each boundary line one by one. This process is not only time-consuming but also prone to errors, especially in complex structures.

[0007] 2) Low efficiency. Since each boundary needs to be manually selected, the existing modeling method is inefficient and not conducive to quickly completing the modeling task, especially in the design and construction process that requires rapid response.

[0008] 3) The degree of automation is low. The existing modeling methods lack automation support and cannot effectively use programming algorithms to simplify the modeling process, which limits the development of design automation and intelligence.

[0009] 4) It is not conducive to rapid modeling. In scenarios where board modeling needs to be completed quickly, existing technologies cannot meet the needs of rapid modeling, especially in urgent or time-sensitive projects. Summary of the invention

[0010] The purpose of the present invention is to provide a closed frame structure boundary recognition method and computer system for hull structure modeling. The boundary recognition method and computer system can quickly and accurately select the boundary lines of the closed frame structure. The operation process is simple and fast, which is conducive to improving the design work efficiency.

[0011] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:

[0012] A closed frame structure boundary recognition method for hull structure modeling comprises: in computer-aided design software, a rectangular picking cursor is set, and a center cross line is set in the rectangular picking cursor; the coverage range of the rectangular picking cursor is adjusted so that the rectangular picking cursor covers the closed frame structure, and the center cross line of the rectangular picking cursor intersects with the boundary line of the closed frame structure; all graphics within the rectangular picking cursor are traversed, and it is determined whether the traversed graphics meet the boundary selection condition, and if the boundary selection condition is met, the traversed graphics are selected.

[0013] Furthermore, the boundary selection condition is that "the graphic intersects with the center cross line of the rectangular pick cursor, and the graphic is the boundary of the rack."

[0014] Furthermore, in the process of traversing the boundaries, if there are repeated selected boundaries, the repeated and redundant boundaries are removed.

[0015] Furthermore, a zoom-in shortcut key and a zoom-out shortcut key are set in the computer-aided design software; the zoom-in shortcut key is used to zoom in on the rectangular picking cursor, and the zoom-out shortcut key is used to zoom out on the rectangular picking cursor.

[0016] Furthermore, the rectangular picking cursor is provided with three forms, namely a square cursor, a horizontal rectangular cursor and a vertical rectangular cursor, and the rectangular picking cursor can be switched according to needs.

[0017] Furthermore, a switching shortcut key is set in the computer-aided design software; the switching shortcut key is used to cyclically switch the three forms of the rectangular picking cursor, namely, a square, a horizontal rectangle and an upright rectangle.

[0018] A computer system is provided with a program capable of implementing the above-mentioned boundary recognition method.

[0019] Compared with the prior art, the boundary recognition method and computer system of the present invention have the following main beneficial effects:

[0020] In computer-aided design software, a rectangular picking cursor is set, and a center cross line is set in the rectangular picking cursor. The boundary lines of the closed frame structure are selected by using the method of "the center cross line of the rectangular picking cursor intersects with the lines of the closed frame structure as the boundary". The operation process is simple and fast, which greatly reduces the workload of modeling designers, is conducive to rapid modeling, improves modeling accuracy, and improves design work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1A schematic diagram of a panel frame boundary within a closed frame structure using the boundary recognition method of the present invention;

[0022] Figure 2 Schematic diagram of the selected panel frame boundary within the closed frame structure. DETAILED DESCRIPTION

[0023] The present invention will be further described below with specific embodiments:

[0024] This embodiment provides a closed frame structure boundary recognition method for hull structure modeling. It should be noted that the boundary recognition method of this embodiment is specifically implemented based on a computer-aided design software (CAD) and uses the Python programming language.

[0025] The boundary recognition method of this embodiment includes the following steps S1 to S4.

[0026] S1. In the computer-aided design software, three types of picking cursors are set, which are a square cursor, a horizontal rectangular cursor and a vertical rectangular cursor; these three types of picking cursors can be collectively referred to as a rectangular picking cursor 1.

[0027] It should be noted that, for the above three rectangular picking cursors 1 , a central cross line is set, that is, the cross line is set based on the center point of the rectangular picking cursor 1 , or in other words, the intersection point of the cross line is located at the center of the rectangular picking cursor 1 .

[0028] It should be noted that

[0029] The “horizontal rectangle” means that the two long sides of the rectangle are in a horizontal state, and the two short sides of the rectangle are in a vertical state;

[0030] The “vertical rectangle” means that the two long sides of the rectangle are in a vertical state, and the two short sides of the rectangle are in a horizontal state.

[0031] Three shortcut keys can be set in the computer-aided design software, and these three shortcut keys are used as switching shortcut keys, zooming in shortcut keys and zooming out shortcut keys respectively.

[0032] By pressing the switching shortcut key, the three forms of the rectangular picking cursor 1, namely, a square, a horizontal rectangle and a vertical rectangle, can be cyclically switched; when performing graphic editing, the form of the rectangular picking cursor 1 can be switched as needed.

[0033] By pressing the zoom-in shortcut key, the rectangular picking cursor 1 can be zoomed in.

[0034] By pressing the zoom-out shortcut key, the rectangular picking cursor 1 can be zoomed out.

[0035] S2, in the process of operating the computer-aided design software to edit the closed frame structure graphics, the user adjusts the size of the rectangular pick cursor 1 according to the closed frame structure, which is actually to adjust the coverage of the rectangular pick cursor 1 so that its coverage should be able to cover the closed frame structure. In this way, the center cross line of the rectangular pick cursor 1 should be able to intersect with the line of the closed frame structure as the boundary (such as Figure 1 (indicated by arrows A1, A2, A3, A4).

[0036] Specifically, the size of the rectangular picking cursor 1 is adjusted by pressing the zoom-in shortcut key and the zoom-out shortcut key.

[0037] It should be noted that the larger the size of the rectangular picking cursor 1 is adjusted, the longer the program running time will be.

[0038] It should be noted that the user mentioned in this article refers to the operator who uses the computer-aided design software.

[0039] It should be noted that the closed frame structure mentioned in this article refers to a structure that is enclosed by multiple panels and has a transparent middle part, such as a hatch structure, a porthole structure, etc. The boundary recognition method of this embodiment is essentially to quickly pick up and select the "boundary of the panel at the transparent middle part" in the computer-aided design software. For the convenience of description, the "boundary of the panel at the transparent middle part in the closed frame structure" is referred to as the "boundary of the closed frame structure" (refer to Figure 2 The selected boundary line in 2).

[0040] S3, using the existing Python programming language to compile a program (it can also be compiled using other forms of programming languages). For the convenience of description, the compiled program is called a boundary picking program.

[0041] In the computer-aided design software, you can call and start the boundary picking program, which can achieve the following functions:

[0042] Get all the graphics within the rectangular picking cursor 1, and traverse the graphics in a counterclockwise order of 0 degrees (as indicated by arrow A1), 90 degrees (as indicated by arrow A2), 180 degrees (as indicated by arrow A3), and 270 degrees (as indicated by arrow A4), and determine whether the traversed graphics meet the predetermined boundary selection conditions. If the boundary selection conditions are met, select the traversed graphics (the selected graphics at this time are actually the boundary lines).

[0043] The selected graphics are mostly the boundaries of closed frame structures. In this way, the selection of the boundaries of closed frame structures becomes very fast and accurate.

[0044] The boundary selection condition is that "the figure intersects with the center cross line of the rectangular pick cursor 1, and the figure is the boundary of another rack."

[0045] See also Figure 1 , the previously mentioned "the graphic intersects with the center cross line of the rectangular pick cursor 1" is as follows Figure 1 Indicated by arrows A1, A2, A3, and A4.

[0046] See also Figure 2 , Figure 2 The thicker line shown in FIG. 1 is the finally selected boundary line 2 .

[0047] S4, in the process of traversing the boundaries, if there are repeated selected boundaries, the repeated and redundant boundaries are removed.

[0048] It should be noted that the boundary identification method of this embodiment exists in the form of a computer program in the computer where the computer-aided design software is located. The above computer program can be called in the computer-aided design software to implement the steps of the above boundary identification method.

[0049] More specifically, the computer program for implementing the boundary identification method is compiled using the Python programming language.

[0050] This embodiment also provides a computer system, in which the aforementioned computer-aided design software is running, and the computer system is also provided with a program capable of implementing the above-mentioned boundary recognition method, and can execute the program to implement the boundary recognition method.

[0051] The boundary recognition method and computer system of this embodiment have the following advantages:

[0052] 1) In this embodiment, in the computer-aided design software, a rectangular picking cursor 1 is set, and a center cross line is set in the rectangular picking cursor 1. The boundary lines of the closed frame structure are selected by "the center cross line of the rectangular picking cursor 1 intersects with the lines of the closed frame structure as the boundary". The operation process is simple and fast, which greatly reduces the workload of modeling designers, can achieve rapid modeling, improve modeling accuracy, and improve work efficiency.

[0053] In addition, the boundary recognition method of this embodiment has other advantages, as follows:

[0054] 2) By setting three different shapes of picking cursors (square cursor, horizontal rectangular cursor and vertical rectangular cursor), and allowing users to cycle through these shapes by pressing keys, users can choose the appropriate cursor shape according to the actual modeling structure framework, which improves the flexibility and adaptability of the operation;

[0055] 3) The user can reduce or enlarge the cursor shape by key operation to adapt to different sizes of plate frame structures. This allows more accurate positioning and selection of boundaries, improving modeling accuracy;

[0056] 4) During the traversal process, the graphics that meet the conditions are selected as boundaries, and duplicate boundaries are automatically removed. This ensures the accuracy and uniqueness of the boundary data and avoids possible errors in manual selection.

[0057] The above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A closed frame structure boundary identification method for hull structure modeling, characterized by: The boundary recognition method comprises: In the computer-aided design software, a rectangular pick cursor (1) is set, and a center crosshair is set in the rectangular pick cursor (1); Adjusting the coverage of the rectangular pick cursor (1) so that the rectangular pick cursor (1) covers the closed frame structure and the center cross line of the rectangular pick cursor (1) intersects with the boundary line of the closed frame structure; All graphics within the rectangular picking cursor (1) are traversed to determine whether the traversed graphics meet the boundary selection condition. If the boundary selection condition is met, the traversed graphics are selected.

2. According to claim 1, the closed frame structure boundary identification method for hull structure modeling is characterized by: The boundary selection condition is that "the figure intersects with the center cross line of the rectangular pick cursor (1), and the figure is the boundary of the rack".

3. The closed frame structure boundary identification method for hull structure modeling according to claim 1 is characterized by: In the process of traversing the boundaries, if the selected boundaries are repeated, the repeated and redundant boundaries are removed.

4. The closed frame structure boundary identification method for hull structure modeling according to claim 1 is characterized by: A zoom-in shortcut key and a zoom-out shortcut key are set in the computer-aided design software; the zoom-in shortcut key is used to zoom in on the rectangular picking cursor (1), and the zoom-out shortcut key is used to zoom out on the rectangular picking cursor (1).

5. The closed frame structure boundary identification method for hull structure modeling according to claim 1 is characterized by: The rectangular picking cursor (1) is provided with three forms, namely a square cursor, a horizontal rectangular cursor and a vertical rectangular cursor. The rectangular picking cursor (1) can switch forms according to needs.

6. The closed frame structure boundary identification method for hull structure modeling according to claim 5 is characterized by: A switching shortcut key is set in the computer-aided design software; the switching shortcut key is used to cyclically switch the three forms of the rectangular picking cursor (1), namely, a square, a horizontal rectangle and an upright rectangle.

7. A computer system, characterized in that: The computer system is provided with a program capable of implementing the boundary recognition method according to any one of claims 1 to 6.