Ship planking processing method and device, electronic equipment and storage medium
By processing the model files of ship outer plate parts in the SPD system and CAD, automatic drilling is realized, which solves the long shipbuilding cycle and safety hazard problems caused by manual drilling, and improves processing efficiency and safety.
Patent Information
- Application Number
- CN202410825542.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-25
AI Technical Summary
Artificial opening of holes during the processing of ship outer plates leads to problems such as long shipbuilding cycle, large amount of high-altitude operations, and serious damage from arc light and dust.
By generating the outer panel part model file in the SPD system, the outer panel parts to be drilled that meet the CNC drilling conditions are screened out, converted into CAD file format, the hole modification is performed in CAD, and the drilled model file is imported. Parts library for CNC blanking to avoid manual drilling.
It shortens the shipbuilding cycle, reduces high-altitude working time and damage from arc light and dust, and improves processing accuracy and safety.
Smart Images

Figure CN118657627A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of shipbuilding, and in particular to a method, device, electronic equipment and storage medium for processing ship outer plates. Background Art
[0002] At present, shipyards generally use the Ship Product Design (SPD) system to model and generate the parts required for hull construction. Because the hull generally has a certain curvature, and the internal parts are mostly straight structures. For this, there are two relatively independent construction modules in the ship design software, one for the hull and the other for the internal parts.
[0003] The hull is also commonly referred to as the hull plate. The SPD system is equipped with a plate construction submodule to specifically generate a model of the hull plate. Under normal circumstances, the curved hull plate needs to be CNC cut into a straight part first, and then part or all of the area is processed into the required curved surface shape in a certain way. During the processing, the plate will shrink and deform to varying degrees. Because there are various forms of openings on the hull plate, such as drain plug holes, etc., and the deformation during the processing makes it difficult to control the precise position of the opening. If the opening exists, there is a possibility of cracking during the processing. Therefore, the outer plate construction submodule in the SPD system does not include the opening function. The openings on the hull plate are usually opened by on-site construction personnel in the later stage of hull construction, which makes the shipbuilding cycle longer, and the openings generally require high-altitude operations, and there are arc and dust damage. Summary of the invention
[0004] The invention provides a ship outer plate processing method to solve the problems of long shipbuilding period, large workload of high-altitude operation and high damage of arc light and dust in the process of ship outer plate processing by artificial opening.
[0005] In a first aspect, the present invention provides a method for processing a ship outer plate, comprising:
[0006] Generate multiple outer plate parts model files in the SPD system based on the ship outer plate unfolding file and store them in the parts library;
[0007] Based on the ship outer plate unfolding file, outer plate parts to be punched that meet the numerical control punching conditions are selected from the outer plate parts, and punching information of the outer plate parts to be punched is obtained;
[0008] For each of the outer panel parts to be perforated, converting the model file of the outer panel part to be perforated into a CAD file format and then importing it into the CAD;
[0009] Modifying the model file of the outer panel part to be perforated in CAD according to the perforation information to obtain the model file of the outer panel part with perforations;
[0010] Importing the model file of the outer panel part with holes into the parts library to replace the corresponding model file of the outer panel part to be punched;
[0011] CNC cutting is performed according to the model file in the parts library.
[0012] In a second aspect, the present invention provides a ship outer plate processing device, comprising:
[0013] A model file generation module is used to generate model files of multiple outer plate parts in the SPD system based on the ship outer plate expansion file and store them in the parts library;
[0014] A module for determining outer plate parts to be punched, used for selecting outer plate parts to be punched that meet the numerical control punching conditions from the outer plate parts based on the ship outer plate unfolding file, and obtaining punching information of the outer plate parts to be punched;
[0015] A file conversion module, for converting the model file of each outer panel part to be perforated into a CAD file format and then importing it into CAD;
[0016] A model file hole-punching module, used to modify the model file of the outer panel part to be punched in CAD according to the hole-punching information, so as to obtain the model file of the outer panel part with a hole punched;
[0017] An import module, used for importing the model file of the outer panel part with holes into the parts library to replace the corresponding model file of the outer panel part to be punched;
[0018] The CNC blanking module is used for performing CNC blanking according to the model file in the parts library.
[0019] In a third aspect, the present invention provides an electronic device, the electronic device comprising:
[0020] at least one processor; and
[0021] a memory communicatively connected to the at least one processor; wherein,
[0022] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the ship outer plate processing method described in the first aspect of the present invention.
[0023] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the ship outer plate processing method described in the first aspect of the present invention when executed.
[0024] An embodiment of the present invention provides a method for processing ship outer plate. The method comprises the following steps: firstly, based on a ship outer plate expansion file, a plurality of model files of outer plate parts are generated in an SPD system and stored in a parts library; based on the ship outer plate expansion file, outer plate parts to be punched that meet numerical control punching conditions are screened out from the outer plate parts, and the punching information of the outer plate parts to be punched is obtained; for each outer plate part to be punched, the model file of the outer plate part to be punched is converted into a CAD file format and then imported into CAD; according to the punching information, the model file of the outer plate part to be punched is modified in CAD to obtain the model file of the outer plate part with a hole; the model file of the outer plate part with a hole is imported into the parts library to replace the corresponding model file of the outer plate part to be punched; and numerical control blanking is performed according to the model file in the parts library. The outer plate parts to be punched that meet the CNC punching conditions usually refer to the outer plate parts that have been pre-punched by CNC without affecting the subsequent processing effect and the quality of the plate. The model file of the outer plate parts to be punched is imported into CAD for the punching operation, and the hole setting of the model file is completed. Then, CNC cutting can be performed based on the model file to obtain the outer plate parts with holes. For these outer plate parts, in the later stage of hull construction, there is no need for on-site construction personnel to punch holes, which can shorten the shipbuilding cycle and reduce the time of high-altitude operations as well as the damage caused by arc light and dust.
[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 This is a flow chart of a ship outer plate processing method provided by Embodiment 1 of the present invention;
[0028] Figure 2 This is a schematic diagram of a page for defining a description file of an outer panel part in an SPD system provided by the first embodiment of the present invention;
[0029] Figure 3It is a schematic diagram of a sub-part library page for manual storage in an SPD system provided by the first embodiment of the present invention;
[0030] Figure 4 It is a schematic diagram of a sub-part library page of a part automatically generated in an SPD system provided in the first embodiment of the present invention;
[0031] Figure 5 is a flow chart of a ship outer plate processing method provided by Embodiment 2 of the present invention;
[0032] Figure 6 It is a schematic diagram of a segmented outer panel expansion diagram provided in the second embodiment of the present invention;
[0033] Figure 7 This is a schematic structural diagram of a ship outer plate processing device provided in Embodiment 3 of the present invention;
[0034] Figure 8 It is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0036] Embodiment 1
[0037] Figure 1 This is a flow chart of a ship outer plate processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to ship outer plate processing. The method can be executed by a ship outer plate processing device. The ship outer plate processing device can be implemented in the form of hardware and / or software. The ship outer plate processing device can be configured in an electronic device. Figure 1 As shown, the ship outer plate processing method includes:
[0038] S101. Generate multiple model files of outer plate parts in the SPD system based on the ship outer plate development file and store them in a parts library.
[0039] Among them, the SPD system is a software for three-dimensional design centered on the ship product data model. The SPD system can generate model files of multiple outer plate parts of the ship and store them in the parts library. In this step, the model files of multiple outer plate parts are generated in the SPD system under the guidance of the ship outer plate expansion file, specifically including: determining the name of each outer plate part according to the ship outer plate expansion file; for each outer plate part, defining the description file of each outer plate part in the SPD system, and generating the model file of the outer plate part based on the description file. Figure 2 This is a page diagram of a description file for defining an exterior panel part in the SPD system. The specific description file definition process is as follows: Figure 2 As shown in the figure, the definition of the description file includes segment name, plate thickness information, margin information, groove information, part information, plate seam information, etc. The hull includes multiple outer plate parts, and each outer plate part needs to be defined one by one. After the description file is defined, the corresponding outer plate part can be generated according to the description file.
[0040] The ship outer plate development file is a specification file that guides the production and manufacturing of outer plate parts entities. It specifically includes the full ship outer plate development drawing, the section outer plate development drawing, and can also include the outer plate opening information, outer plate type (including flat plate and curved plate), etc.
[0041] S102, selecting outer plate parts to be punched that meet numerical control punching conditions from outer plate parts based on the ship outer plate unfolding file, and obtaining punching information of the outer plate parts to be punched.
[0042] The outer panel parts to be punched that meet the CNC punching conditions usually refer to the outer panel parts that are pre-punched by CNC without affecting the subsequent processing effect and the quality of the plate.
[0043] The ship outer plate expansion file can include the outer plate type of the outer plate, which includes flat plate and curved plate. The curved plate needs to be CNC cut into a straight part first, and then part or all of the area is processed into the required curved surface shape in a certain way. During the processing, the plate will shrink and deform to varying degrees. Because there are various forms of openings on the outer plate of the ship, and the deformation during the processing makes it difficult to control the precise position of the openings. If the openings exist, there is a possibility of cracking during the processing. Therefore, the existing SPD system usually does not include the opening function, and the curved plate is generally not CNC punched.
[0044] In an optional embodiment, the outer plate parts to be perforated include only plane plates. Generally speaking, there are a certain number of plane plates parallel to the mid-body structure at the bottom of the hull and the side of the middle of the hull.
[0045] Performing CNC drilling on these outer panel parts to be drilled in advance can reduce the workload and time of manual drilling.
[0046] For the flat plate, it does not need to be processed by curved surface in the later stage, so the flat plate is the outer plate part to be perforated that meets the conditions of numerical control punching. Further, for the curved plate, considering that the curved plate has different curvatures and curved surface areas, the larger the curvature and / or the curved surface area, the greater the impact on the preset opening, processing effect and plate quality during the curvature processing, and vice versa. Therefore, the present invention believes that when the curvature and / or the curved surface area of the curved plate is small, it is also possible to meet the conditions of numerical control punching. Therefore, the curved plate can be further screened based on the curvature and / or the curved surface area, and the standards for the curvature and curved surface area used for screening can also be pre-set. Generally speaking, the curved plates with larger curvature and / or curved surface area are gathered at the bow and stern ends of the hull, while the curved plates with smaller curvature and / or curved surface area are gathered in the middle of the hull of the hull.
[0047] Therefore, in an optional embodiment, the outer panel parts to be punched include flat panels and may also include curved panels. Compared with CNC punching only the flat panels, this embodiment performs CNC punching on the flat panels and the curved panels in advance, which can further reduce the workload and time of manual drilling.
[0048] S103, for each outer panel part to be perforated, convert the model file of the outer panel part to be perforated into a CAD file format and then import it into CAD.
[0049] As described above, the SPD system does not include a hole opening function. Therefore, in order to perform hole opening modification operations on the outer panel parts to be opened, the model files of the outer panel parts to be opened need to be converted into a CAD file format and then imported into CAD.
[0050] Optionally, after converting the model file of the outer panel part to be punched into a CAD file format and importing it into CAD, the process further includes: deleting the model file of the outer panel part to be punched in the SPD system. Since the outer panel part to be punched will be imported into the SPD system after punching in subsequent steps, in order to avoid errors caused by duplication of outer panel parts, the model file of the exported outer panel part is deleted from the parts library of the SPD system after S103.
[0051] S104, modifying the model file of the outer panel part to be perforated in CAD according to the perforation information to obtain the model file of the outer panel part with perforations.
[0052] The opening information includes the opening position information, the opening diameter and the opening type.
[0053] The model file of the outer panel part to be perforated is modified in CAD according to the hole information to obtain the model file of the outer panel part with holes, which specifically includes: obtaining the hole position information, hole diameter and hole type according to the hole information; displaying the model file of the outer panel part to be perforated in the drawing page of CAD; locating the working position in the model file of the outer panel part to be perforated according to the hole position information; drawing the hole at the working position according to the hole diameter and hole type; after the drawing is completed, the modified model file is saved to obtain the model file of the outer panel part with holes.
[0054] It should be noted that in the SPD system, lines of specific colors are usually used to represent specific types of structural lines. For example, cyan lines are used to represent openings in the SPD system. When drawing openings in CAD, cyan lines must also be used to draw the openings to ensure the uniformity and availability of information attributes in the model file.
[0055] S105, importing the model file of the outer panel part with holes into the parts library to replace the corresponding model file of the outer panel part to be punched.
[0056] Specifically, you can import the model file of the perforated outer panel parts into the parts library by manually importing them to form TRAPS parts that can be automatically processed by the SPD system, which is convenient for later processing. The imported parts library is the sub-part library for manual import. The sub-part library page during import is as follows: Figure 3 As shown, Figure 3 This is a schematic diagram of a sub-part library page for manual entry into the SPD system.
[0057] S106, perform CNC cutting according to the model file in the parts library.
[0058] After the model files of the outer panel parts with holes are imported into the parts library, the parts library will include the model files of the outer panel parts with holes and the outer panel parts without holes. CNC cutting is performed according to the model files in the parts library, specifically including: generating nesting diagrams and cutting instructions based on the model files in the parts library; and realizing CNC cutting and hole opening based on the nesting diagrams and cutting instructions. The outer panel parts with holes can be CNC punched to obtain the entity of the outer panel parts with holes. The outer panel parts without holes originally generated by the SPD system are processed into outer panel parts to be punched, and then nested and cut to achieve the purpose of CNC punching, reducing the time and workload of manual hole opening.
[0059] In an optional embodiment, before CNC cutting is performed according to the model file in the parts library, it also includes: determining whether there is a model file with a duplicate name in the parts library; if so, deleting the model file with a duplicate name generated by the SPD system from the parts library.
[0060] There can be two sub-part libraries in the SPD system, one is the sub-part library of the part model automatically generated by the SPD system, and the other is the sub-part library for manual storage. If there are model files with the same part name in the two sub-part libraries, one of the model files may be flushed out, which may flush out the model file of the outer panel part with holes, resulting in inadequate hole modification. Therefore, the uniqueness of the part names of the model files in the two sub-part libraries must be ensured. If this step is not checked and processed, the subsequent nesting may read the parts without holes generated by the original system, causing the hole modification to fail and also causing material loss and waste.
[0061] Figure 4 The following is a schematic diagram of a sub-part library page of a part automatically generated in an SPD system. Figure 4 As shown, the page of the sub-part library is provided with a delete button, that is, it has a delete function, and the parts (model files) with the same part names as the parts in the sub-part library manually stored can be deleted.
[0062] An embodiment of the present invention provides a method for processing ship outer plate. The method comprises the following steps: firstly, based on a ship outer plate expansion file, a plurality of model files of outer plate parts are generated in an SPD system and stored in a parts library; based on the ship outer plate expansion file, outer plate parts to be punched that meet numerical control punching conditions are screened out from the outer plate parts, and the punching information of the outer plate parts to be punched is obtained; for each outer plate part to be punched, the model file of the outer plate part to be punched is converted into a CAD file format and then imported into CAD; according to the punching information, the model file of the outer plate part to be punched is modified in CAD to obtain the model file of the outer plate part with a hole; the model file of the outer plate part with a hole is imported into the parts library to replace the corresponding model file of the outer plate part to be punched; and numerical control blanking is performed according to the model file in the parts library. The outer plate parts to be punched that meet the CNC punching conditions usually refer to the outer plate parts that have been pre-punched by CNC without affecting the subsequent processing effect and the quality of the plate. The model file of the outer plate parts to be punched is imported into CAD for the punching operation, and the hole setting of the model file is completed. Then, CNC cutting can be performed based on the model file to obtain the outer plate parts with holes. For these outer plate parts, in the later stage of hull construction, there is no need for on-site construction personnel to punch holes, which can shorten the shipbuilding cycle and reduce the time of high-altitude operations as well as the damage caused by arc light and dust.
[0063] Embodiment 2
[0064] Figure 5 This is a flow chart of a ship outer plate processing method provided in the second embodiment of the present invention. The embodiment of the present invention is optimized on the basis of the above-mentioned embodiment 1. Figure 5 As shown, the ship outer plate processing method includes:
[0065] S501. Generate multiple model files of outer plate parts in the SPD system based on the ship outer plate development file and store them in a parts library.
[0066] The ship shell development file includes multiple section shell development drawings.
[0067] S502: for each segment outer panel development view, identify flat edge lines and boundary lines in the segment outer panel development view.
[0068] The segmented outer panel expansion diagram is provided with a flat edge line and a transverse boundary line. The flat edge line is used to distinguish between curved surfaces and planes. The surface above the flat edge line is a curved surface, and the surface below the flat edge line is a plane. The transverse boundary line is used to determine the transverse boundary of the outer panel parts. The segmented outer panel expansion diagram is also provided with a longitudinal seam line. The longitudinal seam line is the intersection seam line of two adjacent outer panel parts, that is, the longitudinal boundary of each outer panel part. The longitudinal seam line and the transverse boundary line can determine the area of each outer panel part. It can be seen that in this embodiment, the boundary line can include a transverse boundary line and a longitudinal seam line.
[0069] Figure 6 is a schematic diagram of a segmented outer plate development diagram, such as Figure 6 As shown in FIG. 1 , the unfolded view of the segmented outer panel is provided with a flat edge line LP and transverse boundary lines Lb1 and Lb2, and a plurality of longitudinal seams. The longitudinal seams and the transverse boundary lines Lb1 and Lb2 enclose the outer panel parts. For example, Figure 6 In the figure, the longitudinal seams 209, 207 and the transverse boundary lines Lb1 and Lb2 form the outer panel part A1, and the longitudinal seams 207, 204 and the transverse boundary lines Lb1 and Lb2 form the outer panel part A2. In addition, there are outer panel parts A3 and A4 which are not listed here.
[0070] S503: The area enclosed by the flat edge line and the boundary line is regarded as a flat plate area.
[0071] The boundary line may include a transverse boundary line and a longitudinal seam line. The boundary line in the longitudinal direction is the longitudinal seam line, and there are multiple longitudinal seams. Therefore, in this embodiment, the maximum area surrounded by the flat edge line, the transverse boundary line and the longitudinal seam line can be used as the flat plate area, such as Figure 6 As shown, the area enclosed by the flat edge line LP and the lateral boundary lines Lb1 and Lb2 is a flat plate area. Each of the areas above the flat edge line LP is a curved surface and below it is a flat surface. Figure 6 In the figure, assuming that there is no other longitudinal suture below the longitudinal suture 201, the area enclosed by the flat edge line LP, the transverse boundary lines Lb1 and Lb2, and the longitudinal suture 201 is a flat plate area.
[0072] S504, based on the plane overlap relationship between the outer panel parts and the flat plate area, select the outer panel parts to be punched that meet the CNC punching conditions from the outer panel parts.
[0073] like Figure 6 As shown, the surface above the flat edge line LP is a curved surface, and the surface below the flat edge line LP is a flat surface. Therefore, for the outer panel parts A1 and A2, part of them is above the flat edge line LP and part of them is below the flat edge line LP. The plate surface of the outer panel parts A1 and A2 is divided into a curved surface and part of it is a flat surface. The outer panel parts A1 and A2 are curved plates. For the outer panel parts A3 and A4, all of them are below the flat edge line LP. The plate surface of the outer panel parts A3 and A4 is a flat surface. The outer panel parts A3 and A4 are flat plates. It can be seen that the outer panel type of the outer panel part can be determined by the plane overlap relationship between the outer panel part and the flat plate area.
[0074] In an optional embodiment, the outer panel parts to be punched include only plane plates. Then, the outer panel type of the outer panel parts can be determined based on the plane overlapping relationship between the outer panel parts and the flat plate area, and the outer panel parts whose outer panel type is a plane plate can be used as the outer panel parts to be punched that meet the CNC punching conditions.
[0075] In an optional embodiment, based on the plane overlapping relationship between the flat plate area and the outer panel parts, the outer panel parts to be punched that meet the CNC punching conditions are screened out from the outer panel parts, including: taking the outer panel parts that have a plane overlapping relationship with the flat plate area as candidate outer panel parts; based on the plane overlapping relationship, determining a flat sub-flat plate area in each candidate outer panel part; for each candidate outer panel part, calculating the area ratio of the sub-flat plate area in the candidate outer panel part; judging whether the area ratio is greater than a preset ratio threshold; if so, taking the candidate outer panel part as the outer panel part to be punched that meets the CNC punching conditions; if not, determining that the candidate outer panel part does not meet the CNC punching conditions.
[0076] For flat panels, they do not need to be processed at a later stage, so flat panels are the external panel parts to be punched that meet the CNC punching conditions. For curved panels, considering that curved panels have different curved surface areas, the larger the curved surface area, the greater the impact on the preset opening, processing effect and plate quality during the curvature processing, and vice versa. Therefore, the present invention believes that when the curved surface area of the curved panel is small, it is possible that it also meets the CNC punching conditions. Therefore, the curved panels can be further screened based on the curved surface area, and the standard for the curved surface area used for screening can also be pre-set. Therefore, in this embodiment, the sub-flat plate area in each outer panel part is determined based on the planar overlapping relationship between the outer panel part and the flat plate area, and then whether the CNC punching conditions are met is determined based on the proportion of the area of the sub-flat plate area in the outer panel part to the area of the entire outer panel part. The outer panel parts to be punched include flat plates and may also include curved plates. Compared with CNC punching only flat plates, this embodiment performs CNC punching on flat plates and curved plates in advance, which can further reduce the workload and time of manual drilling.
[0077] Optionally, the preset ratio threshold is 75%-80%, which can be set according to actual needs. Figure 6 The curved plate includes outer plate parts A1 and A2. The outer plate part A1 is Figure 6 It can be seen that the sub-flat plate area overlapping with the flat plate area accounts for less than 75% of the area of the entire outer panel part A1, so the outer panel part A1 cannot be used as the outer panel part to be punched; for the outer panel part A2, the sub-flat plate area overlapping with the flat plate area accounts for more than 75% of the area of the entire outer panel part A1, so the outer panel part A2 can be used as the outer panel part to be punched. The outer panel parts A3 and A4 are flat plates. On the one hand, they can be directly used as the outer panel parts to be punched based on their outer panel type. On the other hand, the outer panel parts A3 and A4 can also be determined as the outer panel parts to be punched based on the proportion of the sub-flat plate area.
[0078] S505. Obtain the hole opening information of the outer panel parts to be opened in the segmented outer panel expansion drawing.
[0079] S506 , for each outer panel part to be perforated, convert the model file of the outer panel part to be perforated into a CAD file format and then import it into the CAD.
[0080] S507, modifying the model file of the outer panel part to be perforated in CAD according to the perforation information to obtain the model file of the outer panel part with perforations.
[0081] S508. Import the model file of the outer panel part with holes into the parts library to replace the corresponding model file of the outer panel part to be punched.
[0082] S509, perform CNC cutting according to the model file in the parts library.
[0083] S501 and S506-S509 are similar to S101 and S103-S506 in the first embodiment respectively. For details, please refer to the relevant description in the first embodiment, which will not be repeated here.
[0084] In this embodiment, when determining the outer panel parts to be punched, for each segmented outer panel expansion diagram, the flat edge lines and transverse boundary lines are identified in the segmented outer panel expansion diagram; the area enclosed by the flat edge lines and transverse boundary lines is used as a flat plate area; based on the plane overlapping relationship between the flat plate area and the outer panel parts, the outer panel parts are used as the outer panel parts to be punched that meet the CNC punching conditions; and the hole information of the outer panel parts to be punched is obtained in the segmented outer panel expansion diagram. Based on the plane overlapping relationship between the flat plate area and the outer panel parts, the outer panel type of the outer panel parts can be determined. In one way, the flat plate can be directly used as the part to be punched. In another way, the outer panel parts can be further screened based on the outer panel type and the size of the overlapping area (the proportion of the sub-flat plate area to the area of the entire outer panel part), so that part of the panel can also be used as a CNC punching object, which can further reduce the workload and time of manual punching.
[0085] Embodiment 3
[0086] Figure 7 This is a schematic diagram of the structure of a ship outer plate processing device provided in Embodiment 3 of the present invention. Figure 7 As shown, the ship outer plate processing device comprises:
[0087] A model file generation module 701 is used to generate model files of multiple outer plate parts in the SPD system based on the ship outer plate development file and store them in the parts library;
[0088] The module 702 for determining the outer plate parts to be punched is used to select the outer plate parts to be punched that meet the numerical control punching conditions from the outer plate parts based on the ship outer plate unfolding file, and to obtain the punching information of the outer plate parts to be punched;
[0089] The file conversion module 703 is used to convert the model file of each outer panel part to be perforated into a CAD file format and then import it into the CAD;
[0090] A model file hole-punching module 704 is used to modify the model file of the outer panel part to be punched in CAD according to the hole-punching information to obtain a model file of the outer panel part with a hole punched;
[0091] An import module 705 is used to import the model file of the outer panel part with holes into the parts library to replace the corresponding model file of the outer panel part to be perforated;
[0092] The CNC blanking module 706 is used to perform CNC blanking according to the model file in the parts library.
[0093] Optionally, the model file generating module 701 includes:
[0094] A name determination submodule, used to determine the name of each outer plate part according to the ship outer plate expansion file;
[0095] The model file generation submodule is used to define the description file of each outer panel part in the SPD system for each outer panel part, and generate the model file of the outer panel part based on the description file.
[0096] Optionally, the ship outer plate processing device further includes:
[0097] The deletion module is used to delete the model file of the outer panel part to be punched in the SPD system.
[0098] Optionally, the ship outer plate development file includes a plurality of segmented outer plate development drawings, and the outer plate parts to be punched determining module 702 includes:
[0099] An identification submodule is used for identifying flat edge lines and boundary lines in each segmented outer panel development view;
[0100] A flat plate region determination submodule, used for taking the region enclosed by the flat edge line and the boundary line as the flat plate region;
[0101] A submodule for determining outer panel parts to be punched, used for screening the outer panel parts to be punched that meet the CNC punching conditions from the outer panel parts based on the plane overlapping relationship between the outer panel parts and the flat plate area;
[0102] The information acquisition submodule is used to obtain the hole opening information of the outer panel parts to be opened in the segmented outer panel expansion diagram.
[0103] Optionally, the submodule for determining the outer panel parts to be punched includes:
[0104] A candidate outer panel part determination unit, configured to select the outer panel part having a planar overlapping relationship with the flat plate area as a candidate outer panel part;
[0105] A sub-plate area determining unit, configured to determine a straight sub-plate area in each of the candidate outer panel parts based on the plane overlapping relationship;
[0106] An area ratio calculation unit, used for calculating, for each of the candidate outer panel parts, the area ratio of the sub-flat plate region in the candidate outer panel part;
[0107] An area ratio determination unit, used to determine whether the area ratio is greater than a preset ratio threshold; if so, the content of the first determination unit is executed, and if not, the content of the second determination unit is executed;
[0108] A first determining unit is used to use the candidate outer panel part as the outer panel part to be punched that meets the numerical control punching conditions;
[0109] The second determining unit is used to determine that the candidate outer panel part does not meet the CNC punching condition.
[0110] Optionally, the model file opening module 704 includes:
[0111] An information acquisition submodule, used to acquire the opening position information, the opening aperture and the opening type according to the opening information;
[0112] A display submodule, used for displaying the model file of the outer panel part to be perforated in the drawing page of CAD;
[0113] A working position positioning submodule, used for positioning the working position in the model file of the outer panel part to be perforated according to the perforation position information;
[0114] A hole drawing module, used for drawing a hole at the working position according to the hole diameter and the hole type;
[0115] The save submodule is used to save the modified model file after drawing is completed to obtain the model file of the outer panel part with holes.
[0116] Optionally, the ship outer plate processing device further includes:
[0117] A duplication judgment module is used to judge whether there are model files with duplicate names in the parts library; if so, the contents of the deletion module are executed;
[0118] The deleting module is used to delete the model files with duplicate names generated by the SPD system from the parts library.
[0119] The ship outer plate processing device provided in the embodiment of the present invention can execute the ship outer plate processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0120] Embodiment 4
[0121] Figure 8A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0122] like Figure 8 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0123] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0124] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a ship outer plate processing method.
[0125] In some embodiments, the ship outer plate processing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the ship outer plate processing method described above can be performed. Alternatively, in other embodiments, the processor 41 can be configured to execute the ship outer plate processing method in any other appropriate manner (for example, by means of firmware).
[0126] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0127] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0128] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0129] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0130] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0131] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0132] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0133] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for processing ship outer plate, characterized in that: include: Generate multiple outer plate parts model files in the SPD system based on the ship outer plate unfolding file and store them in the parts library; Based on the ship outer plate unfolding file, outer plate parts to be punched that meet the numerical control punching conditions are selected from the outer plate parts, and punching information of the outer plate parts to be punched is obtained; For each of the outer panel parts to be perforated, converting the model file of the outer panel part to be perforated into a CAD file format and then importing it into the CAD; Modifying the model file of the outer panel part to be perforated in CAD according to the perforation information to obtain the model file of the outer panel part with perforations; Importing the model file of the outer panel part with holes into the parts library to replace the corresponding model file of the outer panel part to be punched; CNC cutting is performed according to the model file in the parts library.
2. The ship outer plate processing method according to claim 1, characterized in that: The method of generating a plurality of model files of outer plate parts in the SPD system based on the ship outer plate development file includes: Determine the name of each outer plate part according to the ship outer plate expansion file; For each of the outer panel parts, a description file of each of the outer panel parts is defined in the SPD system, and a model file of the outer panel part is generated based on the description file.
3. The method for processing ship outer plate according to claim 1, characterized in that: After converting the model file of the outer panel part to be perforated into a CAD file format and importing it into the CAD, the method further includes: The model file of the outer panel part to be punched is deleted in the SPD system.
4. The method for processing ship outer plate according to claim 1, characterized in that: The ship outer plate development file includes a plurality of segmented outer plate development drawings, and the outer plate parts to be punched that meet the numerical control punching conditions are selected from the outer plate parts based on the ship outer plate development file, and the punching information of the outer plate parts to be punched is obtained, including: For each section outer plate development view, identifying a flat edge line and a boundary line in the section outer plate development view; The area enclosed by the flat edge line and the boundary line is taken as a flat plate area; Based on the plane overlap relationship between the outer panel parts and the flat plate area, the outer panel parts to be punched that meet the CNC punching conditions are selected from the outer panel parts; The hole opening information of the outer panel part to be opened is obtained in the segmented outer panel development view.
5. The method for processing ship outer plate according to claim 4, characterized in that: The method of selecting the outer panel parts to be punched that meet the numerical control punching conditions from the outer panel parts based on the plane overlap relationship between the flat plate area and the outer panel parts comprises: The outer panel part having a planar overlapping relationship with the flat plate area is used as a candidate outer panel part; Based on the plane overlap relationship, determining a straight sub-plate area in each of the candidate outer panel parts; For each of the candidate outer panel parts, calculating the area ratio of the sub-flat plate region in the candidate outer panel part; Determine whether the area ratio is greater than a preset ratio threshold; If yes, the candidate outer panel part is used as the outer panel part to be punched that meets the CNC punching conditions; If not, it is determined that the candidate outer panel part does not meet the CNC punching conditions.
6. The method for processing ship outer plate according to any one of claims 1 to 5, characterized in that: The method of modifying the model file of the outer panel part to be perforated in CAD according to the perforation information to obtain the model file of the outer panel part with perforations includes: Acquire the hole position information, hole diameter and hole type according to the hole information; Displaying the model file of the outer panel part to be punched in the drawing page of CAD; Locating the operation position in the model file of the outer panel part to be punched according to the hole position information; Draw a hole at the working position according to the hole diameter and the hole type; After the drawing is completed, save the modified model file to obtain the model file of the outer panel part with holes.
7. The method for processing ship outer plate according to any one of claims 1 to 5, characterized in that: Before performing CNC blanking according to the model file in the parts library, the method further includes: Determine whether there is a model file with a duplicate name in the parts library; If so, the model file generated by the SPD system and having the duplicate name is deleted from the parts library.
8. A ship outer plate processing device, characterized in that: include: A model file generation module is used to generate model files of multiple outer plate parts in the SPD system based on the ship outer plate expansion file and store them in the parts library; A module for determining outer plate parts to be punched, used for selecting outer plate parts to be punched that meet the numerical control punching conditions from the outer plate parts based on the ship outer plate unfolding file, and obtaining punching information of the outer plate parts to be punched; A file conversion module, for converting the model file of each outer panel part to be perforated into a CAD file format and then importing it into CAD; A model file hole-punching module, used to modify the model file of the outer panel part to be punched in CAD according to the hole-punching information, so as to obtain the model file of the outer panel part with a hole punched; An import module, used for importing the model file of the outer panel part with holes into the parts library to replace the corresponding model file of the outer panel part to be punched; The CNC blanking module is used for performing CNC blanking according to the model file in the parts library.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the ship outer plate processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the ship outer plate processing method according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Ship construction method supporting piece automatic modeling system and method for SPD system
CN115169024A
Linear and curved surface linkage modeling system and method based on SPD system
CN117216871A
