Side valve mounting method and device based on parametric modeling

The three-dimensional model of the welded parts is constructed through the parametric modeling method, an open hole frame model is generated and an opening diagram is drawn, and the information on the side valve is obtained is solved, which solves the problems of low efficiency and quality of the traditional side valve installation diagram, and realizes efficient and accurate side valve installation.

CN120387233AActive Publication Date: 2025-07-29CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510450111.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-07-29
Estimated Expiration
2045-04-10

AI Technical Summary

Technical Problem

The traditional side valve installation diagram is generated in projection, with poor design efficiency and quality, which affects the installation work of the side valve.

Method used

The parametric modeling method is used to construct a three-dimensional model of the welded parts, generate a welded part opening skeleton model, draw an welded part opening diagram, obtain the interface orientation information and installation rules of the side valve, generate a side valve installation position diagram, and superimpose it with the ship's three-dimensional model to form a comprehensive layout diagram, and finally generate and install the side valve.

Benefits of technology

It improves the design efficiency and accuracy of the installation diagram of the side valve, and improves the accuracy and quality of the installation of the side valve.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120387233A_ABST
    Figure CN120387233A_ABST
Patent Text Reader

Abstract

The invention discloses a side valve mounting method and device based on parametric modeling, and the method comprises the steps: constructing a three-dimensional model of a welding part, and generating a welding part trepanning skeleton model based on the three-dimensional model of the welding part; drawing a welding part trepanning diagram according to the welding part trepanning framework model, and further generating a welding part trepanning list; interface orientation information and installation rules of each broadside valve are obtained; a broadside valve installation position map is generated according to the welding part trepanning map, the welding part trepanning list, the interface orientation information and the installation rule; superposing the broadside valve mounting position map and the three-dimensional model of the ship to form a ship comprehensive layout map; and generating a broadside valve installation map according to the ship comprehensive layout map to carry out broadside valve installation. According to the method, the opening framework model is generated through parametric modeling, the welding part opening diagram is drawn, then the broadside valve installation diagram is rapidly generated, broadside valve installation is carried out, the design efficiency and accuracy of the broadside valve installation diagram are effectively improved, and meanwhile the broadside valve installation accuracy is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of side valve installation design, and particularly to a side valve installation method and device based on parametric modeling. Background Art

[0002] A side valve, also known as a ship's side valve or gunwale valve, is usually installed on the hull structure of a ship, near the side of the ship. It is a valve on the ship used to control the flow between a cabin and external seawater or other liquid media. In the design and operation of a ship, the side valve plays a crucial role. It is used to control the liquid entering or discharging from the side cabins of the ship, such as ballast tanks, cooling water systems, sewage systems, fire water systems, etc. The design of this valve needs to consider the special environment of the ship at sea, such as vibration, corrosion, and high-pressure water impact. Therefore, side valves are usually made of corrosion-resistant, pressure-resistant, and sturdy materials, such as stainless steel, bronze, or special alloys, to ensure their reliability and safety in harsh environments.

[0003] During the ship development process, the installation of side valves is carried out according to the side valve installation drawing. In the past, the expression methods of side valve installation drawings by various designers were not unified. Among them, the method of expressing its installation form through three-dimensional projection is the most common. The drawing elements included in the installation drawing drawn in projection mode are rib position transverse sectional views, partial views, bill of materials, technical requirements, etc. The transverse sectional view is used to express the specific positioning information of the side valve, the partial view expresses the installation direction of the side valve, the bill of materials expresses the specific model of the valve and the installation fastener information, and the technical requirements express the installation requirements of the side valve. This type of view is often drawn in units of cabins, manually dividing the rib position intervals, and reflecting the installation forms of each side valve through multiple transverse sectional views and a large number of partial views. The drawing is complex, the design workload is huge, and it is easy to miss the views of individual valves, resulting in drawing rework. Summary of the Invention

[0004] The main purpose of this application is to provide a side valve installation method and device based on parametric modeling, aiming to solve the technical problem that the traditional side valve installation drawing is generated in a projection manner, with poor design efficiency and quality, which in turn affects the side valve installation work.

[0005] To achieve the above object, this application proposes a side valve installation method based on parametric modeling. The side valve installation method based on parametric modeling includes:

[0006] Construct a three-dimensional model of a welded part, and generate a welded part opening skeleton model based on the three-dimensional model of the welded part;

[0007] Draw a welded part opening drawing according to the welded part opening skeleton model;

[0008] Generate a welding part opening list based on the openings in the welding part opening drawing, where the welding part opening list includes the mapping relationship between the openings and the side valves;

[0009] Obtain the interface orientation information and installation rules of each side valve;

[0010] Generate a side valve installation position drawing based on the welding part opening drawing, the welding part opening list, the interface orientation information, and the installation rules, where the side valve installation position drawing includes the specific positions and installation directions of each side valve in the ship structure;

[0011] Overlay the side valve installation position drawing with the 3D model of the ship to form a comprehensive ship layout drawing containing side valve installation information;

[0012] Generate a side valve installation drawing based on the comprehensive ship layout drawing, and install the side valves according to the side valve installation drawing, where the side valve installation drawing is marked with the installation positions, interface orientations, installation rules, and dimension information of each side valve.

[0013] In one embodiment, the constructing the 3D model of the welding part and generating the welding part opening skeleton model based on the 3D model of the welding part includes:

[0014] Obtain the material information and dimension information of the welding part;

[0015] Draw a 2D sketch of the welding part in CAD software based on the material information and dimension information, where the 2D sketch is used to determine the shape and structure of the welding part;

[0016] Perform 3D modeling according to the 2D sketch to generate a 3D model of the welding part, where the 3D modeling includes at least stretching, rotating, and sweeping operations;

[0017] Determine the positioning information of the welding part opening based on the 3D model of the welding part;

[0018] Generate a welding part opening skeleton model according to the positioning information of the welding part opening and the 3D model of the welding part.

[0019] In one embodiment, the determining the positioning information of the welding part opening based on the 3D model of the welding part includes:

[0020] Define an opening surface and a welding part center line in the 3D model of the welding part, where the opening surface is used to calculate the opening diameter on the hull structure, and the welding part center line is used for the calculation of opening positioning;

[0021] Determine the normal vector of the opening surface, and calculate the intersection position of the welding part center line and the opening surface according to the normal vector of the opening surface;

[0022] Determine the positioning information of the opening on the weldment based on the normal vector of the opening surface and the intersection position of the center line of the weldment and the opening surface;

[0023] Among them, the calculation formula for the positioning information of the opening on the weldment is:

[0024] (x hole ,y hole ,z hole ) = (x0, y0, z0) + D·n

[0025]

[0026] Among them, (x hole ,y hole ,z hole ) is the positioning information of the opening, (x0, y0, z0) is the starting point of the center line of the weldment, D is the offset from the center line of the weldment to the opening, and n is the normal vector of the opening surface, represents performing a gradient operation on the opening surface according to the point (x, y, z) of the point in three-dimensional space, and f(x, y, z) is the opening surface.

[0027] In one embodiment, generating the opening skeleton model of the weldment according to the positioning information of the opening on the weldment and the three-dimensional model of the weldment includes:

[0028] Create a blank skeleton model in CAD software;

[0029] Mark the positions of each opening on the blank skeleton model according to the positioning information of the opening on the weldment to obtain the marked skeleton model;

[0030] Extract the structural features associated with the opening based on the three-dimensional model of the weldment;

[0031] Match the structural features with the marked skeleton model to obtain the opening skeleton model of the weldment, where the structural features at least include the shape, size, and position information of the opening.

[0032] In one embodiment, drawing the opening drawing of the weldment according to the opening skeleton model of the weldment includes:

[0033] Determine the opening information of the weldment according to the opening skeleton model of the weldment, where the opening information of the weldment at least includes the opening direction, opening area, and opening centroid;

[0034] Unfold the three-dimensional model of the weldment into a planar unfolded drawing;

[0035] Obtain the geometric information of the rib positions, and calculate the coordinates of the rib positions in the plane development drawing according to the geometric information of the rib positions and the unfolding rules of the three-dimensional model of the welded part;

[0036] Generate rib lines according to the coordinates of the rib positions in the plane development drawing, wherein the rib lines are used to indicate the positions of the openings of the welded part in the ship structure;

[0037] Draw the opening drawing of the welded part according to the positional relationship between the rib lines, the opening information of the welded part and the opening skeleton model of the welded part in the plane development drawing, wherein the opening drawing of the welded part includes the specific layout and dimension information of each opening in the ship structure.

[0038] In one embodiment, the generating the installation position drawing of the side valve according to the opening drawing of the welded part, the opening list of the welded part, the interface orientation information and the installation rules includes:

[0039] Match the opening drawing of the welded part with the opening list of the welded part to determine the target side valves corresponding to the openings in the opening drawing of the welded part;

[0040] Analyze the installation rules to determine the space limitations, installation directions, installation angles and allowable deviations of the installation positions;

[0041] Determine the interface orientation of the target side valves according to the interface orientation information, wherein the interface orientation is used to guide the correct connection of the side valves in the ship structure;

[0042] Draw a preliminary layout drawing of the target side valves within the space limitations of the installation positions according to the opening drawing of the welded part and the interface orientation of the target side valves, wherein the preliminary layout drawing includes the relative positions and directions of the target side valves in the opening drawing of the welded part;

[0043] Optimize the preliminary layout drawing to obtain an optimized preliminary layout drawing;

[0044] If the installation positions of the target side valves in the optimized preliminary layout drawing meet the requirements of the space limitations, installation directions, installation angles and allowable deviations in the installation rules, mark the installation positions and interface orientations of the target side valves in the optimized preliminary layout drawing to generate the installation position drawing of the side valves.

[0045] In one embodiment, the superimposing the installation position drawing of the side valves on the three-dimensional model of the ship to form a comprehensive layout drawing of the ship including the installation information of the side valves includes:

[0046] Import the three-dimensional model of the ship into three-dimensional modeling software and import the installation position drawing of the side valves as a reference layer;

[0047] Align and match the installation position and interface orientation of the target side valve in the side valve installation position diagram with the 3D model of the ship to obtain the matched 3D layout;

[0048] In the matched 3D layout, adjust the position and orientation of the target side valve according to the installation position in the side valve installation position diagram and the structural characteristics of the 3D model of the ship to obtain the adjusted target side valve;

[0049] Fuse the adjusted target side valve with the 3D model of the ship to form a comprehensive ship layout diagram including side valve installation information, where the comprehensive ship layout diagram includes the specific positions, installation directions of each side valve in the ship structure, and the relative relationships with surrounding structures.

[0050] In one embodiment, after generating the side valve installation diagram according to the comprehensive ship layout diagram, it further includes:

[0051] Perform edge detection on the side valve installation diagram to identify problem area features;

[0052] Convert the problem area features into vector data;

[0053] Divide the vector data into several clusters and randomly select a preset number of data points as the initial centers of the clusters;

[0054] Calculate the distance from each data point to the centers of each cluster and assign each data point to the cluster center with the closest distance;

[0055] Update the center of each cluster to the average value of all data points within the cluster until the change in the cluster center is less than the preset threshold or the maximum number of iterations is reached to obtain the clustering result;

[0056] Input the clustering result into the problem detection model, and perform detection based on the clustering result through the problem detection model to generate classification information of the problem area;

[0057] Optimize the side valve installation diagram according to the classification information of the problem area to obtain the optimized side valve installation diagram.

[0058] In one embodiment, the step of inputting the clustering result into the problem detection model, performing detection based on the clustering result through the problem detection model, and generating classification information of the problem area includes:

[0059] Input the clustering result into the problem detection model, and perform feature extraction on the clustering result through the problem detection model to obtain the scatter degree of the cluster. The calculation formula for the scatter degree of the cluster is:

[0060]

[0061] Among them, σ k is the scatter of the cluster, x ki is the i-th data point in cluster k, c k is the center of cluster k, and n k is the number of samples in cluster k;

[0062] Determine whether the scatter of the cluster exceeds the scatter threshold;

[0063] If the scatter of the cluster exceeds the scatter threshold, mark the cluster corresponding to the scatter of the cluster as an abnormal cluster, where the abnormal cluster represents a problem area with installation problems;

[0064] Extract the feature information of the abnormal cluster, input the feature information into a classifier, and classify the feature information through the classifier to obtain the classification information of the problem area, where the classification information at least includes incorrect installation position, mismatched interface orientation, violation of installation rules, and size mismatch.

[0065] In addition, to achieve the above object, the present application also proposes a side valve installation device based on parametric modeling, and the side valve installation device based on parametric modeling includes:

[0066] A generation module, configured to construct a three-dimensional model of a welded part, and generate an opening skeleton model of the welded part based on the three-dimensional model of the welded part;

[0067] A drawing module, configured to draw an opening drawing of the welded part according to the opening skeleton model of the welded part;

[0068] The generation module is further configured to generate an opening list of the welded part according to the openings in the opening drawing of the welded part, where the opening list of the welded part includes the mapping relationship between the openings and the side valves;

[0069] An acquisition module, configured to acquire the interface orientation information and installation rules of each side valve;

[0070] The generation module is further configured to generate a side valve installation position map according to the opening drawing of the welded part, the opening list of the welded part, the interface orientation information, and the installation rules, where the side valve installation position map includes the specific positions and installation directions of each side valve in the ship structure;

[0071] A superimposing module, configured to superimpose the side valve installation position map on the three-dimensional model of the ship to form a ship comprehensive layout map including side valve installation information;

[0072] An installation module is used to generate a side valve installation drawing according to the integrated ship layout drawing and install side valves according to the side valve installation drawing. The installation positions, interface orientations, installation rules, and dimension information of each side valve are marked on the side valve installation drawing.

[0073] One or more technical solutions proposed in this application are as follows: construct a three-dimensional model of a welded part, generate an opening skeleton model of the welded part based on the three-dimensional model of the welded part; draw an opening drawing of the welded part according to the opening skeleton model of the welded part; generate an opening list of the welded part according to the openings in the opening drawing of the welded part, where the opening list of the welded part includes the mapping relationship between the openings and the side valves; obtain the interface orientation information and installation rules of each side valve; generate a side valve installation position drawing according to the opening drawing of the welded part, the opening list of the welded part, the interface orientation information, and the installation rules, where the side valve installation position drawing includes the specific positions and installation directions of each side valve in the ship structure; superimpose the side valve installation position drawing on the three-dimensional model of the ship to form an integrated ship layout drawing containing side valve installation information; generate a side valve installation drawing according to the integrated ship layout drawing and install side valves according to the side valve installation drawing. The installation positions, interface orientations, installation rules, and dimension information of each side valve are marked on the side valve installation drawing. In the above manner, an opening skeleton model is generated through parametric modeling and an opening drawing of the welded part is drawn. Then, a side valve installation position drawing is generated in combination with the opening list of the welded part, the interface orientation information, and the installation rules and superimposed on the three-dimensional model of the ship, quickly generating a side valve installation drawing and installing side valves, effectively improving the design efficiency and accuracy of the side valve installation drawing, and further improving the accuracy of side valve installation. Brief Description of the Drawings

[0074] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with this application and used together with the specification to explain the principles of this application.

[0075] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0076] Figure 1 It is a schematic flowchart provided for Embodiment 1 of the side valve installation method based on parametric modeling of this application;

[0077] Figure 2 It is a schematic diagram of the opening drawing of the welded part provided for one embodiment of the side valve installation method based on parametric modeling of this application;

[0078] Figure 3 Schematic diagram of the side valve drawing provided by an embodiment of the side valve installation method based on parametric modeling in this application;

[0079] Figure 4 Schematic flow diagram provided by Embodiment 2 of the side valve installation method based on parametric modeling in this application;

[0080] Figure 5 Schematic diagram of the curved surface and center line features of the welded part provided by an embodiment of the side valve installation method based on parametric modeling in this application;

[0081] Figure 6 Schematic diagram of the module structure of the side valve installation device based on parametric modeling in the embodiment of this application.

[0082] The realization of the purpose, functional features, and advantages of this application will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners

[0083] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of this application and are not used to limit this application.

[0084] To better understand the technical solutions of this application, the following will be described in detail in combination with the drawings in the specification and specific implementation manners.

[0085] The main solution of the embodiment of this application is: constructing a three-dimensional model of the welded part, generating a welded part hole-opening skeleton model based on the three-dimensional model of the welded part; drawing a welded part hole-opening drawing according to the welded part hole-opening skeleton model; generating a welded part hole-opening list according to the holes in the welded part hole-opening drawing, where the welded part hole-opening list includes the mapping relationship between the holes and the side valves; obtaining the interface orientation information and installation rules of each side valve; generating a side valve installation position drawing according to the welded part hole-opening drawing, the welded part hole-opening list, the interface orientation information, and the installation rules, where the side valve installation position drawing includes the specific positions and installation directions of each side valve in the ship structure; superimposing the side valve installation position drawing on the three-dimensional model of the ship to form a ship comprehensive layout drawing including side valve installation information; generating a side valve installation drawing according to the ship comprehensive layout drawing, and installing the side valves according to the side valve installation drawing, where the side valve installation drawing is marked with the installation positions, interface orientations, installation rules, and dimension information of each side valve.

[0086] The drawing elements included in the installation drawing drawn in a projection manner are rib position transverse sectional views, partial views, detailed lists, technical requirements, etc. The transverse sectional view is used to express the specific positioning information of the side valve, the partial view expresses the installation direction of the side valve, the detailed list expresses the specific model of the valve and the installation fastener information, and the technical requirements express the installation requirements of the side valve. This type of view is often drawn in units of cabins, manually dividing the rib position intervals, and reflecting the installation forms of each side valve through multiple transverse sectional views and a large number of partial views. The drawing is complex, the design workload is huge, and it is easy to miss the views of individual valves, resulting in drawing rework.

[0087] This application provides a solution. By generating an opening skeleton model through parametric modeling and drawing the opening drawing of the welded part, and then combining the opening list of the welded part, the interface orientation information, and the installation rules to generate the installation position map of the side valve and overlay it with the three-dimensional model of the ship, the installation drawing of the side valve is quickly generated and the side valve is installed, effectively improving the design efficiency and accuracy of the installation drawing of the side valve, and further improving the accuracy of the installation of the side valve.

[0088] It should be noted that the execution entity of this embodiment can be a computing service device with data processing, network communication, and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of implementing the above functions, a side valve installation device based on parametric modeling, such as a drone control system, etc. Hereinafter, the drone control system will be taken as an example to illustrate this embodiment and the following embodiments.

[0089] Based on this, the embodiment of this application provides a side valve installation method based on parametric modeling, referring to Figure 1 , Figure 1 is a schematic flow chart of the first embodiment of the side valve installation method based on parametric modeling of this application.

[0090] In this embodiment, the side valve installation method based on parametric modeling includes steps S10 to S70:

[0091] Step S10: Construct a three-dimensional model of the welded part, and generate an opening skeleton model of the welded part based on the three-dimensional model of the welded part.

[0092] It should be noted that the three-dimensional model of the welded part can be obtained through parametric modeling. In this embodiment, the welded part refers to the structural part connected to the side valve. During the shipbuilding process, the welded part is usually used to fix and support the side valve to ensure its stability and functionality. There is a one-to-one correspondence between the side valve and the welded part on the hull structure (except for electrical welded parts). By constructing the three-dimensional model of the welded part, the actual shape and size of the welded part can be accurately simulated, providing accurate basic data for subsequent opening design and side valve installation.

[0093] It should be understood that the welded part opening skeleton model is a simplified structural model that extracts the position and shape information of the key openings on the welded part. This model retains all the opening features related to the side valve installation on the welded part, such as the position, size, and spatial relationship between the openings, while omitting other non-critical details, thereby improving the processing efficiency and the clarity of the model.

[0094] Step S20: Draw the opening drawing of the welded part according to the welded part opening skeleton model.

[0095] It should be noted that the opening drawing of the welded part is a detailed view generated based on the welded part opening skeleton model, including the specific positions and shapes of all the openings related to the side valve installation on the welded part, and its form is a shell plate development drawing. This opening drawing uses standard engineering drawing symbols and markings to clearly express the dimensions, positions of each opening, and the relationship with other openings and the ship structure, such as Figure 2 shown Figure 2 is a schematic diagram of the opening drawing of the welded part. Through precise drawing and marking, it ensures that the side valve can be accurately installed at the predetermined position, avoiding installation errors and rework situations, and improving the installation efficiency and accuracy.

[0096] In a feasible implementation manner, step S20 may include: determining the opening information of the welded part according to the welded part opening skeleton model, where the opening information of the welded part at least includes the opening direction, opening area, and opening centroid; expanding the three-dimensional model of the welded part into a plane development drawing; obtaining the geometric information of the rib positions, and calculating the coordinates of the rib positions in the plane development drawing according to the geometric information of the rib positions and the expansion rules of the three-dimensional model of the welded part; generating rib lines according to the coordinates of the rib positions in the plane development drawing, where the rib lines are used to indicate the positions of the welded part openings in the ship structure; and drawing the opening drawing of the welded part according to the positional relationship between the rib lines, the opening information of the welded part, and the position of the welded part opening skeleton model in the plane development drawing, where the opening drawing of the welded part includes the specific layout and dimension information of each opening in the ship structure.

[0097] It should be noted that the opening information of the welded part refers to the specific parameters and characteristics of each opening on the welded part, and these information are the basis for drawing the opening drawing of the welded part. The opening direction refers to the orientation of the opening on the welded part, which determines the installation direction of the side valve; the opening area reflects the size of the opening, which is crucial for selecting the appropriate side valve model; the opening centroid is the position of the geometric center of the opening, which helps to determine the precise installation position of the side valve on the welded part.

[0098] It should be understood that rib positions are transverse members used for positioning and supporting structures in ship structures, and their geometric information includes the shape, size, and position of the rib positions, etc. When drawing the opening drawing of the welded part, it is necessary to consider the influence of the rib positions on the opening layout to ensure that the positions and sizes of the openings match the rib positions, thereby avoiding conflicts or interferences during the installation process. By obtaining the geometric information of the rib positions and according to the unfolding rules of the 3D model of the welded part, the coordinates of the rib positions in the planar unfolding drawing can be calculated, and then the rib position lines can be generated. The rib position lines, as important references in the opening drawing of the welded part, clearly indicate the positions of the openings of the welded part in the ship structure.

[0099] Specifically, by unfolding the 3D model of the welded part into a planar unfolding drawing, it is more convenient to draw and mark on the 2D plane, which greatly reduces the complexity and difficulty of drawing. At the same time, considering the geometric information of the rib positions and the unfolding rules of the 3D model of the welded part, the coordinates of the rib positions in the planar unfolding drawing can be accurately calculated, thereby providing accurate data support for drawing the rib position lines. The rib position lines play an important role in indicating the positions of the openings in the ship structure in the opening drawing of the welded part, ensuring the consistency between the opening drawing and the actual ship structure. Finally, according to the positional relationship between the rib position lines, the opening information of the welded part, and the opening skeleton model of the welded part in the planar unfolding drawing, a detailed and accurate opening drawing of the welded part can be drawn.

[0100] Step S30: Generate a welded part opening list according to the openings in the opening drawing of the welded part, where the welded part opening list includes the mapping relationship between the openings and the side valves.

[0101] It should be noted that the welded part opening list is an important document for counting and classifying all the openings on the welded part. It records the mapping relationship between each opening and the corresponding side valve, as well as the specific parameters and characteristics of the openings. This list is crucial for the subsequent selection and installation of side valves, ensuring that each side valve can be accurately installed at the predetermined opening position, avoiding installation errors and rework situations. In the list, each opening will be assigned a unique identifier for easy reference and tracking during the subsequent design and installation processes. At the same time, the list will also detail the position, size, shape of each opening, and its relationship with other openings and the ship structure, providing strong support for the precise installation of side valves. In addition, the welded part opening list can also be used as a basis for quality control and inspection during the shipbuilding process to ensure that each welded part meets the design requirements, thereby guaranteeing the construction quality and safety of the entire ship.

[0102] Step S40: Obtain the interface orientation information and installation rules of each side valve.

[0103] It should be noted that the interface orientation information of the side valve refers to the specific orientation and position of each interface on the side valve, which is used to determine the installation direction of the side valve in the ship structure. The interface orientation information of the side valve indicates the orientation of each interface, such as the upward, downward, leftward, or rightward direction of the interface, usually relative to the normal direction of the welded part or the shell surface. Installation rules: Define the installation requirements of the side valve, including spatial limitations of the installation position, installation direction, installation angle, allowable deviations, etc., and may also include other requirements, such as the alignment of the valve body and the interface, the minimum distance from other equipment, etc.

[0104] Step S50: Generate a side valve installation position diagram based on the welded part opening drawing, the welded part opening list, the interface orientation information, and the installation rules. Among them, the side valve installation position diagram includes the specific positions and installation directions of each side valve in the ship structure.

[0105] It should be noted that the side valve installation position diagram is a detailed view comprehensively generated based on the welded part opening drawing, the welded part opening list, the interface orientation information of the side valve, and the installation rules. This diagram not only includes the specific position of each side valve in the ship structure but also clearly indicates its installation direction, ensuring that the side valve can be accurately installed according to the design requirements.

[0106] In the side valve installation position diagram, each side valve will be clearly identified and associated with its corresponding opening, so as to facilitate the construction personnel to quickly and accurately find the installation position. At the same time, considering the installation rules of the side valve, important information such as the spatial limitations of the installation position, the installation angle, and the allowable deviations will also be detailedly marked in the diagram, providing comprehensive guidance for the construction. The side valve installation position diagram not only improves the installation efficiency and accuracy but also effectively avoids errors and rework situations during the installation process, which is of great significance for ensuring the construction quality and safety of the ship.

[0107] Optionally, obtain the side valve drawing, draw the side valve drawing onto the shell plate development drawing at one time, and scale the size of the drawing proportionally according to the opening size, thus forming the side valve installation position diagram. The side valve drawing should be both concise and have interface features, such as Figure 3 as shown Figure 3 is a schematic diagram of the side valve drawing.

[0108] In a feasible implementation manner, step S50 may include: matching the opening drawing of the welded part with the opening list of the welded part to determine the target side valve corresponding to each opening in the opening drawing of the welded part; parsing the installation rules to determine the spatial limitations, installation direction, installation angle, and allowable deviation of the installation position; determining the interface orientation of the target side valve according to the interface orientation information, where the interface orientation is used to guide the correct connection of the side valve in the ship structure; drawing a preliminary layout diagram of the target side valve within the spatial limitations of the installation position according to the opening drawing of the welded part and the interface orientation of the target side valve, where the preliminary layout diagram includes the relative position and direction of the target side valve in the opening drawing of the welded part; optimizing the preliminary layout diagram to obtain an optimized preliminary layout diagram; if the installation positions of the target side valves in the optimized preliminary layout diagram meet the requirements of the spatial limitations, installation direction, installation angle, and allowable deviation in the installation rules, then mark the installation positions and interface orientations of each target side valve in the optimized preliminary layout diagram to generate a side valve installation position diagram.

[0109] It should be noted that the process of matching the opening drawing of the welded part with the opening list of the welded part depends on the unique identifier and opening parameters provided in the opening list. By comparing the opening information on the opening drawing of the welded part, the model and specifications of the side valve to be installed for each opening can be accurately determined. After the matching is completed, it is also necessary to further adjust and optimize the initially determined layout according to the actual size and installation requirements of the side valve to ensure the best layout effect under the premise of meeting the installation rules.

[0110] It can be understood that in this implementation manner, parsing the installation rules includes the spatial limitations of the installation position (including the height and azimuth of valve installation, the spacing requirements between the valve and surrounding equipment or structural components), installation direction, installation angle, and allowable deviation (i.e., the maximum deviation limit during installation), etc.

[0111] It should be understood that specifically drawing the preliminary layout diagram of the target side valve includes: drawing the outline and interface positions of the target side valve at a scale of 1:1 on a two-dimensional plane according to the scale of the opening drawing of the welded part and the actual size of the target side valve. During the drawing process, it is necessary to fully consider the spatial limitations of the installation position to ensure that the target side valve can be installed smoothly and will not interfere with surrounding equipment or structural components. At the same time, according to the interface orientation information, the orientations of each interface of the target side valve should be clearly marked in the preliminary layout diagram for subsequent connection and debugging work.

[0112] The optimization of the preliminary layout diagram includes adjusting the position, direction of the target side valve in the preliminary layout diagram and its relative relationship with other equipment or structural components to improve the overall effect of the layout and the convenience of installation. The optimization process may involve adjusting the installation position of the side valve to make it more in line with the requirements of the actual installation environment, or adjusting the direction and angle of the side valve to reduce obstacles and conflicts during the installation process. Through continuous iteration and optimization, a side valve installation position diagram that not only meets the installation rules but also has good practicability is finally obtained. The installation position of the target side valve in the optimized preliminary layout diagram should meet the requirements of space limitation, installation direction, installation angle and allowable deviation in the installation rules.

[0113] Step S60: Superimpose the side valve installation position diagram on the three-dimensional model of the ship to form a comprehensive ship layout diagram containing side valve installation information.

[0114] It should be noted that the three-dimensional model of the ship can also be obtained through parametric modeling. This three-dimensional model contains all the structural information of the ship, such as decks, bulkheads, pipelines, etc. By superimposing the side valve installation position diagram on the three-dimensional model, the specific position of the side valve in the three-dimensional space of the ship and its relative relationship with other structural components can be intuitively seen. This not only helps to better understand the installation requirements but also enables virtual pre-installation before construction to discover and solve possible installation problems in advance, further improving the installation efficiency and accuracy.

[0115] It can be understood that the comprehensive ship layout diagram should include side valve installation information, such as detailed information about the model, specifications, installation position coordinates, interface orientation, installation angle, etc. of each side valve. By superimposing the side valve installation position diagram on the three-dimensional model of the ship to form a comprehensive ship layout diagram, not only the installation efficiency and accuracy are improved, but also a strong guarantee is provided for the construction quality and safety of the ship.

[0116] In a feasible implementation manner, step S60 may include: importing the three-dimensional model of the ship into three-dimensional modeling software and importing the side valve installation position diagram as a reference layer; aligning and matching the installation position and interface orientation of the target side valve in the side valve installation position diagram with the three-dimensional model of the ship to obtain a matched three-dimensional layout; in the matched three-dimensional layout, adjusting the position and orientation of the target side valve according to the installation position in the side valve installation position diagram and the structural characteristics of the three-dimensional model of the ship to obtain the adjusted target side valve; fusing the adjusted target side valve with the three-dimensional model of the ship to form a comprehensive ship layout diagram containing side valve installation information, where the comprehensive ship layout diagram includes the specific position, installation direction of each side valve in the ship structure and its relative relationship with the surrounding structures.

[0117] It should be noted that during the process of superimposing the side valve installation position diagram on the ship's 3D model, it is necessary to ensure that the scales and coordinate systems of the two are consistent to guarantee the accuracy of the superposition. In addition, the accuracy and level of detail of the ship's 3D model need to be considered to ensure that the final ship comprehensive layout diagram can truly reflect the actual situation of the side valve in the ship's structure.

[0118] In this embodiment, the accurate alignment and fusion of the side valve installation position diagram and the ship's 3D model are achieved through 3D modeling software, which can be professional 3D design software such as SolidWorks and AutoCAD. This alignment and fusion not only rely on advanced modeling techniques but also require an in-depth understanding of the ship's structure and the installation requirements of the side valve. Through the alignment process, it can be ensured that the position of the side valve in the 3D model is exactly the same as the actual installation position, avoiding installation problems caused by position deviation. The fusion process further integrates the side valve into the ship's structure, enabling construction personnel to perform pre-installation and debugging in a virtual environment, greatly improving the installation efficiency and accuracy. The final ship comprehensive layout diagram not only contains detailed installation information of the side valve but also intuitively shows the relative relationship between the side valve and other structural components of the ship.

[0119] Specifically, in CAD software, using the alignment and matching functions of the software, the installation position and interface orientation of the target side valve in the side valve installation position diagram are accurately aligned with the corresponding positions in the ship's 3D model. This process requires ensuring that the installation position, interface orientation, and relative relationship with other structural components of each side valve are accurately reflected in the 3D model. Through the alignment operation, installation errors caused by deviations between the drawing and the model can be eliminated, improving the accuracy and reliability of the installation.

[0120] The matched three-dimensional layout includes the preliminary correspondence between the side valves and the ship's three-dimensional model. However, due to various limiting factors that may exist in the actual installation environment, such as space limitations, installation angle requirements, etc., it is necessary to adjust the matched three-dimensional layout. The adjustment process includes fine-tuning the position and orientation of the target side valve according to the installation position in the side valve installation position diagram and the structural characteristics of the ship's three-dimensional model to ensure that it meets the actual installation requirements. After adjustment, the correspondence between the target side valve and the ship's three-dimensional model is more accurate and reasonable. At this time, the adjusted target side valve is integrated with the ship's three-dimensional model to form a comprehensive ship layout diagram containing the side valve installation information. The integration process uses the integration function of three-dimensional modeling software to seamlessly integrate the side valve into the ship's three-dimensional model, making it part of the ship's structure. The comprehensive ship layout diagram not only includes the specific positions, installation directions of each side valve in the ship's structure and their relative relationships with the surrounding structures, but also contains detailed installation information of the side valve, such as model, specification, installation position coordinates, interface orientation, installation angle, etc.

[0121] Step S70: Generate a side valve installation diagram based on the comprehensive ship layout diagram, and install the side valves according to the side valve installation diagram, where the installation positions, interface orientations, installation rules and dimension information of each side valve are marked on the side valve installation diagram.

[0122] It should be noted that the side valve installation diagram is further refined based on the comprehensive ship layout diagram, and it details key elements such as the installation positions, interface orientations, installation rules and dimension information of each side valve. During the process of generating the side valve installation diagram, various limiting factors in the actual installation environment, such as space limitations, installation angle requirements, etc., need to be fully considered to ensure the accuracy and practicality of the installation diagram. When installing the side valves according to the side valve installation diagram, it is necessary to operate strictly in accordance with the markings and requirements in the diagram to ensure that each side valve can be correctly and firmly installed in the designated position. During the installation process, attention should also be paid to protecting the side valves and their interfaces from damage and avoiding installation errors or omissions. By strictly installing according to the side valve installation diagram, the correct arrangement and effective operation of the side valves on the ship can be ensured, providing a strong guarantee for the safe navigation and reliable operation of the ship.

[0123] In a feasible implementation manner, after "generating a side valve installation drawing according to the ship's comprehensive layout drawing" in step S70, the following steps are further included: performing edge detection on the side valve installation drawing to identify the problem area features; converting the problem area features into vector data; dividing the vector data into several clusters, and randomly selecting a preset number of data points as the initial centers of the clusters; calculating the distances from each data point to the cluster centers, and assigning each data point to the cluster center with the closest distance; updating the center of each cluster to the average value of all data points within the cluster until the change in the cluster center is less than a preset threshold or the maximum number of iterations is reached, to obtain a clustering result; inputting the clustering result into a problem detection model, and detecting based on the clustering result through the problem detection model to generate classification information of the problem area; optimizing the side valve installation drawing according to the classification information of the problem area to obtain an optimized side valve installation drawing.

[0124] It should be noted that the purpose of performing edge detection on the side valve installation drawing is to identify possible problem areas in the drawing, such as installation position conflicts, incorrect interface orientations, etc. By converting the problem area features into vector data, it is convenient for subsequent data processing and clustering analysis.

[0125] It should be understood that clustering analysis is a commonly used data mining technique, which can group similar data points into the same cluster to discover potential patterns and rules in the data. In this implementation manner, the K-means clustering algorithm is used to perform clustering analysis on the vector data. By continuously iterating and updating the cluster centers until the change in the cluster centers is less than a preset threshold or the maximum number of iterations is reached, the final clustering result is obtained. The clustering result reflects the distribution of problem areas in the side valve installation drawing.

[0126] It is worth noting that the problem detection model is a prediction model based on machine learning. It can automatically identify the problem areas existing in the side valve installation drawing according to the input clustering result and generate classification information of the problem area. The classification information includes key information such as the type, location, and severity of the problem area. According to the classification information of the problem area, the side valve installation drawing can be optimized, such as adjusting the installation position, modifying the interface orientation, etc., to eliminate potential installation problems. The optimized side valve installation drawing is more accurate and practical, providing strong support for subsequent side valve installation work. Through this series of operations, the installation quality and efficiency of the side valve can be further improved, ensuring the safe navigation and reliable operation of the ship.

[0127] In a feasible implementation, inputting the clustering result into the problem detection model, and detecting based on the clustering result through the problem detection model to generate classification information of the problem area, including: inputting the clustering result into the problem detection model, extracting features from the clustering result through the problem detection model to obtain the dispersion degree of the cluster; determining whether the dispersion degree of the cluster exceeds the dispersion degree threshold; if the dispersion degree of the cluster exceeds the dispersion degree threshold, marking the cluster corresponding to the dispersion degree of the cluster as an abnormal cluster, where the abnormal cluster represents a problem area with installation problems; extracting the feature information of the abnormal cluster, and inputting the feature information into a classifier, and classifying the feature information through the classifier to obtain the classification information of the problem area, where the classification information at least includes incorrect installation position, mismatched interface orientation, violation of installation rules, and size mismatch.

[0128] It should be noted that the problem detection model is pre-trained and has mastered the ability to identify common problems in the side valve installation diagram by learning a large amount of historical data.

[0129] After inputting the clustering result into the problem detection model, the model will extract features from the clustering result and calculate the dispersion degree of each cluster. The dispersion degree is an index to measure the dispersion degree of data points within the cluster. When the dispersion degree of the cluster exceeds the preset dispersion degree threshold, it means that the cluster may represent a problem area with installation problems. At this time, the problem detection model will mark the cluster as an abnormal cluster and extract the feature information of the abnormal cluster. The feature information includes various attributes of the data points within the abnormal cluster, such as installation position, interface orientation, installation rules, and size information, etc. The extracted feature information is then input into a classifier for classification. The calculation formula for the dispersion degree of the cluster is:

[0130]

[0131] where σ k is the dispersion degree of the cluster, x ki is the i-th data point in cluster k, c k is the center of cluster k, and n k is the number of samples in cluster k.

[0132] The classifier is another machine learning-based model that can automatically determine the type of problem area based on the input feature information. In this embodiment, the types of problem areas that the classifier can identify include, but are not limited to, incorrect installation positions, mismatched interface orientations, violation of installation rules, and size mismatches, etc. Through the classification of the classifier, detailed classification information of the problem area can be obtained, and this information provides an important basis for the subsequent optimization of the side valve installation drawing. According to the classification information, targeted adjustments and optimizations can be made to the side valve installation drawing, such as adjusting the installation position, modifying the interface orientation or size, etc., to eliminate potential installation problems. The optimized side valve installation drawing is more accurate and practical, and can guide the construction personnel to correctly and efficiently complete the installation work of the side valve.

[0133] This embodiment provides a side valve installation method based on parametric modeling. A three-dimensional model of the welded part is constructed, and an opening skeleton model of the welded part is generated based on the three-dimensional model of the welded part; an opening drawing of the welded part is drawn according to the opening skeleton model of the welded part; an opening list of the welded part is generated according to the openings in the opening drawing of the welded part, where the opening list of the welded part includes the mapping relationship between the openings and the side valves; the interface orientation information and installation rules of each side valve are obtained; a side valve installation position drawing is generated according to the opening drawing of the welded part, the opening list of the welded part, the interface orientation information, and the installation rules, where the side valve installation position drawing includes the specific positions and installation directions of each side valve in the ship structure; the side valve installation position drawing is superimposed on the three-dimensional model of the ship to form a ship comprehensive layout diagram containing side valve installation information; a side valve installation drawing is generated according to the ship comprehensive layout diagram, and side valves are installed according to the side valve installation drawing, where the installation positions, interface orientations, installation rules, and size information of each side valve are marked on the side valve installation drawing. By the above method, an opening skeleton model is generated and an opening drawing of the welded part is drawn through parametric modeling, and then a side valve installation position drawing is generated in combination with the opening list of the welded part, the interface orientation information, and the installation rules and superimposed on the three-dimensional model of the ship, quickly generating a side valve installation drawing and installing the side valve, effectively improving the design efficiency and accuracy of the side valve installation drawing, and further improving the accuracy of the side valve installation.

[0134] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar content as that in the above-mentioned first embodiment can be referred to the above introduction and will not be repeated hereinafter. On this basis, please refer to Figure 4 , step S10 includes steps S101 to S105:

[0135] Step S101: Obtain the material information and size information of the welded part.

[0136] It should be noted that the material information refers to the type of material used for the welded part (such as steel, stainless steel, aluminum alloy, etc.). And the dimension information refers to the data such as the length, width, and thickness of the welded part.

[0137] Step S102: Draw a 2D sketch of the welded part in CAD software based on the material information and dimension information, where the 2D sketch is used to determine the shape and structure of the welded part.

[0138] It should be noted that the basic shape and dimensions of the welded part are determined according to the material information and dimension information. In CAD software, select appropriate drawing tools and commands, and draw a 2D sketch of the welded part according to the scale and dimension requirements. The 2D sketch should clearly show key information such as the outline of the welded part, the position and size of the openings, etc.

[0139] It should be understood that during the drawing process, it is also necessary to pay attention to observing relevant drawing standards and specifications to ensure the accuracy and standardization of the 2D sketch. The 2D sketch is used to determine the shape and structure of the welded part (such as rectangular, circular, irregular, etc.).

[0140] Step S103: Perform 3D modeling based on the 2D sketch to generate a 3D model of the welded part, where the 3D modeling includes at least stretching, rotating, and sweeping operations.

[0141] It should be noted that the 2D sketch is transformed into a 3D model through operations such as stretching, rotating, and sweeping. During the 3D modeling process, appropriate modeling methods and operations can be selected according to the specific shape and structure of the welded part. The stretching operation is usually applicable to welded parts with regular shapes such as rectangles and trapezoids. By stretching the 2D sketch along a specified direction, a 3D solid is generated. The rotating operation is applicable to welded parts with rotational symmetry. By rotating the 2D sketch around a specified axis, a 3D solid is formed. The sweeping operation is applicable to welded parts with complex shapes. By sweeping a 2D section along a specified path, a 3D solid is generated.

[0142] After generating the 3D model, it is also necessary to perform necessary inspections and corrections on the model to ensure the accuracy and integrity of the model. Through this series of operations, an accurate and compliant 3D model of the welded part can be obtained.

[0143] Step S104: Determine the positioning information of the openings on the welded part based on the 3D model of the welded part.

[0144] It should be noted that the positioning information of the openings on the welded part is determined through the geometric information and spatial relationships in the 3D model.

[0145] Specifically, according to the installation requirements of the side valve, the structural characteristics and spatial layout in the 3D model of the welded part can be analyzed to determine the position, shape, and size of the opening. This process requires comprehensive consideration of factors such as the overall structure of the ship, the installation rules of the side valve, and the material and size of the welded part to ensure accurate and reasonable positioning of the opening. By determining the positioning information of the opening in the welded part, it provides precise guidance for subsequent opening operations, further improving the accuracy and efficiency of side valve installation.

[0146] In a feasible implementation manner, step S104 may include: defining an opening surface and the center line of the welded part in the 3D model of the welded part, where the opening surface is used to calculate the opening diameter on the hull structure, and the center line of the welded part is used for the calculation of opening positioning; determining the normal vector of the opening surface, and calculating the intersection position of the center line of the welded part and the opening surface according to the normal vector of the opening surface; determining the positioning information of the opening in the welded part according to the normal vector of the opening surface and the intersection position of the center line of the welded part and the opening surface;

[0147] It should be noted that the opening surface is used to calculate the opening diameter on the hull structure. The opening diameter is 4 mm larger than the diameter of the welded part. The center line of the welded part is used for the calculation of opening positioning. The positioning information of the opening in the welded part can be obtained through the intersection of the center line and the structural surface, as Figure 5 shown, Figure 5 is a schematic diagram of the surface and center line characteristics of the welded part.

[0148] It can be understood that the normal vector of the opening surface is a vector perpendicular to the opening surface, which is used to determine the direction of the opening surface in space. By calculating the normal vector of the opening surface, the intersection position of the center line of the welded part and the opening surface can be further determined, so as to accurately calculate the positioning information of the opening in the welded part. When determining the normal vector of the opening surface, geometric analysis or numerical calculation methods are usually used. According to the shape and size of the opening surface, the direction and magnitude of the normal vector are calculated. In this implementation manner, the gradient operation method is used to determine the normal vector of the opening surface.

[0149] The calculation formula for the positioning information of the opening in the welded part is:

[0150] (x hole ,y hole ,z hole )=(x0,y0,z0)+Dn

[0151]

[0152] where, (x hole ,y hole ,z hole) is the positioning information of the opening, (x0, y0, z0) is the starting point of the center line of the welded part, D is the offset from the center line of the welded part to the opening, and n is the normal vector of the opening surface. Represents the gradient operation on the opening surface according to the point (x, y, z) of the point in three-dimensional space, and f(x, y, z) is the opening surface.

[0153] It should be noted that after determining the positioning information of the opening of the welded part, it is also necessary to verify the opening information to ensure the accuracy of the opening position, shape and size. The verification process can be carried out according to factors such as the installation rules of the side valve, the overall structure of the ship, and the material and size of the welded part. Through comparison and analysis, possible errors or unreasonable points can be found and corrected in time. The opening information after verification is more reliable and accurate.

[0154] Step S105: Generate a welded part opening skeleton model according to the positioning information of the opening of the welded part and the three-dimensional model of the welded part.

[0155] It should be noted that the welded part opening skeleton model is a simplified three-dimensional model used to describe the positions, shapes and sizes of all openings on the welded part. By extracting the opening information from the three-dimensional model of the welded part and representing it in the form of a skeleton, the spatial layout and mutual relationship of each opening on the welded part can be clearly displayed. When generating the welded part opening skeleton model, it is necessary to ensure the accuracy and integrity of the model so that the welded part opening drawing can be accurately drawn according to the opening skeleton model in the subsequent steps.

[0156] In a feasible implementation manner, step S105 may include: creating a blank skeleton model in CAD software; marking the positions of each opening on the blank skeleton model according to the positioning information of the opening of the welded part to obtain a marked skeleton model; extracting the structural features associated with the opening based on the three-dimensional model of the welded part; and matching the structural features with the marked skeleton model to obtain the welded part opening skeleton model, where the structural features at least include the shape, size and position information of the opening.

[0157] It should be noted that in the process of creating the welded part opening skeleton model, the selection of CAD software is crucial. It not only needs to have powerful three-dimensional modeling functions, but also needs to support precise operations and modifications on the model. Commonly used CAD software such as AutoCAD, SolidWorks, etc. can meet this requirement. After creating the blank skeleton model, according to the positioning information of the opening of the welded part, the positions of each opening can be accurately marked on the skeleton model. This process needs to ensure the accuracy and consistency of the marking so that the opening information can be accurately identified and extracted subsequently.

[0158] Based on the 3D model of the welded part, extract the structural features associated with the opening. These features include the shape, size, and position information of the opening, etc., which are crucial for describing the spatial layout and interrelationships of the openings on the welded part. The method for extracting structural features can be selected according to specific requirements and the functions of CAD software. For example, the size information of the opening can be obtained through measurement tools, and the position of the opening can be determined through selection tools.

[0159] Match the extracted structural features with the marked skeleton model. This process requires ensuring the accuracy and integrity of the match to generate a welded part opening skeleton model that meets the requirements. After the matching is completed, the model can be checked and corrected as necessary to ensure its accuracy and usability. Through this series of operations, a clear, accurate, and easy-to-understand welded part opening skeleton model can be finally obtained.

[0160] In this embodiment, the 3D model of the welded part is constructed through parametric modeling. Compared with the traditional 2D drawing design, the 3D modeling method adopted makes the design process more intuitive and accurate, reduces design errors and installation problems. At the same time, through parametric modeling, the size of the welded part can be conveniently adjusted and optimized to meet the requirements of different ships and side valves. Furthermore, based on the 3D model of the welded part, the positioning information of the openings on the welded part is determined, and a welded part opening skeleton model is generated in combination with the positioning information of the welded part openings, further improving the design efficiency and reliability of the side valve installation drawing.

[0161] It should be noted that the above examples are only for understanding this application and do not constitute a limitation to the side valve installation method based on parametric modeling in this application. Any simple transformation in more forms based on this technical concept is within the protection scope of this application.

[0162] This application also provides a side valve installation device based on parametric modeling. Please refer to Figure 6 , the side valve installation device based on parametric modeling includes:

[0163] A generation module 10, configured to construct a 3D model of a welded part and generate a welded part opening skeleton model based on the 3D model of the welded part.

[0164] A drawing module 20, configured to draw a welded part opening drawing according to the welded part opening skeleton model.

[0165] The generation module 10 is further configured to generate a welded part opening list according to the openings in the welded part opening drawing, where the welded part opening list includes the mapping relationship between the openings and the side valves.

[0166] An acquisition module 30, configured to acquire the interface orientation information and installation rules of each side valve.

[0167] The generating module 10 is further configured to generate a side valve installation position diagram according to the welded part hole opening diagram, the welded part hole opening list, the interface orientation information, and the installation rules, wherein the side valve installation position diagram includes the specific positions and installation directions of the side valves in the ship structure.

[0168] The superimposing module 40 is configured to superimpose the side valve installation position diagram on the three-dimensional model of the ship to form a comprehensive ship layout diagram including side valve installation information.

[0169] The installation module 50 is configured to generate a side valve installation diagram according to the comprehensive ship layout diagram and install the side valves according to the side valve installation diagram, wherein the installation positions, interface orientations, installation rules, and dimension information of the side valves are marked on the side valve installation diagram.

[0170] The side valve installation device based on parametric modeling provided by the present application adopts the side valve installation method based on parametric modeling in the above embodiment, and can solve the technical problems that the traditional side valve installation diagram is generated in a projection manner, with poor design efficiency and quality, thus affecting the side valve installation work. Compared with the prior art, the beneficial effects of the side valve installation device based on parametric modeling provided by the present application are the same as those of the side valve installation method based on parametric modeling provided by the above embodiment, and the other technical features in the side valve installation device based on parametric modeling are the same as the features disclosed in the method of the above embodiment, and will not be elaborated here.

[0171] The above are only partial embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structural transformation made under the technical concept of the present application by using the content of the specification and drawings of the present application, or direct / indirect application in other related technical fields, is included in the patent protection scope of the present application.

Claims

1. A side valve installation method based on parametric modeling, characterized in that, The method includes: Constructing a three-dimensional model of a welded part and generating an opening skeleton model of the welded part based on the three-dimensional model of the welded part; Drawing an opening drawing of the welded part according to the opening skeleton model of the welded part; Generating an opening list of the welded part according to the openings in the opening drawing of the welded part, wherein the opening list of the welded part includes the mapping relationship between the openings and the side valves; Obtaining the interface orientation information and installation rules of each side valve; Generating a side valve installation position drawing according to the opening drawing of the welded part, the opening list of the welded part, the interface orientation information and the installation rules, wherein the side valve installation position drawing includes the specific positions and installation directions of each side valve in the ship structure; Overlaying the side valve installation position drawing with the three-dimensional model of the ship to form a comprehensive ship layout drawing containing side valve installation information; Generating a side valve installation drawing according to the comprehensive ship layout drawing and installing the side valves according to the side valve installation drawing, wherein the installation positions, interface orientations, installation rules and dimension information of each side valve are marked on the side valve installation drawing.

2. The method according to claim 1, wherein The constructing of the three-dimensional model of the welded part and generating the opening skeleton model of the welded part based on the three-dimensional model of the welded part includes: Obtaining the material information and dimension information of the welded part; Drawing a two-dimensional sketch of the welded part in CAD software based on the material information and dimension information, wherein the two-dimensional sketch is used to determine the shape and structure of the welded part; Performing three-dimensional modeling according to the two-dimensional sketch to generate a three-dimensional model of the welded part, wherein the three-dimensional modeling includes at least stretching, rotating and sweeping operations; Determining the positioning information of the openings of the welded part based on the three-dimensional model of the welded part; Generating an opening skeleton model of the welded part according to the positioning information of the openings of the welded part and the three-dimensional model of the welded part.

3. The method according to claim 2, wherein The determining of the positioning information of the openings of the welded part based on the three-dimensional model of the welded part includes: Defining an opening surface and a center line of the welded part in the three-dimensional model of the welded part, wherein the opening surface is used to calculate the opening diameter on the hull structure, and the center line of the welded part is used for the calculation of opening positioning; Determining the normal vector of the opening surface and calculating the intersection position of the center line of the welded part and the opening surface according to the normal vector of the opening surface; Determining the positioning information of the openings of the welded part according to the normal vector of the opening surface and the intersection position of the center line of the welded part and the opening surface; Wherein, the calculation formula of the positioning information of the openings of the welded part is: (x hole , y hole , z hole ) = (x0, y0, z0) + D·n Among them, (x hole , y hole , z hole ) is the positioning information of the opening, (x0, y0, z0) is the starting point of the center line of the welded part, D is the offset from the center line of the welded part to the opening, n is the normal vector of the opening surface, represents the gradient operation on the opening surface according to the point (x, y, z) of the point in the three-dimensional space, and f(x, y, z) is the opening surface.

4. The method according to claim 2, wherein The generating of the opening skeleton model of the welded part according to the positioning information of the openings of the welded part and the three-dimensional model of the welded part includes: Creating a blank skeleton model in CAD software; Marking the positions of each opening on the blank skeleton model according to the positioning information of the openings of the welded part to obtain a marked skeleton model; Extracting the structural features associated with the openings based on the three-dimensional model of the welded part; Matching the structural features with the marked skeleton model to obtain an opening skeleton model of the welded part, wherein the structural features include at least the shape, size and position information of the openings.

5. The method according to claim 1, wherein The drawing of the opening drawing of the welded part according to the opening skeleton model of the welded part includes: Determine the opening information of the welded part according to the opening skeleton model of the welded part, where the opening information of the welded part at least includes the opening direction, the opening area, and the opening centroid; Unfold the three-dimensional model of the welded part into a planar unfolded drawing; Obtain the geometric information of the rib positions, and calculate the coordinates of the rib positions in the planar unfolded drawing according to the geometric information of the rib positions and the unfolding rules of the three-dimensional model of the welded part; Generate rib lines according to the coordinates of the rib positions in the planar unfolded drawing, where the rib lines are used to indicate the positions of the openings of the welded part in the ship structure; Draw the opening drawing of the welded part according to the positional relationship among the rib lines, the opening information of the welded part, and the position of the opening skeleton model of the welded part in the planar unfolded drawing, where the opening drawing of the welded part includes the specific layout and dimension information of each opening in the ship structure.

6. The method according to claim 1, characterized in that, The generation of the installation position drawing of the side valve according to the opening drawing of the welded part, the opening list of the welded part, the interface orientation information, and the installation rules includes: Match the opening drawing of the welded part with the opening list of the welded part to determine the target side valves corresponding to the openings in the opening drawing of the welded part; Analyze the installation rules to determine the spatial limitations, installation directions, installation angles, and allowable deviations of the installation positions; Determine the interface orientation of the target side valves according to the interface orientation information, where the interface orientation is used to guide the correct connection of the side valves in the ship structure; Draw a preliminary layout drawing of the target side valves within the spatial limitations of the installation position according to the opening drawing of the welded part and the interface orientation of the target side valves, where the preliminary layout drawing includes the relative positions and directions of the target side valves in the opening drawing of the welded part; Optimize the preliminary layout drawing to obtain an optimized preliminary layout drawing; If the installation positions of the target side valves in the optimized preliminary layout drawing meet the requirements of the spatial limitations, installation directions, installation angles, and allowable deviations in the installation rules, mark the installation positions and interface orientations of the target side valves in the optimized preliminary layout drawing to generate the installation position drawing of the side valves.

7. The method according to claim 1, wherein The superposition of the installation position drawing of the side valves with the three-dimensional model of the ship to form a comprehensive ship layout drawing including the installation information of the side valves includes: Import the three-dimensional model of the ship into the three-dimensional modeling software, and import the installation position drawing of the side valves as a reference layer; Align and match the installation positions and interface orientations of the target side valves in the installation position drawing of the side valves with the three-dimensional model of the ship to obtain a matched three-dimensional layout; In the matched three-dimensional layout, adjust the positions and orientations of the target side valves according to the installation positions in the installation position drawing of the side valves and the structural characteristics of the three-dimensional model of the ship to obtain adjusted target side valves; Fuse the adjusted target side valves with the three-dimensional model of the ship to form a comprehensive ship layout drawing including the installation information of the side valves, where the comprehensive ship layout drawing includes the specific positions, installation directions of the side valves in the ship structure, and the relative relationships with the surrounding structures.

8. The method according to claim 1, wherein After generating the installation drawing of the side valves according to the comprehensive ship layout drawing, it further includes: Perform edge detection on the side valve installation drawing to identify the characteristics of the problem area; Convert the characteristics of the problem area into vector data; Divide the vector data into several clusters and randomly select a preset number of data points as the initial centers of the clusters; Calculate the distance from each data point to the centers of each cluster and assign each data point to the cluster center with the closest distance; Update the center of each cluster to the average value of all data points within the cluster until the change in the cluster center is less than the preset threshold or the maximum number of iterations is reached to obtain the clustering result; Input the clustering result into the problem detection model, and perform detection based on the clustering result through the problem detection model to generate classification information of the problem area; Optimize the side valve installation drawing according to the classification information of the problem area to obtain an optimized side valve installation drawing.

9. The method according to claim 8, characterized in that, The step of inputting the clustering result into the problem detection model and performing detection based on the clustering result through the problem detection model to generate classification information of the problem area includes: Input the clustering result into the problem detection model, and extract features from the clustering result through the problem detection model to obtain the scatter degree of the cluster. The calculation formula for the scatter degree of the cluster is: Among them, σ k is the scatter of the cluster, x ki is the i-th data point in cluster k, c k is the center of cluster k, and n k is the number of samples in cluster k; Judge whether the scatter degree of the cluster exceeds the scatter degree threshold; If the scatter degree of the cluster exceeds the scatter degree threshold, mark the cluster corresponding to the scatter degree of the cluster as an abnormal cluster, where the abnormal cluster represents a problem area with installation problems; Extract the feature information of the abnormal cluster and input the feature information into the classifier to classify the feature information through the classifier to obtain the classification information of the problem area, where the classification information at least includes incorrect installation position, mismatched interface orientation, violation of installation rules, and size mismatch.

10. A side valve installation device based on parametric modeling, characterized in that, The side valve installation device includes: A generation module for constructing a three-dimensional model of the welded part and generating an opening skeleton model of the welded part based on the three-dimensional model of the welded part; A drawing module for drawing an opening drawing of the welded part according to the opening skeleton model of the welded part; The generation module is further configured to generate an opening list of the welded part according to the openings in the opening drawing of the welded part, where the opening list of the welded part includes the mapping relationship between the openings and the side valves; An acquisition module for acquiring the interface orientation information and installation rules of each side valve; The generation module is further configured to generate a side valve installation position drawing according to the opening drawing of the welded part, the opening list of the welded part, the interface orientation information, and the installation rules, where the side valve installation position drawing includes the specific positions and installation directions of each side valve in the ship structure; A superimposing module for superimposing the side valve installation position drawing on the three-dimensional model of the ship to form a comprehensive ship layout drawing including side valve installation information; An installation module for generating a side valve installation drawing according to the comprehensive ship layout drawing and installing the side valves according to the side valve installation drawing, where the side valve installation drawing is marked with the installation positions, interface orientations, installation rules, and dimension information of each side valve.

Citation Information

Patent Citations

  • Integrated broadside valve

    CN113137485A

  • Ship broadside connecting pipe trepanning positioning device and method on outer plate

    CN113843474A

  • Marking method and system for assembly information of ship installation parts, storage medium and equipment

    CN113888731A

  • Method and system for drawing three-dimensional diagram of ship component, electronic equipment and storage medium

    CN117034396A

  • Automatic 3D modeling method, system and device based on 2D ship CAD drawings

    CN119783261A