Search

CN-116461096-B - Test method and device of 3D printing equipment, storage medium and electronic equipment

CN116461096BCN 116461096 BCN116461096 BCN 116461096BCN-116461096-B

Abstract

The invention discloses a testing method and device of 3D printing equipment, a storage medium and electronic equipment. The method comprises the steps of generating a test set file according to a to-be-tested item of 3D printing equipment to be tested, wherein the test set file is used for indicating the 3D printing equipment to execute corresponding 3D printing actions, obtaining test data in the process that the 3D printing equipment executes the corresponding 3D printing actions, and determining a test result of the 3D printing equipment according to the test data. The invention solves the technical problem of low test efficiency of the 3D printer.

Inventors

  • Li Diejun
  • Li Riyi
  • YANG PAN
  • LIU JING

Assignees

  • 广州黑格智造信息科技有限公司

Dates

Publication Date
20260512
Application Date
20230313

Claims (15)

  1. 1. A method for testing a 3D printing apparatus, comprising: Generating a test set file corresponding to a to-be-tested item according to the to-be-tested item of the 3D printing equipment, wherein the test set file is used for indicating the 3D printing equipment to execute a corresponding 3D printing action, and realizing individual test on a single module or function of the 3D printing equipment by designing different slice files, and realizing the configuration of the single function by configuring the parameters of the 3D printing equipment, so as to realize the function and performance of an automatic test module; acquiring test data in the process of executing the corresponding 3D printing action by the 3D printing equipment, wherein the test data comprises the closed-loop communication group image number of images; Determining a test result of the 3D printing equipment according to the test data, wherein the test result comprises that under the condition that an item to be tested is the effectiveness of testing the optimization of printing residues, the image closed communication group image number of a picture formed by the projected images is detected layer by layer, and the image residues in the group image number qualified range pass the optimization test; Under the condition that current test data obtained by the 3D printing equipment for printing the current test set file is received, determining that the 3D printing equipment prints the next test set file or stops testing the 3D printing equipment according to the current test data; The test set file comprises a target slice file, and the target slice file is determined according to a to-be-tested item of the 3D printing equipment to be tested.
  2. 2. The method of claim 1, wherein the test set file comprises a target slice file, wherein the determining the test set file according to the item to be tested of the 3D printing device to be tested comprises: Obtaining a standard slice file; and adjusting the standard slice file according to the item to be tested to obtain the target slice file.
  3. 3. The method of claim 2, wherein said adjusting said standard slice file according to said item to be tested comprises: determining the standard slice file as the target slice file when slice data corresponding to the item to be tested exists in the standard slice file; And under the condition that slice data corresponding to the item to be tested does not exist in the standard slice file, adjusting the standard slice file according to the item to be tested to obtain the target slice file.
  4. 4. A method according to claim 2 or 3, wherein said adjusting said standard slice file according to said item to be tested comprises: acquiring a plaintext view of the standard slice file, wherein the plaintext view comprises an initial solid cross-section; Determining a target entity cross-section of the plaintext view according to the item to be tested; and replacing the initial solid section diagram with the target solid section diagram to obtain the target slice file.
  5. 5. The method of claim 4, wherein said determining a target physical cross-sectional view of the plaintext view from the item to be tested comprises: Determining the position of each initial solid cross-sectional view in the plaintext view and the number of each initial solid cross-sectional view according to the item to be tested; determining the range of each initial solid cross-sectional view according to the positions, and calculating the white image pixel area and the number of connected pixels of each initial solid cross-sectional view according to the range; Removing interference pixels from each initial solid section according to the number of the connected white image pixel areas; and pruning the initial solid cross-sectional view after the interference pixels are removed according to the number, and determining the initial solid cross-sectional view after the pruning as the target solid cross-sectional view.
  6. 6. The method of claim 1, wherein the determining the test result of the 3D printing device from the test data comprises: Comparing the test data with theoretical parameters, wherein the theoretical parameters are operation parameters of the 3D printing equipment under the normal condition; under the condition that the test data is matched with the theoretical parameters, determining that the 3D printing equipment is normal; and determining that the 3D printing equipment is abnormal under the condition that the test data is not matched with the theoretical parameters.
  7. 7. The method of claim 1, wherein prior to determining the target slice file from the item to be tested of the 3D printing device to be tested, the method further comprises: And configuring a test environment for printing the target slice file for the 3D printing equipment.
  8. 8. The method of claim 7, wherein configuring the 3D printing device with a test environment for printing the target slice file comprises: Acquiring printing equipment parameters of the 3D printing equipment; And transmitting a script file containing the printing equipment parameters to the 3D printing equipment so that the 3D printing equipment runs the script file.
  9. 9. The method according to claim 1, wherein after determining the test set file according to the item to be tested of the 3D printing device to be tested, the method further comprises: and sending the test set file to middleware so that the middleware sends the test set file to the 3D printing equipment.
  10. 10. The method of claim 1, wherein before or after performing a 3D printing action by the 3D printing device in accordance with the test set file, the method further comprises: Determining a test task; and executing Internet test on the 3D printing equipment by using the test task.
  11. 11. The method of claim 10, wherein the step of determining the position of the first electrode is performed, The test task is at least one of issuing a print task, deleting a print task, upgrading a software/process package, and enabling/disabling the software process package.
  12. 12. The method of claim 11, wherein performing an internet test on the 3D printing device using the test task comprises: sending a notification message to the 3D printing device through the Internet of things so that the 3D printing device executes the test task; receiving a processing result of the 3D printing device executing the test task through the Internet of things; and executing full verification on the processing result.
  13. 13. A test apparatus for a 3D printing device, comprising: The system comprises a generation module, a test module and a display module, wherein the generation module is used for generating a test set file corresponding to a to-be-tested item according to the to-be-tested item of the to-be-tested 3D printing equipment, wherein the test set file is used for indicating the 3D printing equipment to execute a corresponding 3D printing action, and by designing different slice files, a single module or a function of the 3D printing equipment is realized for performing independent test, and by configuring parameters of the 3D printing equipment, the configuration of the single function is realized, and the function and the performance of the module are automatically tested; The acquisition module is used for acquiring test data in the process of executing the corresponding 3D printing action by the 3D printing equipment, wherein the test data comprises image closed communication group images; the determining module is used for determining a test result of the 3D printing equipment according to the test data, and comprises the steps of detecting the closed communication group image number of the images formed by the projected images layer by layer under the condition that an item to be tested is the effectiveness of testing the optimization of printing residues, and the image residues in the group image number qualified range pass the optimization test; Under the condition that current test data obtained by the 3D printing equipment for printing the current test set file is received, determining that the 3D printing equipment prints the next test set file or stops testing the 3D printing equipment according to the current test data; The test set file comprises a target slice file, and the target slice file is determined according to a to-be-tested item of the 3D printing equipment to be tested.
  14. 14. A computer-readable storage medium storing a computer program, characterized in that the computer program when run by a processor performs the method of any one of claims 1 to 12.
  15. 15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 12 by means of the computer program.

Description

Test method and device of 3D printing equipment, storage medium and electronic equipment Technical Field The invention relates to the field of 3D printing, in particular to a testing method and device of 3D printing equipment, a storage medium and electronic equipment. Background The production flow of the 3D printer equipment is complex, the production test and verification occupy 50% of the production man-hour of the printer, the verification means is complex and complex, moreover, items which are missed to be detected and cannot be detected easily appear, the test and statistics depend on personal operation, the time consumption is long, each procedure cannot be traced, and if the production record of the equipment is to be searched, the local data is required to be searched and the data is incomplete. Whether the 3D printer is stable or not is evaluated, whether the design requirement is met or not, whether the embedded algorithm is executed correctly according to the design or not is evaluated, and no better measuring means exists at present. The test result can be checked only through the actual printing model, the statistics of the process is not clear and clear, and more measurement needs human experience to evaluate. That is, in the prior art, the testing process of the 3D printer depends on manual work, and the testing efficiency is low. Disclosure of Invention The embodiment of the invention provides a testing method and device of 3D printing equipment, a storage medium and electronic equipment, and aims to at least solve the technical problem of low testing efficiency of a 3D printer. According to one aspect of the embodiment of the invention, a testing method of 3D printing equipment is provided, which comprises the steps of generating a testing set file according to an item to be tested of the 3D printing equipment to be tested, wherein the testing set file is used for indicating the 3D printing equipment to execute corresponding 3D printing actions, acquiring testing data in the process that the 3D printing equipment executes the corresponding 3D printing actions, and determining a testing result of the 3D printing equipment according to the testing data. According to another aspect of the embodiment of the invention, a testing device of a 3D printing device is provided, which comprises a generating module, an acquiring module and a determining module, wherein the generating module is used for generating a testing set file according to a to-be-tested item of the 3D printing device to be tested, the testing set file is used for indicating the 3D printing device to execute a corresponding 3D printing action, the acquiring module is used for acquiring testing data in the process that the 3D printing device executes the corresponding 3D printing action, and the determining module is used for determining a testing result of the 3D printing device according to the testing data. As an optional example, the test set file comprises a target slice file, the determining module comprises a first obtaining unit for obtaining a standard slice file, and an adjusting unit for adjusting the standard slice file according to the item to be tested to obtain the target slice file. As an alternative example, the adjustment unit includes a first determination subunit configured to determine the standard slice file as the target slice file if slice data corresponding to the item to be tested exists in the standard slice file, and an adjustment subunit configured to adjust the standard slice file according to the item to be tested to obtain the target slice file if slice data corresponding to the item to be tested does not exist in the standard slice file. As an optional example, the adjusting unit comprises an acquiring subunit, a second determining subunit and a replacing subunit, wherein the acquiring subunit is used for acquiring a plaintext view of the standard slice file, the plaintext view comprises an initial entity section view, the second determining subunit is used for determining a target entity section view of the plaintext view according to the item to be tested, and the replacing subunit is used for replacing the target entity section view with the initial entity section view to obtain the target slice file. As an alternative example, the second determining subunit is further configured to determine, according to the item to be tested, a position of each initial solid cross-sectional view in the plaintext view and a number of each initial solid cross-sectional view, determine, according to the position, a range of each initial solid cross-sectional view, calculate, according to the range, a white pixel area and a number of connected white pixels of each initial solid cross-sectional view, remove interference pixels from each initial solid cross-sectional view according to the white pixel area and the number of connected white pixels, prune, according to the number, the initial solid cross-sectional vie