Pipe nesting method and device, computer equipment and storage medium
By automatically comparing and sorting raw material and pipe information, the automation of pipe nesting is achieved, solving the problems of many manual processing steps and low efficiency in the existing technology, improving the accuracy and efficiency of pipe nesting, and saving raw materials.
Patent Information
- Application Number
- CN202411439052.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-01-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The lack of pipe nesting software with high automation and accuracy in the prior art results in the work of pipe nesting requires more manual processing steps, which is inefficient and prone to errors.
By obtaining raw material information and pipe cutting information, data classification and sorting, comparing raw material and pipe length, automating nesting, and updating the remaining raw material length after successful nesting until all nesting is completed.
It realizes fully automated pipe material nesting work, improves efficiency and accuracy, saves raw materials and reduces costs.
Smart Images

Figure CN119250464A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pipe sleeve material, and in particular to a pipe sleeve material method, device, computer equipment and storage medium. Background Art
[0002] Shipbuilding is one of the world's major heavy industries. Ships are made up of thousands of parts and are related to almost every industrial sector. In addition to the unique hull construction technology, shipbuilding also involves various fields such as machinery, electricity, metallurgy, construction, chemistry and even arts and crafts. Therefore, shipbuilding is a comprehensive technology based on all industrial technologies, reflecting the industrial technology level of a country.
[0003] Due to the different navigation areas, missions and requirements of ships, ship products have the characteristics of many varieties and small production batches. In order to produce rhythmically and shorten the manufacturing cycle, the shipyard must have careful production management and technical management from accepting orders to completing and delivering the ship. Generally speaking, after receiving an order, the shipyard needs to design the hull according to the requirements and draw model drawings. After confirming that there are no errors, the actual processing will begin.
[0004] The piping system is an important part of shipbuilding. For a ship of about 10,000 tons, it usually has 2,000-10,000 pipes, and the workload of cutting pipes is huge. In the actual production process, the required pipes are usually planned through design drawings, modeling, etc., and a pipe cutting list is listed. Then the processing workshop cuts and processes the pipes according to the cutting list to produce actual pipe parts. At the same time, if the pipes are cut after nesting, it can not only save the utilization rate of raw materials, but also improve production efficiency.
[0005] Most of the current nesting software is used for parts such as plates. For pipes, there is a lack of a nesting method and related software that is highly automated, accurate, and easy to use. As a result, the current pipe nesting work requires more manual processing steps, resulting in low work efficiency and prone to errors. Therefore, a pipe nesting method and related devices are needed to solve the above problems. Summary of the invention
[0006] In view of the deficiencies in the prior art, the present invention provides a pipe nesting method, apparatus, computer equipment and storage medium, which solve the problem in the prior art of lacking automated nesting software for pipes, resulting in the pipe nesting work requiring more manual processing steps, resulting in low work efficiency and prone to errors.
[0007] In a first aspect, the present invention provides a pipe jacketing method, comprising:
[0008] Obtain raw material information and pipe cutting information, then classify the data in the pipe cutting information according to different parameters, and sort each category according to the cutting length;
[0009] Compare the raw material information and the pipe cutting information. If they are in the same parameter classification and the raw material length is greater than the pipe length, nesting is performed. Otherwise, the next raw material is used to repeat the above comparison process. Every time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting. When a nesting is completed, if the remaining length of the raw material is not enough to complete the nesting of the shortest pipe, the number of raw materials under the corresponding parameter classification is reduced by one.
[0010] After all pipes are nested, the results will be output.
[0011] Preferably, the raw material information includes specifications, materials, length, and quantity; the pipe cutting information includes ship number, pipe number, part number, specifications, materials, length, and processing information.
[0012] Furthermore, the data in the pipe cutting information is classified according to different specifications and materials, and the pipes of the same specification and material are sorted from large to small according to the cutting length.
[0013] Furthermore, when the raw material information and pipe cutting information are obtained, raw materials and pipes of the same specifications and materials have a consistent filling format.
[0014] Preferably, after all the pipe nesting is completed, the output result data includes specifications, materials, raw material length, remaining material length, ship number, pipe number, part number, cutting length, processing information, and processing procedures.
[0015] In a second aspect, the present invention provides a pipe sleeve device, comprising:
[0016] An input module is used to obtain raw material information and pipe cutting information, and classify and sort the data therein after obtaining the pipe cutting information;
[0017] The nesting module is used to compare the raw material information and the pipe cutting information, so as to nest the raw material length and the pipe length under the same category;
[0018] The output module outputs the data of the nested pipes and the remaining raw materials after completing the nesting of all pipes.
[0019] Furthermore, when the nesting module compares the raw material information and the pipe cutting information, if they are under the same parameter classification and the raw material length is greater than the pipe length, nesting is performed, otherwise the next raw material is used to repeat the above comparison process; each time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting; when a nesting is completed and the remaining length of the raw material is insufficient to complete the nesting of the shortest pipe, the number of raw materials under the corresponding parameter classification is reduced by one.
[0020] Furthermore, the data output by the output module includes mechanical cutting nesting information, CNC cutting nesting information, unnested pipe number information, material usage information, and surplus material information.
[0021] In a third aspect, the present invention proposes a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: obtaining raw material information; obtaining pipe cutting information, and then classifying the data in the pipe cutting information according to different parameters, and sorting the data in each category according to the cutting length; comparing the raw material information and the pipe cutting information, and performing nesting when they are in the same parameter classification and the raw material length is greater than the pipe length, otherwise the next raw material is used to repeat the above comparison process; each time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting; when a nesting is completed and the remaining length of the raw material is insufficient to complete the nesting of the shortest pipe, the number of raw materials under the corresponding parameter classification is reduced by one; after all pipes are nested, the result is output.
[0022] In a fourth aspect, the present invention proposes a readable storage medium having a computer program stored thereon, which implements the following steps when executed by a processor: obtaining raw material information; obtaining pipe cutting information, and then classifying the data in the pipe cutting information according to different parameters, and sorting the data in each category according to the cutting length; comparing the raw material information and the pipe cutting information, and when they are in the same parameter classification and the raw material length is greater than the pipe length, nesting is performed, otherwise the next raw material is used to repeat the above comparison process; each time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting; when a nesting is completed and the remaining length of the raw material is insufficient to complete the nesting of the shortest pipe, the number of raw materials under the corresponding parameter classification is reduced by one; after all pipes are nested, the result is output.
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] The present invention can complete the fully automated pipe nesting work. It only needs to input the raw material data in stock and the pipe cutting data output by the ship design drawings to output the nesting results, thereby completing the pipe nesting work efficiently and accurately, providing a data basis for subsequent pipe mechanical processing, and can effectively save raw materials, thereby reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 Flow chart of the pipe nesting method in an embodiment of the present invention.
[0026] Figure 2 The software interface diagram of the embodiment of the present invention.
[0027] Figure 3 A schematic diagram of a mechanically cut nesting according to an embodiment of the present invention.
[0028] Figure 4 It is a schematic diagram of CNC cutting and blanking according to an embodiment of the present invention.
[0029] Figure 5 Schematic diagram of the uncased pipe number representation of an embodiment of the present invention.
[0030] Figure 6 The materials used in the embodiments of the present invention are shown in FIG.
[0031] Figure 7 It is a schematic diagram of the remaining material of an embodiment of the present invention.
[0032] Figure 8 Schematic diagram of the structure of the pipe sleeve device in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be noted that the embodiments described below are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0034] In the embodiment of the present invention, Figure 1 As shown, a pipe nesting method is proposed, which specifically includes the following steps:
[0035] S101: Obtain raw material information and pipe cutting information. Raw material information includes specifications, materials, length, and quantity; pipe cutting information includes ship number, pipe number, part number, specifications, materials, length, and processing information. Then, the data in the pipe cutting information is classified according to different specifications and materials, and pipes of the same specification and material are sorted from large to small according to the cutting length.
[0036] It should be noted that the software of this embodiment is a Windows platform application software, developed using the C++ language, and the development platform is Visual Studio.
[0037] In a specific solution, when obtaining raw material information and pipe cutting information, manual input or table import can be used. Generally speaking, mapping software will output pipe cutting tables, so in most cases, the data is output by importing tables. Correspondingly, a raw material table is listed according to the raw material inventory. The raw material table contains the raw material information of the pipes collected from the warehouse, such as: specifications, materials, lengths, and quantities (number of roots). The pipe cutting table contains all the information of the pipes that need to be cut, such as: ship number, pipe number, part number, specifications, materials, lengths, and processing information. Preferably, the raw material table and pipe cutting table in this embodiment are both Excel tables.
[0038] When the software is actually running, it first reads the data in each column of the raw material table entered by the user and saves them in the array for the next nesting calculation; then reads the data in each column of the pipe cutting table entered by the user and saves them in the array, and then classifies the array data of the pipe cutting table into single-column arrays according to the same specifications and the same materials. In the corresponding array, the pipes are sorted from large to small according to their cutting lengths to facilitate the next nesting calculation.
[0039] In addition, when obtaining raw material information and pipe cutting information, raw materials and pipes of the same specifications and materials have a consistent filling format to avoid confusion of data such as units and formats, which may lead to incorrect nesting information.
[0040] S102: Based on the previous step, the program has saved the data of each column of the raw material table into an array, and saved the data of each column of the pipe blanking table into an array. At this time, the data of the specification array and material array of the pipe blanking table and the raw material table can be directly compared item by item. If they are in the same parameter classification and the length of the raw material is greater than the length of the pipe, nesting is performed, otherwise the next raw material is used to repeat the above comparison process; each time a pipe is successfully nested, the corresponding blanking length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting; when the remaining length of the raw material is not enough to complete the nesting of the shortest pipe after one nesting is completed, the corresponding specification and material quantity (number of roots) in the raw material table array is reduced by one.
[0041] S103: After all the pipes are nested, the data are stored in the pipe nesting table array. The data in the pipe nesting table includes specifications, materials, raw material length, residual material length, ship number, pipe number, part number, cutting length, processing information, and processing procedures. Finally, the pipe nesting table is output in the form of an Excel table.
[0042] like Figure 2 As shown, it is the working interface of the software in this embodiment. The left side is the raw material table. You can import the raw material table by dragging the Excel table directly into the lower window, or click the Import Raw Materials button, browse to the location of the table, and select the corresponding Excel table file to import; if the import is incorrect, you can click the Clear Table button to re-import. The right side of the interface is the blanking table of pipes. You can import the pipe blanking table by dragging the Excel table directly into the lower window, or click the Import Blanking Table button, browse to the location of the table, and select the corresponding Excel table file to import; if the import is incorrect, you can click the Clear Table button to re-import.
[0043] After the import is complete, click the Export Excel nesting table button, and the software will automatically perform the nesting work and automatically generate the pipe nesting table in Excel format. The processing information contained in the pipe nesting table can be used for the process diversion of the pipe after cutting, such as bending, drilling, end cutting, etc.; the processing program included lists the bending processing program and CNC cutting program information, which can bend and cut the pipe without drawing during the production process.
[0044] like Figures 3 to 7 As shown, during the specific implementation process, in order to facilitate subsequent work, the generated pipe nesting table Excel file contains a total of 5 tables, namely: mechanical cutting nesting table, CNC cutting nesting table, unnested pipe number table, material table, and surplus material table. Among them, the mechanical cutting nesting table is a pipe nesting table for cutting and blanking using a mechanical sawing machine. The CNC cutting nesting table is a pipe nesting table for cutting and blanking using a CNC cutting machine. Pipes with a diameter of more than 60 that require beveling, opening, and end branch cutting are all included in this table. The unnested pipe number table lists the pipes that failed to nest due to insufficient materials and other reasons. The material table contains the material specifications and quantities used for nesting, and the utilization information is also calculated in the table. The surplus material table statistically lists the remaining materials after nesting, and the materials can be used for the next nesting.
[0045] In another embodiment of the present invention, Figure 8 As shown, the present invention proposes a pipe sleeve device, comprising:
[0046] An input module is used to obtain raw material information and pipe cutting information, and classify and sort the data therein after obtaining the pipe cutting information;
[0047] The nesting module is used to compare the raw material information and the pipe cutting information, so as to nest the materials according to the length of the raw materials and the length of the pipe under the same classification. When the nesting module compares the raw material information and the pipe cutting information, if they are under the same parameter classification and the length of the raw material is greater than the length of the pipe, nesting is performed, otherwise the next raw material is used to repeat the above comparison process; each time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting; when a nesting is completed, if the remaining length of the raw material is not enough to complete the nesting of the shortest pipe, the number of raw materials under the corresponding parameter classification is reduced by one.
[0048] The output module outputs the data of the nested pipes and the remaining raw materials after the nesting of all pipes is completed. The data output by the output module includes mechanical cutting nesting information, CNC cutting nesting information, unnested pipe number information, material information, and remaining material information.
[0049] In another embodiment of the present invention, the present invention proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: obtaining a raw material table in Excel format; obtaining a pipe cutting table in Excel format, and then classifying the data in the pipe cutting table according to different specifications and materials, and sorting the data in each category according to the cutting length; comparing the raw material table and the pipe cutting table, and when they are in the same category and the raw material length is greater than the pipe length, nesting is performed, otherwise the next raw material is used to repeat the above comparison process; each time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting; when the remaining length of the raw material is insufficient to complete the nesting of the shortest pipe after one nesting is completed, the number of raw materials under the corresponding specification and material classification is reduced by one; after all pipes are nested, the results are output in the form of an Excel file.
[0050] In another embodiment of the present invention, the present invention proposes a readable storage medium having a computer program stored thereon, and the computer program implements the following steps when executed by a processor: obtaining a raw material table in Excel format; obtaining a pipe cutting table in Excel format, and then classifying the data in the pipe cutting table according to different specifications and materials, and sorting the data in each category according to the cutting length; comparing the raw material table and the pipe cutting table, and when they are in the same category and the raw material length is greater than the pipe length, nesting is performed, otherwise the next raw material is used to repeat the above comparison process; each time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting; when a nesting is completed and the remaining length of the raw material is insufficient to complete the nesting of the shortest pipe, the number of raw materials under the corresponding specification and material classification is reduced by one; after all pipes are nested, the results are output in the form of an Excel file.
[0051] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0052] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. A method for casing a pipe, characterized in that: include: Obtain raw material information and pipe cutting information, then classify the data in the pipe cutting information according to different parameters, and sort each category according to the cutting length; Compare the raw material information and the pipe cutting information. If they are in the same parameter classification and the raw material length is greater than the pipe length, nesting is performed. Otherwise, the next raw material is used to repeat the above comparison process. Every time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting. When a nesting is completed, if the remaining length of the raw material is not enough to complete the nesting of the shortest pipe, the number of raw materials under the corresponding parameter classification is reduced by one. After all pipes are nested, the results will be output.
2. The method for sleeve pipe material according to claim 1, characterized in that: The raw material information includes specifications, materials, length, and quantity; the pipe cutting information includes ship number, pipe number, part number, specifications, materials, length, and processing information.
3. The method for jacketing a pipe according to claim 1, characterized in that: When classifying the data in the pipe cutting information, the data is classified according to different specifications and materials, and the pipes of the same specification and material are sorted from large to small according to the cutting length.
4. The method for jacketing a pipe according to claim 1, characterized in that: When the raw material information and pipe cutting information are obtained, raw materials and pipes of the same specification and material have a consistent filling format.
5. The method for jacketing a pipe according to claim 1, characterized in that: After all the pipe nesting is completed, the output result data includes specifications, materials, raw material length, remaining length, ship number, pipe number, part number, cutting length, processing information, and processing procedures.
6. A pipe sleeve device, characterized in that: include: An input module is used to obtain raw material information and pipe cutting information, and classify and sort the data therein after obtaining the pipe cutting information; The nesting module is used to compare the raw material information and the pipe cutting information, so as to nest the raw material length and the pipe length under the same category; The output module outputs the data of the nested pipes and the remaining raw materials after completing the nesting of all pipes.
7. The pipe sleeve device according to claim 6, characterized in that: When the nesting module compares the raw material information and the pipe cutting information, if they are under the same parameter classification and the raw material length is greater than the pipe length, nesting is performed, otherwise the next raw material is used to repeat the above comparison process; each time a pipe is successfully nested, the corresponding cutting length of the current raw material is subtracted, and the remaining raw material length is used for the next nesting; when a nesting is completed, if the remaining length of the raw material is not enough to complete the nesting of the shortest pipe, the number of raw materials under the corresponding parameter classification is reduced by one.
8. The pipe sleeve device according to claim 6, characterized in that: The data output by the output module includes mechanical cutting nesting information, CNC cutting nesting information, unnested pipe number information, material usage information, and surplus material information.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Table conversion method and device, computer equipment and storage medium
CN114548044A
Ship profile automatic cutting sequence optimization method, device, equipment and medium
CN115860203A
Pipe fitting nesting method
CN116797146A
Quality inspection and data classification
WO2019171125A1
Ship profile automated cutting sequence optimization method and apparatus, device, and medium
WO2024109227A1
