Paint material statistical method and system based on digital general drawing and FORAN three-dimensional model
By using digital general diagrams and FORAN three-dimensional model paint material statistics methods in ship design, the coating area and paint usage are automatically calculated, and the problems of manual statistical efficiency and insufficient accuracy are solved, achieving more efficient and accurate coating material management.
Patent Information
- Application Number
- CN202411949338.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-05-27
AI Technical Summary
In the process of ship design and manufacturing, facing a variety of cabins and complex structures, manual coating area estimation and detailed statistics are inefficient, and large statistical deviations are prone to occur.
The paint material statistics method based on the digital general chart and the FORAN three-dimensional model is adopted. By making the coordinates of the digital general chart consistent with the coordinates of the FORAN three-dimensional model, the area to be painted and the cabin is determined. The surface area of the bulkhead surface is calculated using three-dimensional software, combined with the paint consumption per unit area, the paint consumption is automatically calculated and the statistical table is generated.
It improves the calculation accuracy and efficiency of coating area estimation, reduces the risk of human error, ensures the accuracy and timeliness of information, and is suitable for ship coating projects of different sizes and types.
Smart Images

Figure CN120046303A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of ships, and particularly relates to a paint material statistics method and system based on a digital general layout and a FORAN three-dimensional model. Background Art
[0002] In related technologies, in ship design, in order to extend the service life of a ship and meet the special requirements of the ship, and at the same time minimize the corrosion of the hull material, various protection methods are adopted from ship design to manufacturing. Among them, painting paint materials is the most extensive and convenient protection means.
[0003] Facing the large number and variety of cabins to be painted, and the cabin structure types and sizes are different, designers usually manually estimate the painting area of the cabins and conduct detailed statistics, with low efficiency and prone to problems such as large statistical deviations. Summary of the Invention
[0004] In a first aspect, an embodiment of the present invention provides a paint material statistics method based on a digital general layout and a FORAN three-dimensional model, including: making the coordinates of the digital general layout consistent with the coordinates of the FORAN three-dimensional model; determining the area to be painted according to the digital general layout; determining the cabins to be painted according to the area to be painted; determining the cabin wall boundary according to the cabin information of the cabins to be painted, where the cabin information includes the cabin type, cabin name, and spatial and structural model information of the cabin; determining the cabin wall structure model based on three-dimensional software according to the cabin wall boundary; calculating the surface area of the cabin wall according to the cabin wall structure model, determining the total surface area of the area to be painted according to the surface area of the area to be painted, and determining the paint consumption of the area to be painted according to the total surface area of the area to be painted and the paint consumption per unit area; generating a paint consumption statistics table according to the paint consumption and statistical requirements.
[0005] In a second aspect, an embodiment of the present invention provides a paint material statistics system based on a digital general layout and a FORAN 3D model, including: a digital general layout integration module for making the coordinates of the digital general layout consistent with the coordinates of the FORAN 3D model; a 3D model reading and cabin space surface area calculation module for determining the area to be painted according to the digital general layout; determining the cabins to be painted according to the area to be painted; determining the cabin wall surface boundaries according to the cabin information of the cabins to be painted, where the cabin information includes cabin type, cabin name, and the spatial and structural model information of the cabin; determining the cabin wall surface structure model based on 3D software according to the cabin wall surface boundaries; determining the surface area of the cabin wall surface according to the cabin wall surface structure model; determining the total surface area of the area to be painted according to the surface area of the cabin wall surface; a paint property and cabin paint scheme configuration module for determining the paint consumption of the area to be painted according to the total surface area of the area to be painted and the paint consumption per unit area; a paint scheme material list and summary list generation module for generating a paint consumption statistics table according to the paint consumption and statistical requirements.
[0006] In a third aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of the paint material statistics method based on the digital general layout and the FORAN 3D model in the first aspect are implemented.
[0007] In a fourth aspect, an embodiment of the present invention provides an electronic device. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. The characteristic is that when the processor executes the program, the steps of the paint material statistics method based on the digital general layout and the FORAN 3D model in the first aspect are implemented.
[0008] The beneficial effects brought by the present invention are as follows:
[0009] As can be seen from the above solution, the embodiment of the present invention realizes the statistics of paint materials based on the digital general layout and 3D software. The present invention can solve the problems of complex estimation of the painting area of large ships, large workload, low efficiency, and insufficient calculation accuracy.
[0010] For the paint material statistics method based on the digital general layout and the FORAN 3D model proposed by the present invention, first, the coordinates of the digital general layout are made consistent with the coordinates of the FORAN 3D model. The present invention first performs coordinate correction. Through coordinate correction, it is ensured that the coordinate system of the digital general layout can be fully matched with the coordinate system of the FORAN 3D model, and it is ensured that the information obtained from the digital general layout can correspond to the information in the FORAN 3D model.
[0011] Specifically, the FORAN 3D model refers to an object model in a three-dimensional space created in the FORAN software, and the FORAN software is a 3D software.
[0012] After coordinate correction, the area to be painted is determined according to the corrected digital general drawing. Specifically, it can be based on the user's design requirements and combined with the shape of the ship on the digital general drawing to clarify which areas need to be painted, thereby determining the area to be painted.
[0013] According to the area to be painted, the cabins to be painted are determined. Specifically, the area to be painted includes blocks, regions, and cabins, where the blocks and regions respectively include different numbers of cabins. Considering that each cabin requires different painting treatments due to its function, location, or structural characteristics, the present invention further breaks down to specific cabins according to the area to be painted.
[0014] According to the cabin information of the cabins to be painted, the boundaries of the cabin walls are determined, where the cabin information includes the cabin type, cabin name, and spatial and structural model information of the cabin. The present invention collects the cabin type, name, and spatial and structural model information. Accurately defining the boundaries of the cabin walls directly affects the subsequent calculation of the surface area and the estimation of the paint consumption. Determining the cabin wall boundaries through the above information can improve the accuracy of the subsequent calculation of the surface area and the estimation of the paint consumption.
[0015] Making full use of the accuracy and visualization advantages of 3D modeling technology, the present invention uses 3D software to construct a 3D structural model of the cabin walls according to the determined cabin wall boundaries. According to the cabin wall structure model, the surface area of the cabin walls is calculated, thereby determining the total surface area of the area to be painted; combined with the paint consumption per unit area, the paint consumption of the area to be painted is determined. The present invention adds up the surface areas of the cabin walls of all cabins to be painted to obtain the total surface area of the area to be painted.
[0016] According to the paint consumption and statistical requirements, a paint consumption statistics table is generated. The present invention calculates the total amount of paint required based on the total surface area and the paint consumption per unit area. Finally, according to the paint consumption and statistical requirements, a detailed paint consumption statistics table is generated. This table can contain key information such as cabin name, painting area, paint type, consumption, etc., which is convenient for subsequent material procurement and construction arrangement.
[0017] The present invention replaces traditional manual operations, reduces the risk of human errors, and improves the overall reliability. Through automation and digital means, the calculation accuracy and efficiency are improved. Real-time reading and integration of 3D structural design data ensure the accuracy and timeliness of information. The method is simple and clear, easy to understand and operate, and applicable to ship painting projects of different scales and types. In addition, the present invention is also applicable to containers and large box steel structures, and the paint materials of containers and large box steel structures can be counted through digital general drawings and FORAN 3D models. Description of the Drawings
[0018] Figure 1Schematic diagram one of the paint material statistics method based on the digital general layout and FORAN 3D model according to an embodiment of the present invention;
[0019] Figure 2 Schematic diagram two of the paint material statistics method based on the digital general layout and FORAN 3D model according to an embodiment of the present invention;
[0020] Figure 3 Schematic diagram three of the paint material statistics method based on the digital general layout and FORAN 3D model according to an embodiment of the present invention;
[0021] Figure 4 Schematic diagram four of the paint material statistics method based on the digital general layout and FORAN 3D model according to an embodiment of the present invention;
[0022] Figure 5 Schematic diagram one of the structure block diagram of the paint material statistics system based on the digital general layout and FORAN 3D model according to an embodiment of the present invention;
[0023] Figure 6 Schematic diagram two of the structure block diagram of the paint material statistics system based on the digital general layout and FORAN 3D model according to an embodiment of the present invention;
[0024] Figure 7 Schematic diagram of the maintenance of the coordinate offset of the digital general layout in an embodiment of the present invention;
[0025] Figure 8 Schematic diagram of the acquisition of the compartment data of the digital general layout in an embodiment of the present invention. Detailed implementation manners
[0026] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.
[0027] As Figure 1 shown, schematic diagram one of the flow chart of the paint material statistics method based on the digital general layout and FORAN 3D model in an embodiment of the present invention is shown, and the method includes:
[0028] S102: Make the coordinates of the digital general layout consistent with the coordinates of the FORAN 3D model;
[0029] S104: Determine the area to be painted according to the digital general layout;
[0030] S106: Determine the compartment to be painted according to the area to be painted;
[0031] S108: Determine the bulkhead surface boundary according to the compartment information of the compartment to be painted, where the compartment information includes the compartment type, compartment name, and spatial and structural model information of the compartment;
[0032] S110: Determine the bulkhead surface structure model based on 3D software according to the bulkhead surface boundary;
[0033] S112: Determine the surface area of the bulkhead surface according to the bulkhead surface structure model;
[0034] S114: Determine the total surface area of the area to be painted according to the surface area of the bulkhead surface;
[0035] S116: Determine the paint consumption of the area to be painted according to the total surface area of the area to be painted and the paint consumption per unit area;
[0036] S118: Generate a paint consumption statistical table according to the paint consumption and statistical requirements.
[0037] In this embodiment, for the paint material statistics method based on the digital general layout and FORAN 3D model proposed by the present invention, first, the coordinates of the digital general layout are made consistent with the coordinates of the FORAN 3D model. It can be seen that the present invention first performs coordinate correction. Through coordinate correction, it is ensured that the coordinate system of the digital general layout can be fully matched with the coordinate system of the FORAN 3D model, and it is ensured that the information obtained from the digital general layout can correspond to the information in the FORAN 3D model.
[0038] After the coordinate correction, determine the area to be painted according to the corrected digital general layout. Specifically, it can be based on the user's design requirements and combined with the shape of the ship on the digital general layout to clarify which areas need to be painted, so as to determine the area to be painted.
[0039] Determine the compartment to be painted according to the area to be painted. Specifically, the area to be painted includes sections, areas, and compartments, where the sections and areas respectively include different numbers of compartments. The present invention takes into account that each compartment needs different painting treatments due to its function, location, or structural characteristics, and further subdivides to specific compartments according to the area to be painted.
[0040] Determine the bulkhead surface boundary according to the compartment information of the compartment to be painted, where the compartment information includes the compartment type, compartment name, and spatial and structural model information of the compartment. The present invention collects the compartment type, name, and spatial and structural model information. Accurately define the boundary of the bulkhead surface. The determination of the bulkhead surface boundary directly affects the subsequent calculation of the surface area and the estimation of the paint consumption. By determining the bulkhead surface boundary through the above information, the accuracy of the subsequent calculation of the surface area and the estimation of the paint consumption can be improved.
[0041] The present invention uses 3D software to construct a 3D structural model of the bulkhead surface according to the bulkhead surface boundary determined in the previous step. According to the bulkhead surface structural model, the surface area of the bulkhead surface is determined; according to the surface area of the bulkhead surface, the total surface area of the area to be painted is determined; according to the total surface area of the area to be painted and the paint consumption per unit area, the paint consumption of the area to be painted is determined.
[0042] According to the paint consumption and statistical requirements, a paint consumption statistical table is generated. The present invention calculates the total amount of paint required according to the total surface area and the paint consumption per unit area. Finally, according to the paint consumption and statistical requirements, a detailed paint consumption statistical table is generated. This table can include key information such as the cabin name, painting area, paint type, consumption, etc., which is convenient for subsequent material procurement and construction arrangement.
[0043] The present invention replaces the traditional manual operation, reduces the risk of human error, and improves the overall reliability. Through automation and digital means, the calculation accuracy and efficiency are improved. The 3D structural design data is read and integrated in real time to ensure the accuracy and timeliness of the information. The method is simple and clear, easy to understand and operate, and applicable to ship painting projects of different scales and types. In addition, the present invention is also applicable to containers and large box steel structures, and the paint materials of containers and large box steel structures can be counted through the digital general drawing and FORAN 3D model.
[0044] Specifically, the digital general drawing is a digital representation in the process of ship design and manufacturing, integrating all design information of the ship, including structure, system, equipment, etc. The digital general drawing is usually stored in digital form and can be viewed, edited and analyzed through a computer system.
[0045] Specifically, the digital general drawing includes 2D drawings output by AUTOCAD (Computer Aided Design).
[0046] Specifically, the 3D software includes FORAN 3D software.
[0047] Specifically, the ship is based on AUTOACD and FORAN 3D design software.
[0048] Taking the development of a paint material statistics system based on AutoCAD and FORAN 3D design software as an example, FORAN provides a relatively open ORACLE database. First, software deployment is implemented. First, a dedicated ORACLE area is created for paint statistics users. Specifically, a dedicated area is set up based on the ORACLE database to provide data management and storage services for paint material statistics. At the same time, an account for the paint material statistics system is created for paint statistics users, with read and write permissions to the data in the dedicated ORACLE area, and the digital general plan is connected through the computing system to obtain, process, and save relevant data. The specific operations are as follows:
[0049] (1) Modify the Paint_grant.sql file based on actual applications;
[0050] (2) Connect to sqlPlus and log in to the Foranadm account simultaneously;
[0051] (3) Execute the Paint_grant.sql file.
[0052] After that, synonyms are created and data tables are created under the paint statistics user account. Specifically, connect to sqlPlus and log in to the created application account (corresponding to the user specified in the PAINT_grant.sql script) simultaneously, and execute the creation of compartment data tables and parameter tables - Sql>E:\TestSql\2_db_ini_20180912_esbPaintA.sql.
[0053] Specifically, make the coordinates of the digital general plan consistent with the coordinates of the FORAN 3D model, which specifically includes: setting the coordinate offset according to the coordinates of the digital general plan and the coordinates of the FORAN 3D model; correcting the coordinates of the digital general plan according to the coordinate offset to ensure that the coordinates of the digital general plan and the FORAN 3D model are consistent.
[0054] Specifically, according to the paint consumption and statistical requirements, a paint consumption statistics table is generated, including: outputting various paint consumption details and weight centers of gravity at different granularities such as by total section, area, and compartment, and exporting them as a table file.
[0055] As Figure 2 shown, Figure 2 shows a schematic flow diagram of a paint material statistics method based on a digital general plan and a FORAN 3D model in an embodiment of the present invention. The method includes:
[0056] S202: Make the coordinates of the digital general plan consistent with the coordinates of the FORAN 3D model;
[0057] S204: Determine the area to be painted according to the digital general plan;
[0058] S206: Determine the cabin to be painted according to the area to be painted;
[0059] S208: Determine the bulkhead surface boundary according to the cabin information of the cabin to be painted, where the cabin information includes the cabin type, cabin name, and spatial and structural model information of the cabin;
[0060] S210: Determine the bulkhead surface structure model based on the bulkhead surface boundary using 3D software;
[0061] S212: Determine the profiles inside the bulkhead surface based on the bulkhead surface structure model;
[0062] S214: Calculate the effective length of the profiles inside the bulkhead surface according to the theoretical line position relationship and spatial coordinates between the profiles inside the bulkhead surface and the bulkhead surface boundary;
[0063] S216: Determine the surface area corresponding to the profiles inside the bulkhead surface according to the effective length of the profiles and the specification parameters in the database;
[0064] S218: Determine the surface area of the bulkhead surface according to the surface area corresponding to the profiles inside the bulkhead surface and the surface area corresponding to the bulkhead panels;
[0065] S220: Determine the total surface area of the area to be painted according to the surface area of the bulkhead surface;
[0066] S222: Determine the paint consumption of the area to be painted according to the total surface area of the area to be painted and the paint consumption per unit area;
[0067] S224: Generate a paint consumption statistical table according to the paint consumption and statistical requirements.
[0068] In this embodiment, the process of determining the surface area of the bulkhead surface according to the bulkhead surface structure model is defined. Specifically, first, determine the profiles inside the bulkhead surface based on the bulkhead surface structure model. Identify and determine all the profiles included in the bulkhead surface based on the bulkhead surface structure model.
[0069] Calculate the effective length of the profiles inside the bulkhead surface according to the theoretical line position relationship and spatial coordinates between the profiles inside the bulkhead surface and the bulkhead surface boundary. The theoretical line position relationship involves geometric relationships such as intersection or non - intersection between the profiles and the bulkhead surface boundary, and the spatial coordinates are used to accurately locate the starting and ending points of the profiles. According to the theoretical line position relationship and spatial coordinates between the profiles inside the bulkhead surface and the bulkhead surface boundary, the effective length of the profiles inside the bulkhead surface can be accurately calculated.
[0070] After obtaining the effective length of the profiles inside the bulkhead surface, further determine the surface area corresponding to the profiles through the specification parameters in the database.
[0071] In addition to profiles, the bulkhead surface also includes plates, which usually occupy most of the area of the bulkhead surface. According to the bulkhead surface structure model, the boundaries and dimensions of the plates can be determined, and then their surface areas can be calculated.
[0072] Based on the surface area corresponding to the profiles within the bulkhead surface and the surface area corresponding to the bulkhead plates, the surface area of the bulkhead surface is determined. The present invention can accurately calculate the surface area of the bulkhead surface, taking into account all the profiles and plates within the bulkhead surface, thereby improving the accuracy and efficiency of paint material statistics.
[0073] In some embodiments of the present invention, optionally, according to the theoretical line position relationship and spatial coordinates between the profiles within the bulkhead surface and the bulkhead surface boundary, the effective length of the profiles within the bulkhead surface is calculated, specifically including: successively determining whether the two end points of the theoretical line of the profiles within the bulkhead surface are within the polygon formed by the bulkhead surface boundary according to the vector cross product method; if so, determining the position relationship between the profiles within the bulkhead surface and the bulkhead surface according to the positions of the two end points of the theoretical line of the profiles within the bulkhead surface; in the case where the position relationship is non-intersecting, calculating the effective length of the profiles within the bulkhead surface according to the coordinates of the two end points of the theoretical line of the profiles within the bulkhead surface.
[0074] In this embodiment, the process of calculating the effective length of the profiles within the bulkhead surface is defined. First, it is successively determined whether the two end points of the theoretical line of the profiles within the bulkhead surface are within the polygon formed by the bulkhead surface boundary according to the vector cross product method. Through the judgment of the vector cross product method, the profiles that are on the bulkhead surface but belong to other compartments can be excluded.
[0075] After confirming the positions of the two end points of the profile, the specific position relationship between the profile and the bulkhead surface is further determined. Specifically, it is judged whether the theoretical line of the profile intersects the bulkhead surface. Among them, if both end points of the profile are outside the bulkhead surface, but the theoretical line of the profile intersects the bulkhead surface boundary, then the profile is partially located within the bulkhead surface and partially located outside, and the length of the profile is calculated through the two intersection points of the theoretical line of the profile and the bulkhead surface boundary. If both end points of the profile are within the bulkhead surface and the theoretical line of the profile does not intersect the bulkhead surface, that is, the profile is completely located within the bulkhead surface, the length of the profile is calculated through the coordinates of the end points of the theoretical line of the profile. If one end point of the profile is within the bulkhead surface and the other end point is outside the bulkhead surface, and the theoretical line of the profile intersects the bulkhead surface, that is, the profile is partially located within the bulkhead surface, the length of the profile is calculated through the coordinates of the end points of the theoretical line of the profile within the bulkhead surface and the intersection points of the theoretical line and the boundary.
[0076] The present invention accurately calculates the effective length of the profiles within the bulkhead surface through steps such as judging the positions of the profile end points, determining the position relationship between the profile and the bulkhead surface, and calculating the effective length of the profile, providing accurate data support for subsequent calculations and analyses.
[0077] In some embodiments of the present invention, optionally, when the positional relationship is intersection, it is sequentially determined whether each side of the polygon formed by the theoretical profile line of the bulkhead surface and the bulkhead surface boundary intersects; when each side of the polygon formed by the theoretical profile line of the bulkhead surface and the bulkhead surface boundary intersects, the coordinates of the intersection points are determined; the number of intersection points is judged; thereby, the effective length of the profile within the bulkhead surface is determined.
[0078] In this embodiment, when the polygon formed by the theoretical profile line of the bulkhead surface and the bulkhead surface boundary intersects, it is sequentially determined whether each side of the polygon formed by the theoretical profile line of the bulkhead surface and the bulkhead surface boundary intersects. Once it is determined that the theoretical line intersects a certain side of the polygon, the intersection point coordinates are calculated.
[0079] The total number of intersection points is determined. According to the number of intersection points, the intersection situation between the profile and the bulkhead surface can be further judged. If there is only one intersection point, this means that the theoretical profile line enters the interior from the outside of the polygon, or exits from the interior to the outside, and intersects the polygon at only one position. In this case, based on the two endpoints of the theoretical profile line located inside the polygon and this intersection point, the effective length of the profile within the bulkhead surface is determined.
[0080] If there are two intersection points, this means that the theoretical profile line enters from one side of the polygon and exits from the other side, intersecting the polygon at two positions. In this case, the effective length of the profile within the bulkhead surface is directly determined according to the coordinates of these two intersection points.
[0081] In summary, through steps such as judging the intersection situation, determining the intersection point coordinates, judging the number of intersection points, and calculating the effective length of the profile based on the number of intersection points, the present invention can handle the situation where the bulkhead surface profile intersects the bulkhead surface boundary and accurately calculate the effective length of the profile within the bulkhead surface.
[0082] In some embodiments of the present invention, optionally, according to the vector cross product method, it is sequentially determined whether the two endpoints of the theoretical profile line within the bulkhead surface are inside the polygon formed by the bulkhead surface boundary, specifically including: determining multiple vertices of the polygon; performing vector cross products of the two endpoints with the multiple vertices respectively; when the multiple results of the vector cross products are all in the same direction, determining that the endpoint is inside the polygon formed by the bulkhead surface boundary; when one of the results of the vector cross products is zero, determining that the endpoint is on the side of the polygon formed by the bulkhead surface boundary.
[0083] In this embodiment, the process of sequentially determining whether the two endpoints of the theoretical profile line within the bulkhead surface are inside the polygon formed by the bulkhead surface boundary according to the vector cross product method is defined. Specifically, first, all vertices of the polygon formed by the bulkhead surface boundary are determined. Next, for each endpoint, its vector cross product is performed with each vertex of the polygon.
[0084] For the cross - product results of each endpoint and the polygon vertices, if the directions of all cross - product results are the same, that is, all are clockwise or all are counter - clockwise, it can be inferred that the endpoint is inside the polygon. Combining the results of the above steps, the position of each endpoint relative to the polygon can be accurately obtained.
[0085] Specifically, the above process can be specifically applied as follows: First, according to the obtained coordinate position information, the theoretical line of the profile is defined as a line segment, and the bulkhead surface is defined as a polygon.
[0086] After that, set the vertices of the bulkhead surface polygon to be P1, P2, …, P(n - 1), Pn in sequence, where n is a natural number greater than or equal to 3, and the profile endpoints are M and N.
[0087] Judge the position relationship between the theoretical line endpoints of the profile and the polygon in sequence. Taking the profile endpoint M as an example, calculate the cross - product of vector MP1 and vector MP2, the cross - product of vector MP2 and vector MP3, …, the cross - product of vector MP(n - 1) and vector MPn, and the cross - product of vector MPn and vector MP1 in sequence.
[0088] If the cross - product results are all in the same direction, then judge that the endpoint M is inside the bulkhead surface polygon; if a certain cross - product result is zero, then judge that the endpoint M is on the edge of the bulkhead surface polygon.
[0089] If there are cross - product results with different directions, then judge that the endpoint M is outside the bulkhead surface polygon.
[0090] In some embodiments of the present invention, optionally, according to the bulkhead surface boundary, a bulkhead surface structure model is determined based on three - dimensional software, specifically including: according to the bulkhead surface boundary, through geometric operations, locating the corresponding bulkhead surface structure model in the model database; according to the effective length of the profile and the specification parameters in the model database, determining the surface area corresponding to the profile inside the bulkhead surface, specifically including: according to the effective length of the profile, through data extraction of the structural members defined in the model database, determining the surface area corresponding to the profile inside the bulkhead surface.
[0091] In this embodiment, there is a model database in the three - dimensional software. According to the bulkhead surface boundary and based on the three - dimensional software, a bulkhead surface structure model is determined, specifically including: according to the bulkhead surface boundary, through geometric operations, locating the corresponding bulkhead surface structure model in the model database. The present invention uses the geometric operation function in the three - dimensional software to process the bulkhead surface boundary information so that it matches the structural model in the model database. Through comparison and matching, the bulkhead surface structure model corresponding to the bulkhead surface boundary is located in the model database.
[0092] According to the effective length of the profile and the specification parameters in the model database, determine the surface area corresponding to the profile within the bulkhead surface, specifically including: According to the effective length of the profile, determine the surface area corresponding to the profile within the bulkhead surface by extracting the data defined for the structural members in the model database. In the model database of the present invention, according to information such as the effective length and type of the profile, extract the data defined for the structural members corresponding to the profile. Associate the extracted data with the bulkhead surface structure model to determine the position and shape of the profile in the bulkhead surface structure. Use the surface area calculation function in 3D software to calculate the corresponding surface area according to the position and shape of the profile in the bulkhead surface structure.
[0093] Through steps such as geometric operations, data extraction, and surface area calculation, the present invention can accurately obtain the required models and data.
[0094] Specifically, in the FORAN software, perform data reconstruction through the cabin space coordinate points of the digital general layout, and locate the corresponding 3D structure model and search for relevant profiles. First, extract the cabin space coordinate points from the digital general layout. These coordinate points will be used to describe the bulkhead surfaces of the cabin ceiling, bulkhead, and floor. Using the extracted coordinate points, generate the bulkhead surface data for the ceiling, bulkhead, and floor respectively. The data is mainly the three - (or more) - point 3D coordinate groups of the bulkhead surface, and these coordinate groups define the geometric shape of the bulkhead surface. For each bulkhead surface, match it with the ORACLE database in the FORAN software through geometric operations. The operation requires that the angle between the normal of the digital general layout plane and the normal of the 3D plane is not greater than a preset threshold to ensure the accuracy of the match.
[0095] Search for the 3D structure model that matches the bulkhead surface data in the ORACLE database. Through comparison and matching, locate the 3D structure model corresponding to the bulkhead surface.
[0096] Based on the located bulkhead surface structure model, search for the relevant profiles in the database. The operation requires that there is an intersection between the maximum 3D area of the profile and the bulkhead surface structure model to ensure that the profiles searched are within the bulkhead surface. For the profiles searched, judge the consistency of their normal directions with the normal direction of the bulkhead surface. If the normal direction of the profile is inconsistent with the normal direction of the bulkhead surface, then screen out this profile because it may belong to other cabins or does not meet the design requirements.
[0097] Through the above steps, in the FORAN software, data reconstruction can be performed using the cabin space coordinate points of the digital general layout, and the corresponding 3D structure model can be located and relevant profiles can be searched, improving the accuracy and efficiency of the design.
[0098] Such as Figure 3As shown, in some embodiments of the present invention, FIG. 3 is a schematic flowchart of a paint material statistics method based on a digital general layout and 3D software in an embodiment of the present invention. The method includes:
[0099] S302: Make the coordinates of the digital general layout consistent with the coordinates of the FORAN 3D model;
[0100] S304: Determine the area to be painted according to the digital general layout;
[0101] S306: Determine the compartments to be painted according to the area to be painted;
[0102] S308: Determine the boundary of the bulkhead surface according to the compartment information of the compartment to be painted, where the compartment information includes the compartment type, compartment name, and spatial and structural model information of the compartment;
[0103] S310: Determine the bulkhead surface structure model based on the 3D software according to the bulkhead surface boundary;
[0104] S312: Determine the surface area of the bulkhead surface according to the bulkhead surface structure model;
[0105] S314: Determine the total surface area of the area to be painted according to the surface area of the bulkhead surface;
[0106] S316: Determine the paint consumption of the area to be painted according to the total surface area of the area to be painted and the paint consumption per unit area;
[0107] S318: Generate a paint consumption statistics table according to the paint consumption and statistical requirements;
[0108] S320: Calculate the paint weight of a single bulkhead surface according to the surface area of the bulkhead surface and the paint consumption per unit area;
[0109] S322: Calculate the paint center of gravity of a single bulkhead surface according to the paint weight of a single bulkhead surface and the geometric parameters of the bulkhead surface;
[0110] S324: Sum up the paint weights of each bulkhead surface to obtain the total weight;
[0111] S326: Multiply the sum of the paint weights of the bulkhead surfaces of the compartment by the sum of the paint centers of gravity of the bulkhead surfaces and then divide by the total weight to determine the paint center of gravity of the compartment.
[0112] In this embodiment, the paint material statistics method based on the digital general layout and the FORAN 3D model proposed by the present invention can also determine the paint center of gravity of the cabin. Specifically, according to the surface area of the cabin wall surface and the paint consumption per unit area, the paint weight of a single cabin wall surface is calculated, and the paint center of gravity of a single cabin wall surface is calculated in combination with geometric parameters. The sum of the paint weights of the cabin wall surfaces of the cabin is obtained to get the total weight, and the paint center of gravity of the cabin is determined by multiplying the sum of the paint weights of the cabin wall surfaces of the cabin by the sum of the centers of gravity and then dividing by the total weight. The present invention has the functions of automatically counting the painted paint materials and the weight center of gravity, effectively avoiding operation errors caused by frequent selection of structural members, ensuring the accuracy of the output data, and having high stability.
[0113] As Figure 4 shown, in some embodiments of the present invention, FIG. 4 shows a schematic flow chart of the paint material statistics method based on the digital general layout and the FORAN 3D model in an embodiment of the present invention. The method includes:
[0114] S402: Set the coordinate offset to ensure that the coordinates of the digital general layout and the FORAN 3D model are consistent;
[0115] S404: Select the area to be painted and divide the cabin by type;
[0116] S406: Determine the boundary of the cabin wall surface of the cabin and screen out the structural model of the cabin wall surface;
[0117] S408: Search for relevant structural profiles inside the cabin wall surface;
[0118] S410: Calculate the effective length of the relevant profiles on the cabin wall surface;
[0119] S4102: Determine that the end points of the profile theoretical line are inside the polygon;
[0120] S4104: Determine the positional relationship between the cabin wall surface and the profile according to the positions of the two end points of the profile theoretical line;
[0121] S4106: Whether they intersect. If yes, execute S4110; if no, execute S4108;
[0122] S4108: Calculate the effective length of the profile according to the two end points of the profile theoretical line;
[0123] S4110: Determine whether the theoretical line intersects each side of the polygon in turn. If it intersects, calculate the intersection coordinates;
[0124] S4112: Whether the intersection point is unique. If no, execute S4114; if yes, execute S4116;
[0125] S4114: Calculate the effective length of the profile according to the coordinates of the two intersection points;
[0126] S4116: Calculate the effective length of the profile according to the intersection point and the coordinates of the inner end points of the polygon;
[0127] S412: Calculate the surface area of the profile and the surface area of the bulkhead surface in combination with the ORACLE database;
[0128] S414: Calculate the surface areas of all compartments in the area;
[0129] S416: Calculate the amounts of various paints in the area;
[0130] S418: Statistically calculate the paint material list and the weight center of gravity as required.
[0131] In this embodiment, the paint material statistics method based on the digital general drawing and the FORAN 3D model is specifically implemented as follows:
[0132] First, set the coordinate offset to ensure the consistency of the coordinates of the digital general drawing and the FORAN 3D model.
[0133] After that, select the total section / area / compartment to be painted, and divide the corresponding painted compartments according to the configuration of the compartment type.
[0134] After that, combine the compartment space and the structural model information to determine the bulkhead surface boundary of the specific compartment, and filter out the bulkhead surface structural model from the ORACLE database according to the boundary.
[0135] After that, search for the relevant profiles inside the bulkhead surface based on the bulkhead surface structural model of the specific compartment, that is, there are two forms: inclusion and intersection.
[0136] After that, according to the theoretical line position relationship and spatial coordinates between the profile and the bulkhead surface, calculate the effective lengths of all relevant profiles on the bulkhead surface. Among them, the specific steps of the above process are as follows: use the vector cross product method to sequentially determine whether the two end points of the profile theoretical line are inside the polygon formed by the bulkhead surface boundary, and mark the end points located inside or on the polygon; determine the position of the bulkhead surface and the profile according to the positions of the two end points of the profile theoretical line; judge whether the position relationship is intersecting. If it is not intersecting, that is, the inclusion relationship, calculate the length according to the coordinates of the two end points of the profile theoretical line to determine the effective length of the profile; if the position relationship is an intersecting relationship, sequentially judge whether the profile theoretical line intersects each side of the polygon. If it intersects, calculate the intersection point coordinates; judge whether the intersection points are unique according to the calculated number of intersection points. If there is only one intersection point, calculate the effective length of the profile according to the intersection point and the coordinates of the end points located inside the polygon; if there are two intersection points, calculate the effective length of the profile according to the coordinates of the two intersection points.
[0137] After that, through the extraction of the data defined by the structural parts in the ORACLE database, calculate the surface area corresponding to the profile with the effective length; calculate the surface area of the bulkhead surface by integrating all the data of the bulkhead surface plates and profiles;
[0138] After that, in combination with the total section / area / compartment to be painted, calculate the surface area of all compartments;
[0139] After that, according to different compartment types and corresponding compartment paint schemes, calculate the consumption of various paints in this area;
[0140] After that, count the paint material list, summary list and weight center of gravity of different types as required.
[0141] Through data reconstruction of the compartment space coordinate points in the digital general drawing, generate the bulkhead surface data of the ceiling, bulkhead and floor respectively. The data is mainly the three-dimensional coordinate groups of three (or more) points on the bulkhead surface. For each bulkhead surface, locate the corresponding three-dimensional structure model in the FORAN software ORACLE database through geometric operations. The operation requires that the included angle between the normal of the digital general drawing plane and the normal of the three-dimensional plane is not greater than a preset threshold. When searching for relevant profiles inside the bulkhead surface based on the bulkhead surface structure model, the operation requires that there is an intersection between the maximum three-dimensional area of the profile and the bulkhead surface structure model. By judging the consistency between the normal of the profile and the normal of the bulkhead surface, screen out the profiles that are on the bulkhead surface but belong to other compartments.
[0142] The present invention has the function of automatically counting the painting paint materials and weight center of gravity, effectively avoiding operation errors caused by frequent clicking on structural members, ensuring the accuracy of the output data and high stability; the present invention can quickly count the paint materials and weight center of gravity of compartments, areas and total sections, saving the statistical time and human resources in traditional operations; the present invention can realize the real-time reading and integration of the latest three-dimensional structure design data of FORAN, with high operability.
[0143] In some embodiments of the present invention, optionally, the specific operation of paint material statistics is as follows:
[0144] First, system login configuration: fill in the corresponding server name, account number and password to log in to the calculation system.
[0145] Second, point coordinate offset processing. Since the point coordinates in the digital general drawing are the X and Y coordinates inside the two-dimensional CAD, there is a certain offset from the X, Y, and Z coordinates in the FORAN three-dimensional model. For example, set the point coordinate offset as shown in Figure 7 to make corrections.
[0146] Third, digital general drawing compartment data acquisition: obtain compartment data information by connecting the system with the digital general drawing, as shown in Figure 8 shown.
[0147] Fourth, compartment type configuration: import or manually fill in the painting compartment type and the corresponding compartment name in tabular form.
[0148] Fifth, calculation of the surface area of the cabin space: According to the selected cabin name, calculate the effective length of the profiles on the bulkhead, the effective surface area of the profiles, the surface area of the bulkhead, and the surface area of the cabin space in sequence.
[0149] Sixth, paint type configuration: Import or manually fill in the paint product name, code, color, solid content, dry film thickness, loss coefficient, specific gravity, etc. in tabular form as shown in Table 1 below.
[0150] Table 1
[0151]
[0152] Seventh, cabin paint plan configuration: Import or manually fill in the painted cabin type, product name, code, etc. in tabular form.
[0153] Eighth, paint material statistics: Based on the correspondence relationship between the general block, area, and cabin, form a tree-like node, and count the usage of various paints according to different types such as general block, area, and cabin.
[0154] Ninth, output of paint material details: Output the details of the usage of various paints and the weight center of gravity according to different granularities such as general block, area, and cabin, and export them in an EXCEL file.
[0155] As Figure 5 shown, in the embodiment of the present invention, a paint material statistics system 500 based on a digital general plan and a FORAN 3D model is provided, including: a digital general plan integration module 510 for making the coordinates of the digital general plan consistent with the coordinates of the FORAN 3D model; a 3D model reading and cabin space surface area calculation module 520 for determining the area to be painted according to the digital general plan; determining the cabin to be painted according to the area to be painted; determining the bulkhead boundary according to the cabin information of the cabin to be painted, where the cabin information includes the cabin type, cabin name, and spatial and structural model information of the cabin; determining the bulkhead structure model based on the 3D software according to the bulkhead boundary; determining the surface area of the bulkhead according to the bulkhead structure model; determining the total surface area of the area to be painted according to the surface area of the bulkhead; a paint attribute and cabin paint plan configuration module 530 for determining the paint usage of the area to be painted according to the total surface area of the area to be painted and the paint usage per unit area; a paint plan material table and summary table generation module 540 for generating a paint usage statistics table according to the paint usage and statistical requirements.
[0156] In this embodiment, the present invention provides a paint material statistics system 500 based on a digital general plan and a FORAN 3D model, including: a digital general plan integration module 510, a 3D model reading and cabin space surface area calculation module 520, a paint attribute and cabin paint plan configuration module 530, and a paint plan material table and summary table generation module 540.
[0157] The digital general drawing integration module 510 makes the coordinates of the digital general drawing consistent with the coordinates of the FORAN 3D model; it can be seen that the present invention first performs coordinate correction. Through coordinate correction, it is ensured that the coordinate system of the digital general drawing can be fully matched with the coordinate system of the FORAN 3D model, and it is ensured that the information obtained from the digital general drawing can correspond to the information in the FORAN 3D model.
[0158] After the coordinate correction is performed, the 3D model reading and cabin space surface area calculation module 520 determines the area to be painted according to the corrected digital general drawing. Specifically, it can be based on the user's design requirements and combined with the shape of the ship on the digital general drawing to clarify which areas need to be painted, so as to determine the area to be painted. According to the area to be painted, the cabins to be painted are determined.
[0159] Specifically, the area to be painted includes sections, areas, and cabins. Among them, each section and area includes different numbers of cabins. The present invention takes into account that each cabin needs different painting treatments due to its function, location, or structural characteristics, and further subdivides to specific cabins according to the area to be painted.
[0160] According to the cabin information of the cabins to be painted, the boundaries of the cabin walls are determined. Among them, the cabin information includes the cabin type, cabin name, and the spatial and structural model information of the cabin.
[0161] The present invention collects the cabin type, name, and spatial and structural model information. Accurately defining the boundaries of the cabin walls directly affects the subsequent calculation of the surface area and the estimation of the paint consumption. Determining the boundaries of the cabin walls through the above information can improve the accuracy of the subsequent calculation of the surface area and the estimation of the paint consumption.
[0162] The present invention uses 3D software to construct a 3D structural model of the cabin walls according to the boundaries of the cabin walls determined in the previous step. According to the structural model of the cabin walls, the surface area of the cabin walls is determined; according to the surface area of the cabin walls, the total surface area of the area to be painted is determined; according to the total surface area of the area to be painted and the paint consumption per unit area, the paint consumption of the area to be painted is determined.
[0163] The present invention adds up the surface areas of the cabin walls of all cabins to be painted to obtain the total surface area of the area to be painted.
[0164] The paint property and cabin paint plan configuration module 530 generates a paint consumption statistics table according to the paint consumption and statistical requirements. The present invention calculates the total amount of paint required based on the total surface area and the paint consumption per unit area. Finally, the paint plan material table and summary table generation module 540 generates a detailed paint consumption statistics table according to the paint consumption and statistical requirements. This table can include key information such as cabin name, painting area, paint type, consumption, etc., which is convenient for subsequent material procurement and construction arrangement.
[0165] The present invention replaces the traditional manual operation, reduces the risk of human error, and improves the overall reliability. Through automation and digital means, the calculation accuracy and efficiency are improved. The three-dimensional structure design data is read and integrated in real time to ensure the accuracy and timeliness of information.
[0166] As Figure 6 shown, specifically, the digital general drawing integration module 510 has two major functions: digital general drawing integration and two-dimensional and three-dimensional coordinate correspondence setting, which realizes storing the unique cabin code, cabin name, and three-dimensional coordinates (including X, Y, Z) of each vertex constituting the cabin into the cabin data table of the project database. Through the coordinates of each vertex constituting the cabin, the three-dimensional space range of the cabin can be determined.
[0167] As Figure 6 shown, the paint property and cabin paint plan configuration module 530 has functions of paint material property configuration, cabin type configuration, and cabin paint plan configuration. The paint material property configuration is used to set the basic properties of different grades of paint for later use in cabin paint plan configuration. The cabin type configuration is used to realize the configuration association between the types of cabins to be painted and the cabin identifiers, and supports the system to automatically obtain the corresponding cabin types according to the cabin names. The cabin paint plan configuration is used to automatically match the paint names to be painted for different types of cabins. All configuration operations can be realized by batch import or row-by-row addition, deletion, and modification;
[0168] As Figure 6 shown, the three-dimensional model reading and cabin space surface area calculation module 520 has functions of FORAN structure data integration, structural component screening calculation, and cabin space surface area calculation. The FORAN structure data integration is used to obtain the definition table of different structural member section forms in ORACLE, the data storage table of the geometric positions of all profile theoretical lines, and the profile orientation information, so as to realize data extraction. The structural component screening calculation is used to solve the effective areas of the structural plates and profiles on the cabin wall surface, and realizes the surface area calculation through steps such as screening the structural model on the cabin wall surface, calculating the effective length of the profiles, and extracting data from the ORACLE library table. The cabin space surface area calculation is implemented based on the obtained surface areas of each cabin wall surface;
[0169] As Figure 6As shown, the general section / area / cabin paint scheme material table and summary table generation module 540 has functions such as system management, detailed calculation and statistics, and data export.
[0170] Specifically, the paint material statistics system 500 based on the digital master map and the FORAN three-dimensional model is based on a client / server (C / S) architecture and is a KE / CAD integrated system.
[0171] The paint property and cabin paint scheme configuration module 530 and the three-dimensional model reading and cabin space surface area calculation module 520 can configure standard data tables and support batch import of tables or line-by-line addition, deletion and modification.
[0172] The digital master plan integration module 510 is used to open the data interface with the two-dimensional digital master plan, and the cabin space coordinate information is read according to the cabin unique code. The paint property and cabin paint scheme configuration module 530 is used to implement the specific settings of paint material properties, cabin type and cabin paint scheme.
[0173] Based on the real-time FORAN hull structure 3D design model, according to the cabin space information, the ORACLE database of FORAN software is entered to obtain the cabin structure plate and profile information, and the effective length of all profiles is calculated, thereby calculating the bulkhead surface area and cabin space surface area. Combined with the cabin type, the paint scheme and paint material properties are matched to calculate the paint material details and weight center of gravity of the cabin.
[0174] In some embodiments of the present invention, optionally, in the process of determining the surface area of the bulkhead surface according to the bulkhead surface structural model, the three-dimensional model reading and cabin space surface area calculation module 520 is specifically used to determine the profile in the bulkhead surface based on the bulkhead surface structural model; calculate the effective length of the profile in the bulkhead surface according to the theoretical line position relationship and spatial coordinates between the profile in the bulkhead surface and the bulkhead surface boundary; determine the surface area corresponding to the profile in the bulkhead surface according to the effective length of the profile and the specification parameters in the model database; determine the surface area of the bulkhead surface according to the surface area corresponding to the profile in the bulkhead surface and the surface area corresponding to the bulkhead panel material.
[0175] In some embodiments of the present invention, optionally, in the process of calculating the effective length of the profile in the bulkhead surface according to the theoretical line position relationship and spatial coordinates between the profile in the bulkhead surface and the boundary of the bulkhead surface, the three-dimensional model reading and cabin space surface area calculation module 520 is specifically used to determine in sequence according to the vector cross multiplication method whether the two endpoints of the theoretical line of the profile in the bulkhead surface are within the polygon formed by the boundary of the bulkhead surface; if so, determine the position relationship between the profile in the bulkhead surface and the bulkhead surface according to the positions of the two endpoints of the theoretical line of the profile in the bulkhead surface.
[0176] In the case where the positional relationship is non - intersecting, calculate the effective length of the profile within the bulkhead surface based on the coordinates of the two end - points of the profile theoretical line within the bulkhead surface.
[0177] In the case where the positional relationship is intersecting, sequentially determine whether each side of the polygon formed by the profile theoretical line of the bulkhead surface and the bulkhead surface boundary intersects; in the case where each side of the polygon formed by the profile theoretical line of the bulkhead surface and the bulkhead surface boundary intersects, determine the coordinates of the intersection points; judge the number of intersection points; if there are no intersection points, determine the effective length of the profile based on the coordinates of the two end - points of the profile theoretical line; if there is one intersection point, determine the effective length of the profile within the bulkhead surface based on the coordinates of the intersection point and the end - point of the profile theoretical line located within the bulkhead surface polygon; if there are two intersection points, determine the effective length of the profile within the bulkhead surface based on the coordinates of the two intersection points.
[0178] In some embodiments of the present invention, optionally, in the process of sequentially determining whether the two end - points of the profile theoretical line within the bulkhead surface are within the polygon formed by the bulkhead surface boundary according to the vector cross - multiplication method, the three - dimensional model reading and cabin space surface area calculation module 520 is specifically used to determine multiple vertices of the polygon; perform vector cross - multiplication of the two end - points with the multiple vertices respectively; in the case where the multiple results of the vector cross - multiplication are all in the same direction, determine that the end - point is within the polygon formed by the bulkhead surface boundary; in the case where one of the results of the vector cross - multiplication is zero, determine that the end - point is on the side of the polygon formed by the bulkhead surface boundary; in the case where the directions of the multiple results of the vector cross - multiplication are different, determine that the end - point is outside the polygon formed by the bulkhead surface boundary.
[0179] In an embodiment of the present invention, the present invention also proposes a storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the paint material statistics method based on the digital general layout and the FORAN three - dimensional model in any of the above - mentioned embodiments are implemented.
[0180] In this embodiment, the present invention proposes a storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the paint material statistics method based on the digital general layout and the FORAN three - dimensional model in any of the above - mentioned embodiments are implemented. Therefore, it has all the beneficial effects of the paint material statistics method based on the digital general layout and the FORAN three - dimensional model in any of the above - mentioned embodiments, and will not be elaborated here.
[0181] In an embodiment of the present invention, the present invention also proposes an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. It is characterized in that when the processor executes the program, the steps of the paint material statistics method based on the digital general layout and the FORAN three - dimensional model in any of the above - mentioned embodiments are implemented.
[0182] In this embodiment, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. It is characterized in that when the processor executes the program, it implements the steps of the paint material statistics method based on the digital general layout and the FORAN three-dimensional model in any of the above embodiments. Therefore, it has all the beneficial effects of the paint material statistics method based on the digital general layout and the FORAN three-dimensional model in any of the above embodiments, which will not be elaborated here.
[0183] The above are the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present invention.
Claims
1. A paint material statistics method based on digital master map and FORAN three-dimensional model, characterized in that: include: Making the coordinates of the digital master map consistent with the coordinates of the FORAN three-dimensional model; Determine the area to be painted according to the digital master map; Determining the cabin to be painted according to the area to be painted; Determining a bulkhead surface boundary according to the cabin information of the cabin to be painted, wherein the cabin information includes cabin type, cabin name, and cabin space and structural model information; According to the bulkhead surface boundary, a bulkhead surface structural model is determined based on three-dimensional software; determining the surface area of the bulkhead surface according to the bulkhead surface structural model; Determining the total surface area of the area to be coated based on the surface area of the bulkhead surface; Determining the amount of paint for the area to be painted based on the total surface area of the area to be painted and the amount of paint per unit area; A paint usage statistics table is generated according to the paint usage and statistical requirements.
2. The paint material statistics method based on the digital master map and the FORAN three-dimensional model according to claim 1 is characterized in that: The three-dimensional software includes a model database, and determining the surface area of the bulkhead surface according to the bulkhead surface structural model specifically includes: Determining profiles within the bulkhead surface based on the bulkhead surface structural model; Calculating the effective length of the profile in the bulkhead surface according to the theoretical line position relationship and spatial coordinates between the profile in the bulkhead surface and the boundary of the bulkhead surface; Determining the surface area corresponding to the profile in the bulkhead surface according to the effective length of the profile and the specification parameters in the model database; The surface area of the bulkhead surface is determined according to the surface area corresponding to the profile in the bulkhead surface and the surface area corresponding to the bulkhead panel material.
3. The paint material statistics method based on digital master map and FORAN three-dimensional model according to claim 2 is characterized in that: The calculating the effective length of the profile in the bulkhead surface according to the theoretical line position relationship and the spatial coordinates between the profile in the bulkhead surface and the boundary of the bulkhead surface specifically includes: Determine in sequence, using a vector cross multiplication method, whether two end points of the theoretical line of the profile in the bulkhead surface are within the polygon formed by the boundary of the bulkhead surface; If yes, determining the positional relationship between the profile in the bulkhead surface and the bulkhead surface according to the positions of the two end points of the theoretical line of the profile in the bulkhead surface; In the case where the positional relationship is non-intersecting, the effective length of the profile in the bulkhead surface is calculated according to the coordinates of the two end points of the profile theoretical line in the bulkhead surface.
4. The paint material statistics method based on the digital master map and the FORAN three-dimensional model according to claim 3 is characterized in that: In the case where the positional relationship is an intersection, determining in sequence whether the profile theoretical line of the bulkhead surface and the edges of the polygon formed by the boundary of the bulkhead surface intersect; In the case where the theoretical line of the bulkhead surface profile intersects with the sides of the polygon formed by the boundary of the bulkhead surface, determining the coordinates of the intersection point; Determining the number of the intersection points; Based on the intersection being one, determining the effective length of the profile within the bulkhead surface according to the intersection and the coordinates of two end points of a theoretical line of the profile within the bulkhead surface within the polygon; Based on the presence of two intersection points, the effective length of the profile within the bulkhead surface is determined according to the coordinates of the two intersection points.
5. The paint material statistics method based on digital master map and FORAN three-dimensional model according to claim 3 is characterized in that: The step of sequentially judging whether two endpoints of the theoretical line of the profile in the bulkhead surface are within the polygon formed by the boundary of the bulkhead surface according to the vector cross multiplication method specifically includes: determining a plurality of vertices of the polygon; Perform vector cross multiplication of the two endpoints with the plurality of vertices respectively; When the multiple results of the vector cross product are all in the same direction, determining that the endpoint is within the polygon formed by the boundary of the bulkhead surface; In the case where one of the results of the vector cross product is zero, the end point is determined to be on the edge of the polygon formed by the boundary of the bulkhead surface.
6. The paint material statistics method based on the digital master map and the FORAN three-dimensional model according to any one of claims 2 to 5, characterized in that: Determining the bulkhead surface structure model according to the bulkhead surface boundary based on three-dimensional software specifically includes: According to the bulkhead surface boundary, the corresponding bulkhead surface structure model is located in the model database through geometric calculation; Determining the surface area corresponding to the profile in the bulkhead surface according to the effective length of the profile and the specification parameters in the model database specifically includes: According to the effective length of the profile, the surface area corresponding to the profile in the bulkhead surface is determined by extracting the data of the structural component definition in the model database.
7. The paint material statistics method based on the digital master map and the FORAN three-dimensional model according to any one of claims 1 to 5, characterized in that: The method further comprises: Calculate the paint weight of a single bulkhead surface based on the surface area of the bulkhead surface and the amount of paint used per unit area; Calculating the center of gravity of the paint on the single bulkhead surface according to the paint weight of the single bulkhead surface and the geometric parameters of the bulkhead surface; The weight of paint on each bulkhead surface was summed to obtain the total weight; The paint center of the cabin is determined by multiplying the weight of the paint on each bulkhead surface of the cabin by the sum of the paint center of gravity of the bulkhead surface and dividing by the total weight.
8. A paint material statistics system based on digital master map and FORAN three-dimensional model, characterized in that: include: A digital master map integration module, used to make the coordinates of the digital master map consistent with the coordinates of the FORAN three-dimensional model; A three-dimensional model reading and cabin space surface area calculation module is used to determine the area to be painted based on the digital master map; Determining the cabin to be painted according to the area to be painted; Determining a bulkhead surface boundary according to the cabin information of the cabin to be painted, wherein the cabin information includes cabin type, cabin name, and cabin space and structural model information; According to the bulkhead surface boundary, a bulkhead surface structural model is determined based on three-dimensional software; determining the surface area of the bulkhead surface according to the bulkhead surface structural model; Determining the total surface area of the area to be coated based on the surface area of the bulkhead surface; A paint property and cabin paint scheme configuration module, used to determine the amount of paint used in the area to be painted according to the total surface area of the area to be painted and the amount of paint used per unit area; The paint scheme material table and summary table generation module is used to generate a paint usage statistical table based on the paint usage and statistical requirements.
9. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the paint material statistics method based on a digital master map and a FORAN three-dimensional model are implemented as described in any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the paint material statistics method based on the digital master map and the FORAN three-dimensional model described in any one of claims 1 to 7 are implemented.