Precast drawing output method and device and related medium

By conducting pre-checking and sub-graph processing on the three-dimensional model of nuclear power plant pipelines, batch drawings and associated weld numbers are realized, which solves the problem of inefficient drawing in the existing technology and improves the output of pre-made drawings of nuclear power plant pipelines Graph efficiency and accuracy.

CN119150476APending Publication Date: 2024-12-17CHINA NUCLEAR POWER ENGINEERING COMPANY LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411168469.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The prior art cannot realize batch pre-made drawings and drawings of nuclear power plant pipelines, and lacks effective material and weld number association and inheritance mechanisms, resulting in inefficient drawing production and large manual verification work.

Method used

By conducting pre-checking of the three-dimensional model of the process pipeline object, the quality and number relationship are judged. If passed, multiple prefabricated sub-paints will be generated by dividing the diagrams, and batch drawings will be produced according to preset rules, and the drawings will be updated, including unit materials and Relationship and inheritance of weld numbers.

Benefits of technology

It realizes the efficiency of batch drawing production, reduces manpower investment, ensures the accuracy of drawing updates and the consistency of numbers, and improves the efficiency of pre-made drawings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119150476A_ABST
    Figure CN119150476A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for drawing a prefabricated drawing and a related medium, and the method comprises the steps: carrying out the pre-inspection of a three-dimensional model of a process pipeline object, and obtaining a quality inspection result; whether the quality inspection result is passed or not is judged, if yes, a prefabricated diagram of the process pipeline object is subjected to diagram division processing, a plurality of prefabricated sub-diagrams are obtained, and each prefabricated sub-diagram at least comprises one pipe section; and performing prefabrication processing on the pipe sections in each prefabrication sub-graph, generating a prefabrication section corresponding to each pipe section, performing drawing updating on the prefabrication graph based on the prefabrication sections, and generating a corresponding engineering format file from the prefabrication sections. According to the method and the device, the pipe sections in each obtained prefabricated sub-graph are prefabricated, then the prefabricated graph is updated on the basis of the prefabricated sections obtained by the prefabricated processing, and finally the graph is output as the corresponding engineering format file, so that batch graph output can be carried out, the number can be associated and / or inherited by the updating of the graph, and the graph output efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer software technology, and in particular to a method and device for producing a pre-made drawing and related media. Background Art

[0002] In recent years, with the rapid development of the nuclear power industry, the 3D layout design platform has been widely used in the piping design of the nuclear island. Due to the special requirements and high installation standards of nuclear power plants, many pipelines in the nuclear island cannot be directly installed on site and must be prefabricated in the factory. In order to support this process, the current drawing scheme commonly used in the industry is to extract the required pipe segment drawings from the 3D layout design. However, this drawing scheme still has limitations: first, the drawing operation requirements are high, the steps involved are numerous and the functions are scattered; second, most existing drawing modules can only output single drawings, and batch drawing cannot be achieved. In addition, the upgrade of drawings will cause changes in the coding of materials and welds, thereby increasing the workload of manual verification of drawing upgrades, which is not only time-consuming but also prone to errors.

[0003] In response to the above problems, the current technical solutions mainly focus on integrating the drawing operation functions into one interface to reduce the time required for function calls. However, this method does not fundamentally solve the problem of low efficiency of pre-drawing. It still requires a lot of manpower to prefabricate pipeline segments, and lacks an effective material and weld number association and inheritance mechanism, which cannot meet the needs of batch efficient drawing. Therefore, it is urgent to develop a pre-drawing solution to solve the above problems. Summary of the invention

[0004] The embodiments of the present invention provide a method and device for outputting pre-made drawings and related media, aiming to solve the problem that pre-made drawings cannot be output in batches and lack an effective association and inheritance mechanism in the prior art.

[0005] In a first aspect, an embodiment of the present invention provides a method for producing a pre-made drawing, comprising:

[0006] Perform a preliminary check on the quality of the 3D model and the numbering relationship of the process pipeline object to obtain the quality inspection results;

[0007] Determine whether the quality inspection result is passed, and if so, use a preset sub-drawing rule to perform sub-drawing processing on the prefabricated drawing of the process pipeline object to obtain multiple prefabricated sub-drawings, wherein each prefabricated sub-drawing includes at least one pipe segment;

[0008] Batch drawing is carried out according to the preset drawing rules: the pipe segments in each of the prefabricated sub-drawings are prefabricated to generate prefabricated segments corresponding to each pipe segment, the prefabricated drawings are updated based on the prefabricated segments, and it is determined whether the drawing update is successful, if not, the drawing is not produced; if yes, the prefabricated segments are generated into corresponding engineering format files; wherein the drawing update includes: the association and / or inheritance of the unit material number and the weld number of the prefabricated segment.

[0009] In a second aspect, an embodiment of the present invention provides a pre-made drawing output device, comprising:

[0010] A pre-inspection module is used to perform a pre-inspection on the quality of the three-dimensional model of the process pipeline object and the number association relationship to obtain the quality inspection result;

[0011] The pipe segment prefabrication module is used to determine whether the quality inspection result is passed. If so, the prefabricated drawing of the process pipeline object is processed by using a preset sub-drawing rule to obtain multiple prefabricated sub-drawings, wherein each prefabricated sub-drawing contains at least one pipe segment;

[0012] The prefabrication drawing module is used to perform batch drawing according to preset drawing rules: prefabrication processing is performed on the pipe segments in each prefabrication sub-drawing, and a prefabrication segment corresponding to each pipe segment is generated; the prefabrication drawing is updated based on the prefabrication segment, and it is determined whether the drawing update is successful. If not, the drawing is not output; if so, the prefabrication segment is generated as a corresponding engineering format file.

[0013] In a third aspect, an embodiment of the present invention provides 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 pre-drawing method of the first aspect when executing the computer program.

[0014] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the pre-drawing method of the first aspect is implemented.

[0015] The embodiment of the present invention provides a prefabrication drawing output method, including pre-checking the quality of a three-dimensional model and a number association relationship of a process pipeline object to obtain a quality inspection result; judging whether the quality inspection result is passed, and if so, performing sub-drawing processing on the prefabrication drawing of the process pipeline object using a preset sub-drawing rule to obtain a plurality of prefabrication sub-drawings, wherein each prefabrication sub-drawing includes at least one pipe segment; and performing batch output according to the preset outputting rule: performing prefabrication processing on the pipe segment in each of the prefabrication sub-drawings to generate a prefabrication segment corresponding to each pipe segment, updating the prefabrication drawing based on the prefabrication segment, and judging whether the drawing update is successful, if not, not outputting the drawing; if so, generating the prefabrication segment into a corresponding engineering format file; wherein the drawing update includes: the association and / or inheritance of the unit material number and the weld number of the prefabrication segment. The present invention performs prefabrication processing on the pipe sections in each prefabricated sub-drawing obtained, and then updates the prefabricated drawing based on the prefabricated sections obtained by the prefabrication processing, and finally outputs the drawing as a corresponding engineering format file. In this way, batch output can be carried out and the drawing updates can be associated and / or inherited with numbers, which greatly improves the output efficiency.

[0016] The embodiment of the present invention also provides a pre-made drawing output device, a computer device and a storage medium, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0018] Figure 1 A schematic diagram of a flow chart of a method for producing a pre-made drawing provided by an embodiment of the present invention;

[0019] Figure 2 Another schematic diagram of a flow chart of a method for producing a pre-made drawing provided by an embodiment of the present invention;

[0020] Figure 3 A schematic diagram of the principle of the pre-check provided by an embodiment of the present invention;

[0021] Figure 4 A schematic diagram of a flow chart of a number association relationship provided in an embodiment of the present invention;

[0022] Figure 5 A schematic diagram of the structure of a pre-made graph sub-graph provided in an embodiment of the present invention;

[0023] Figure 6 Schematic diagram of the pre-made drawing output process provided by the embodiment of the present invention Figure 1 ;

[0024] Figure 7 Schematic diagram of the pre-made drawing output process provided by the embodiment of the present invention Figure 2 ;

[0025] Figure 8 A schematic diagram of the process of association and inheritance of pre-made drawing numbers provided in an embodiment of the present invention;

[0026] Fig. 9 A schematic block diagram of a pre-made drawing output device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.

[0028] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0030] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0031] See below Figure 1 , Figure 1 A schematic flow chart of a method for producing a pre-made drawing provided in an embodiment of the present invention specifically includes steps S101 to S103.

[0032] S101, performing a preliminary inspection on the quality of the three-dimensional model and the number association relationship of the process pipeline object to obtain a quality inspection result;

[0033] S102, determining whether the quality inspection result is passed, and if so, performing a sub-drawing process on the prefabricated drawing of the process pipeline object using a preset sub-drawing rule to obtain a plurality of prefabricated sub-drawings, wherein each prefabricated sub-drawing includes at least one pipe segment;

[0034] S103, batch output according to preset output rules: prefabricate the pipe segments in each of the prefabricated sub-drawings, generate prefabricated segments corresponding to each pipe segment, update the prefabricated drawings based on the prefabricated segments, and determine whether the drawing update is successful. If not, do not output the drawings; if yes, generate the prefabricated segments into corresponding engineering format files; wherein the drawing update includes: association and / or inheritance of the unit material number and weld number of the prefabricated segments.

[0035] Combination Figure 2 As shown, in step S101, the three-dimensional model is the basis of nuclear power digital design, mainly including civil structures, steel structures, process system mechanical equipment, pipelines, ventilation equipment, air ducts, electrical instrumentation equipment, cable trays, instrument pipelines, etc. Before batch output, it is necessary to conduct a pre-inspection of the three-dimensional model quality of the process pipeline objects and the association relationship of the three-dimensional model numbers of the process pipeline objects to ensure the efficiency and quality of the output. If the three-dimensional model pre-inspection fails, pre-drawing is not allowed. Step S101 here corresponds to Figure 2 The pre-check module in .

[0036] Combination Figure 3 As shown, in one embodiment, step S101 includes:

[0037] Performing a first quality check on the three-dimensional model of the process pipeline object; wherein the first quality check includes whether the pipeline of the three-dimensional model has dotted lines, whether the pipeline connection relationship is missing, whether the pipeline level of the three-dimensional model is consistent, and whether the pipeline attribute of the three-dimensional model is missing;

[0038] A second quality check is performed on the number association relationship of the process pipeline object, wherein the second quality check includes whether the number association relationship of the three-dimensional model is missing and the degree of missingness.

[0039] In this embodiment, the pre-inspection is provided with two main inspection steps: a first quality inspection and a second quality inspection, which respectively inspect and evaluate the quality and the numbering association relationship of the three-dimensional model.

[0040] First quality check: Before batch drawing, first perform a first quality check on the 3D model of the process pipeline object. The first quality check usually checks the problems in the 3D model that may cause drawing failure:

[0041] Pipe display issues: Check if pipes in the 3D model have dashed display lines, which usually indicates that the pipe section is not rendered correctly or represents the preset hidden state;

[0042] Pipeline connection issues: Verify that all pipeline connections are intact and that there are no disconnected or incorrectly connected pipelines;

[0043] 3D model pipeline grade consistency: Confirm whether all pipeline grades in the 3D model are consistent to avoid construction errors caused by grade mismatch;

[0044] 3D model pipe attribute issues: Check whether the pipes in the 3D model are missing necessary attributes, such as installation partition information.

[0045] Second quality check: In addition to the first quality check, a second quality check is also performed. The second quality check usually checks the number association relationship of the process pipeline objects (such as Figure 3 Unit material components and weld components in the 3D model): Check whether the number association relationship in the 3D model exists and is complete. The missing association relationship will be automatically repaired or repaired by the system to ensure the consistency of all numbers in the drawings. Furthermore, the degree of missing number association relationships is analyzed to determine which parts need to be processed first, thereby improving the overall correction efficiency.

[0046] Through these two inspection steps, annotation errors can be effectively prevented before the drawing is produced, thereby improving the quality of the drawing. If the 3D model fails the first quality inspection, it will not be allowed to enter the pre-drawing sub-drawing stage (corresponding to Figure 2 This pre-check mechanism can reduce rework and construction errors caused by 3D model quality problems or number association problems.

[0047] Combination Figure 4 As shown, in one embodiment, the second quality check on the number association relationship of the process pipeline object includes:

[0048] Determine whether the number association relationship of the process pipeline object is completely missing, partially missing, or not missing;

[0049] When all the number association relationships of the process pipeline objects are missing, it is determined that the second quality inspection has passed;

[0050] When the number association relationship of the process pipeline object is partially missing, an expert judgment result for the partially missing part is obtained, and if the expert judgment result is passed, the partially missing number association relationship is re-established, and after the reconstruction, it is determined that the second quality inspection has passed; if the expert judgment result is not passed, it is determined that the second quality inspection has not passed;

[0051] When the number association relationship of the process pipeline object is not missing, it is determined that the second quality inspection has passed.

[0052] In this embodiment, if the number association relationship of all components of the process pipeline object is completely missing, it indicates that the process pipeline object is being extracted for the first time. In this case, it is determined that the second quality check has passed, and the pre-drawing segmentation module (such as Figure 2 If the number association relationship of the process pipeline object is partially missing, it is necessary to obtain the expert judgment result (usually manual judgment, Figure 4 If the expert judgment allows entry into the pre-drawing segmentation module, the missing number association relationships are re-established according to the established association rules, such as updating the existing numbers or assigning numbers to the new 3D model. After the association relationship is rebuilt, it can also be judged as passing the second quality inspection. If the expert judgment result is not passed, the second quality inspection of the process pipeline object is judged as not passed, and the association relationship needs to be manually completed and judged again. If the number association relationship of the process pipeline object is intact, it can be directly judged as passing the second quality inspection.

[0053] Combination Figure 5 As shown, in step S102, before the sub-drawing of the pre-made drawing is processed, the process pipeline object is first quality checked, including checking the quality of the three-dimensional model and the number association relationship. The quality inspection result needs to be judged as passed before entering the next step of the processing flow. When the quality inspection result passes, the pre-made drawing of the process pipeline object is processed using the preset sub-drawing rules. The sub-drawing rules are pre-defined based on factors such as the type of process pipeline, installation location, and construction requirements. The goal of the sub-drawing processing is to generate multiple pre-made sub-drawings, each of which contains at least one pipe segment.

[0054] In one embodiment, the graph division rules include:

[0055] One of the pipe segments is only in one prefabricated sub-graph;

[0056] A plurality of the pipe segments may be in the same prefabricated sub-graph.

[0057] In this embodiment, according to the requirements of nuclear power layout design, the sub-diagram process ensures that the processing method of each branch complies with the following rules:

[0058] Single-segment prefabrication drawing: Each branch appears in only one prefabrication sub-drawing. This approach avoids further segmentation of a single branch, thereby simplifying the construction process and reducing confusion or errors caused by segment segmentation.

[0059] Multi-segment prefabricated drawings: For some special pipelines, multiple branches are allowed to be configured in the same prefabricated sub-drawing. This processing method is suitable for those pipelines that need to be displayed centrally due to functional or design requirements, such as main transportation routes or parts with higher technical requirements.

[0060] The process pipeline object can be automatically divided into several parts according to the sub-drawing rules, and each part forms an independent prefabricated sub-drawing. Usually, according to the nuclear power layout design pipeline segment sub-drawing rules, that is, by optimizing the sub-drawing process, a pipeline segment (branch) can be produced in a prefabricated sub-drawing without further segmentation. Of course, for some special pipelines, multiple pipeline segments (branches) are allowed to be produced in one prefabricated sub-drawing (such as Figure 5 shown).

[0061] Combination Figure 6 As shown, in step S103, after quality inspection and pre-drawing sub-drawing processing, batch drawing can be carried out according to the preset drawing output rules. This process includes the following steps:

[0062] Prefabrication processing: Prefabrication processing is performed on the pipe segments in each prefabrication sub-map, and corresponding prefabricated segments are generated for each pipe segment. Usually, a pipe segment is composed of one or more prefabricated segments. The prefabricated segments are processed in the factory and then transported to the site for installation.

[0063] Drawing update: Based on the generated prefabrication segment, the prefabrication drawing is updated, including the number and material of the associated and inherited 3D model (corresponding to Figure 2 Drawing element material and weld number association and inheritance module in the drawing to ensure that the drawings reflect the latest design;

[0064] Update success judgment: After the drawing update is completed, it will automatically check whether the update is successful; if the drawing update fails (for example, due to data inconsistency or system error), the subsequent drawing output steps will not be performed; if the update is successful, the process continues;

[0065] Project format file generation: After the drawing is updated successfully, the prefabricated section is generated into the corresponding project format file (corresponding Figure 2 These files are stored in standard engineering formats, such as DWG, which is convenient for construction teams to use (such as Figure 6 shown).

[0066] In one embodiment, the step S103 includes:

[0067] Determining whether the drawing status of the pre-made drawing is a first-published status or an upgraded status;

[0068] When the drawing state of the prefabricated drawing is the first publication state, the unit material number and the weld number of the prefabricated section are respectively associated with the three-dimensional model;

[0069] When the drawing status of the prefabricated drawing is an upgraded version, the unit material number and weld number of a part of the prefabricated section will inherit the corresponding unit material number and weld number in the previous version; and the unit material number and weld number of another part of the prefabricated section will be readjusted; and the association relationship between the unit material number and weld number of the prefabricated section and the three-dimensional model will be refreshed.

[0070] In this embodiment, the drawing status of the pre-made drawing is judged to be divided into the first publication status and the upgrade status:

[0071] First publication status: For precast drawings in the first publication status, the unit material number (i.e. unit material component number) and weld number (i.e. weld component number) of the newly generated precast segment are associated with the 3D model. This ensures that all materials and welded parts in the drawings have clear numbers for tracking and management during construction and maintenance.

[0072] Upgrade status: For precast drawings in the upgrade status, a composite method is used to handle the numbering problem. The unit material numbers and weld numbers of a part of the unchanged precast sections are inherited from the corresponding numbers in the previous version of the drawing; at the same time, the unit material numbers and weld numbers of another part of the precast sections are readjusted, and the association between the 3D model and the unit material and weld numbers is refreshed.

[0073] For example, if the association relationship of the unit material corresponding to a valve component is 5, then after the drawing is extracted, the association relationship of the valve component will still be 5 and will remain unchanged until it is manually modified. If the association relationship of the valve component is missing, the association relationship will be established at the largest number + 1 according to the preset self-increment rule. This association relationship will remain unchanged in subsequent drawings until it is manually modified. Drawings extracted in this way can be numbered according to the relationship between the three-dimensional model and the unit material and weld number, ensuring that the unit material and weld codes corresponding to the same drawing and the same object in different versions are consistent.

[0074] In one embodiment, the step S103 further includes:

[0075] Obtain each of the pipe segments in each of the prefabricated sub-graphs;

[0076] Each pipe segment is prefabricated using PML.NET technology to obtain the corresponding prefabricated segment.

[0077] In this embodiment, first, each pipe segment (branch) is obtained from each prefabrication sub-map to ensure that all pipe segments that need to be processed are identified and included in the prefabrication queue. Then, each pipe segment obtained is prefabricated using PML.NET technology. PML.NET technology can control the prefabrication process, including the size adjustment of the pipe segment, material selection, and the specific specification of the prefabricated segment. After processing by PML.NET technology, each pipe segment (branch) will be decomposed into one or more prefabricated segments.

[0078] In one embodiment, the step S103 further includes:

[0079] The prefabricated sections are generated into corresponding engineering format files using AutoCAD.NET development technology.

[0080] In this embodiment, after updating the drawing, the prefabricated section information is converted into an engineering format file using AutoCAD.NET development technology. AutoCAD.NET provides powerful graphics processing capabilities to ensure file compatibility. Usually, the corresponding engineering format file is generated in batch output mode, that is, all received pipe segments are processed in a loop. The information of each pipe segment is processed in the order of prefabrication-update-generation of engineering format files, and this process continues until all pipe segments are converted into corresponding engineering format files.

[0081] Combination Figure 7 As shown, in one embodiment, the output rule includes:

[0082] Draw the drawing for each pipe section in turn. If the drawing of the current pipe section is successful, the engineering format file corresponding to the current pipe section will be output, and the drawing of the next pipe section will continue. If the drawing of the current pipe section fails, the engineering format file corresponding to the current pipe section will not be output, and the drawing of the next pipe section will continue.

[0083] In this embodiment, each pipe segment is plotted in turn. If the plotting of the current pipe segment is successful, the engineering format file corresponding to the current pipe segment is output, and the plotting of the next pipe segment is continued. If the plotting of the current pipe segment fails, for example, due to model quality problems or inconsistent data, the system does not output the engineering format file corresponding to the current pipe segment, and automatically skips this drawing, and continues to plot the next drawing.

[0084] In one embodiment, after step S103, the following steps are included:

[0085] Record the successful and unsuccessful results of drawing, and obtain a successful drawing list and a failed drawing list respectively;

[0086] The successful drawing list and the failed drawing list are integrated to obtain a drawing output report.

[0087] In this embodiment, when batch drawing is performed, the success and failure results of each pipe segment will be recorded separately, including recording the pipe segments that have successfully been drawn in the successful drawing list, and recording the pipe segments that have not been successfully drawn in the failed drawing list. This recording method not only provides instant tracking of the drawing status of each pipe segment, but also facilitates subsequent quality analysis. After the batch drawing process of all pipe segments is completed, the successful drawing list and the failed drawing list are integrated and summarized into a drawing report for easy viewing by staff.

[0088] Combination Figure 8 As shown, in one embodiment, the step S103 further includes:

[0089] Associating weld numbers in the precast section with upstream factory welded components;

[0090] And / or, the prefabricated section inherits the numbering of the upstream components welded in the factory.

[0091] In this embodiment, because the three-dimensional model usually only designs the on-site weld model object components, and does not design the factory weld model object, the factory weld in the drawing cannot correspond to the weld component of the physical model, which is not conducive to the consistent inheritance of the factory weld coding. In view of this situation, the factory weld number can be associated with the specific upstream component welded by the factory weld, that is, in addition to being associated with and inheriting its own number, the component itself must also be associated with the number of the factory weld that inherits itself.

[0092] Specifically, the weld numbers in the precast section are associated with the upstream components welded in the factory, ensuring that the location and identification of each weld match the actual physical component, improving the accuracy of design and construction. When processing upgraded or modified precast drawings, the precast section can be used to inherit the numbers of the upstream components welded in the factory. Whenever a drawing is updated or the status of the precast drawing is changed, the weld numbers are automatically checked and updated to ensure that all numbers are up to date.

[0093] In summary, the present invention realizes the pre-inspection of model quality, improves the efficiency of drawing production, reduces manpower input, and also realizes the batch generation function of the consistency requirements of material and weld coding for drawing upgrade, which greatly improves the efficiency of pre-drawing production.

[0094] Combination Fig. 9 As shown, Fig. 9 A schematic block diagram of a pre-made drawing output device provided in an embodiment of the present invention, a pre-made drawing output device 900, comprising:

[0095] The pre-inspection module 901 is used to perform a pre-inspection on the quality of the three-dimensional model of the process pipeline object and the number association relationship to obtain a quality inspection result;

[0096] The pipe segment prefabrication module 902 is used to determine whether the quality inspection result is passed. If so, the prefabricated drawing of the process pipeline object is split into sub-drawings using a preset sub-drawing rule to obtain multiple prefabricated sub-drawings, wherein each prefabricated sub-drawing contains at least one pipe segment;

[0097] The prefabrication drawing module 903 is used to perform batch drawing according to the preset drawing rules: prefabrication processing is performed on the pipe segments in each of the prefabrication sub-drawings, and a prefabrication segment corresponding to each pipe segment is generated; the prefabrication drawing is updated based on the prefabrication segment, and it is determined whether the drawing update is successful. If not, no drawing is performed; if yes, the prefabrication segment is generated as a corresponding engineering format file.

[0098] In this embodiment, the pre-inspection module 901 performs a pre-inspection on the three-dimensional model quality and number association relationship of the process pipeline object to obtain a quality inspection result; the pipe segment prefabrication module 902 determines whether the quality inspection result is passed, and if so, the prefabricated drawing of the process pipeline object is divided into sub-drawings using a preset sub-drawing rule to obtain multiple prefabricated sub-drawings, wherein each prefabricated sub-drawing includes at least one pipe segment; the prefabricated drawing output module 903 performs batch drawing output according to the preset drawing output rules: the pipe segment in each of the prefabricated sub-drawings is prefabricated to generate a prefabricated section corresponding to each pipe segment, the prefabricated drawing is updated based on the prefabricated section, and it is determined whether the drawing update is successful, if not, the drawing is not output; if so, the prefabricated section is generated as a corresponding engineering format file.

[0099] In one embodiment, the pre-check module 901 includes:

[0100] A first inspection module is used to perform a first quality inspection on the three-dimensional model of the process pipeline object; wherein the first quality inspection includes whether the pipeline of the three-dimensional model has dotted lines, whether the pipeline connection relationship is missing, whether the pipeline level of the three-dimensional model is consistent, and whether the pipeline attribute of the three-dimensional model is missing;

[0101] The second inspection module is used to perform a second quality inspection on the number association relationship of the process pipeline object, wherein the second quality inspection includes whether the number association relationship of the three-dimensional model is missing and the degree of missingness.

[0102] In one embodiment, the second inspection module includes:

[0103] A missing judgment module, used to judge whether the number association relationship of the process pipeline object is completely missing, partially missing, or not missing;

[0104] A first determination module, configured to determine that the second quality inspection has passed when all the number association relationships of the process pipeline objects are missing;

[0105] A second determination module is used for obtaining an expert judgment result for a part of the missing number association when the number association relationship of the process pipeline object is partially missing, and re-establishing the part of the missing number association relationship if the expert judgment result is passed, and determining that the second quality inspection has passed after the reconstruction; and determining that the second quality inspection has failed if the expert judgment result is failed;

[0106] The inspection pass module is used to determine that the second quality inspection has passed when the number association relationship of the process pipeline object is not missing.

[0107] In one embodiment, the pre-made image output module 903 includes:

[0108] A status judgment module, used for judging whether the drawing status of the pre-made drawing is the first publication status or the upgraded version status;

[0109] A first state module, for associating the unit material number and the weld number of the prefabricated section with the three-dimensional model respectively when the drawing state of the prefabricated drawing is the first publication state;

[0110] The second state module is used to, when the drawing state of the prefabricated drawing is an upgraded state, inherit the unit material number and weld number of a part of the prefabricated section from the corresponding unit material number and weld number in the previous version; and readjust the unit material number and weld number of another part of the prefabricated section; and refresh the association between the unit material number and weld number of the prefabricated section and the three-dimensional model.

[0111] In one embodiment, the pre-made image module 903 further includes:

[0112] A factory inheritance module is used to associate the weld numbers in the prefabricated section with upstream components welded in the factory; and / or to use the prefabricated section to inherit the numbers of upstream components welded in the factory.

[0113] In one embodiment, the graph division rules include:

[0114] One of the pipe segments is only in one prefabricated sub-graph;

[0115] A plurality of the pipe segments may be in the same prefabricated sub-graph.

[0116] In one embodiment, the pre-made image module 903 further includes:

[0117] A sub-image acquisition module, used for acquiring each of the pipe segments in each of the prefabricated sub-images;

[0118] The drawing prefabrication module is used to prefabricate each pipe segment using PML.NET technology to obtain the corresponding prefabricated segment.

[0119] In one embodiment, the pre-made image module 903 further includes:

[0120] The prefabrication output module is used to generate corresponding engineering format files from the prefabricated sections using AutoCAD.NET development technology.

[0121] In one embodiment, the output rule includes:

[0122] Draw the drawing for each pipe section in turn. If the drawing of the current pipe section is successful, the engineering format file corresponding to the current pipe section will be output, and the drawing of the next pipe section will continue. If the drawing of the current pipe section fails, the engineering format file corresponding to the current pipe section will not be output, and the drawing of the next pipe section will continue.

[0123] In one embodiment, after the pre-production image module 903, the following steps are included:

[0124] The list export module is used to record the results of successful drawing and the results of unsuccessful drawing, and obtain the corresponding successful drawing list and failed drawing list;

[0125] The drawing report module is used to integrate the drawing success list and the drawing failure list to obtain a drawing report.

[0126] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0127] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0128] The embodiment of the present invention also provides a computer device, which may include a memory and a processor, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps provided in the above embodiment may be implemented. Of course, the computer device may also include various network interfaces, power supplies and other components.

[0129] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of this application.

[0130] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A method for producing a pre-made drawing, It is characterized in that include: Perform a preliminary check on the quality of the 3D model and the numbering relationship of the process pipeline object to obtain the quality inspection results; Determine whether the quality inspection result is passed, and if so, use a preset sub-drawing rule to perform sub-drawing processing on the prefabricated drawing of the process pipeline object to obtain multiple prefabricated sub-drawings, wherein each prefabricated sub-drawing includes at least one pipe segment; Batch output is performed according to the preset output rule: the pipe segments in each prefabricated sub-map are prefabricated to generate prefabricated segments corresponding to each pipe segment, the prefabricated drawings are updated based on the prefabricated segments, and it is determined whether the drawing update is successful, if not, the drawing is not output; If so, the prefabricated section is generated into a corresponding engineering format file; wherein the drawing update includes: association and / or inheritance of the unit material number and the weld number of the prefabricated section.

2. A method for producing a pre-made drawing according to claim 1, It is characterized in that The pre-inspection of the quality of the three-dimensional model and the number association relationship of the process pipeline object to obtain the quality inspection result includes: Performing a first quality check on the three-dimensional model of the process pipeline object; wherein the first quality check includes whether the pipeline of the three-dimensional model has dotted lines, whether the pipeline connection relationship is missing, whether the pipeline level of the three-dimensional model is consistent, and whether the pipeline attribute of the three-dimensional model is missing; A second quality check is performed on the number association relationship of the process pipeline object, wherein the second quality check includes whether the number association relationship of the three-dimensional model is missing and the degree of missingness.

3. A method for producing a pre-made drawing according to claim 2, It is characterized in that The performing a second quality check on the number association relationship of the process pipeline object includes: Determine whether the number association relationship of the process pipeline object is completely missing, partially missing, or not missing; When all the number association relationships of the process pipeline objects are missing, it is determined that the second quality inspection has passed; When the number association relationship of the process pipeline object is partially missing, an expert judgment result for the partially missing part is obtained, and if the expert judgment result is passed, the partially missing number association relationship is re-established, and after the reconstruction, it is determined that the second quality inspection has passed; if the expert judgment result is not passed, it is determined that the second quality inspection has not passed; When the number association relationship of the process pipeline object is not missing, it is determined that the second quality inspection has passed.

4. A method for producing a pre-made drawing according to claim 1, It is characterized in that The updating of the prefabricated drawing based on the prefabricated section includes: Determining whether the drawing status of the pre-made drawing is a first-published status or an upgraded status; When the drawing state of the prefabricated drawing is the first publication state, the unit material number and the weld number of the prefabricated section are respectively associated with the three-dimensional model; When the drawing status of the prefabricated drawing is an upgraded version, the unit material number and weld number of a part of the prefabricated section will inherit the corresponding unit material number and weld number in the previous version; and the unit material number and weld number of another part of the prefabricated section will be readjusted; and the association relationship between the unit material number and weld number of the prefabricated section and the three-dimensional model will be refreshed.

5. A method for producing a pre-made drawing according to claim 4, It is characterized in that The updating of the prefabricated drawing based on the prefabricated section further includes: Associating weld numbers in the precast section with upstream factory welded components; And / or, the prefabricated section inherits the numbering of the upstream components welded in the factory.

6. A method for producing a pre-made drawing according to claim 1, It is characterized in that The sub-graph rules include: One of the pipe segments is only in one prefabricated sub-graph; A plurality of the pipe segments may be in the same prefabricated sub-graph.

7. A method for producing a pre-made drawing according to claim 1, It is characterized in that The prefabrication process is performed on each pipe segment in the prefabrication sub-graph to generate a prefabrication segment corresponding to each pipe segment, including: Obtain each of the pipe segments in each of the prefabricated sub-graphs; Each pipe segment is prefabricated using PML.NET technology to obtain the corresponding prefabricated segment.

8. A method for producing a pre-made drawing according to claim 1, It is characterized in that Generating the prefabricated segment into a corresponding engineering format file includes: The prefabricated sections are generated into corresponding engineering format files using AutoCAD.NET development technology.

9. A method for producing a pre-made drawing according to claim 1, It is characterized in that The output rules include: Draw the drawing for each pipe section in turn. If the drawing of the current pipe section is successful, the engineering format file corresponding to the current pipe section will be output, and the drawing of the next pipe section will continue. If the drawing of the current pipe section fails, the engineering format file corresponding to the current pipe section will not be output, and the drawing of the next pipe section will continue.

10. A method for producing a pre-made drawing according to claim 9, It is characterized in that After batch drawing, including: Record the successful and unsuccessful results of drawing, and obtain a successful drawing list and a failed drawing list respectively; The successful drawing list and the failed drawing list are integrated to obtain a drawing output report.

11. A pre-made drawing output device, It is characterized in that include: A pre-inspection module is used to perform a pre-inspection on the quality of the three-dimensional model of the process pipeline object and the number association relationship to obtain the quality inspection result; The pipe segment prefabrication module is used to determine whether the quality inspection result is passed. If so, the prefabricated drawing of the process pipeline object is processed by using a preset sub-drawing rule to obtain multiple prefabricated sub-drawings, wherein each prefabricated sub-drawing contains at least one pipe segment; The prefabrication drawing module is used to perform batch drawing according to preset drawing rules: prefabrication processing is performed on the pipe segments in each prefabrication sub-drawing, and a prefabrication segment corresponding to each pipe segment is generated; the prefabrication drawing is updated based on the prefabrication segment, and it is determined whether the drawing update is successful. If not, the drawing is not output; if so, the prefabrication segment is generated as a corresponding engineering format file.

12. A computer device, It is characterized in that The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the pre-map output method as claimed in any one of claims 1 to 10 when executing the computer program.

13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the pre-map output method according to any one of claims 1 to 10 is implemented.

Citation Information

Cited By

  • Batch plotting method, device and system for pipeline support

    CN121118152A