Methods, devices and systems for batch drawing of pipe supports
By introducing a graphical user interface and a drawing instruction parameter response mechanism, combined with automated scripts and intelligent operations, batch drawing of pipe supports was achieved, solving the problems of low efficiency, high cost and high error rate in existing technologies, and promoting the digitalization and automation of engineering projects.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA NUCLEAR IND 23 CONSTR
- Filing Date
- 2025-09-05
- Publication Date
- 2026-07-17
AI Technical Summary
Existing technologies for pipe support drawing are inefficient, costly, and prone to errors, making it impossible to achieve batch automatic processing and difficult to meet the needs of digital engineering development.
By introducing a graphical user interface and a drawing instruction parameter response mechanism, a parameter-driven automated drawing process is realized, replacing the traditional manual sheet-by-sheet operation. Combined with automated scripts and intelligent operations, the entire process from drawing import to batch export is automated.
It significantly improves drawing efficiency and accuracy, reduces labor costs, supports rapid processing of large batches of drawings and frequent modification needs, and realizes digital management of the entire life cycle of engineering projects.
Smart Images

Figure CN121118152B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of drawing processing technology, and in particular to a method, apparatus and system for batch drawing of pipe supports. Background Technology
[0002] In industrial engineering projects, the design and drawing of pipe supports is a crucial step, directly impacting the project's progress and quality. Currently, pipe support drawing production relies primarily on manual operation and PDMS (Plant Design Management System) software. The process includes drawing retrieval, export, annotation, and summarization. While this process functionally meets basic requirements, its efficiency is significantly limited by manual operation.
[0003] The current methods suffer from several drawbacks. Firstly, the complex software interface and numerous options mean that even skilled operators spend a significant amount of time exporting a single drawing, resulting in low efficiency and difficulty in meeting the demands of large-scale projects. Secondly, the highly repetitive mechanical operations are prone to human error, such as incorrect path selection or incorrect annotation information input, affecting drawing quality and storage order. Furthermore, the heavy reliance on skilled workers keeps labor costs high, increasing with project size and becoming a significant factor limiting economic efficiency. Moreover, existing methods cannot support automated batch processing and lack intelligent inspection mechanisms, making them ill-suited to the needs of digital engineering development, particularly exhibiting significant shortcomings in full lifecycle management.
[0004] To address the aforementioned issues and meet the high standards required by modern engineering projects, it is necessary to explore more intelligent and automated solutions for pipe support drawing. Summary of the Invention
[0005] In view of this, the purpose of the present invention is to provide a method, device and system for batch drawing of pipe supports based on PDMS, which aims to solve the technical problems of low efficiency, high cost and easy error in manual drawing in the prior art.
[0006] In a first aspect, embodiments of the present invention provide a method for batch drawing of pipe supports, the method comprising: displaying a drawing tool interface through a graphical user interface; responding to drawing instruction parameters acting on the drawing tool interface; determining a target drawing in a preset layer and its corresponding drawing logic based on the drawing instruction parameters; and performing drawing processing on the target drawing according to the drawing logic using pre-configured drawing process parameters.
[0007] In conjunction with the first aspect, this embodiment of the invention provides a first implementation of the first aspect, wherein the step of determining the target drawing sheet and its corresponding drawing logic in a preset layer based on the drawing instruction parameters includes: if the drawing instruction parameters satisfy a preset first parameter, determining a target drawing sheet that meets a first preset quantity from the preset layer, and performing drawing processing on the target drawing sheet according to pre-recorded drawing execution steps; if the drawing instruction parameters satisfy a preset second parameter, displaying an export control through the drawing tool interface; the export control is used to input export parameters; and responding to the input export parameters, determining the drawing export logic of the target drawing sheet based on the export parameters.
[0008] In conjunction with the first aspect, this embodiment of the invention provides a second implementation of the first aspect, wherein the step of determining the drawing export logic of the target drawing based on the export parameters includes: determining the number of search loops for the target drawing based on the value of the export parameters; determining the number of search loops as the number of times the drawing process parameters are executed; and determining the drawing export logic corresponding to the export parameters.
[0009] In conjunction with the first aspect, this embodiment of the invention provides a third implementation of the first aspect, wherein, when the drawing instruction parameter satisfies the preset second parameter, the step of performing drawing processing on the target drawing drawing according to the drawing logic using the pre-configured drawing process parameters includes: determining the drawings in the preset layer as the target drawing drawings in sequence according to the number of executions in the drawing export logic; and performing a click operation on the preset drawing position of the preset layer according to the drawing process parameters to perform drawing processing on the target drawing drawing.
[0010] In conjunction with the first aspect, this invention provides a fourth implementation of the first aspect, wherein the method for determining the output process parameters includes: responding to a recording start signal acting on a preset layer of the preset output software, generating a region to be recorded for the preset layer; responding to multiple click operations acting on the region to be recorded; recording the click positions corresponding to the click operations, and the click order of each click position; and identifying the interval duration between each click position; generating output execution steps corresponding to the preset layer based on the click positions, click order, and interval duration; storing the output execution steps in a preset position of a preset table, thereby generating output process parameters.
[0011] In conjunction with the first aspect, this embodiment of the invention provides a fifth implementation of the first aspect, wherein the step of generating a region to be recorded in response to a recording start signal includes: responding to a screenshot operation performed on a preset layer of a preset image output software; and generating a region to be recorded based on the image content obtained from the screenshot operation.
[0012] In conjunction with the first aspect, this embodiment of the invention provides a sixth implementation of the first aspect, wherein the method further includes: performing anomaly verification on the output process parameters.
[0013] In conjunction with the first aspect, this embodiment of the invention provides a seventh implementation of the first aspect, wherein the method further includes: recording the drawing process of the target drawing and generating a monitoring report of the drawing process; and adjusting the drawing process parameters based on the monitoring report.
[0014] Secondly, embodiments of the present invention provide a batch drawing device for pipe supports. The device includes: a display module for displaying a drawing tool interface through a graphical user interface; a response module for responding to drawing instruction parameters acting on the drawing tool interface; an execution module for determining a target drawing sheet in a preset layer and its corresponding drawing logic based on the drawing instruction parameters; and an output module for performing drawing processing on the target drawing sheet according to the drawing logic using pre-configured drawing process parameters.
[0015] Thirdly, embodiments of the present invention provide a batch drawing system for pipe supports, wherein the system is configured with the apparatus of the above embodiments for performing the steps of the methods of any of the above embodiments.
[0016] The embodiments of this invention bring the following beneficial effects: These embodiments provide a method, apparatus, and system for batch drawing of pipe supports. By introducing a graphical user interface and a drawing instruction parameter response mechanism, they replace the traditional manual, sheet-by-sheet operation mode, realizing a parameter-driven automated drawing process. Compared with existing technologies, these embodiments of this invention have made significant improvements in human-computer interaction, control logic, execution efficiency, and digitization capabilities, effectively solving problems such as low efficiency, high error rate, and high cost of manual drawing, and adapting to the development needs of modern engineering projects for high quality, high efficiency, and full-process digitization.
[0017] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained through the structures particularly pointed out in the description and the drawings.
[0018] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0019] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0020] Figure 1 A flowchart illustrating a method for batch drawing of pipe supports provided in an embodiment of the present invention; Figure 2 A flowchart of another method for batch drawing of pipe supports provided in an embodiment of the present invention; Figure 3 A schematic diagram of recorded data provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of a batch drawing device for pipe supports provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of a batch drawing system for pipe supports provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] To address the technical issues raised in the background, current pipe support drawing generation primarily relies on manual operation, including the following main steps: Drawing search: Based on project requirements, the corresponding pipe support drawings are located from the bill of materials or standard support manual. Drawing export: Exporting is completed step-by-step in PDMS software, including selecting the path, setting the format, and confirming the export. Drawing annotation: Relevant annotation information, such as welding positions and connection types, is added to the exported drawings. Drawing compilation: The annotated drawings are organized and archived, categorized and saved according to project requirements.
[0023] Although the above process can meet the needs of pipe support drawing in terms of functionality, the operation efficiency is limited by human ability and there are a number of problems. (1) Low efficiency of manual operation: Manual drawing requires skilled operators to perform step-by-step operations. Due to the complexity of the software interface and the large number of options, each export takes a lot of time. According to actual experience, four people can complete a maximum of 350 drawings per day, which is difficult to meet the needs of large-scale engineering projects. Especially when there are frequent drawing update requirements, manual operation is even more inadequate. (2) High error rate due to repetitive operation: Manual drawing requires operators to concentrate for a long time to complete repetitive and mechanical steps. For example, incorrect selection of export path leads to chaotic drawing storage. Incorrect input of annotation information affects the quality of drawings. This high-intensity and monotonous operation mode is prone to fatigue and human error. (3) High labor cost: Pipe support drawing is a technical work that is highly dependent on manual labor and requires skilled operators. Based on an 8-hour workday, the cost of four people working together is extremely high. As the scale of the project expands, the cost of this manual mode increases exponentially, becoming an important factor limiting the improvement of project profits and benefits. (4) Technological lag, failing to meet digitalization needs: In the context of the rapid development of industrial digitalization, the traditional manual drawing mode is clearly lagging behind. Specifically, it is unable to achieve batch automatic processing, and can only export one drawing at a time. The lack of intelligent inspection and verification mechanisms affects the reliability of operations. When facing complex projects, it is impossible to achieve one-click operation and real-time updates, which seriously restricts work efficiency and the process of engineering digitalization.
[0024] As engineering projects expand in scale and complexity, the demands for efficiency and accuracy in pipe support drawing production are increasing. Simultaneously, modern engineering projects are gradually moving towards full lifecycle management, requiring: 1- Highly efficient drawing production capabilities: The ability to quickly respond to large volumes of drawing export requests. 2- Stable quality control: Avoiding errors caused by human negligence and improving drawing accuracy. 3- Scalable automated processes: Achieving full digitalization from drawing design to export.
[0025] Based on this, the present invention provides a method, apparatus and system for batch drawing of pipe supports, which realizes full automation from drawing import to batch export, and greatly improves work efficiency and drawing quality.
[0026] To facilitate understanding, the method for batch drawing of pipe supports provided in this embodiment of the invention will be described first. Figure 1 The flowcharts corresponding to the embodiments of the present invention are shown below. Figure 1 The method includes the following steps: Step S102: Display the drawing tool interface through the graphical user interface.
[0027] Step S104: Respond to the output instruction parameters applied to the output tool interface.
[0028] In traditional methods, the execution of the drawing output process heavily relies on the operator's experience with PDMS software. The complex software interface and unintuitive interaction logic result in a high operational threshold, impacting drawing efficiency and accuracy. To address this, this invention presents users with an intuitive and easy-to-use drawing tool interface, establishing an interactive channel between user operations and automated drawing logic. Users can efficiently convey their operational intentions by providing drawing instruction parameters based on their drawing needs, achieving intelligent drawing output control. Under this premise, users can guide the complex automated background drawing process through simple operations, without needing to deeply understand the complex backend logic, achieving automatic drawing generation that meets individual needs and possesses high accuracy, improving user experience and efficiency. Furthermore, it avoids the problem of errors caused by manually adjusting multiple options, reducing the error rate.
[0029] Step S106: Based on the drawing instruction parameters, determine the target drawing paper and its corresponding drawing logic in the preset layer.
[0030] Step S108: Using the pre-configured drawing process parameters, perform drawing processing on the target drawing paper according to the drawing logic.
[0031] In one implementation, the drawing instruction parameters include corresponding symbol parameters, such as numbers, to indicate the number of drawings to be drawn or the drawing loop logic. Furthermore, the content indicated by the drawing instruction parameters can be set according to requirements, such as using different parameters to indicate the corresponding drawing type. All printable drawing resources can be pre-stored uniformly in corresponding layers, such as the same "DRWG" layer. For example, various standard drawings can be categorized by type, project, or purpose and centrally stored in preset layers for easy retrieval and version control. Furthermore, layer configurations can be customized according to the drawing requirements of different projects, enabling flexible organization and refined management of drawing resources.
[0032] Based on the drawing instruction parameters applied to the drawing tool interface, this embodiment of the invention utilizes pre-configured drawing process parameters to process the corresponding required drawing drawings according to the corresponding drawing logic, forming a drawing implementation method that standardizes the process, modularizes the logic, and parameterizes the operation of complex drawing tasks.
[0033] In this embodiment of the invention, the complex drawing production steps that originally relied on manual execution by professionals are encapsulated and logically preset, allowing users to drive the entire drawing production process by inputting only a few key parameters. This forms an intelligent drawing production method that is user-intention-oriented, system logic-centered, and supported by automated execution. Compared to the traditional method that relies on skilled personnel for manual operation, this embodiment of the invention uses a standardized process to uniformly process a large number of drawings, completing automated and batch drawing generation tasks without human intervention. This replaces the traditional mode that relies on manual operation of each drawing individually. Even non-professionals can quickly get started to complete the drawing production task, effectively reducing the dependence on human experience and lowering training and labor costs. Moreover, based on this embodiment of the invention, it is possible to complete the batch generation of hundreds of drawings in a single operation, while ensuring the consistency of the drawing production operation, significantly improving the accuracy and efficiency of the drawing production operation, and shortening the project cycle.
[0034] In summary, the batch drawing method for pipe supports provided by this invention replaces the traditional manual drawing-by-drawing mode by introducing a graphical user interface and a drawing instruction parameter response mechanism, realizing a parameter-driven automated drawing process. Compared with the prior art, this invention has made significant improvements in human-computer interaction, control logic, execution efficiency, and digitization capabilities, effectively solving the problems of low efficiency, high error rate, and high cost of manual drawing, and adapting to the development needs of modern engineering projects for high quality, high efficiency, and full-process digitization.
[0035] Furthermore, based on the above embodiments, this invention also provides another method for batch drawing production of pipe supports. This invention, by combining automated scripts, process optimization, and intelligent operation, achieves full automation from drawing import to batch export, significantly improving work efficiency and drawing quality. Specifically, Figure 2 This diagram illustrates a flowchart of another method for batch drawing of pipe supports provided by an embodiment of the present invention, with reference to... Figure 2 The method includes the following steps: Step S202: Display the drawing tool interface through the graphical user interface.
[0036] Step S204: Respond to the output instruction parameters applied to the output tool interface.
[0037] Step S206: If the output indicator parameters meet the preset first parameter, determine the target output drawings that meet the first preset quantity from the preset layers, and perform output processing on the target output drawings according to the pre-recorded output execution steps.
[0038] In one implementation, the output instruction parameter includes a first parameter and a second parameter to indicate different output requirements. Specifically, the first parameter in this embodiment can be set to a fixed numerical parameter, so that upon receiving this parameter, the output logic indicated by the parameter is followed, such as processing the output of a preset number of drawings. In conjunction with the above steps, this first preset number can be a preset output target value, so that when the output instruction parameter applied to the output tool interface is the first parameter, the output process parameters are used to process the target output drawings of a preset layer according to this output target value.
[0039] In one implementation, the first parameter can be "1", and the first preset parameter corresponding to the output logic can also be "1". That is, the user can input "1" into the output tool interface based on their output requirements to indicate that output is needed. Figure 1 For each set of drawings, output them sequentially in the preset layer. Figure 1 Zhang is sufficient.
[0040] Step S208: If the output indicator parameters meet the preset second parameter, the export control is displayed through the output tool interface.
[0041] Step S210: Respond to the input export parameters and determine the drawing export logic of the target drawing based on the export parameters.
[0042] Step S212: Using the pre-configured drawing process parameters, perform drawing processing on the target drawing paper according to the drawing logic.
[0043] Combining the above steps, the second parameter can be used to characterize non-fixed value drawing requirements. Correspondingly, this embodiment of the invention also displays an export control based on the response second parameter, such as providing a pop-up window, to receive the export parameters corresponding to the second parameter through the export control, thereby determining the final drawing execution logic, such as loop logic. Users can input corresponding values through the export control to indicate the drawing target through numerical values. In specific implementation, the value of the export parameter can be used to indicate the number of search loops, so as to determine the number of search loops for the target drawing based on the value of the export parameter, and determine the number of search loops as the number of executions of the drawing process parameters, and determine the drawing export logic corresponding to the export parameter. Corresponding to the second parameter, this embodiment of the invention determines the drawings in the preset layer as the target drawing drawings in sequence according to the number of executions in the drawing export logic. Further, according to the drawing process parameters, a click operation is performed on the preset drawing position of the preset layer to perform drawing processing on the target drawing drawing.
[0044] Correspondingly, this embodiment of the invention describes the drawing search logic by designing an automated script. Combining the above steps, the derived parameters of the first and second parameters in this embodiment can respectively include 1, -1, and >1. In this automated script, the drawing process parameters can be represented in image form. Correspondingly, the image position recognition function can search for specific images on the screen (e.g., images containing different information, such as icons or buttons, corresponding to different operation positions) based on the provided parameters (e.g., the operation position required for each drawing in the drawing process parameters), and perform a click operation when found. The retry strategy can be determined based on the value of the reTry parameter. Specifically, when reTry == 1, it corresponds to the first parameter mentioned above. It will search for images in an infinite loop until found, and then perform a click. In this embodiment of the invention, the click operation can be performed based on a preset image confidence level to sequentially draw the drawings in the preset layer. Figure 1 Zhang. When the output instruction parameter differs from the first parameter mentioned above (e.g., the input is 2), further queries are made to obtain the corresponding export parameters. Specifically, when reTry == -1, it will also infinitely loop to search for the image, but will continue searching each time an image is found without exiting the loop (unless externally intervened). Correspondingly, this parameter can be used to export the drawings in the preset layers sequentially until all are exported. Furthermore, when reTry > 1, it will attempt to search for the image and perform a click a maximum of reTry times. If the Esc key is pressed during the attempt, the loop will be interrupted.
[0045] Based on the above steps, the corresponding execution logic can be represented as follows: 1. RT==1: P(S)=P(Z)=Z; 2. RT==∞: P(S)=1-(1-P(Z))∞=1-(1-Z)∞, therefore P(S)→1; 3. RT>1:P(S)=1-(1-P(Z))RT=1-(1-Z)RT>0.9.
[0046] Here, RT represents the reTry parameter, i.e., the number of times image location recognition is executed. Correspondingly, it can be used to represent the number of loops for each clickable location parameter in the image output process parameters. Z represents the image confidence (generally between 0.9 and 1), i.e., the similarity between the input image and the image at the location searched on the screen. Corresponding to each click location in the image output process parameters being preserved in image form, the image confidence is used to indicate whether the currently automatically executed trigger location (image) matches the pre-recorded click location (image). P(Z) represents the probability of successfully finding the image. P(S) represents the probability of successfully finding the image and executing the click. The higher the confidence of the input image, the higher the probability of image location recognition, which is used to indicate the probability of successfully triggering the corresponding location, ensuring that each click location is automatically and successfully triggered in sequence according to the pre-recorded execution order, thus ensuring successful image output. It should be noted that the image output process parameters can also be stored in a preset database in other forms, such as the absolute coordinates of the area to be recorded, the attribute identifier of the target click location, etc.
[0047] Furthermore, in conjunction with the above steps, the embodiments of the present invention determine the drawing process parameters through the following steps: 1) In response to the recording start signal of the preset layer of the preset plotting software, generate the area to be recorded of the preset layer.
[0048] 2) Respond to multiple click operations applied to the area to be recorded.
[0049] 3) Record the click position corresponding to the click operation, and the click order of each click position; and identify the interval between each click position.
[0050] 4) Based on the click location, click order, and interval duration, generate the output execution steps corresponding to the preset layer.
[0051] In one implementation, the area to be recorded can be determined based on the image content obtained from a screenshot operation performed on a preset layer of the pre-defined output software. For example, the screenshot software captures the screen area and location to be operated on, including clicked buttons and menu options in the software interface. Further, the corresponding positions in the area to be recorded are clicked sequentially according to all operation steps, thereby recording the click position for each execution step. Simultaneously, the click order and interval duration can also be recorded, resulting in a modular output execution step. Figure 3 The diagram illustrates the recorded data of the loop logic and output execution steps corresponding to an embodiment of the present invention, with clicked positions represented by coordinates. It should be noted that the waiting time can be determined based on the interval between each position in the recording process, or the corresponding waiting time can be determined according to requirements and recorded in the corresponding table, thus achieving data adjustability.
[0052] 5) Store the plotting steps in the preset location of the preset table and generate plotting process parameters.
[0053] In practical implementation, relevant data can be recorded in a table according to preset rules, including click positions, sequences, parameter settings, etc., thereby generating drawing process parameters. In one implementation, corresponding drawing execution steps can be recorded for different layers to meet the drawing requirements of different drawing tasks. In summary, after determining the number of drawings and task requirements based on the corresponding parameters, the number of times the program is executed in a loop can be determined accordingly. Furthermore, the program can read the operation steps and parameters recorded in the table corresponding to the drawing process parameters to process the target drawings step by step. Among them, the automatically executed drawing export operation includes path selection, parameter setting, and file saving.
[0054] Furthermore, to ensure data accuracy, this embodiment of the invention also performs anomaly verification on the parameters of the graph output process. In one implementation, a predefined verification function can be called to check the format, completeness, and logic of the table content to verify the executability of the table data. The verification function may include the following: 1- Input Data Validity (IDV): If the data has been correctly loaded and contains at least two rows of data, then IDV = true. 2- Code Logic Correctness (CLC): If the code logic is correct and there are no missing or incorrect conditional judgments, then CLC = true. 3- Exception Handling (EH): There is no explicit exception handling; based on the current logic and assumptions, the probability of encountering an exception is extremely low, assigned a value of 0.99 (indicating high reliability, but not perfect). 4- Executability (ED): All external dependencies have been correctly installed and imported, then ED = true. Correspondingly, Executability = IDV × CLC × EH × ED = true × true × 0.99 × true = 0.99.
[0055] Furthermore, this embodiment of the invention also defines mouse event functions to verify the executability of corresponding mouse events. For example, for moving to the destination, left-click, left-double-click, right-click, etc., the following functions are used for verification. For example: 1- Input data validity IDV: If the data has been correctly loaded and contains at least one row of data, then IDV = true. 2- Dependencies LD: If all necessary libraries have been installed and imported, then LD = true. 3- Code logic CL: If the definition of the referenced table data check function and image position recognition function has been correctly defined and accepts the correct parameters, and all conditional statements are logically correct, then CL = true. 4- Execution condition EC: If the data type and value meet expectations, then EC = true. 5- Error handling EH: If the code lacks an error handling mechanism, and the probability of encountering an exception is extremely low based on the current logic and assumptions, then EH = 0.99 (indicating extremely high reliability, but not perfect). Correspondingly, executability = IDV × LD × CL × EC × EH = true × true × true × true × 0.99 = 0.99.
[0056] Furthermore, the drawing process based on the drawing process parameters can be pre-trained, and the drawing process of the corresponding target drawings can be recorded to generate a monitoring report of the drawing process, such as outputting execution status, export results, and error reports, thereby enabling real-time monitoring of the program's performance. This allows users to promptly check and correct relevant parameters (such as drawing process parameters) to ensure stable operation and accurate results. Furthermore, after the program stabilizes, automated batch drawing export tasks can be executed to generate the final output.
[0057] In summary, this invention, through standardized operating procedures and intelligent verification mechanisms, thoroughly solves common problems encountered in manual operations, such as path selection errors, file saving errors, and annotation errors. The system performs data checks during the export process and automatically corrects potential errors, improving the accuracy of output drawings. More importantly, automated drawing generation ensures that regardless of the number of drawings, a consistently high standard is maintained, avoiding quality fluctuations caused by human differences and achieving a unified quality standard.
[0058] This invention not only effectively addresses the need for exporting large batches of drawings but also rapidly responds to frequent drawing modifications, significantly enhancing the dynamic management capabilities of engineering projects. Through scripting and programming, it integrates the design of pipe supports with the drawing export process, laying the foundation for digital management throughout the entire lifecycle of engineering projects. The system generates standardized, traceable export records, facilitating subsequent project review and tracking. Furthermore, the shift from manual, step-by-step export to one-click batch operation achieves complete automation of the drawing output process, marking a significant breakthrough in technological workflow. Moreover, it enables multi-threaded parallel operation, allowing the simultaneous export of multiple drawings and improving efficiency. In summary, this invention not only improves production efficiency but also advances the digitalization and automation of engineering projects.
[0059] Furthermore, based on the above embodiments, this invention also provides a batch drawing device for pipe supports. Figure 4 A structural schematic diagram corresponding to an embodiment of the present invention is shown below. Figure 4 The device includes: a display module 100 for displaying a drawing tool interface through a graphical user interface; a response module 200 for responding to drawing instruction parameters acting on the drawing tool interface; an execution module 300 for determining the target drawing sheet and its corresponding drawing logic in a preset layer based on the drawing instruction parameters; and an output module 400 for performing drawing processing on the target drawing sheet according to the drawing logic using pre-configured drawing process parameters. The batch drawing device for pipe supports provided in this embodiment of the invention has the same technical features as the method embodiment provided in the above embodiments, and therefore can also solve the same technical problems and achieve the same technical effects.
[0060] Furthermore, the present invention also provides a batch drawing system for pipe supports, the system being configured with the apparatus of the above embodiments for performing the methods provided in any of the above embodiments.
[0061] In one implementation, the system includes a screenshot module 10 for capturing operation locations and marking click points in the software interface; a table recording module 20 for storing and managing output steps and parameter information; an automation script module 30 for automating the output operation; a verification module 40 for performing logical checks and error reporting on the table content and exported results; and an electronic device 50, including a computer or server running the program. Figure 5 A schematic diagram of the structure corresponding to an embodiment of the present invention is shown.
[0062] The batch drawing system for pipe supports provided in this embodiment of the invention has the same implementation principle and technical effect as the aforementioned method embodiment. For the sake of brevity, any parts not mentioned in the device embodiment can be referred to the corresponding content in the aforementioned method embodiment.
[0063] This invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the above-described... Figures 1 to 2 The steps of the method are shown. Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the above-described steps. Figures 1 to 2 The steps of any of the methods shown. Embodiments of the present invention also provide a structural schematic diagram of an electronic device, such as... Figure 6 The diagram shown is a structural schematic of the electronic device, which includes a processor 61 and a memory 60. The memory 60 stores computer-executable instructions that can be executed by the processor 61. The processor 61 executes the computer-executable instructions to implement the above-mentioned... Figures 1 to 2 Any of the methods shown. In Figure 6 In the illustrated embodiment, the electronic device further includes a bus 62 and a communication interface 63, wherein the processor 61, the communication interface 63, and the memory 60 are connected via the bus 62. The memory 60 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk drive. Communication between this system network element and at least one other network element is achieved through at least one communication interface 63 (which can be wired or wireless), using the Internet, wide area network, local area network, metropolitan area network, etc. Bus 62 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, or an AMBA (Advanced Microcontroller Bus Architecture) bus. AMBA defines three types of buses: APB (Advanced Peripheral Bus), AHB (Advanced High-performance Bus), and AXI (Advanced deXtensible Interface). Bus 62 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0064] Processor 61 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 61 or by instructions in software form. Processor 61 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in the memory. The processor 61 reads the information in the memory and, in conjunction with its hardware, completes the aforementioned task. Figures 1 to 2 Any of the methods shown.
[0065] The computer program product of the batch drawing method, apparatus, and system for pipe supports provided in this invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system described above can be referred to the corresponding process in the preceding method embodiments, which will not be repeated here. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0066] In the description of this invention, it should be noted that the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Finally, it should be noted that the above embodiments are merely specific implementations of this invention, used to illustrate the technical solutions of this invention, and not to limit it. The scope of protection of this invention is not limited thereto. Although this invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in this invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this invention, and should all be covered within the scope of protection of this invention. Therefore, the scope of protection of this invention should be determined by the scope of the claims.
Claims
1. A method for batch drawing of pipe supports, characterized in that, The method includes: The graphical user interface displays the drawing tools interface; The output instruction parameters applied to the output tool interface are responded to. Based on the output indication parameters, the target output drawing paper and its corresponding output logic in the preset layer are determined; Using pre-configured drawing process parameters, the target drawing paper is processed according to the drawing logic; The step of determining the target drawing sheet and its corresponding drawing logic in the preset layer based on the drawing indication parameters includes: If the output instruction parameter satisfies the preset first parameter, a target output drawing sheet that meets the first preset quantity is determined from the preset layer, and the output processing is performed on the target output drawing sheet according to the pre-recorded output execution steps; If the output indicator parameter meets the preset second parameter, the export control is displayed through the output tool interface; the export control is used to input the export parameter. In response to the input export parameters, the drawing export logic for the target drawing is determined based on the export parameters.
2. The method according to claim 1, characterized in that, The steps for determining the drawing export logic of the target drawing based on the export parameters include: Based on the value of the exported parameters, determine the number of search loops for the target output drawing; The number of search loops is determined as the number of times the drawing output process parameters are executed, and the drawing export logic corresponding to the export parameters is determined.
3. The method according to claim 2, characterized in that, When the output indication parameter meets the preset second parameter, the steps of performing output processing on the target output drawing according to the output logic using the pre-configured output process parameters include: According to the number of executions in the drawing export logic, the drawings in the preset layers are sequentially determined as the target output drawings; Clicking on the preset plotting position of the preset layer according to the plotting process parameters is performed to perform plotting processing on the target plotting drawing.
4. The method according to claim 1, characterized in that, The method for determining the parameters of the plotting process includes: In response to a recording start signal acting on a preset layer of the preset plotting software, a recording area for the preset layer is generated; Respond to multiple click operations applied to the area to be recorded; Record the click position corresponding to the click operation, and the click order of each click position; and identify the time interval between each click position; Based on the click location, the click order, and the interval duration, generate the output execution steps corresponding to the preset layer; The plotting execution steps are stored in a preset location in a preset table to generate plotting process parameters.
5. The method according to claim 4, characterized in that, The steps for generating the area to be recorded in response to the recording start signal include: The screenshot operation is performed on the preset layer of the preset output software. Based on the image content obtained from the screenshot operation, a region to be recorded is generated.
6. The method according to claim 4, characterized in that, The method further includes: Anomaly verification is performed on the parameters of the output process.
7. The method according to claim 1, characterized in that, The method further includes: The drawing process of the target drawing is recorded, and a monitoring report of the drawing process is generated; Based on the monitoring report, the parameters of the output process are adjusted.
8. A batch drawing output device for pipe supports, characterized in that, The device includes: The display module is used to show the drawing tool interface through a graphical user interface. The response module is used to respond to the output instruction parameters applied to the output tool interface; The execution module is used to determine the target drawing sheet and its corresponding drawing logic in the preset layer based on the drawing instruction parameters. The output module is used to perform drawing processing on the target drawing paper according to the drawing logic using pre-configured drawing process parameters; The step of determining the target drawing sheet and its corresponding drawing logic in the preset layer based on the drawing indication parameters includes: If the output instruction parameter satisfies the preset first parameter, a target output drawing sheet that meets the first preset quantity is determined from the preset layer, and the output processing is performed on the target output drawing sheet according to the pre-recorded output execution steps; If the output indicator parameter meets the preset second parameter, the export control is displayed through the output tool interface; the export control is used to input the export parameter. In response to the input export parameters, the drawing export logic for the target drawing is determined based on the export parameters.
9. A batch drawing system for pipe supports, characterized in that, The device of claim 8 is configured to perform the method of any one of claims 1-7.