Modeling drawing method and device, electronic equipment and storage medium
By dividing the ship into multiple areas and combining single models, the problem of structural deviations and data errors caused by manual drawing is solved, and the accuracy and safety of the ship model are improved.
Patent Information
- Application Number
- CN202410837553.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-17
AI Technical Summary
Existing ship models are prone to structural deviations and data errors through manual drawing, which affects the accuracy and safety of ship manufacturing.
By dividing the ship into multiple areas, identifying and modeling the walls, ground, and space items in each area, single models are combined according to the positional relationship between areas to form an overall model of the ship's hull.
It improves the accuracy and precision of ship models, reduces structural deviations and data errors, and ensures the reliability and safety of ship manufacturing.
Smart Images

Figure CN118656883A
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of model building, and in particular to a modeling and drawing method, device, electronic device and storage medium. Background Art
[0002] Ship models are circulated between designers, shipowners, manufacturers and sites, and are used in the entire life cycle of ship design, construction, completion management, ship repair and ship dismantling. Therefore, accurately establishing ship models is crucial to ship safety.
[0003] At present, ship models are often drawn manually, which often leads to problems such as structural deviations and data errors. Therefore, accurately drawing ship models is a technical problem that needs to be solved urgently for shipbuilding. Summary of the invention
[0004] 1. Technical issues to be resolved
[0005] The technical problem to be solved by the present invention is to solve the technical problem that the ship model may have structural deviation and data error when drawn manually.
[0006] (II) Technical solution
[0007] In order to solve the above technical problems, the present invention provides a modeling and drawing method on the one hand, which includes: dividing the ship into multiple areas according to the spatial range of the ship; identifying the walls, ground and space objects in each of the areas, and obtaining a single model of each of the areas in turn; and combining the single models of each of the areas according to the positional relationship between the areas to obtain the overall model of the hull.
[0008] In one embodiment, the ship is divided into multiple areas according to the spatial range of the ship, including: dividing each space of the ship into a mechanical area and a non-mechanical area according to the use of each space of the ship; numbering the mechanical areas in sequence, and recording the positional relationship between each mechanical area and the surrounding areas; numbering the non-mechanical areas in sequence, and recording the positional relationship between each non-mechanical area and the surrounding non-mechanical areas.
[0009] In one embodiment, the identifying of walls, floors and space objects in each of the areas, and obtaining a single model of each of the areas in turn, includes: when the area is a stairway, identifying the platform, inclined ladder and straight ladder in the area; modeling the platform, inclined ladder and straight ladder using rectangles and / or parallelograms, and building them according to the positional relationship of the platform, inclined ladder and straight ladder to obtain a single model of the stairway.
[0010] In one embodiment, the walls, floors and space objects in each of the areas are identified to obtain a single model of each of the areas in turn, including: when the area is an elevator, identifying the elevator passenger area and the spatial area of the elevator's external cables, motors and accessories; modeling the elevator passenger area and the spatial area of the elevator's external cables, motors and accessories using points, lines and surfaces, and building them according to the positional relationship between the elevator passenger area and the spatial area of the elevator's external cables, motors and accessories to obtain a single model of the elevator.
[0011] In one embodiment, the walls, floors and space objects in each of the areas are identified to obtain a single model of each of the areas in turn, including: when the area is an air-conditioning station, a catering cold storage area, a manhole, an electrical equipment room and / or a static pressure box, the air-conditioning station, the catering cold storage area, the manhole, the electrical equipment room and / or the static pressure box are modeled using irregular surfaces or irregular volumes to obtain a single model of the air-conditioning station, the catering cold storage area, the manhole, the electrical equipment room and / or the static pressure box.
[0012] In one embodiment, the identifying of walls, ground and space objects in each of the areas and obtaining a single model of each of the areas in turn includes: when the area is a liquid tank, modeling the liquid tank using a boundary variable solid volume to obtain a single model of the liquid tank.
[0013] In one embodiment, after obtaining the overall model of the hull, the method further includes: obtaining a model call-out instruction and identifying a call-out area specified in the model call-out instruction; determining the call-out area and other areas that intersect with the call-out area; and calling out the call-out area and the other areas together.
[0014] On the one hand, the present invention also provides a modeling and drawing device, which includes: a division module, used to divide a ship into multiple areas according to the spatial range of the ship; an identification module, used to identify the walls, ground and space objects in each of the areas, and obtain a single model of each of the areas in turn; a combination module, used to combine the single models of each of the areas according to the positional relationship between the areas, to obtain the overall model of the hull.
[0015] An embodiment of the present invention further provides an electronic device, comprising: a processor and a memory for storing a computer program that can be run on the processor; wherein the processor executes the steps of any of the above methods when running the computer program.
[0016] An embodiment of the present invention further provides a storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.
[0017] (III) Beneficial effects
[0018] The above technical solution of the present invention has the following advantages:
[0019] In this embodiment, the ship is first divided into multiple areas, and personalized modeling is performed according to the characteristics of each area. Then, the individual models after personalized modeling are combined according to the position relationship, so that the established ship model has high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of a flow chart of a modeling and drawing method according to an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of the structure of a modeling and drawing device according to an embodiment of the present invention;
[0022] Figure 3 1 is a diagram showing the internal structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to more clearly understand the above-mentioned objectives, features and advantages of the present invention, the scheme of the present invention will be further described below. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present invention, rather than all of the embodiments.
[0025] The following detailed description of the embodiments of the present invention is provided in conjunction with the accompanying drawings and examples. The following detailed description of the embodiments and the accompanying drawings are used to illustrate the principles of the present invention, but cannot be used to limit the scope of the present invention, that is, the present invention is not limited to the described embodiments.
[0026] The present invention will be described in further detail below with reference to the accompanying drawings and embodiments.
[0027] The embodiment of the present invention provides a modeling and drawing method, such as Figure 1 As shown, the method includes:
[0028] Step 101: Divide the ship into multiple areas according to the spatial range of the ship;
[0029] Step 102: Identify the walls, the ground, and the space objects in each of the areas, and obtain a single model of each of the areas in turn;
[0030] Step 103: combining the single models of each of the regions according to the positional relationship between the regions to obtain the overall model of the hull.
[0031] In this embodiment, the space BOX can be used for modeling and drawing. The space BOX is both a database and a virtual space, and the data inside it can be extracted, stored, published and modified. The space BOX in this embodiment can store models and drawings, including three-dimensional drawings, to form three-dimensional digital products for designers to modify and construction staff to view.
[0032] Specifically, the space BOX in this embodiment adopts the following rules to model and generate a map:
[0033] In one embodiment, the ship is divided into a plurality of areas according to the spatial range of the ship, including:
[0034] Dividing each space of the ship into a mechanical area and a non-mechanical area according to the use of each space of the ship;
[0035] Numbering the mechanical areas in sequence, and recording the positional relationship between each mechanical area and the surrounding areas;
[0036] The non-mechanical areas are numbered in sequence, and the positional relationship between each non-mechanical area and the surrounding non-mechanical areas is recorded.
[0037] This embodiment first divides each space of the ship according to its importance. The mechanical area is generally an operation area and is more important, while the non-mechanical area is less important than the mechanical area.
[0038] In this embodiment, the mechanical areas are first numbered. When numbering, letters plus numbers may be used, such as A001, A002, etc. Secondly, the non-mechanical areas are numbered. When numbering the non-mechanical areas, letters plus numbers may also be used. The letters may be different from the letters selected when numbering the mechanical areas. For example, B001, B002, etc. may be selected. In addition to numbering the mechanical areas and non-mechanical areas, this embodiment also needs to record the positional relationship between the areas so that each area can be combined later. Here, in order to reduce the recorded content, the positional relationship between each mechanical area and the surrounding areas may be recorded for important areas such as mechanical areas, while for non-mechanical areas, only the positional relationship between each non-mechanical area and the surrounding non-mechanical areas is recorded.
[0039] This embodiment divides the whole ship into BOX for units, sections, blocks, and regions. BOX has clear uniqueness. BOX can be defined as a cuboid (room), a surface (bulkhead), or an irregular space. Specifically,
[0040] In one embodiment, the identifying of the walls, the ground, and the space objects in each of the regions to sequentially obtain a single model of each of the regions includes:
[0041] When the area is a stairway, identify the platforms, inclined stairs and straight stairs in the area; model the platforms, inclined stairs and straight stairs using rectangles and / or parallelograms, and build them according to the positional relationship of the platforms, inclined stairs and straight stairs to obtain a single model of the stairway.
[0042] In addition, when the area is an elevator, the elevator passenger area and the spatial area of the elevator's external cables, motors and accessories are identified; the elevator passenger area and the spatial area of the elevator's external cables, motors and accessories are modeled using points, lines, and surfaces, and are constructed based on the positional relationship between the elevator passenger area and the spatial area of the elevator's external cables, motors and accessories to obtain a single model of the elevator.
[0043] Secondly, when the area is an air-conditioning station, a catering cold storage area, a manhole, an electrical equipment room and / or a static pressure box, the air-conditioning station, the catering cold storage area, the manhole, the electrical equipment room and / or the static pressure box are modeled using irregular surfaces or irregular volumes to obtain a single model of the air-conditioning station, the catering cold storage area, the manhole, the electrical equipment room and / or the static pressure box.
[0044] Again, when the region is a liquid tank, the liquid tank is modeled using a boundary variable solid volume to obtain a single model of the liquid tank.
[0045] This embodiment performs personalized modeling for different areas of the ship according to the characteristics of each area, which can ensure the accuracy and precision of the modeling.
[0046] After the overall model of the hull is completed, it can be retrieved through instructions so that the model can be circulated between designers, shipowner inspections, manufacturers and sites during the entire life cycle of ship design, construction, completion management, ship repair and ship dismantling.
[0047] Specifically, the system may first obtain a model call-out instruction, and identify a call-out area specified in the model call-out instruction; determine the call-out area and other areas intersecting with the call-out area; and call out the call-out area and the other areas together.
[0048] In addition to retrieving the call-out area specified in the call-out instruction, this embodiment also retrieves other areas that intersect with the call-out area, so that personnel can have a more intuitive understanding of the call-out area.
[0049] The modeling and drawing method, device, electronic device and storage medium provided by the embodiment of the present invention divide the ship into multiple areas according to the spatial range of the ship; identify the walls, ground and space objects in each of the areas, and obtain the single model of each of the areas in turn; combine the single models of each of the areas according to the positional relationship between the areas to obtain the overall model of the ship. The solution provided by the present invention first divides the ship into multiple areas, performs personalized modeling according to the characteristics of each area, and then combines the individual models after personalized modeling according to the positional relationship, so that the established ship model has high accuracy.
[0050] The present invention will be described in detail below in conjunction with application examples.
[0051] This embodiment provides an optimization method for BOX ship modeling and drawing.
[0052] The modeling method of each BOX is as follows:
[0053] 1. According to the different characteristics of the ship, the non-machinery area and the machinery area are numbered independently and divided into independent areas;
[0054] 2. The stairway is composed of a platform, an inclined ladder and a straight ladder, and can be built into a combination of a rectangular BOX and a parallelogram BOX;
[0055] 3. As a special area, the elevator is different from the stairway. The modeling needs to include the elevator's external cables, motors and related accessories space areas;
[0056] 4. Modeling of air conditioning stations, catering cold storage areas, enclosures, electrical equipment rooms and static pressure boxes, which are composed of irregular areas according to the specific scope;
[0057] 5. The tank is an area where the proportion of internal liquid changes over time, and the boundary of the modeling area is variable.
[0058] Methods for extracting data from BOX:
[0059] 1. The shape of the space BOX is irregular. When the model is retrieved through the BOX, such as forming a cube with the maximum outline, the model is retrieved, resulting in redundant models.
[0060] 2. BOX calls out the model through interference rules. The model will be called out as long as there is interference. For example, the deck surface and BOX only partially intersect, but the entire deck will be called out.
[0061] 3. The space division for some safe return ports is smaller than the usage demand, and multiple BOXes need to be combined to represent new areas, such as the main vertical area + deck, air-conditioning station, etc.
[0062] 4. The space division of some safe return ports is greater than the usage demand. For example, the irregular BOX is mixed with stairways, enclosures, static pressure boxes and elevators.
[0063] In this embodiment, the BOX contains installation positions, layout information, material insulation information, center of gravity information, pressure test information, etc. of different components. The BOX database has the following advantages:
[0064] 1. You can understand the completion status of the cabin in real time.
[0065] 2. It can be automatically checked digitally and report errors in real time.
[0066] 3. Refine the pipeline pressure test package and complete the definition of the interface.
[0067] 4. During the modification order stage, drawings can be drawn according to the partition box, without distinguishing between the overall section, sub-section, and regional divisions.
[0068] 5. Carry out 3D digital drawing according to BOX to make up for the defects of incomplete CAD information and the need for spatial imagination.
[0069] 6. The necessary information in the BOX during the installation, insulation and pressure test construction can be extracted and displayed to meet the requirements of on-site construction.
[0070] In order to implement the method of the embodiment of the present invention, the embodiment of the present invention also provides a modeling and drawing device, such as Figure 2 As shown, the modeling and drawing device 200 includes: a division module 201, a recognition module 202 and a combination module 203, wherein:
[0071] A division module 201 is used to divide the ship into multiple areas according to the spatial range of the ship;
[0072] The recognition module 202 is used to recognize the walls, the ground and the space objects in each of the areas, and obtain a single model of each of the areas in turn;
[0073] The combining module 203 is used to combine the single models of each of the regions according to the positional relationship between the regions to obtain the overall model of the hull.
[0074] The above-mentioned device provided in this embodiment belongs to the same concept as the above-mentioned method embodiment, and its specific implementation process can also be found in the method embodiment, which will not be repeated here.
[0075] In order to implement the method of the embodiment of the present invention, the embodiment of the present invention also provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of the above method.
[0076] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present invention, the embodiment of the present invention also provides an electronic device (computer device). Specifically, in one embodiment, the computer device can be a terminal, and its internal structure diagram can be shown in Figure 3. The computer device includes a processor A01, a network interface A02, a display screen A04, an input device A05 and a memory (not shown in the figure) connected by a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, the method of any one of the above embodiments is implemented. The display screen A04 of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device A05 of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.
[0077] Those skilled in the art will appreciate that 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0078] The device provided by the embodiment of the present invention includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the method of any one of the above embodiments is implemented.
[0079] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0080] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0081] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0082] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0083] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0084] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0085] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0086] It can be understood that the memory of the embodiment of the present invention can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memories.
[0087] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0088] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A modeling and drawing method, characterized in that: The method comprises: Divide the ship into multiple areas according to the spatial range of the ship; Identify the walls, the ground, and the space objects in each of the areas, and obtain a single model of each of the areas in turn; According to the positional relationship between the regions, the single models of each region are combined to obtain the overall model of the hull.
2. The modeling and drawing method according to claim 1, characterized in that: According to the spatial range of the ship, the ship is divided into multiple areas, including: Dividing each space of the ship into a mechanical area and a non-mechanical area according to the use of each space of the ship; Numbering the mechanical areas in sequence, and recording the positional relationship between each mechanical area and the surrounding areas; The non-mechanical areas are numbered in sequence, and the positional relationship between each non-mechanical area and the surrounding non-mechanical areas is recorded.
3. The modeling and drawing method according to claim 2, characterized in that: The identifying of the walls, the ground and the space objects in each of the areas, and sequentially obtaining a single model of each of the areas, includes: When the area is a stairway, identifying platforms, inclined stairs, and straight stairs in the area; The platform, inclined ladder and straight ladder are modeled using rectangles and / or parallelograms, and are constructed according to the positional relationship of the platform, inclined ladder and straight ladder to obtain a single model of the stairway.
4. The modeling and drawing method according to claim 2, characterized in that: The identifying of the walls, the ground and the space objects in each of the areas, and sequentially obtaining a single model of each of the areas, includes: When the area is an elevator, identifying the elevator passenger area and the space area for the elevator's external cables, motors, and accessories; The elevator passenger area and the spatial area of the elevator's external cables, motors and accessories are modeled using points, lines and surfaces, and are constructed based on the positional relationship between the elevator passenger area and the spatial area of the elevator's external cables, motors and accessories to obtain a single model of the elevator.
5. The modeling and drawing method according to claim 2, characterized in that: The identifying of the walls, the ground and the space objects in each of the areas, and sequentially obtaining a single model of each of the areas, includes: When the area is an air-conditioning station, a catering cold storage area, a manhole, an electrical equipment room and / or a static pressure box, the air-conditioning station, the catering cold storage area, the manhole, the electrical equipment room and / or the static pressure box are modeled using irregular surfaces or irregular volumes to obtain a single model of the air-conditioning station, the catering cold storage area, the manhole, the electrical equipment room and / or the static pressure box.
6. The modeling and drawing method according to claim 2, characterized in that: The identifying of the walls, the ground and the space objects in each of the areas, and sequentially obtaining a single model of each of the areas, includes: When the region is a liquid tank, the liquid tank is modeled using a boundary variable solid volume to obtain a single model of the liquid tank.
7. The modeling and drawing method according to claim 1, characterized in that: After obtaining the overall model of the hull, the method further comprises: Obtaining a model call-out instruction, and identifying a call-out area specified in the model call-out instruction; Determine the call-out area and other areas intersecting with the call-out area; The called-out area and the other areas are called out together.
8. A modeling and drawing device, characterized in that: The modeling and drawing device comprises: A division module is used to divide the ship into multiple areas according to the spatial range of the ship; A recognition module, used to recognize the walls, the ground and the space objects in each of the areas, and obtain a single model of each of the areas in turn; The combination module is used to combine the single models of each of the regions according to the positional relationship between the regions to obtain the overall model of the hull.
9. An electronic device, characterized in that: include: A processor and a memory for storing a computer program capable of running on the processor; wherein, When the processor is used to run the computer program, the steps of the method according to any one of claims 1 to 7 are performed.
10. A storage medium storing a computer program, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Point cloud data automatic segmentation method facing planar bulkhead type cabin
CN107330894A
Ship construction planning method, device and system
CN113255063A
Modeling method based on Intergraph Smart3D
CN116579073A
A method for modularization of ship hull
WO2004029839A2
