Three-dimensional modeling method and device for outfitting pieces inside and outside ship
By acquiring outfitting sample library data from ship CAD drawings and constructing 3D modeling tables, the problem of low efficiency in 3D modeling of ship interior and exterior outfitting parts is solved, and efficient and accurate 3D modeling adaptability is achieved.
Patent Information
- Application Number
- CN202510713686.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-16
AI Technical Summary
The existing technology for 3D modeling of interior and exterior ship outfitting is inefficient, requires manual input of large amounts of data, is prone to errors, and is difficult to adapt to changes in different ship types.
By obtaining the ship CAD drawing, determining the outfitting sample library, extracting the position coordinates and layout angle data, constructing a three-dimensional modeling data table, and using preset tools for modeling.
It improves the efficiency of 3D modeling, reduces manual operation errors, adapts to the needs of different ship types, reduces redundant data, and improves modeling accuracy and efficiency.
Smart Images

Figure CN120654388A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of ship outfitting modeling, and in particular relates to a three-dimensional modeling method and device for ship interior and exterior outfitting. Background Art
[0002] In the field of ship design and manufacturing, the production design and modeling of interior and exterior outfitting, specifically interior and exterior outfitting, is a critical step in the shipbuilding process. Interior outfitting encompasses the ship's internal functional facilities and auxiliary systems, while exterior outfitting includes the ship's external functional devices and safety equipment. Currently, modeling these interior and exterior outfitting requires the use of 3D models to optimize spatial layout and avoid equipment interference or channel obstruction.
[0003] However, before 3D modeling of interior and exterior outfitting parts, most workers manually input massive amounts of inventory data from CAD drawings, such as the location, material, and weight of the outfitting parts, into the 3D modeling software. This process is not only time-consuming and labor-intensive, but also prone to data deviations due to manual errors. Furthermore, since different ship types have different requirements for interior and exterior outfitting parts, manual re-entry of various inventory data is required whenever the ship type or the configuration of the outfitting parts changes. This further reduces the efficiency of 3D modeling of interior and exterior outfitting parts. Therefore, there is an urgent need for a 3D modeling method and device for interior and exterior outfitting parts to address the shortcomings of the existing technology. Summary of the Invention
[0004] The present invention aims to provide a three-dimensional modeling method and device for ship interior and exterior outfitting parts to solve the above-mentioned technical problems. By constructing a three-dimensional modeling data table of ship interior and exterior outfitting parts through the position coordinate data of ship interior and exterior outfitting parts, the layout angle data of ship interior and exterior outfitting parts and the ship rib position data, the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts is improved.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a three-dimensional modeling method for interior and exterior outfitting of a ship, comprising:
[0006] Obtaining a CAD drawing of a ship, determining a ship outfitting sample library according to the CAD drawing, and determining position coordinate data of internal and external outfitting parts of the ship based on the ship outfitting sample library;
[0007] Extracting the ship entity data from the ship CAD drawing, and determining the layout angle data of the ship's internal and external outfitting parts in combination with the ship outfitting sample library;
[0008] Acquiring ship rib position data based on the ship CAD drawing, and constructing a three-dimensional modeling data table of ship interior and exterior outfitting parts in combination with the position coordinate data of the ship interior and exterior outfitting parts and the arrangement angle data of the ship interior and exterior outfitting parts;
[0009] Three-dimensional modeling of the interior and exterior outfitting parts of the ship is performed according to the three-dimensional modeling data table of the interior and exterior outfitting parts of the ship and the preset three-dimensional modeling tool.
[0010] It can be understood that, compared with the prior art, the present invention determines the ship outfitting sample library through the ship CAD drawing, and then determines the position coordinate data of the ship's internal and external outfitting parts based on the ship outfitting sample library, and then extracts the ship entity data from the ship CAD drawing, and then determines the layout angle data of the ship's internal and external outfitting parts based on the ship entity data and the ship outfitting sample library, and then obtains the ship rib position data from the ship CAD drawing, and constructs a three-dimensional modeling data table of the ship's internal and external outfitting parts in combination with the position coordinate data of the ship's internal and external outfitting parts and the layout angle data of the ship's internal and external outfitting parts, thereby realizing the three-dimensional modeling of the ship's internal and external outfitting parts. The present invention determines the ship outfitting sample library through the ship CAD drawing, and determines the position coordinate data of the ship's internal and external outfitting parts based on this, which can quickly and accurately obtain the specific position information of the ship's internal and external outfitting parts in the ship, without the need for manual measurement and recording one by one, saving the time of manual data collection and improving the efficiency of 3D modeling; by extracting the ship entity data in the ship CAD drawing and combining it with the ship outfitting sample library to determine the layout angle data of the ship's internal and external outfitting parts, the details of the ship's internal and external outfitting parts can be further enriched, so that the spatial relationship between the outfitting parts and the ship entity can be more accurately reflected during 3D modeling, reducing modeling repetitions caused by inaccurate or incomplete data. Modification can be performed to improve the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts; a three-dimensional modeling data table of ship interior and exterior outfitting parts is constructed through ship rib position data, position coordinate data of ship interior and exterior outfitting parts and arrangement angle data of ship interior and exterior outfitting parts, which can construct necessary data for three-dimensional modeling with streamlined data, thereby reducing redundant data caused by non-essential data for modeling, and in the form of data tables, the three-dimensional modeling can be quickly modified to meet the three-dimensional modeling requirements of different ship types and different ship interior and exterior outfitting parts, avoiding the low efficiency of ship interior and exterior outfitting parts caused by repeated modeling and multiple data acquisition, thereby improving the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts.
[0011] As a preferred solution, the step of obtaining a ship CAD drawing, determining a ship outfitting sample library according to the ship CAD drawing, and determining the position coordinate data of the ship's internal and external outfitting parts based on the ship outfitting sample library specifically includes:
[0012] Reading ship outfitting information from the ship CAD drawing according to a preset ship outfitting information reading program to obtain a plurality of ship interior and exterior outfitting parts and outfitting modeling data for each of the ship interior and exterior outfitting parts;
[0013] According to the outfitting modeling data of each of the ship's internal and external outfitting parts, respectively configuring a ship's external outfitting parts sample library and a ship's internal outfitting parts sample library, and determining a ship's outfitting sample library based on the ship's external outfitting parts sample library and the ship's internal outfitting parts sample library;
[0014] According to the outfitting modeling data of each of the ship's interior and exterior outfitting parts in the ship's outfitting sample library, the position coordinate data of the ship's interior and exterior outfitting parts are determined in combination with a preset ship coordinate system.
[0015] This preferred solution can quickly and accurately extract the ship's interior and exterior outfitting parts and their outfitting modeling data from the ship CAD drawing by pre-setting the ship outfitting parts information reading program, avoiding errors and omissions caused by manual identification and recording of outfitting parts information, thereby improving the efficiency and accuracy of data collection. According to the extracted outfitting modeling data, the ship's exterior outfitting parts sample library and the ship's interior outfitting parts sample library are respectively configured, which can more accurately classify and organize the outfitting parts, reduce the complexity of subsequent three-dimensional modeling, and thus improve the efficiency of subsequent three-dimensional modeling; based on the outfitting modeling data of each ship's interior and exterior outfitting parts in the ship's outfitting sample library, and combined with the preset ship coordinate system, the position coordinate data of the ship's interior and exterior outfitting parts can be efficiently determined, avoiding the inefficiency caused by repeated adjustment and verification of coordinate positions in the subsequent three-dimensional modeling process, and improving the efficiency of three-dimensional modeling of ship's interior and exterior outfitting parts.
[0016] As a preferred solution, the method of determining the position coordinate data of the ship's internal and external outfitting parts based on the outfitting modeling data of each of the ship's internal and external outfitting parts in the ship outfitting sample library in combination with a preset ship coordinate system specifically includes:
[0017] The outfitting modeling data of the ship's interior and exterior outfitting parts include: length direction, width direction and height direction;
[0018] Aligning the ship's interior and exterior outfitting parts with a preset ship coordinate system according to the length, width, and height directions of each of the ship's interior and exterior outfitting parts, thereby determining the position coordinate data of the center point and the position coordinate data of the corner points of each of the ship's interior and exterior outfitting parts;
[0019] The position coordinate data of the ship's interior and exterior outfitting parts are determined according to the position coordinate data of the center point and the position coordinate data of the corner point of each of the ship's interior and exterior outfitting parts in combination with the outfitting modeling data of each of the ship's interior and exterior outfitting parts.
[0020] This preferred solution can accurately determine the center point and corner point position coordinate data of the ship's interior and exterior outfitting parts by aligning the length, width and height directions of the ship's interior and exterior outfitting parts. This not only avoids the errors caused by manual measurement and estimation of coordinate positions, but also reduces calculation complexity and speeds up the calculation speed of the position coordinate data of the ship's interior and exterior outfitting parts. Combined with the outfitting modeling data, it can quickly determine the position and shape of each ship's interior and exterior outfitting parts in three-dimensional space, thereby improving the efficiency of building three-dimensional models of the ship's interior and exterior outfitting parts.
[0021] As a preferred solution, the extracting of the ship entity data from the ship CAD drawing and determining the layout angle data of the ship's internal and external outfitting parts in combination with the ship outfitting sample library specifically includes:
[0022] Searching the ship CAD drawing according to a preset entity data reading program to determine the ship entity data;
[0023] Comparing and matching the outfitting modeling data of each ship's interior and exterior outfitting part in the ship outfitting sample library with the ship entity data, and determining the outfitting part entity corresponding to each of the ship's interior and exterior outfitting parts, as well as the entity category and entity position coordinates of the outfitting part entity;
[0024] Calculating a minimum bounding box of each of the ship's internal and external outfitting parts according to the entity category and entity position coordinates of the outfitting part entity corresponding to each of the ship's internal and external outfitting parts, and determining layout angle data of each of the ship's internal and external outfitting parts in the ship's outfitting sample library according to the minimum bounding box;
[0025] The arrangement angle data of the ship's interior and exterior outfitting parts are obtained according to the arrangement angle data of each ship's interior and exterior outfitting parts in the ship's outfitting sample library.
[0026] This preferred solution searches the ship CAD drawing through a preset entity data reading program, which can automatically and quickly determine the ship entity data, avoiding the tedious process of manual search and comparison of data, and compares and matches the outfitting modeling data of each ship's internal and external outfitting parts in the ship outfitting sample library with the ship entity data, which can ensure the accuracy of subsequent three-dimensional modeling; by calculating the minimum bounding box and determining the layout angle data of the ship's internal and external outfitting parts, it can more accurately reflect the layout of the ship's internal and external outfitting parts in the actual ship, improve the accuracy of the layout angle data, avoid repeated three-dimensional modeling due to unreasonable layout angles, and thus improve the efficiency of building three-dimensional models of the ship's internal and external outfitting parts.
[0027] As a preferred solution, the three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data table of the ship's interior and exterior outfitting parts and the preset three-dimensional modeling tool specifically includes:
[0028] Sorting and classifying the three-dimensional modeling data table of the ship's internal and external outfitting parts based on the position coordinate data of the ship's internal and external outfitting parts to obtain a sorting table of the three-dimensional modeling data of the ship's internal and external outfitting parts;
[0029] The three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts is input into a preset three-dimensional modeling tool, so that the preset three-dimensional modeling tool performs three-dimensional modeling of the ship's exterior outfitting parts and three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts.
[0030] This preferred solution sorts and classifies the three-dimensional modeling data table of the ship's internal and external outfitting parts by the position coordinate data of the ship's internal and external outfitting parts, forming a three-dimensional modeling data sorting table of the ship's internal and external outfitting parts with a logical order, so that subsequent three-dimensional modeling work can be carried out in accordance with the established order and classification, avoiding the confusion caused by disordered modeling and improving the efficiency of building three-dimensional models of the ship's internal and external outfitting parts.
[0031] Accordingly, an embodiment of the present invention provides a three-dimensional modeling device for ship interior and exterior outfitting parts, comprising: a ship interior and exterior outfitting parts position coordinate data acquisition module, a ship interior and exterior outfitting parts layout angle data acquisition module, a ship interior and exterior outfitting parts three-dimensional modeling data table construction module, and a ship interior and exterior outfitting parts three-dimensional modeling module;
[0032] The module for acquiring the position coordinate data of the internal and external outfitting parts of a ship is used to acquire a CAD drawing of a ship, determine a ship outfitting sample library according to the CAD drawing of the ship, and determine the position coordinate data of the internal and external outfitting parts of the ship based on the ship outfitting sample library;
[0033] The ship interior and exterior outfitting arrangement angle data acquisition module is used to extract the ship entity data in the ship CAD drawing and determine the ship interior and exterior outfitting arrangement angle data in combination with the ship outfitting sample library;
[0034] The module for constructing a three-dimensional modeling data table of ship interior and exterior outfitting parts is used to obtain ship rib position data based on the ship CAD drawing, and to construct a three-dimensional modeling data table of ship interior and exterior outfitting parts in combination with the position coordinate data of the ship interior and exterior outfitting parts and the arrangement angle data of the ship interior and exterior outfitting parts;
[0035] The three-dimensional modeling module for ship interior and exterior outfitting parts is used to perform three-dimensional modeling of ship interior and exterior outfitting parts according to the three-dimensional modeling data table for ship interior and exterior outfitting parts and a preset three-dimensional modeling tool.
[0036] As a preferred solution, the module for acquiring the position coordinate data of the internal and external outfitting parts of a ship comprises: a unit for acquiring the position coordinate data of the internal and external outfitting parts of a ship;
[0037] The ship interior and exterior outfitting parts position coordinate data acquisition unit is used to read the ship outfitting parts information from the ship CAD drawing according to a preset ship outfitting parts information reading program to obtain a plurality of ship interior and exterior outfitting parts and outfitting modeling data of each of the ship interior and exterior outfitting parts;
[0038] According to the outfitting modeling data of each of the ship's internal and external outfitting parts, respectively configuring a ship's external outfitting parts sample library and a ship's internal outfitting parts sample library, and determining a ship's outfitting sample library based on the ship's external outfitting parts sample library and the ship's internal outfitting parts sample library;
[0039] According to the outfitting modeling data of each of the ship's interior and exterior outfitting parts in the ship's outfitting sample library, the position coordinate data of the ship's interior and exterior outfitting parts are determined in combination with a preset ship coordinate system.
[0040] As a preferred solution, the unit for acquiring the position coordinate data of the internal and external outfitting parts of a ship comprises: a subunit for acquiring the position coordinate data of the internal and external outfitting parts of a ship;
[0041] In the ship interior and exterior outfitting parts position coordinate data acquisition subunit, the outfitting modeling data of the ship interior and exterior outfitting parts include: length direction, width direction and height direction;
[0042] The ship interior and exterior outfitting position coordinate data acquisition subunit is used to align the ship interior and exterior outfitting with a preset ship coordinate system according to the length direction, width direction and height direction of each ship interior and exterior outfitting, and thereby determine the position coordinate data of the center point and the corner point position coordinate data of each ship interior and exterior outfitting;
[0043] The position coordinate data of the ship's interior and exterior outfitting parts are determined according to the position coordinate data of the center point and the position coordinate data of the corner point of each of the ship's interior and exterior outfitting parts in combination with the outfitting modeling data of each of the ship's interior and exterior outfitting parts.
[0044] As a preferred solution, the module for acquiring data on arrangement angles of internal and external outfittings of a ship comprises: a unit for acquiring data on arrangement angles of internal and external outfittings of a ship;
[0045] The ship interior and exterior outfitting arrangement angle data acquisition unit is used to search the ship CAD drawing according to a preset entity data reading program to determine the ship entity data;
[0046] Comparing and matching the outfitting modeling data of each ship's interior and exterior outfitting part in the ship outfitting sample library with the ship entity data, and determining the outfitting part entity corresponding to each of the ship's interior and exterior outfitting parts, as well as the entity category and entity position coordinates of the outfitting part entity;
[0047] Calculating a minimum bounding box of each of the ship's internal and external outfitting parts according to the entity category and entity position coordinates of the outfitting part entity corresponding to each of the ship's internal and external outfitting parts, and determining layout angle data of each of the ship's internal and external outfitting parts in the ship's outfitting sample library according to the minimum bounding box;
[0048] The arrangement angle data of the ship's interior and exterior outfitting parts are obtained according to the arrangement angle data of each ship's interior and exterior outfitting parts in the ship's outfitting sample library.
[0049] As a preferred solution, the three-dimensional modeling module for ship interior and exterior outfitting includes: a three-dimensional modeling unit for ship interior and exterior outfitting;
[0050] The three-dimensional modeling unit for ship interior and exterior outfitting parts is used to sort and classify the three-dimensional modeling data table of ship interior and exterior outfitting parts based on the position coordinate data of the ship interior and exterior outfitting parts to obtain a sorting table of the three-dimensional modeling data of ship interior and exterior outfitting parts;
[0051] The three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts is input into a preset three-dimensional modeling tool, so that the preset three-dimensional modeling tool performs three-dimensional modeling of the ship's exterior outfitting parts and three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts.
[0052] It can be understood that, compared with the existing technology, this device determines the ship outfitting sample library through the ship CAD drawing, and then determines the position coordinate data of the ship's internal and external outfitting parts based on the ship outfitting sample library, and then extracts the ship entity data from the ship CAD drawing, and then determines the layout angle data of the ship's internal and external outfitting parts based on the ship entity data and the ship outfitting sample library, and then obtains the ship rib position data from the ship CAD drawing, and combines the position coordinate data of the ship's internal and external outfitting parts and the layout angle data of the ship's internal and external outfitting parts to construct a three-dimensional modeling data table of the ship's internal and external outfitting parts, thereby realizing the three-dimensional modeling of the ship's internal and external outfitting parts. This device determines the ship outfitting sample library through the ship CAD drawing, and determines the position coordinate data of the ship's internal and external outfitting parts based on this, which can quickly and accurately obtain the specific position information of the ship's internal and external outfitting parts in the ship, without the need for manual measurement and recording one by one, saving the time of manual data collection and improving the efficiency of 3D modeling; by extracting the ship entity data in the ship CAD drawing and combining it with the ship outfitting sample library to determine the layout angle data of the ship's internal and external outfitting parts, it can further enrich the details of the ship's internal and external outfitting parts, so that the spatial relationship between the outfitting parts and the ship entity can be more accurately reflected during 3D modeling, reducing modeling repetitions caused by inaccurate or incomplete data Modification can be performed to improve the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts; a three-dimensional modeling data table of ship interior and exterior outfitting parts is constructed through ship rib position data, position coordinate data of ship interior and exterior outfitting parts and arrangement angle data of ship interior and exterior outfitting parts, which can construct necessary data for three-dimensional modeling with streamlined data, thereby reducing redundant data caused by non-essential data for modeling, and in the form of data tables, the three-dimensional modeling can be quickly modified to meet the three-dimensional modeling requirements of different ship types and different ship interior and exterior outfitting parts, avoiding the low efficiency of ship interior and exterior outfitting parts caused by repeated modeling and multiple data acquisition, thereby improving the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A flowchart of the steps of a three-dimensional modeling method for interior and exterior outfitting of a ship provided by an embodiment of the present invention;
[0054] Figure 2A schematic diagram of another process for three-dimensional modeling of interior and exterior outfitting of a ship provided by an embodiment of the present invention;
[0055] Figure 3 A schematic structural diagram of a three-dimensional modeling device for interior and exterior outfitting of a ship provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0057] At present, before the three-dimensional modeling of the interior and exterior outfitting of ships, a large amount of list data needs to be manually checked, including various modeling data of the interior and exterior outfitting of ships, such as location, specification attributes, part number, etc. At the same time, the establishment of a sample library of ship outfitting parts also requires a lot of manpower and time to check and confirm. In addition, when three-dimensionally modeling the interior and exterior outfitting of ships, it is currently necessary to query the CAD drawings and measure the positions of the outfitting parts on the CAD drawings. Moreover, these statistical data and modeling cannot be applied to other types of ships. When the ship type and the position of the outfitting parts change, manual statistics and modeling need to be repeated. All of these have led to the low efficiency of the current three-dimensional modeling of ship outfitting parts. Therefore, this embodiment solves the defects of the existing technology through a three-dimensional modeling method and device for interior and exterior outfitting of ships.
[0058] Before describing a method and device for three-dimensional modeling of internal and external outfitting parts of a ship, the common terms used in three-dimensional modeling of ship outfitting parts are explained here; CAD drawings refer to ship-related drawings drawn using Computer-Aided Design (CAD) software, which include various geometric shapes, structural layouts, system configurations and other information required in the ship design and construction process; VB language refers to Visual Basic programming language, which is a structured, modular, object-oriented visual programming language with built-in rich database access components and tools.
[0059] Example 1
[0060] Please refer to Figure 1 , Figure 1 A flowchart of a method for three-dimensional modeling of interior and exterior outfitting of a ship provided in an embodiment of the present invention includes steps S101 to S104.
[0061] Step S101: obtaining a ship CAD drawing, determining a ship outfitting sample library according to the ship CAD drawing, and determining position coordinate data of internal and external outfitting parts of the ship based on the ship outfitting sample library.
[0062] In this embodiment, the process of obtaining a ship CAD drawing, determining a ship outfitting sample library according to the ship CAD drawing, and determining the position coordinate data of the ship's interior and exterior outfitting parts based on the ship outfitting sample library specifically includes:
[0063] Reading ship outfitting information from the ship CAD drawing according to a preset ship outfitting information reading program to obtain a plurality of ship interior and exterior outfitting parts and outfitting modeling data for each of the ship interior and exterior outfitting parts;
[0064] According to the outfitting modeling data of each of the ship's internal and external outfitting parts, respectively configuring a ship's external outfitting parts sample library and a ship's internal outfitting parts sample library, and determining a ship's outfitting sample library based on the ship's external outfitting parts sample library and the ship's internal outfitting parts sample library;
[0065] According to the outfitting modeling data of each of the ship's interior and exterior outfitting parts in the ship's outfitting sample library, the position coordinate data of the ship's interior and exterior outfitting parts are determined in combination with a preset ship coordinate system.
[0066] In an optional embodiment, the preset ship outfitting information reading program can be obtained by programming in VB language. Specifically, the ship outfitting information in the CAD drawing can be read through the AutoCAD API, COM component or ActiveX component in VB language to obtain a number of ship interior and exterior outfitting parts and the outfitting modeling data of each of the ship interior and exterior outfitting parts. The interior and exterior outfitting parts include: anchor, rudder, mooring, towing, lifting, lifesaving, fire fighting, roll-on / roll-off, doors, windows, beds, cabinets, chairs, sanitary facilities, kitchen cold storage and air conditioning system, etc.; the outfitting modeling data includes: specification attributes, part number, material Quality, number, sample weight, construction drawing number, deck position, etc.; then according to the internal and external outfitting parts and their outfitting modeling data, the ship's external outfitting parts sample library and the ship's internal outfitting parts sample library are configured respectively. The ship's external outfitting parts sample library includes: anchors, rudders, mooring, towing, lifting, lifesaving, fire fighting, roll-on / roll-off and other ship's external outfitting parts; the ship's internal outfitting parts sample library includes: doors, windows, beds, cabinets, chairs, sanitary facilities, kitchen cold storage and air-conditioning systems and other ship's internal outfitting parts.
[0067] This embodiment uses a preset ship outfitting information reading program to quickly and accurately extract ship interior and exterior outfitting parts and their outfitting modeling data from ship CAD drawings, avoiding errors and omissions caused by manual identification and recording of outfitting parts information, thereby improving the efficiency and accuracy of data acquisition. According to the extracted outfitting modeling data, the ship exterior outfitting parts sample library and the ship interior outfitting parts sample library are respectively configured, which can more accurately classify and organize the outfitting parts, reduce the complexity of subsequent three-dimensional modeling, and thus improve the efficiency of subsequent three-dimensional modeling; based on the outfitting modeling data of each ship interior and exterior outfitting part in the ship outfitting sample library, and combined with the preset ship coordinate system, the position coordinate data of the ship interior and exterior outfitting parts can be efficiently determined, avoiding the inefficiency caused by repeated adjustment and verification of coordinate positions in the subsequent three-dimensional modeling process, and improving the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts.
[0068] In this embodiment, the determining of the position coordinate data of the ship's internal and external outfitting parts based on the outfitting modeling data of each of the ship's internal and external outfitting parts in the ship outfitting sample library in combination with a preset ship coordinate system specifically includes:
[0069] The outfitting modeling data of the ship's interior and exterior outfitting parts include: length direction, width direction and height direction;
[0070] Aligning the ship's interior and exterior outfitting parts with a preset ship coordinate system according to the length, width, and height directions of each of the ship's interior and exterior outfitting parts, thereby determining the position coordinate data of the center point and the position coordinate data of the corner points of each of the ship's interior and exterior outfitting parts;
[0071] The position coordinate data of the ship's interior and exterior outfitting parts are determined according to the position coordinate data of the center point and the position coordinate data of the corner point of each of the ship's interior and exterior outfitting parts in combination with the outfitting modeling data of each of the ship's interior and exterior outfitting parts.
[0072] In an optional embodiment, a preset ship coordinate system is configured with the center of the ship as the coordinate origin, the length of the ship as the coordinate X-axis, the width of the ship as the coordinate Y-axis, and the height of the ship as the coordinate Z-axis. The length direction of the ship's internal and external outfitting parts is aligned with the X-axis, the width direction of the ship's internal and external outfitting parts is aligned with the Y-axis, and the height direction of the ship's internal and external outfitting parts is aligned with the Z-axis. Subsequently, the position coordinate data of the center point and the corner point position coordinate data of each ship's internal and external outfitting parts are calculated based on the preset ship coordinate system.
[0073] Since the position of the internal and external outfitting of the ship will affect the safety and daily maintenance of the ship, the modeling data of the ship needs to be considered when calculating the position coordinate data of the internal and external outfitting of the ship. The installation position of the internal and external outfitting of the ship can be adjusted based on the weight to ensure that the center of gravity of the ship is within a safe range, avoiding the tilting or instability of the ship caused by the uneven weight distribution of the internal and external outfitting of the ship; the spacing between the internal and external outfitting of the ship can be adjusted based on the size, specification and number to be displayed, which can ensure the effective maintenance of the internal and external outfitting of the ship and improve the space utilization rate of the ship; therefore, this embodiment adjusts the internal and external outfitting of the ship through the outfitting modeling data (size, weight, specification and number to be displayed) of the internal and external outfitting of the ship, and then determines the position coordinate data of the internal and external outfitting of the ship through the position coordinate data of the center point and the corner point position coordinate data of the adjusted internal and external outfitting of the ship.
[0074] This embodiment can accurately determine the coordinate data of the center and corner points of the outfitting parts by aligning the length, width and height directions of the ship's interior and exterior outfitting parts. This not only avoids the errors caused by manual measurement and estimation of coordinate positions, but also reduces the calculation complexity and speeds up the calculation speed of the position coordinate data of the ship's interior and exterior outfitting parts. Combined with the outfitting modeling data, it can quickly determine the position and shape of each ship's interior and exterior outfitting parts in three-dimensional space, thereby improving the efficiency of building three-dimensional models of the ship's interior and exterior outfitting parts.
[0075] Step S102: extracting the ship entity data from the ship CAD drawing, and determining the layout angle data of the ship's internal and external outfitting parts in combination with the ship outfitting sample library.
[0076] In this embodiment, the extraction of the ship entity data from the ship CAD drawing and the determination of the layout angle data of the ship's interior and exterior outfitting parts in combination with the ship outfitting sample library specifically include:
[0077] Searching the ship CAD drawing according to a preset entity data reading program to determine the ship entity data;
[0078] Comparing and matching the outfitting modeling data of each ship's interior and exterior outfitting part in the ship outfitting sample library with the ship entity data, and determining the outfitting part entity corresponding to each of the ship's interior and exterior outfitting parts, as well as the entity category and entity position coordinates of the outfitting part entity;
[0079] Calculating a minimum bounding box of each of the ship's internal and external outfitting parts according to the entity category and entity position coordinates of the outfitting part entity corresponding to each of the ship's internal and external outfitting parts, and determining layout angle data of each of the ship's internal and external outfitting parts in the ship's outfitting sample library according to the minimum bounding box;
[0080] The arrangement angle data of the ship's interior and exterior outfitting parts are obtained according to the arrangement angle data of each ship's interior and exterior outfitting parts in the ship's outfitting sample library.
[0081] It should be noted that the minimum bounding box (MBB) refers to a simple geometric body with the smallest volume (such as a cuboid or a sphere) that completely encloses the complex geometric shape of a ship and its components. The core goal is to balance computational efficiency and spatial description accuracy. It includes AABB bounding boxes (axis-aligned bounding boxes), OBB bounding boxes (oriented bounding boxes), and spheres.
[0082] In an optional embodiment, the preset entity data reading program can be obtained by programming in VB language. Specifically, the CAD drawing can be searched through the AutoCAD API, COM component or ActiveX component in VB language to determine the ship entity data. The ship entity data includes: attribute blocks, CAD layers, etc.; the attribute blocks and CAD layers contain a number of outfitting entities, as well as the entity category, entity position coordinates, entity part number, entity specifications and other data of the outfitting entities. Then, the MatchToLibrary function in VB language is used to compare and match the ship entity data with the outfitting modeling data of each ship's internal and external outfitting in the ship outfitting sample library, so as to obtain the outfitting entity corresponding to each of the ship's internal and external outfitting, as well as the entity category and entity position coordinates of the outfitting entity; wherein, the type of the minimum bounding box (such as AABB bounding box, OBB bounding box, bounding sphere) of the outfitting entity corresponding to each of the ship's internal and external outfitting is determined according to the entity category, and then the AutoCAD in VB language is used to match the ship entity data with the outfitting modeling data of each ship's internal and external outfitting in the ship outfitting sample library. The GetBoundingBox method in the API calculates the minimum bounding box of each of the ship's internal and external outfitting parts corresponding to the outfitting part entity based on the entity coordinate position. Then, based on the minimum bounding box of each of the ship's internal and external outfitting parts corresponding to the outfitting part entity and combined with the preset ship internal and external outfitting parts layout rules (including IMO SOLAS requirements, GB / T3894-2009, etc.), each of the ship's internal and external outfitting parts is adjusted in the direction relative to the bow, with the Z axis of the preset ship coordinate system as the axis. After the adjustment, the layout angle data of each ship's internal and external outfitting parts is determined.
[0083] This embodiment searches the ship CAD drawing through a preset entity data reading program, which can automatically and quickly determine the ship entity data, avoiding the tedious process of manual search and comparison of data, and compares and matches the outfitting modeling data of each ship's internal and external outfitting parts in the ship outfitting sample library with the ship entity data, thereby ensuring the accuracy of subsequent three-dimensional modeling; by calculating the minimum bounding box and determining the layout angle data of the ship's internal and external outfitting parts, it can more accurately reflect the layout of the ship's internal and external outfitting parts in the actual ship, improve the accuracy of the layout angle data, avoid repeated three-dimensional modeling due to unreasonable layout angles, and thus improve the efficiency of building three-dimensional models of the ship's internal and external outfitting parts.
[0084] Step S103: obtaining ship rib position data based on the ship CAD drawing, and constructing a three-dimensional modeling data table of ship interior and exterior outfitting parts in combination with the position coordinate data of the ship interior and exterior outfitting parts and the arrangement angle data of the ship interior and exterior outfitting parts.
[0085] In an optional embodiment, according to the ship baseline in the CAD drawing, the rib position coordinates, rib position number, and rib distance are obtained to determine the ship rib position data; then an initial three-dimensional modeling data table of the ship's interior and exterior outfitting parts is created, and the initial three-dimensional modeling data table of the ship's interior and exterior outfitting parts is specifically an EXCEL table. The ship rib position data (rib position coordinates, rib position number, rib distance), the position coordinate data of the ship's interior and exterior outfitting parts, and the layout angle data of the ship's interior and exterior outfitting parts are filled in the initial three-dimensional modeling data table of the ship's interior and exterior outfitting parts, and the acquired outfitting modeling data (including: specification attributes, part number, material, number, sample weight, construction drawing number, deck position, etc.) is written into the initial three-dimensional modeling data table of the ship's interior and exterior outfitting parts to obtain the three-dimensional modeling data table of the ship's interior and exterior outfitting parts.
[0086] Step S104: performing three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data table of the ship's interior and exterior outfitting parts and a preset three-dimensional modeling tool.
[0087] In this embodiment, the three-dimensional modeling of the interior and exterior outfitting parts of a ship is performed according to the three-dimensional modeling data table of the interior and exterior outfitting parts of the ship and the preset three-dimensional modeling tool, specifically including:
[0088] Sorting and classifying the three-dimensional modeling data table of the ship's internal and external outfitting parts based on the position coordinate data of the ship's internal and external outfitting parts to obtain a sorting table of the three-dimensional modeling data of the ship's internal and external outfitting parts;
[0089] The three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts is input into a preset three-dimensional modeling tool, so that the preset three-dimensional modeling tool performs three-dimensional modeling of the ship's exterior outfitting parts and three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts.
[0090] In an optional embodiment, the sorting and classification function in the EXCEL table is called to sort and classify the three-dimensional modeling data table of the ship's internal and external outfitting parts. Specifically, the position coordinate data of the ship's internal and external outfitting parts are first sorted, and then sorted and classified according to specification attributes, part number, material, number, sample weight, construction drawing number, deck position, etc. to obtain a sorting table of the three-dimensional modeling data of the ship's internal and external outfitting parts. Then, the sorting table of the three-dimensional modeling data of the ship's internal and external outfitting parts is input into a preset three-dimensional modeling tool, so that the preset three-dimensional modeling tool performs three-dimensional modeling of the ship's external outfitting parts and three-dimensional modeling of the ship's internal and external outfitting parts according to the sorting table of the three-dimensional modeling data of the ship's internal and external outfitting parts. The preset three-dimensional modeling tools include: Autodesk AutoCAD, CATIA, SolidWorks, etc.
[0091] This embodiment sorts and classifies the three-dimensional modeling data table of the ship's internal and external outfitting parts by the position coordinate data of the ship's internal and external outfitting parts, forming a three-dimensional modeling data sorting table of the ship's internal and external outfitting parts in a logical order, so that subsequent three-dimensional modeling work can be carried out in accordance with the established order and classification, avoiding the confusion caused by disordered modeling and improving the efficiency of building three-dimensional models of the ship's internal and external outfitting parts.
[0092] In an alternative embodiment, see Figure 2 , Figure 2 A schematic diagram of another process for three-dimensional modeling of interior and exterior outfitting of a ship provided by an embodiment of the present invention is shown as follows: Figure 2 As shown, first, VB programming software is used to establish a UI interface, and an EXCEL interface and a 3D modeling software interface are set in the VB programming software; then, two points are picked up in the CAD drawing through the VB programming software to define the rib distance and rib position number, and then a layout worksheet is created through the EXCEL interface. Then, based on the CAD drawing, it is determined whether it is a ladder / cover layout. If it is not a ladder / cover layout, the information in the CAD drawing is read, and the internal / external outfitting sample library (i.e., the internal outfitting sample library and the external outfitting sample library) is automatically configured. Then, the cabin name and the internal outfitting position information are read, and its layout information within the single deck is written into the layout worksheet; if it is a ladder / cover layout, the ladder / cover position information is directly read, and then its layout information within the single deck is written into the layout worksheet; then the outfitting coordinates in the layout worksheet are automatically sorted and classified, and then linked to SPD (Shipyard Production Design) for automatic 3D modeling.
[0093] This optional embodiment generates a layout worksheet through VB programming software and links it to the 3D modeling software, which reduces the steps of manual input and adjustment, significantly improves modeling efficiency, can generate and update outfitting models in batches, and can be well suited to a large amount of repetitive work in complex ship design; directly obtains data from CAD drawings, reduces human errors, ensures the model accuracy of 3D modeling, and the 3D modeling model is generated based on the same data source (CAD drawing), avoiding the size and position inconsistency problems that occur in manual modeling; when the ship design changes, only the data in the layout worksheet needs to be updated, and the 3D modeling model will be automatically adjusted, which can save a lot of modeling time. The automatic generation of models reduces repetitive work and can be well suited to large-scale outfitting modeling tasks in complex ship design.
[0094] In this embodiment, a ship outfitting sample library is determined through a ship CAD drawing, and then the position coordinate data of the ship's internal and external outfitting parts are determined based on the ship outfitting sample library. Then, the ship entity data is extracted from the ship CAD drawing, and then the layout angle data of the ship's internal and external outfitting parts are determined based on the ship entity data and the ship outfitting sample library. Then, the ship rib position data is obtained from the ship CAD drawing, and a three-dimensional modeling data table of the ship's internal and external outfitting parts is constructed in combination with the position coordinate data of the ship's internal and external outfitting parts and the layout angle data of the ship's internal and external outfitting parts, thereby realizing three-dimensional modeling of the ship's internal and external outfitting parts. This embodiment determines the ship outfitting sample library through the ship CAD drawing, and determines the position coordinate data of the ship's internal and external outfitting parts based on this, which can quickly and accurately obtain the specific position information of the ship's internal and external outfitting parts in the ship, without the need for manual measurement and recording one by one, saving time for manual data collection and improving the efficiency of 3D modeling; by extracting the ship entity data from the ship CAD drawing and combining it with the ship outfitting sample library to determine the layout angle data of the ship's internal and external outfitting parts, the details of the ship's internal and external outfitting parts can be further enriched, so that the spatial relationship between the outfitting parts and the ship entity can be more accurately reflected during 3D modeling, reducing modeling repetitions caused by inaccurate or incomplete data Modification can be performed to improve the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts; a three-dimensional modeling data table of ship interior and exterior outfitting parts is constructed through ship rib position data, position coordinate data of ship interior and exterior outfitting parts and arrangement angle data of ship interior and exterior outfitting parts, which can construct necessary data for three-dimensional modeling with streamlined data, thereby reducing redundant data caused by non-essential data for modeling, and in the form of data tables, the three-dimensional modeling can be quickly modified to meet the three-dimensional modeling requirements of different ship types and different ship interior and exterior outfitting parts, avoiding the low efficiency of ship interior and exterior outfitting parts caused by repeated modeling and multiple data acquisition, thereby improving the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts.
[0095] Example 2
[0096] Please refer to Figure 3 , Figure 3A schematic structural diagram of a device for 3D modeling of interior and exterior ship outfitting provided by an embodiment of the present invention, comprising: a module 201 for acquiring position coordinate data of interior and exterior ship outfitting; a module 202 for acquiring arrangement angle data of interior and exterior ship outfitting; a module 203 for constructing a data table for 3D modeling of interior and exterior ship outfitting; and a module 204 for 3D modeling of interior and exterior ship outfitting;
[0097] The ship interior and exterior outfitting position coordinate data acquisition module 201 is used to acquire a ship CAD drawing, determine a ship outfitting sample library according to the ship CAD drawing, and determine the ship interior and exterior outfitting position coordinate data based on the ship outfitting sample library.
[0098] In this embodiment, the ship interior and exterior outfitting parts position coordinate data acquisition module 201 includes: a ship interior and exterior outfitting parts position coordinate data acquisition unit;
[0099] The ship interior and exterior outfitting parts position coordinate data acquisition unit is used to read the ship outfitting parts information from the ship CAD drawing according to a preset ship outfitting parts information reading program to obtain a plurality of ship interior and exterior outfitting parts and outfitting modeling data of each of the ship interior and exterior outfitting parts;
[0100] According to the outfitting modeling data of each of the ship's internal and external outfitting parts, respectively configuring a ship's external outfitting parts sample library and a ship's internal outfitting parts sample library, and determining a ship's outfitting sample library based on the ship's external outfitting parts sample library and the ship's internal outfitting parts sample library;
[0101] According to the outfitting modeling data of each of the ship's interior and exterior outfitting parts in the ship's outfitting sample library, the position coordinate data of the ship's interior and exterior outfitting parts are determined in combination with a preset ship coordinate system.
[0102] In this embodiment, the unit for acquiring the position coordinate data of the internal and external outfitting parts of a ship comprises: a subunit for acquiring the position coordinate data of the internal and external outfitting parts of a ship;
[0103] In the ship interior and exterior outfitting parts position coordinate data acquisition subunit, the outfitting modeling data of the ship interior and exterior outfitting parts include: length direction, width direction and height direction;
[0104] The ship interior and exterior outfitting position coordinate data acquisition subunit is used to align the ship interior and exterior outfitting with a preset ship coordinate system according to the length direction, width direction and height direction of each ship interior and exterior outfitting, and thereby determine the position coordinate data of the center point and the corner point position coordinate data of each ship interior and exterior outfitting;
[0105] The position coordinate data of the ship's interior and exterior outfitting parts are determined according to the position coordinate data of the center point and the position coordinate data of the corner point of each of the ship's interior and exterior outfitting parts in combination with the outfitting modeling data of each of the ship's interior and exterior outfitting parts.
[0106] The ship interior and exterior outfitting arrangement angle data acquisition module 202 is used to extract the ship entity data in the ship CAD drawing and determine the ship interior and exterior outfitting arrangement angle data in combination with the ship outfitting sample library.
[0107] In this embodiment, the ship interior and exterior outfitting parts arrangement angle data acquisition module 202 includes: a ship interior and exterior outfitting parts arrangement angle data acquisition unit;
[0108] The ship interior and exterior outfitting arrangement angle data acquisition unit is used to search the ship CAD drawing according to a preset entity data reading program to determine the ship entity data;
[0109] Comparing and matching the outfitting modeling data of each ship's interior and exterior outfitting part in the ship outfitting sample library with the ship entity data, and determining the outfitting part entity corresponding to each of the ship's interior and exterior outfitting parts, as well as the entity category and entity position coordinates of the outfitting part entity;
[0110] Calculating a minimum bounding box of each of the ship's internal and external outfitting parts according to the entity category and entity position coordinates of the outfitting part entity corresponding to each of the ship's internal and external outfitting parts, and determining layout angle data of each of the ship's internal and external outfitting parts in the ship's outfitting sample library according to the minimum bounding box;
[0111] The arrangement angle data of the ship's interior and exterior outfitting parts are obtained according to the arrangement angle data of each ship's interior and exterior outfitting parts in the ship's outfitting sample library.
[0112] The ship interior and exterior outfitting three-dimensional modeling data table construction module 203 is used to obtain ship rib position data based on the ship CAD drawing, and to construct a ship interior and exterior outfitting three-dimensional modeling data table in combination with the ship interior and exterior outfitting position coordinate data and ship interior and exterior outfitting arrangement angle data.
[0113] The ship interior and exterior outfitting three-dimensional modeling module 204 is used to perform three-dimensional modeling of ship interior and exterior outfitting according to the ship interior and exterior outfitting three-dimensional modeling data table and a preset three-dimensional modeling tool.
[0114] In this embodiment, the ship interior and exterior outfitting three-dimensional modeling module 204 includes: a ship interior and exterior outfitting three-dimensional modeling unit;
[0115] The three-dimensional modeling unit for ship interior and exterior outfitting parts is used to sort and classify the three-dimensional modeling data table of ship interior and exterior outfitting parts based on the position coordinate data of the ship interior and exterior outfitting parts to obtain a sorting table of the three-dimensional modeling data of ship interior and exterior outfitting parts;
[0116] The three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts is input into a preset three-dimensional modeling tool, so that the preset three-dimensional modeling tool performs three-dimensional modeling of the ship's exterior outfitting parts and three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts.
[0117] In this embodiment, a ship outfitting sample library is determined through a ship CAD drawing, and then the position coordinate data of the ship's internal and external outfitting parts are determined based on the ship outfitting sample library. Then, the ship entity data is extracted from the ship CAD drawing, and then the layout angle data of the ship's internal and external outfitting parts are determined based on the ship entity data and the ship outfitting sample library. Then, the ship rib position data is obtained from the ship CAD drawing, and a three-dimensional modeling data table of the ship's internal and external outfitting parts is constructed in combination with the position coordinate data of the ship's internal and external outfitting parts and the layout angle data of the ship's internal and external outfitting parts, thereby realizing three-dimensional modeling of the ship's internal and external outfitting parts. This embodiment determines the ship outfitting sample library through the ship CAD drawing, and determines the position coordinate data of the ship's internal and external outfitting parts based on this, which can quickly and accurately obtain the specific position information of the ship's internal and external outfitting parts in the ship, without the need for manual measurement and recording one by one, saving time for manual data collection and improving the efficiency of 3D modeling; by extracting the ship entity data from the ship CAD drawing and combining it with the ship outfitting sample library to determine the layout angle data of the ship's internal and external outfitting parts, the details of the ship's internal and external outfitting parts can be further enriched, so that the spatial relationship between the outfitting parts and the ship entity can be more accurately reflected during 3D modeling, reducing modeling repetitions caused by inaccurate or incomplete data Modification can be performed to improve the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts; a three-dimensional modeling data table of ship interior and exterior outfitting parts is constructed through ship rib position data, position coordinate data of ship interior and exterior outfitting parts and arrangement angle data of ship interior and exterior outfitting parts, which can construct necessary data for three-dimensional modeling with streamlined data, thereby reducing redundant data caused by non-essential data for modeling, and in the form of data tables, the three-dimensional modeling can be quickly modified to meet the three-dimensional modeling requirements of different ship types and different ship interior and exterior outfitting parts, avoiding the low efficiency of ship interior and exterior outfitting parts caused by repeated modeling and multiple data acquisition, thereby improving the efficiency of three-dimensional modeling of ship interior and exterior outfitting parts.
[0118] To sum up, the embodiment of the present invention determines the ship outfitting sample library through the ship CAD drawing, then determines the position coordinate data of the ship's internal and external outfitting parts based on the ship outfitting sample library, then extracts the ship entity data from the ship CAD drawing, then determines the layout angle data of the ship's internal and external outfitting parts based on the ship entity data and the ship outfitting sample library, then obtains the ship rib position data from the ship CAD drawing, and constructs a three-dimensional modeling data table of the ship's internal and external outfitting parts in combination with the position coordinate data of the ship's internal and external outfitting parts and the layout angle data of the ship's internal and external outfitting parts, thereby realizing the three-dimensional modeling of the ship's internal and external outfitting parts. The embodiment of the present invention determines the ship outfitting sample library through the ship CAD drawing, and determines the position coordinate data of the ship's internal and external outfitting parts based on this, which can quickly and accurately obtain the specific position information of the ship's internal and external outfitting parts in the ship, without the need for manual measurement and recording one by one, saving time for manual data collection and improving the efficiency of 3D modeling; by extracting the ship entity data from the ship CAD drawing and combining it with the ship outfitting sample library to determine the layout angle data of the ship's internal and external outfitting parts, the details of the ship's internal and external outfitting parts can be further enriched, so that the spatial relationship between the outfitting parts and the ship entity can be more accurately reflected during 3D modeling, reducing modeling errors caused by inaccurate or incomplete data. Repeated modification can improve the efficiency of 3D modeling of ship's interior and exterior outfitting parts; by constructing a 3D modeling data table of ship's interior and exterior outfitting parts through ship rib position data, position coordinate data of ship's interior and exterior outfitting parts and layout angle data of ship's interior and exterior outfitting parts, the necessary data for 3D modeling can be constructed with streamlined data, thereby reducing redundant data caused by non-essential data for modeling, and in the form of data tables, the 3D modeling can be quickly modified, which can adapt to the 3D modeling needs of different ship types and different ship's interior and exterior outfitting parts, avoiding the low efficiency of ship's interior and exterior outfitting parts caused by repeated modeling and multiple acquisition of data, thereby improving the efficiency of 3D modeling of ship's interior and exterior outfitting parts.
[0119] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A three-dimensional modeling method for ship interior and exterior outfitting parts, characterized in that: include: Obtaining a CAD drawing of a ship, determining a ship outfitting sample library according to the CAD drawing, and determining position coordinate data of internal and external outfitting parts of the ship based on the ship outfitting sample library; Extracting the ship entity data from the ship CAD drawing, and determining the layout angle data of the ship's internal and external outfitting parts in combination with the ship outfitting sample library; Acquiring ship rib position data based on the ship CAD drawing, and constructing a three-dimensional modeling data table of ship interior and exterior outfitting parts in combination with the position coordinate data of the ship interior and exterior outfitting parts and the arrangement angle data of the ship interior and exterior outfitting parts; Three-dimensional modeling of the interior and exterior outfitting parts of the ship is performed according to the three-dimensional modeling data table of the interior and exterior outfitting parts of the ship and the preset three-dimensional modeling tool.
2. A three-dimensional modeling method for ship interior and exterior outfitting according to claim 1, characterized in that: The obtaining of the ship CAD drawing, determining the ship outfitting sample library according to the ship CAD drawing, and determining the position coordinate data of the ship's internal and external outfitting parts based on the ship outfitting sample library specifically includes: Reading ship outfitting information from the ship CAD drawing according to a preset ship outfitting information reading program to obtain a plurality of ship interior and exterior outfitting parts and outfitting modeling data for each of the ship interior and exterior outfitting parts; According to the outfitting modeling data of each of the ship's internal and external outfitting parts, respectively configuring a ship's external outfitting parts sample library and a ship's internal outfitting parts sample library, and determining a ship's outfitting sample library based on the ship's external outfitting parts sample library and the ship's internal outfitting parts sample library; According to the outfitting modeling data of each of the ship's interior and exterior outfitting parts in the ship's outfitting sample library, the position coordinate data of the ship's interior and exterior outfitting parts are determined in combination with a preset ship coordinate system.
3. A three-dimensional modeling method for interior and exterior outfitting of a ship according to claim 2, characterized in that: The method of determining the position coordinate data of the ship's internal and external outfitting parts based on the outfitting modeling data of each of the ship's internal and external outfitting parts in the ship's outfitting sample library in combination with a preset ship coordinate system specifically includes: The outfitting modeling data of the ship's interior and exterior outfitting parts include: length direction, width direction and height direction; Aligning the ship's interior and exterior outfitting parts with a preset ship coordinate system according to the length, width, and height directions of each of the ship's interior and exterior outfitting parts, thereby determining the position coordinate data of the center point and the position coordinate data of the corner points of each of the ship's interior and exterior outfitting parts; The position coordinate data of the ship's interior and exterior outfitting parts are determined according to the position coordinate data of the center point and the position coordinate data of the corner point of each of the ship's interior and exterior outfitting parts in combination with the outfitting modeling data of each of the ship's interior and exterior outfitting parts.
4. A three-dimensional modeling method for interior and exterior outfitting of a ship according to claim 2 or 3, characterized in that: The extracting of the ship entity data from the ship CAD drawing and determining the layout angle data of the ship's internal and external outfitting parts in combination with the ship outfitting sample library specifically includes: Searching the ship CAD drawing according to a preset entity data reading program to determine the ship entity data; Comparing and matching the outfitting modeling data of each ship's interior and exterior outfitting part in the ship outfitting sample library with the ship entity data, and determining the outfitting part entity corresponding to each of the ship's interior and exterior outfitting parts, as well as the entity category and entity position coordinates of the outfitting part entity; Calculating a minimum bounding box of each of the ship's internal and external outfitting parts according to the entity category and entity position coordinates of the outfitting part entity corresponding to each of the ship's internal and external outfitting parts, and determining layout angle data of each of the ship's internal and external outfitting parts in the ship's outfitting sample library according to the minimum bounding box; The arrangement angle data of the ship's interior and exterior outfitting parts are obtained according to the arrangement angle data of each ship's interior and exterior outfitting parts in the ship's outfitting sample library.
5. The three-dimensional modeling method of ship interior and exterior outfitting according to claim 1, characterized in that: The three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data table of the ship's interior and exterior outfitting parts and the preset three-dimensional modeling tool specifically includes: Sorting and classifying the three-dimensional modeling data table of the ship's internal and external outfitting parts based on the position coordinate data of the ship's internal and external outfitting parts to obtain a sorting table of the three-dimensional modeling data of the ship's internal and external outfitting parts; The three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts is input into a preset three-dimensional modeling tool, so that the preset three-dimensional modeling tool performs three-dimensional modeling of the ship's exterior outfitting parts and three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts.
6. A three-dimensional modeling device for ship interior and exterior outfitting, characterized in that: include: Ship interior and exterior outfitting parts position coordinate data acquisition module, ship interior and exterior outfitting parts layout angle data acquisition module, ship interior and exterior outfitting parts 3D modeling data table construction module and ship interior and exterior outfitting parts 3D modeling module; The module for acquiring the position coordinate data of the internal and external outfitting parts of a ship is used to acquire a CAD drawing of a ship, determine a ship outfitting sample library according to the CAD drawing of the ship, and determine the position coordinate data of the internal and external outfitting parts of the ship based on the ship outfitting sample library; The ship interior and exterior outfitting arrangement angle data acquisition module is used to extract the ship entity data in the ship CAD drawing and determine the ship interior and exterior outfitting arrangement angle data in combination with the ship outfitting sample library; The module for constructing a three-dimensional modeling data table of ship interior and exterior outfitting parts is used to obtain ship rib position data based on the ship CAD drawing, and to construct a three-dimensional modeling data table of ship interior and exterior outfitting parts in combination with the position coordinate data of the ship interior and exterior outfitting parts and the arrangement angle data of the ship interior and exterior outfitting parts; The three-dimensional modeling module for ship interior and exterior outfitting parts is used to perform three-dimensional modeling of ship interior and exterior outfitting parts according to the three-dimensional modeling data table for ship interior and exterior outfitting parts and a preset three-dimensional modeling tool.
7. A three-dimensional modeling device for interior and exterior outfitting of a ship according to claim 6, characterized in that: The module for acquiring the position coordinate data of the internal and external outfitting parts of a ship comprises: a unit for acquiring the position coordinate data of the internal and external outfitting parts of a ship; The ship interior and exterior outfitting parts position coordinate data acquisition unit is used to read the ship outfitting parts information from the ship CAD drawing according to a preset ship outfitting parts information reading program to obtain a plurality of ship interior and exterior outfitting parts and outfitting modeling data of each of the ship interior and exterior outfitting parts; According to the outfitting modeling data of each of the ship's internal and external outfitting parts, respectively configuring a ship's external outfitting parts sample library and a ship's internal outfitting parts sample library, and determining a ship's outfitting sample library based on the ship's external outfitting parts sample library and the ship's internal outfitting parts sample library; According to the outfitting modeling data of each of the ship's interior and exterior outfitting parts in the ship's outfitting sample library, the position coordinate data of the ship's interior and exterior outfitting parts are determined in combination with a preset ship coordinate system.
8. The three-dimensional modeling device for interior and exterior outfitting of a ship according to claim 7, characterized in that: The unit for acquiring the position coordinate data of the internal and external outfitting parts of a ship comprises: a subunit for acquiring the position coordinate data of the internal and external outfitting parts of a ship; In the ship interior and exterior outfitting parts position coordinate data acquisition subunit, the outfitting modeling data of the ship interior and exterior outfitting parts include: length direction, width direction and height direction; The ship interior and exterior outfitting position coordinate data acquisition subunit is used to align the ship interior and exterior outfitting with a preset ship coordinate system according to the length direction, width direction and height direction of each ship interior and exterior outfitting, and thereby determine the position coordinate data of the center point and the corner point position coordinate data of each ship interior and exterior outfitting; The position coordinate data of the ship's interior and exterior outfitting parts are determined according to the position coordinate data of the center point and the position coordinate data of the corner point of each of the ship's interior and exterior outfitting parts in combination with the outfitting modeling data of each of the ship's interior and exterior outfitting parts.
9. A three-dimensional modeling device for interior and exterior outfitting of a ship according to claim 7 or 8, characterized in that: The module for acquiring data on arrangement angles of ship interior and exterior outfitting parts comprises: a unit for acquiring data on arrangement angles of ship interior and exterior outfitting parts; The ship interior and exterior outfitting arrangement angle data acquisition unit is used to search the ship CAD drawing according to a preset entity data reading program to determine the ship entity data; Comparing and matching the outfitting modeling data of each ship's interior and exterior outfitting part in the ship outfitting sample library with the ship entity data, and determining the outfitting part entity corresponding to each of the ship's interior and exterior outfitting parts, as well as the entity category and entity position coordinates of the outfitting part entity; Calculating a minimum bounding box of each of the ship's internal and external outfitting parts according to the entity category and entity position coordinates of the outfitting part entity corresponding to each of the ship's internal and external outfitting parts, and determining layout angle data of each of the ship's internal and external outfitting parts in the ship's outfitting sample library according to the minimum bounding box; The arrangement angle data of the ship's interior and exterior outfitting parts are obtained according to the arrangement angle data of each ship's interior and exterior outfitting parts in the ship's outfitting sample library.
10. The three-dimensional modeling device for interior and exterior outfitting of a ship according to claim 7, characterized in that: The three-dimensional modeling module for ship interior and exterior outfitting parts includes: a three-dimensional modeling unit for ship interior and exterior outfitting parts; The three-dimensional modeling unit for ship interior and exterior outfitting parts is used to sort and classify the three-dimensional modeling data table of ship interior and exterior outfitting parts based on the position coordinate data of the ship interior and exterior outfitting parts to obtain a sorting table of the three-dimensional modeling data of ship interior and exterior outfitting parts; The three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts is input into a preset three-dimensional modeling tool, so that the preset three-dimensional modeling tool performs three-dimensional modeling of the ship's exterior outfitting parts and three-dimensional modeling of the ship's interior and exterior outfitting parts according to the three-dimensional modeling data sorting table of the ship's interior and exterior outfitting parts.