Engineering drawing printing method, device, electronic equipment and storage medium
The integration of QR codes and preset templates with engineering drawings automates the addition of information, enhancing efficiency and accuracy in non-standard mechanical parts processing.
Patent Information
- Application Number
- CN202211500212.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2042-11-28
AI Technical Summary
In non-standard automated mechanical parts processing, adding customer information, production quantity, processing technology, and precautions to part drawings by handwriting or stamping is inefficient and prone to errors due to the small production runs of each part drawing, affecting subsequent processing accuracy.
A method and device for printing engineering drawings that integrates a QR code, a preset template, and engineering drawings by generating a QR code based on part specifications, filling a template with production information, and integrating these with the drawings to automate the addition of information.
Improves efficiency and accuracy in adding information to engineering drawings, facilitating subsequent production processes by automating the inclusion of necessary details.
Smart Images

Figure CN115871361B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of drawing printing, and in particular to a method, device, electronic device and storage medium for printing engineering drawings. Background Art
[0002] In the field of non-standard automated mechanical parts processing, before formal processing, in order to facilitate processing personnel to refer to the drawings for processing, it is usually necessary to add customer information, production quantity, processing technology, precautions and other information to the corresponding parts drawings.
[0003] Usually, this information is added by handwriting or stamping with a preset stamp. However, in the non-standard field, there are many types of part drawings. Due to their non-standard characteristics, the number of parts produced according to each part drawing is relatively small, which leads to the need to repeatedly add the aforementioned information to different part drawings. The above-mentioned method of adding information is inefficient and prone to errors, which may have an adverse effect on subsequent part processing. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for printing engineering drawings to improve the efficiency of adding information to engineering drawings.
[0005] In a first aspect, an embodiment of the present application provides a method for printing an engineering drawing, the method comprising:
[0006] Obtaining a bill of materials and engineering drawings sent by an ordering customer, wherein the bill of materials includes production information of at least one part, and the production information includes specifications and models, and each of the engineering drawings corresponds to a part and is marked with the specifications and models of the corresponding parts;
[0007] For any target part in the bill of materials, generate a QR code based on the specification model corresponding to the target part;
[0008] Retrieving a preset template, and filling the content of the preset template based on the production information of the target part in the bill of materials;
[0009] The QR code of the target part, the filled preset template corresponding to the target part and the engineering drawing corresponding to the specification model of the target part are integrated to obtain the drawing to be printed of the target part, and the drawing to be printed is printed to complete the printing of the engineering drawing of the target part.
[0010] In a second aspect, an embodiment of the present application provides an engineering drawing printing device, the device comprising:
[0011] An acquisition module is used to acquire a bill of materials and engineering drawings sent by an ordering customer, wherein the bill of materials includes production information of at least one part, and the production information includes specifications and models, and each of the engineering drawings corresponds to a part and is marked with the specifications and models of the corresponding parts;
[0012] A QR code generation module, for generating a QR code for any target part in the bill of materials based on the specification model corresponding to the target part;
[0013] A template filling module, used to call a preset template and fill the content of the preset template based on the production information of the target part in the bill of materials;
[0014] The integration module is used to integrate the QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part to obtain the drawing to be printed of the target part, and print the drawing to be printed to complete the printing of the engineering drawing of the target part.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising:
[0016] one or more processors;
[0017] a storage device for storing one or more programs,
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the engineering drawing printing method provided in any embodiment of the present application.
[0019] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, characterized in that when the program is executed by a processor, an engineering drawing printing method as provided in any embodiment of the present application is implemented.
[0020] The technical solution of the embodiment of the present application is to obtain the bill of materials and engineering drawings sent by the ordering customer, the bill of materials includes the production information of at least one part, the production information includes the specification model, each engineering drawing corresponds to a part, and is marked with the specification model of the corresponding part; for any target part in the bill of materials, a QR code is generated based on the specification model corresponding to the target part; a preset template is retrieved, and the content of the preset template is filled based on the production information of the target part in the bill of materials; the QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part are integrated to obtain the drawing to be printed of the target part, and the drawing to be printed is printed to complete the printing of the engineering drawing of the target part. Based on this, the required information can be automatically added to the engineering drawings of each part based on the bill of materials and printed, which improves the efficiency and accuracy of adding information and facilitates the subsequent production personnel to process and produce parts according to the engineering drawings with added information. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic diagram of the process of printing an engineering drawing provided in Example 1 of the present application;
[0022] Figure 2 A schematic diagram of a drawing to be printed provided in Example 1 of the present application;
[0023] Figure 3 A schematic diagram of the structure of an engineering drawing printing device provided in Embodiment 2 of the present application;
[0024] Figure 4 A schematic diagram of the structure of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION
[0025] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0026] Embodiment 1
[0027] Figure 1 This is a flow chart of the engineering drawing printing method provided in the first embodiment of the present application. This embodiment is described from the first platform end. The method can be applied to the scenario of engineering drawing printing. The method can be executed by an engineering drawing printing device, which can be implemented in hardware and / or software, and can generally be integrated in an electronic device such as a computer with data computing capabilities, and specifically includes the following steps:
[0028] Step 101, obtain the bill of materials and engineering drawings sent by the ordering customer, the bill of materials includes the production information of at least one part, the production information includes specifications and models, each engineering drawing corresponds to a part, and is marked with the specifications and models of the corresponding parts.
[0029] In this step, the ordering customer may send the bill of materials and engineering drawings through platforms such as emails and instant messaging tools. Therefore, it is possible to detect whether the corresponding type of files are received in the email or instant messaging tool, and link the corresponding ordering customer according to the source of the file.
[0030] Of course, it can also be manually uploaded to the platform implementing the application method and linked to the customer code of the ordering customer. In this step, the bill of materials and engineering drawings can be retrieved directly according to the customer code of the ordering customer.
[0031] It should be noted that the bill of materials in this step may include production information of at least one part, and the production information may include serial number, material code, material name, specification model, unit, item number, and total quantity.
[0032] Usually, a part will have an engineering drawing corresponding to it, which will identify the processing dimensions and detailed part structure of the corresponding part. The engineering drawing of each part will be identified by the specification model in the bill of materials, and the identification method can be to name the engineering drawing using the specification model.
[0033] Step 102: For any target part in the bill of materials, generate a QR code based on the specification model corresponding to the target part.
[0034] For ease of explanation, this step is described for any target part in the bill of materials. The processing methods for other parts are the same as that for the target part, so they will not be repeated here.
[0035] When generating a QR code, it can be compiled and generated based solely on the specifications and models of the parts, because for the same order, parts with the same specifications and models generally do not appear. During subsequent production, it is also convenient to track and manage the production process of parts in the same order.
[0036] Of course, there may be many orders being produced at the same time. To ensure uniqueness, the order number and specification model can be compiled into a QR code together. Specifically, the string "order number + specification model" can be compiled to generate a QR code. The QR code generated in this way is helpful to distinguish parts with the same specification model that may appear in different orders.
[0037] It should be noted that the process of compiling a character string into a QR code can refer to the relevant technology of QR code generation, which will not be repeated here.
[0038] In addition, the QR code generated in this step can be provided to the processing and production personnel to scan after each process is completed, so as to record the processing progress of the parts. Specifically, after scanning the QR code, the scanning time, the process corresponding to the scanning machine, and the operator can be recorded, which is convenient for the subsequent management of the processing process.
[0039] Step 103: retrieve a preset template and fill in the content of the preset template based on the production information of the target part in the bill of materials.
[0040] In this step, when retrieving the preset template, the target customer identifier of the ordering customer may be obtained first, and the preset template corresponding to the target customer identifier may be retrieved based on the mapping relationship between the preset customer identifier and the preset template.
[0041] It should be noted that, since each customer has different drawing habits, but the drawing habits of the customer's internal personnel are basically the same, different templates can be set for different customers. The template is used to fill in the aforementioned production information, making it easier for processing and production personnel to refer to the information for subsequent production.
[0042] The target customer identifier refers to the aforementioned customer code. In order to keep the customer information confidential, the present embodiment may use the customer code to identify different customers.
[0043] In addition, the mapping relationship refers to the correspondence between the customer ID and different preset templates. Different preset templates can be named, and then the correspondence between the customer ID and the template name is saved in the mapping relationship. The corresponding target template name can be found through the target customer ID, and the preset template corresponding to the target template name can be retrieved, that is, the preset template corresponding to the target customer ID.
[0044] Of course, for new customers, you can manually map the preset templates to them first.
[0045] When the content of the preset template is filled based on the production information of the target part in the bill of materials, work order information can be generated based on the production information of the target part in the bill of materials, and the work order information can be filled in the first preset position of the preset template.
[0046] Then, the pre-stored process information is obtained, and the process information includes multiple processes; the recommended process and the recommended process sequence in the process information are determined according to the historical production data of the ordering customer; the process information, the recommended process and the recommended process sequence are filled into the second preset position of the preset template, and the content filling of the preset template is completed.
[0047] Among them, process information may include laser, wire cutting, CNC1, lathe, milling machine, CNC2, straightening, fine milling, fine grinding, welding, coreless grinding, cylindrical grinding, stress relief, tapping, etc. In order to avoid the inability to mark due to unincluded processes, multiple reserved positions can be set in the first preset position. If unincluded processes appear, they can be filled in manually.
[0048] In addition, in this step, determining the recommended process and the recommended process sequence in the process information based on the historical production data of the ordering customer refers to selecting the process required for processing and producing the part from the process information and determining the processing sequence of the required process.
[0049] It should be noted that the required process and processing sequence are determined based on historical production data and may be inaccurate, so they are set as recommended processes and recommended process times for engineers' reference.
[0050] Specifically, we can first find out whether there are similar parts in the historical production data of the ordering customer whose similarity with the target part is greater than a preset threshold. We can determine the similarity between the structural diagrams of the parts in the engineering drawings. The process of determining the image similarity can refer to the relevant technology and will not be repeated here.
[0051] If so, the suggested process and suggested process sequence in the second preset position of the preset template in the to-be-printed drawing of the similar part can be determined as the suggested process and suggested process sequence of the target part.
[0052] In addition, it is also possible to check from the bill of materials whether the target part has any user-specific requirement information, and if so, fill the user-specific requirement information into the third preset position of the preset template. The name of the third preset position may be a remark.
[0053] Step 104, integrate the QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part to obtain the drawing to be printed of the target part, and print the drawing to be printed to complete the printing of the engineering drawing of the target part.
[0054] In this step, the QR code of the target part and the filled preset template corresponding to the target part can be filled into the preset blank page, and the unused area of the filled preset blank page can be detected; then, based on the size of the unused area, the engineering drawings corresponding to the specification model of the target part are scaled, and the scaled engineering drawings are filled into the unused area to obtain the drawings to be printed of the target part.
[0055] In a specific example, the preset blank page can be an A4 horizontal layout (size 297mmX210mm), the second preset position can be a table at the upper left corner of the preset blank page, 10mm away from the upper edge and the left edge. The first preset position can be within the range of 20mm*20mm in the upper right corner of the preset blank page, which is used to fill in the QR code. The vertical table of 30mmX160mm below the QR code (i.e., the third preset position) is used to annotate the necessary precautions during processing during the quotation review process by the process engineer. When printing, the text content will be automatically extracted to the table and printed out to remind employees to pay attention.
[0056] For details, please refer to Figure 2 , Figure 2 A schematic diagram of a drawing to be printed provided in Example 1 of the present application.
[0057] In this embodiment, the bill of materials and engineering drawings sent by the ordering customer are obtained. The bill of materials includes the production information of at least one part, and the production information includes specifications and models. Each engineering drawing corresponds to a part and is marked with the specifications and models of the corresponding parts. For any target part in the bill of materials, a QR code is generated based on the specifications and models corresponding to the target part. The preset template is retrieved, and the content of the preset template is filled based on the production information of the target part in the bill of materials. The QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawings corresponding to the specifications and models of the target part are integrated to obtain the drawings to be printed of the target part, and the drawings to be printed are printed to complete the printing of the engineering drawings of the target part. Based on this, the required information can be automatically added to the engineering drawings of each part based on the bill of materials and printed, which improves the efficiency and accuracy of adding information and facilitates subsequent production personnel to process and produce parts according to the engineering drawings with added information.
[0058] Embodiment 2
[0059] Figure 3 This is a schematic diagram of the structure of an engineering drawing printing device provided in the second embodiment of the present application. The engineering drawing printing device provided in the embodiment of the present application can execute the engineering drawing printing method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. The device can be implemented in software and / or hardware, such as Figure 3 As shown, the fault locating device for abnormal BMC restart specifically includes: an acquisition module 301 , a two-dimensional code generation module 302 , a template filling module 303 , and an integration module 304 .
[0060] The acquisition module is used to acquire the bill of materials and engineering drawings sent by the ordering customer, wherein the bill of materials includes production information of at least one part, and the production information includes specifications and models, and each of the engineering drawings corresponds to a part and is marked with the specifications and models of the corresponding parts;
[0061] A QR code generation module, for generating a QR code for any target part in the bill of materials based on the specification model corresponding to the target part;
[0062] A template filling module, used to call a preset template and fill the content of the preset template based on the production information of the target part in the bill of materials;
[0063] The integration module is used to integrate the QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part to obtain the drawing to be printed of the target part, and print the drawing to be printed to complete the printing of the engineering drawing of the target part.
[0064] In this embodiment, the bill of materials and engineering drawings sent by the ordering customer are obtained, the bill of materials includes the production information of at least one part, the production information includes the specification model, each of the engineering drawings corresponds to a part, and is marked with the specification model of the corresponding part; for any target part in the bill of materials, a QR code is generated based on the specification model corresponding to the target part; a preset template is retrieved, and the content of the preset template is filled based on the production information of the target part in the bill of materials; the QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part are integrated to obtain the drawing to be printed of the target part, and the drawing to be printed is printed to complete the printing of the engineering drawing of the target part. Based on this, the required information can be automatically added to the engineering drawings of each part based on the bill of materials and printed, which improves the efficiency and accuracy of adding information and facilitates subsequent production personnel to process and produce parts according to the engineering drawings with added information.
[0065] Furthermore, the template filling module includes:
[0066] The retrieving unit is used to obtain the target customer identifier of the ordering customer, and retrieve the preset template corresponding to the target customer identifier based on the mapping relationship between the preset customer identifier and the preset template.
[0067] Furthermore, the template filling module includes:
[0068] A first filling unit, configured to generate work order information based on the production information of the target part in the bill of materials, and fill the work order information into a first preset position of the preset template;
[0069] A process acquisition unit, used to acquire pre-stored process information, wherein the process information includes a plurality of processes;
[0070] A suggestion acquisition unit, used to determine the suggested process and the suggested process sequence in the process information according to the historical production data of the ordering customer;
[0071] The second filling unit is used to fill the process information, the recommended process and the recommended process sequence into the second preset position of the preset template, so as to complete the filling of the content of the preset template.
[0072] Furthermore, the template filling module includes:
[0073] A first filling unit, configured to generate work order information based on the production information of the target part in the bill of materials, and fill the work order information into a first preset position of the preset template;
[0074] A process information acquisition unit, used to acquire pre-stored process information, wherein the process information includes a plurality of processes;
[0075] A suggestion acquisition unit, used to determine the suggested process and the suggested process sequence in the process information according to the historical production data of the ordering customer;
[0076] The second filling unit is used to fill the process information, the recommended process and the recommended process sequence into the second preset position of the preset template, so as to complete the filling of the content of the preset template.
[0077] Furthermore, the device also includes:
[0078] The third filling unit is used to search the bill of materials to see whether there is any user-specific requirement information for the target part. If so, fill the user-specific requirement information into the third preset position of the preset template.
[0079] Furthermore, the integrated module includes:
[0080] A detection unit, used to fill the QR code of the target part and the filled preset template corresponding to the target part into a preset blank page, and detect an unused area of the filled preset blank page;
[0081] The fourth filling unit is used to scale the engineering drawing corresponding to the specification model of the target part based on the size of the unused area, and fill the scaled engineering drawing into the unused area to obtain the drawing to be printed of the target part.
[0082] Embodiment 3
[0083] Figure 4 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present application is shown in FIG. Figure 4 As shown, the electronic device includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processor 410 in the electronic device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, the memory 420, the input device 430 and the output device 440 in the electronic device can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0084] The memory 420 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the engineering drawing printing method in the embodiment of the present invention. The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 420, that is, to implement the above-mentioned engineering drawing printing method:
[0085] Obtaining a bill of materials and engineering drawings sent by an ordering customer, wherein the bill of materials includes production information of at least one part, and the production information includes specifications and models, and each of the engineering drawings corresponds to a part and is marked with the specifications and models of the corresponding parts;
[0086] For any target part in the bill of materials, generate a QR code based on the specification model corresponding to the target part;
[0087] Retrieving a preset template, and filling the content of the preset template based on the production information of the target part in the bill of materials;
[0088] The QR code of the target part, the filled preset template corresponding to the target part and the engineering drawing corresponding to the specification model of the target part are integrated to obtain the drawing to be printed of the target part, and the drawing to be printed is printed to complete the printing of the engineering drawing of the target part.
[0089] In this embodiment, the bill of materials and engineering drawings sent by the ordering customer are obtained, the bill of materials includes the production information of at least one part, the production information includes the specification model, each of the engineering drawings corresponds to a part, and is marked with the specification model of the corresponding part; for any target part in the bill of materials, a QR code is generated based on the specification model corresponding to the target part; a preset template is retrieved, and the content of the preset template is filled based on the production information of the target part in the bill of materials; the QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part are integrated to obtain the drawing to be printed of the target part, and the drawing to be printed is printed to complete the printing of the engineering drawing of the target part. Based on this, the required information can be automatically added to the engineering drawings of each part based on the bill of materials and printed, which improves the efficiency and accuracy of adding information and facilitates subsequent production personnel to process and produce parts according to the engineering drawings with added information.
[0090] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0091] Embodiment 4
[0092] Embodiment 4 of the present application further provides a storage medium containing computer executable instructions, which are used to execute a method for printing engineering drawings when executed by a computer processor. The method includes:
[0093] Obtaining a bill of materials and engineering drawings sent by an ordering customer, wherein the bill of materials includes production information of at least one part, and the production information includes specifications and models, and each of the engineering drawings corresponds to a part and is marked with the specifications and models of the corresponding parts;
[0094] For any target part in the bill of materials, generate a QR code based on the specification model corresponding to the target part;
[0095] Retrieving a preset template, and filling the content of the preset template based on the production information of the target part in the bill of materials;
[0096] The QR code of the target part, the filled preset template corresponding to the target part and the engineering drawing corresponding to the specification model of the target part are integrated to obtain the drawing to be printed of the target part, and the drawing to be printed is printed to complete the printing of the engineering drawing of the target part.
[0097] In this embodiment, the bill of materials and engineering drawings sent by the ordering customer are obtained, the bill of materials includes the production information of at least one part, the production information includes the specification model, each of the engineering drawings corresponds to a part, and is marked with the specification model of the corresponding part; for any target part in the bill of materials, a QR code is generated based on the specification model corresponding to the target part; a preset template is retrieved, and the content of the preset template is filled based on the production information of the target part in the bill of materials; the QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part are integrated to obtain the drawing to be printed of the target part, and the drawing to be printed is printed to complete the printing of the engineering drawing of the target part. Based on this, the required information can be automatically added to the engineering drawings of each part based on the bill of materials and printed, which improves the efficiency and accuracy of adding information and facilitates subsequent production personnel to process and produce parts according to the engineering drawings with added information.
[0098] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present application are not limited to the above method operations, and can also execute related operations in the engineering drawing printing method provided in any embodiment of the present application.
[0099] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present application can be implemented with the help of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0100] It is worth noting that in the embodiment of the above-mentioned search device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0101] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A method for printing engineering drawings, characterized in that: The method comprises: Obtaining a bill of materials and engineering drawings sent by an ordering customer, wherein the bill of materials includes production information of at least one part, and the production information includes specifications and models, and each of the engineering drawings corresponds to a part and is marked with the specifications and models of the corresponding parts; For any target part in the bill of materials, if there are multiple orders for simultaneous production, the order number and the specification model corresponding to the target part are compiled into a QR code; if there are no multiple orders for simultaneous production, a QR code is generated based on the specification model corresponding to the target part; Retrieving a preset template, and filling the content of the preset template based on the production information of the target part in the bill of materials; The QR code of the target part, the filled preset template corresponding to the target part and the engineering drawing corresponding to the specification model of the target part are integrated to obtain the drawing to be printed of the target part, and the drawing to be printed is printed to complete the printing of the engineering drawing of the target part.
2. The method according to claim 1, characterized in that The calling of the preset template includes: The target customer identifier of the ordering customer is obtained, and based on the mapping relationship between the preset customer identifier and the preset template, the preset template corresponding to the target customer identifier is retrieved.
3. The method according to claim 1, characterized in that The filling the content of the preset template based on the production information of the target part in the bill of materials includes: Generate work order information based on the production information of the target part in the bill of materials, and fill the work order information into the first preset position of the preset template; Acquire pre-stored process information, where the process information includes multiple processes; Determine the recommended process and the recommended process sequence in the process information according to the historical production data of the ordering customer; The process information, the suggested process and the suggested process sequence are filled into the second preset position of the preset template to complete the filling of the content of the preset template.
4. The method according to claim 1, characterized in that: The method further comprises: The target part is searched from the bill of materials to see whether there is any user-specific requirement information. If so, the user-specific requirement information is filled into the third preset position of the preset template.
5. The method according to claim 1, characterized in that The step of integrating the two-dimensional code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part to obtain the drawing to be printed of the target part includes: Filling the QR code of the target part and the filled preset template corresponding to the target part into a preset blank page, and detecting an unused area of the filled preset blank page; The engineering drawing corresponding to the specification model of the target part is scaled based on the size of the unused area, and the scaled engineering drawing is filled into the unused area to obtain the drawing to be printed of the target part.
6. An engineering drawing printing device, characterized in that: The device comprises: An acquisition module is used to acquire a bill of materials and engineering drawings sent by an ordering customer, wherein the bill of materials includes production information of at least one part, and the production information includes specifications and models, and each of the engineering drawings corresponds to a part and is marked with the specifications and models of the corresponding parts; A QR code generation module is used for compiling the order number and the specification model corresponding to the target part into a QR code for any target part in the bill of materials if there are multiple orders for simultaneous production; if there are no multiple orders for simultaneous production, generating a QR code based on the specification model corresponding to the target part; A template filling module, used to call a preset template and fill the content of the preset template based on the production information of the target part in the bill of materials; The integration module is used to integrate the QR code of the target part, the filled preset template corresponding to the target part, and the engineering drawing corresponding to the specification model of the target part to obtain the drawing to be printed of the target part, and print the drawing to be printed to complete the printing of the engineering drawing of the target part.
7. The device according to claim 6, characterized in that The template filling module includes: The retrieving unit is used to obtain the target customer identifier of the ordering customer, and retrieve the preset template corresponding to the target customer identifier based on the mapping relationship between the preset customer identifier and the preset template.
8. The device according to claim 6, characterized in that The template filling module includes: A first filling unit, configured to generate work order information based on the production information of the target part in the bill of materials, and fill the work order information into a first preset position of the preset template; A process acquisition unit, used to acquire pre-stored process information, wherein the process information includes a plurality of processes; A suggestion acquisition unit, used to determine the suggested process and the suggested process sequence in the process information according to the historical production data of the ordering customer; The second filling unit is used to fill the process information, the recommended process and the recommended process sequence into the second preset position of the preset template to complete the content filling of the preset template.
9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the engineering drawing printing method as described in any one of claims 1-5.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the engineering drawing printing method as described in any one of claims 1 to 5 is implemented.
