Batch generation method, system and equipment for opening holes of ship body structure and medium
The hole design tool developed using Smart3D software utilizes a basic library of hole rules to generate holes in the hull structure in batches, solving the problems of low generation efficiency and poor accuracy in existing technologies, and achieving efficient and accurate hole generation.
Patent Information
- Application Number
- CN202411118013.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-26
AI Technical Summary
Existing technologies have low efficiency and poor accuracy in generating openings for ship hull structures, resulting in low design efficiency and time-consuming modifications in the later stages.
A hole design tool was developed using Smart3D software. The tool adds batch hole-making functionality by writing a program. It generates hull structure holes using a basic hole-making rule library. This includes determining hole parameter data, selecting target hole data, and running the design tool to generate 3D models in batches. When an anomaly occurs, an alarm log is generated and the data is adjusted.
It improved the accuracy and standardization of hull opening generation, significantly increased generation efficiency, reduced human error, and enabled rapid batch generation.
Smart Images

Figure CN119026196A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ship hull design, and in particular to a method, system, equipment and medium for batch generating openings in a hull structure. Background Art
[0002] The hull structure openings run through the entire design process of the hull, and mainly refer to openings of various shapes and sizes opened on the hull structure beams, wall panels, platforms and decks. The traditional hull structure opening design adopts serial design technology. The design content of each design stage has a clear division of labor and is independent of each other, without a high logical continuity. As the design process continues to advance, the complexity of the design content gradually shows an increasing trend, resulting in disadvantages such as low design efficiency and time-consuming later modifications.
[0003] Ship structures are complex and the number of openings is huge. How to use the accumulated opening knowledge to build a general knowledge base and realize the sharing and reuse of general opening principles is a key factor in improving the efficiency of opening design. Summary of the invention
[0004] The technical problem to be solved by the present invention is to overcome the defects of low efficiency and poor accuracy in the prior art of hull structure opening generation, and to provide a method, system, equipment and medium for batch generation of hull structure openings.
[0005] The present invention solves the above technical problems through the following technical solutions:
[0006] In a first aspect, the present invention provides a method for batch generating openings in a hull structure, the method comprising:
[0007] Determine the opening parameter data of the hull structure in the target hull design drawing; the opening parameter data includes the opening type, opening position parameter and opening size parameter of the longitudinal and transverse members;
[0008] According to the opening parameter data, target opening data is selected in a pre-configured opening design tool; the opening design tool is obtained by using Smart3D software to write a development program to add a batch opening function to a preset opening rule basic library; the opening rule basic library is created according to specification provisions, node details and detailed design drawings of various ships; the node details include rules for opening type, opening size and opening shape, and the detailed design drawing includes rules for opening detailed type, opening position and opening quantity;
[0009] The opening design tool is run to batch generate a 3D model of a hull after openings are made in a plurality of components.
[0010] Preferably, the step of selecting target hole opening data in a preconfigured hole opening design tool according to the hole opening parameter data comprises:
[0011] Select the longitudinal and transverse target components of the required openings;
[0012] The detailed opening type, opening rib number and corresponding offset distance data and length and width data of the longitudinal and transverse target components are configured.
[0013] Preferably, the batch generation method comprises:
[0014] When an abnormal hole opening occurs during the operation of the hole opening design tool, an alarm log is generated;
[0015] and / or,
[0016] The target opening data is adjusted and the opening design tool is run to update the three-dimensional hull model.
[0017] Preferably, the opening shape includes a regular shape and an irregular shape, and the regular shape includes at least one of a circle, an ellipse, an oval, and a rectangle;
[0018] And / or, the hole position parameter includes at least one of an offset distance in an X direction, an offset distance in a Y direction, and an offset distance in a Z direction;
[0019] And / or, the opening size parameters include at least one of diameter, radius, length and width.
[0020] In a second aspect, the present invention provides a batch production system for openings in a hull structure, the batch production system comprising:
[0021] A determination module is used to determine the opening parameter data of the hull structure in the target hull design drawing; the opening parameter data includes the opening type, opening position parameter and opening size parameter of the longitudinal and transverse members;
[0022] A selection module is used to select target opening data in a pre-configured opening design tool according to the opening parameter data; the opening design tool is obtained by using Smart3D software to write a development program to add a batch opening function to a preset opening rule basic library; the opening rule basic library is created according to specification provisions, node details and detailed design drawings of various ships; the node details include rules for opening type, opening size and opening shape, and the detailed design drawing includes rules for opening detailed type, opening position and opening quantity;
[0023] The operation module is used to run the opening design tool to batch generate a three-dimensional model of the hull after openings are made in multiple components.
[0024] Preferably, the selection module comprises:
[0025] A selection unit is used to select the longitudinal and transverse target components of the required opening;
[0026] The configuration unit is used to configure the detailed opening type, opening rib position number and corresponding offset distance data and length and width data of the longitudinal and transverse target components.
[0027] Preferably, the batch generation system comprises:
[0028] A generating module, used for generating an alarm log when an abnormal hole opening occurs during the operation of the hole opening design tool;
[0029] and / or,
[0030] An adjustment module is used to adjust the target opening data and run the opening design tool to update the hull three-dimensional model.
[0031] Preferably, the opening shape includes a regular shape and an irregular shape, and the regular shape includes at least one of a circle, an ellipse, an oval, and a rectangle;
[0032] And / or, the hole position parameter includes at least one of an offset distance in an X direction, an offset distance in a Y direction, and an offset distance in a Z direction;
[0033] And / or, the opening size parameters include at least one of diameter, radius, length and width.
[0034] In a third aspect, the present invention provides an electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method for batch generation of hull structure openings as described in the first aspect.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for batch generation of hull structure openings as described in the first aspect.
[0036] The positive and progressive effects of the present invention are: determining the hole opening parameter data of the hull structure in the target hull design drawing; selecting the target hole opening data in the pre-configured hole opening design tool according to the hole opening parameter data; and running the hole opening design tool to batch generate a hull three-dimensional model after multiple component holes are opened. The present invention uses VB.NET language and the hole opening rule basic library of various hulls obtained by induction and collation to jointly develop and generate the hole opening design tool, realize the batch generation of hull openings, improve the accuracy and standardization of hull opening generation, and improve the efficiency of hull structure hole opening generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1The figure is a flow chart of a method for batch generating openings in a hull structure according to embodiment 1 of the present invention.
[0038] Figure 2 This is a partial flow chart of a method for batch generating openings in a hull structure according to Example 1 of the present invention.
[0039] Figure 3 This is a first interface diagram of the hole design tool of Example 1 of the present invention.
[0040] Figure 4 This is a second interface diagram of the hole design tool of Example 1 of the present invention.
[0041] Figure 5 This is a first rendering of a three-dimensional hull model of the method for batch generating openings in a hull structure according to Example 1 of the present invention.
[0042] Figure 6 This is a second rendering of a three-dimensional hull model of the method for batch generating openings in a hull structure according to Example 1 of the present invention.
[0043] Figure 7 This is a schematic diagram of the first module of the batch production system for hull structure openings according to Example 2 of the present invention.
[0044] Figure 8 This is a schematic diagram of the second module of the batch production system for hull structure openings according to Example 2 of the present invention.
[0045] Fig. 9 This is a schematic diagram of the structure of an electronic device for implementing a method for batch generating openings in a hull structure according to embodiment 3 of the present invention. DETAILED DESCRIPTION
[0046] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0047] Example 1
[0048] The batch generation method of the hull structure openings of this embodiment is as follows: Figure 1 As shown, the batch generation method includes:
[0049] S1. Determine the opening parameter data of the hull structure in the target hull design drawing; the opening parameter data includes the opening type, opening position parameter and opening size parameter of the longitudinal and transverse members;
[0050] S2. Select target opening data in a pre-configured opening design tool according to the opening parameter data; the opening design tool is obtained by using the preset opening rule basic library to add batch opening function by writing a development program using Smart3D software; the opening rule basic library is created according to the specification provisions, node details and detailed design drawings of various ships; the node details include rules for opening type, opening size and opening shape, and the detailed design drawings include rules for opening detailed type, opening position and opening quantity;
[0051] S3. Run the hole design tool to batch generate a 3D model of the hull after holes are opened in multiple components.
[0052] S41. When an abnormal hole opening occurs during the operation of the hole opening design tool, an alarm log is generated;
[0053] S42, adjusting the target opening data and running the opening design tool to update the hull three-dimensional model.
[0054] The opening shapes include regular shapes and irregular shapes, and the regular shapes include at least one of a circle, an ellipse, an oval, and a rectangle;
[0055] And / or, the hole position parameter includes at least one of an offset distance in an X direction, an offset distance in a Y direction, and an offset distance in a Z direction;
[0056] And / or, the opening size parameters include at least one of diameter, radius, length and width.
[0057] Specifically, according to the target hull design drawings, the opening types of the longitudinal and transverse components required for the hull openings, the opening position parameters in the X, Y and Z directions, and the opening size parameters of each opening, such as the diameter, radius, length and width, are determined. According to the opening parameter data, the longitudinal and transverse components required for the openings of the entire ship can be selected in the opening design tool; the X direction; the offset distances in the Y and Z directions can be selected; the opening type of the longitudinal and transverse components can be selected, and the size parameters of the selected opening type of the longitudinal and transverse components can be modified; the display form of the preview image of the selected opening type of the longitudinal and transverse components can be selected; the rib position number of the opening required for the longitudinal and transverse components can be selected; the longitudinal and transverse component opening structure can be generated; and the error log can be displayed. Run the opening design tool, click the tool longitudinal and transverse component opening generation button, batch generate the hull three-dimensional model of the openings of the longitudinal and transverse components on the corresponding rib positions, and quickly modify and rebuild the generated hull three-dimensional model by modifying the parameters.
[0058] In this embodiment, compared with the generation of single structural openings on the traditional Smart3D platform, all steps of batch generation are performed based on programs written in object-oriented programming languages, and the model can be modified by simply adding or modifying the code. Batch generation only requires modifying the position information and running the program again, where batch operations can be implemented using loop statements, significantly improving generation efficiency and avoiding errors caused by human interface operations. As long as the program code is correct after inspection, the hull structure openings can be quickly generated in batches.
[0059] In one embodiment, if Figure 2 As shown, step S2 includes:
[0060] S21, selecting the longitudinal and transverse target components of the required opening;
[0061] S22. Configure the detailed opening type, opening rib number and corresponding offset distance data and length and width data of the longitudinal and transverse target components.
[0062] Specifically, the code written in vb.net language is used to select the longitudinal and transverse components of the required openings, and to sort them according to the rib position order. By inputting one or more opening rib position numbers, a set of all longitudinal and transverse components on the configured opening rib position numbers is obtained. By traversing all the longitudinal and transverse components in the set, the batch generation of the longitudinal and transverse component structural openings on the configured opening rib position numbers is realized. By modifying the size parameters in the corresponding property box of the selected opening type, the generated openings can be quickly modified and rebuilt.
[0063] In one embodiment, Figure 3 and Figure 4 The first and second interfaces of the opening design tool are shown. By selecting the longitudinal and transverse members for the required openings, selecting the specific opening types of the longitudinal and transverse members, inputting the rib position numbers of the required openings of the longitudinal and transverse members, and inputting the corresponding position parameters and size parameters, and clicking the longitudinal and transverse member opening generation button, the batch generation of hull structure openings can be achieved.
[0064] In one embodiment, Figure 5 and Figure 6 The opening design tool developed based on VB.NET generates overall and local effect schematic diagrams of structural openings in the 3D hull model, which greatly improves the efficiency and accuracy of opening generation. The 3D hull model with generated openings can be quickly rebuilt and updated by modifying parameters.
[0065] In this embodiment, a method for batch generation of hull structure openings is provided, and an opening design tool is jointly developed using Smart3D software and a basic library of opening rules for various hulls that are summarized and sorted out, so as to realize batch generation of hull openings, improve the accuracy and standardization of hull opening generation, and improve the efficiency of hull structure opening generation.
[0066] Example 2
[0067] The batch generation system of the hull structure openings of this embodiment is as follows: Figure 7 As shown, the batch production system includes:
[0068] The determination module 210 is used to determine the opening parameter data of the hull structure in the target hull design drawing; the opening parameter data includes the opening type, opening position parameter and opening size parameter of the longitudinal and transverse members;
[0069] The selection module 220 is used to select target opening data in a pre-configured opening design tool according to the opening parameter data; the opening design tool is obtained by using the preset opening rule basic library by writing a development program using Smart3D software to add a batch opening function; the opening rule basic library is created according to the specification provisions, node details and detailed design drawings of various ships; the node details include rules for opening type, opening size and opening shape, and the detailed design drawing includes rules for opening detailed type, opening position and opening quantity;
[0070] The operation module 230 is used to run the hole design tool to batch generate a three-dimensional model of the hull after holes are opened in multiple components.
[0071] A generating module 241 is used to generate an alarm log when an abnormal hole opening occurs when the hole opening design tool is running;
[0072] The adjustment module 242 is used to adjust the target opening data and run the opening design tool to update the 3D model of the hull.
[0073] The opening shapes include regular shapes and irregular shapes, and the regular shapes include at least one of a circle, an ellipse, an oval, and a rectangle;
[0074] And / or, the hole position parameter includes at least one of an offset distance in an X direction, an offset distance in a Y direction, and an offset distance in a Z direction;
[0075] And / or, the opening size parameters include at least one of diameter, radius, length and width.
[0076] Specifically, according to the target hull design drawings, the opening types of the longitudinal and transverse components required for the hull openings, the opening position parameters in the X, Y and Z directions, and the opening size parameters of each opening, such as the diameter, radius, length and width, are determined. According to the opening parameter data, the longitudinal and transverse components required for the openings of the entire ship can be selected in the opening design tool; the X direction; the offset distances in the Y and Z directions can be selected; the opening type of the longitudinal and transverse components can be selected, and the size parameters of the selected opening type of the longitudinal and transverse components can be modified; the display form of the preview image of the selected opening type of the longitudinal and transverse components can be selected; the rib position number of the opening required for the longitudinal and transverse components can be selected; the longitudinal and transverse component opening structure can be generated; and the error log can be displayed. Run the opening design tool, click the tool longitudinal and transverse component opening generation button, batch generate the hull three-dimensional model of the openings of the longitudinal and transverse components on the corresponding rib positions, and quickly modify and rebuild the generated hull three-dimensional model by modifying the parameters.
[0077] In this embodiment, compared with the generation of single structural openings on the traditional Smart3D platform, all steps of batch generation are performed based on programs written in object-oriented programming languages, and the model can be modified by simply adding or modifying the code. Batch generation only requires modifying the position information and running the program again, where batch operations can be implemented using loop statements, significantly improving generation efficiency and avoiding errors caused by human interface operations. As long as the program code is correct after inspection, the hull structure openings can be quickly generated in batches.
[0078] In one embodiment, if Figure 8 As shown, the selection module 220 includes:
[0079] A selection unit 221 is used to select a longitudinal and transverse target component of a desired opening;
[0080] The configuration unit 222 is used to configure the detailed opening type, opening rib number and corresponding offset distance data and length and width data of the longitudinal and transverse target components.
[0081] Specifically, the selection unit 221 selects the longitudinal and transverse components of the required openings through the code written in the vb.net language, and sorts them according to the rib position order. The configuration unit 222 obtains the set of all longitudinal and transverse components on the configured opening rib position by inputting one or more opening rib position numbers. By traversing all the longitudinal and transverse components in the set, the batch generation of the longitudinal and transverse component structural openings on the configured opening rib position is realized, and by modifying the size parameters in the corresponding property box of the selected opening type, the generated openings are quickly modified and rebuilt.
[0082] In this embodiment, a batch generation system for hull structure openings is provided. The selection module and the operation module use Smart3D software and a basic library of opening rules for various hulls that are summarized and sorted to jointly develop and generate an opening design tool, thereby realizing batch generation of hull openings, improving the accuracy and standardization of hull opening generation, and improving the efficiency of hull structure opening generation.
[0083] Example 3
[0084] Fig. 9 A schematic diagram of the structure of an electronic device for implementing a batch generation method of hull structure openings provided in this embodiment. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the batch generation method of hull structure openings of embodiment 1 is implemented. Fig. 9 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0085] like Fig. 9 As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).
[0086] The bus 93 includes a data bus, an address bus, and a control bus.
[0087] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .
[0088] The memory 92 may also include a program / utility 925 having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.
[0089] The processor 91 executes various functional applications and data processing by running the computer programs stored in the memory 92, such as the batch generation method of hull structure openings in Example 1 of the present invention.
[0090] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the model generating device 90 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 96. Fig. 9 As shown, the network adapter 96 communicates with other modules of the model-generated device 90 via the bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0091] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0092] Example 4
[0093] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps in the method for batch generating openings in a hull structure of Embodiment 1 are implemented.
[0094] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0095] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps in the batch generation method of hull structure openings in Example 1.
[0096] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0097] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A method for batch generation of hull structure openings, characterized in that: The batch generation method comprises: Determine the opening parameter data of the hull structure in the target hull design drawing; the opening parameter data includes the opening type, opening position parameter and opening size parameter of the longitudinal and transverse members; According to the opening parameter data, target opening data is selected in a pre-configured opening design tool; the opening design tool is obtained by using Smart3D software to write a development program to add a batch opening function to a preset opening rule basic library; the opening rule basic library is created according to specification provisions, node details and detailed design drawings of various ships; the node details include rules for opening type, opening size and opening shape, and the detailed design drawing includes rules for opening detailed type, opening position and opening quantity; The opening design tool is run to batch generate a 3D model of a hull after openings are made in a plurality of components.
2. The method for batch generating openings in a hull structure according to claim 1, characterized in that: The step of selecting target opening data in a preconfigured opening design tool according to the opening parameter data comprises: Select the longitudinal and transverse target components of the required openings; The detailed opening type, opening rib number and corresponding offset distance data and length and width data of the longitudinal and transverse target components are configured.
3. The method for batch generating openings of a hull structure according to claim 1, characterized in that: The batch generation method comprises: When an abnormal hole opening occurs during the operation of the hole opening design tool, an alarm log is generated; and / or, The target opening data is adjusted and the opening design tool is run to update the three-dimensional hull model.
4. The method for batch generating openings of a hull structure according to claim 1, characterized in that: The opening shape includes a regular shape and an irregular shape, and the regular shape includes at least one of a circle, an ellipse, an oblong circle and a rectangle; And / or, the hole position parameter includes at least one of an offset distance in an X direction, an offset distance in a Y direction, and an offset distance in a Z direction; And / or, the opening size parameters include at least one of diameter, radius, length and width.
5. A batch generation system for opening holes in a hull structure, characterized in that: The batch generation system comprises: A determination module is used to determine the opening parameter data of the hull structure in the target hull design drawing; the opening parameter data includes the opening type, opening position parameter and opening size parameter of the longitudinal and transverse members; A selection module is used to select target opening data in a pre-configured opening design tool according to the opening parameter data; the opening design tool is obtained by using Smart3D software to write a development program to add a batch opening function to a preset opening rule basic library; the opening rule basic library is created according to specification provisions, node details and detailed design drawings of various ships; the node details include rules for opening type, opening size and opening shape, and the detailed design drawing includes rules for opening detailed type, opening position and opening quantity; The operation module is used to run the opening design tool to batch generate a three-dimensional model of the hull after openings are made in multiple components.
6. The batch production system of hull structure openings according to claim 5, characterized in that: The selection module comprises: A selection unit is used to select the longitudinal and transverse target components of the required opening; The configuration unit is used to configure the detailed opening type, opening rib position number and corresponding offset distance data and length and width data of the longitudinal and transverse target components.
7. The batch production system of hull structure openings according to claim 5, characterized in that: The batch generation system comprises: A generating module, used for generating an alarm log when an abnormal hole opening occurs during the operation of the hole opening design tool; and / or, An adjustment module is used to adjust the target opening data and run the opening design tool to update the hull three-dimensional model.
8. The batch production system of hull structure openings according to claim 5, characterized in that: The opening shape includes a regular shape and an irregular shape, and the regular shape includes at least one of a circle, an ellipse, an oblong circle and a rectangle; And / or, the hole position parameter includes at least one of an offset distance in an X direction, an offset distance in a Y direction, and an offset distance in a Z direction; And / or, the opening size parameters include at least one of diameter, radius, length and width.
9. An electronic device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the method for batch generating openings in a hull structure as claimed in any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for batch generating openings in a hull structure as described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Tapping method, system, medium and device for ship interior wallboard
CN112257179A
Through hole design method and system based on design rules
CN112464375A
Hull opening design method, device, storage medium and system
CN113886970A
Rapid and automatic trepanning method based on Tribon ship design software
CN115587410A
Slot hole auto-modeling system and method for vessel
KR1020130118474A
Cited By
Ship body model batch copying method and device, electronic equipment and medium
CN120012272A
