How to save 3D design software documents

By assigning and comparing identification codes to the structural models of 3D design software, targeted saving is achieved, which solves the problem of long storage time of 3D design software documents and improves design efficiency and resource utilization.

CN114238245BActive Publication Date: 2024-10-25ZHUHAI GREE PRECISION MOLD CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111314665.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-08
Publication Date
2024-10-25
Estimated Expiration
2041-11-08

AI Technical Summary

Technical Problem

When existing 3D design software saves product models, as the model is continuously developed and modified, the space occupied by the document gradually increases, resulting in long storage times and affecting work efficiency.

Method used

By assigning identification codes to the structural models in the 3D model document, comparing the newly added identification codes and the storage identification codes, it is determined whether the structural model needs to be saved, and the structural model is saved in a new or overwritten manner, and the modified or newly added structural model is Save it separately to avoid saving the entire 3D model document.

Benefits of technology

It realizes the rapid saving of 3D design software documents, improves product design efficiency, reduces system resource consumption, and can save the latest status without changing the unchanged structural model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114238245B_ABST
    Figure CN114238245B_ABST
Patent Text Reader

Abstract

The present application is about a method for saving three-dimensional design software documents. The method includes: S1, assigning identification codes to structural models in a newly added three-dimensional model document to obtain newly added identification codes, wherein a structural model corresponds to a unique identification code; S2, obtaining the stored identification code corresponding to the structural model in the stored three-dimensional model document; S3, by comparing the newly added identification code with the stored identification code, determining whether the structural model corresponding to the newly added identification code needs to be saved; if so, executing step S4; S4, saving the structural model corresponding to the newly added identification code according to the data group in the structural model corresponding to the newly added identification code, and the saving methods include new creation and overwriting. The solution provided by the present application can realize the rapid saving of three-dimensional design software documents and improve product design efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of document preservation, and in particular to a method for preserving documents of three-dimensional design software. Background Art

[0002] In the manufacturing industry, companies often use 3D design software, such as UGNX or other similar 3D design software to design product models. However, the 3D design software used in the prior art uses a default saving method, which saves the entire 3D model document when saving the product model. As the model is continuously developed and modified, the space occupied by the document gradually increases. Overall saving will result in a long saving time, affecting work efficiency.

[0003] Therefore, the present application aims to design a method for saving three-dimensional design software documents, which can realize the rapid saving of three-dimensional design software documents and improve product design efficiency. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present application provides a method for saving a 3D design software document. The method for saving a 3D design software document can realize the rapid saving of the 3D design software document and improve the product design efficiency.

[0005] The first aspect of the present application provides a method for saving a three-dimensional design software document, comprising:

[0006] S1, assigning identification codes to the structural models in the newly added three-dimensional model document to obtain newly added identification codes, wherein one structural model corresponds to a unique identification code;

[0007] S2, obtaining a storage identification code corresponding to the structural model in the stored three-dimensional model document;

[0008] S3, by comparing the newly added identification code with the stored identification code, determining whether the structural model corresponding to the newly added identification code needs to be saved; if so, executing step S4;

[0009] S4, saving the structural model corresponding to the newly added identification code according to the data group in the structural model corresponding to the newly added identification code, and the saving method includes creating and overwriting.

[0010] In one embodiment, after comparing the newly added identification code with the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved, the method further includes:

[0011] If not, execute step S5;

[0012] S5, the system is not responding.

[0013] In one implementation, comparing the newly added identification code with the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved includes:

[0014] If the newly added identification code is different from the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is new creation.

[0015] In one embodiment, the comparing the newly added identification code with the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved further includes:

[0016] If the newly added identification code is the same as the stored identification code, it is determined whether the structural model corresponding to the newly added identification code needs to be saved by comparing the data group in the structural model corresponding to the newly added identification code with the data group in the structural model corresponding to the stored identification code.

[0017] In one embodiment, the data set in the structural model includes: surface quantity and quality.

[0018] In one embodiment, comparing the data group in the structural model corresponding to the newly added identification code with the data group in the structural model corresponding to the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved includes:

[0019] Comparing the number of faces in the structural model corresponding to the newly added identification code with the number of faces in the structural model corresponding to the stored identification code, and determining whether the structural model corresponding to the newly added identification code needs to be saved;

[0020] If the number of faces in the structural model corresponding to the newly added identification code is different from the number of faces in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is overwriting;

[0021] If the number of faces in the structural model corresponding to the newly added identification code is the same as the number of faces in the structural model corresponding to the stored identification code, then by comparing the quality of the structural model corresponding to the newly added identification code with the quality of the structural model corresponding to the stored identification code, it is determined whether the structural model corresponding to the newly added identification code needs to be saved.

[0022] In one embodiment, comparing the quality of the structural model corresponding to the newly added identification code with the quality of the structural model corresponding to the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved includes:

[0023] If the quality in the structural model corresponding to the newly added identification code is different from the quality in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is overwriting;

[0024] If the quality in the structural model corresponding to the newly added identification code is the same as the quality in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code does not need to be saved.

[0025] In one embodiment, the step of saving the structural model corresponding to the newly added identification code according to the data group in the structural model corresponding to the newly added identification code includes:

[0026] If the storage mode of the structural model corresponding to the newly added identification code is new creation, then a data group in the structural model corresponding to the newly added identification code is added, and a new three-dimensional document corresponding to the structural model is created with the newly added identification code as the document name;

[0027] If the storage mode of the structural model corresponding to the newly added identification code is overwriting, the data group in the structural model corresponding to the stored identification code is overwritten with the data group in the structural model corresponding to the newly added identification code.

[0028] In one embodiment, steps S1 to S4 are looped within a first preset time until no new three-dimensional model document is generated within a second preset time, and the second preset time is greater than the first preset time.

[0029] A second aspect of the present application provides an electronic device, including:

[0030] Processor; and

[0031] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.

[0032] A third aspect of the present application provides a non-transitory machine-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.

[0033] The technical solution provided by this application may have the following beneficial effects:

[0034] The present application assigns an identification code to the structural model in the newly added three-dimensional model document to obtain the newly added identification code. By comparing the newly added identification code with the stored identification code corresponding to the structural model in the stored three-dimensional model document, it is determined whether the structural model corresponding to the newly added identification code needs to be saved. If it needs to be saved, the structural model corresponding to the newly added identification code is saved according to the data group in the structural model corresponding to the newly added identification code. The present application scheme separately identifies and saves each structural model in the three-dimensional model document. When a structural model in the three-dimensional model document is modified, or a structural model is newly added to the three-dimensional model document, the present application scheme can separately save the modified structural model or the newly added structural model without having to save the entire three-dimensional model document, so as to obtain the latest three-dimensional model document. Compared with the traditional method of saving the entire three-dimensional model document as long as a modification or addition occurs, the saving method of the present application scheme is more targeted, and can realize the rapid saving of three-dimensional design software documents, thereby improving product design efficiency.

[0035] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The above and other objects, features and advantages of the present application will become more apparent through a more detailed description of exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.

[0037] Figure 1 It is a flowchart of a first embodiment of a method for saving a three-dimensional design software document according to an embodiment of the present application;

[0038] Figure 2 It is a flow chart of Embodiment 2 of the method for saving a three-dimensional design software document shown in the embodiment of the present application;

[0039] Figure 3 It is a flowchart of Embodiment 3 of the method for saving a three-dimensional design software document shown in the embodiment of the present application;

[0040] Figure 4 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The preferred embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0042] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0043] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0044] In the manufacturing industry, companies often use 3D design software, such as UGNX or other similar 3D design software to design product models. However, the 3D design software used in the prior art uses a default saving method, which saves the entire 3D model document when saving the product model. As the model is continuously developed and modified, the space occupied by the document gradually increases. Overall saving will result in a long saving time, affecting work efficiency.

[0045] In view of the above problems, an embodiment of the present application provides a method for saving three-dimensional design software documents, which can realize the rapid saving of three-dimensional design software documents and improve product design efficiency.

[0046] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0047] Embodiment 1

[0048] Figure 1 It is a flow chart of the first embodiment of the method for saving a three-dimensional design software document shown in the embodiment of the present application.

[0049] See also Figure 1 In the embodiment of the present application, the first embodiment of the method for saving a three-dimensional design software document includes:

[0050] 101. Assigning an identification code to a structural model in a newly added three-dimensional model document to obtain a newly added identification code;

[0051] Since a 3D model document generally includes several structural models, such as cylinders, cuboids or other types of 3D graphics, assigning identification codes to the structural models is to divide these structural models into independent individuals and associate them with corresponding identification codes to facilitate subsequent operations.

[0052] A structural model corresponds to a unique identification code, which is used to uniquely name and distinguish it from other structural models. For the convenience of identification and operation, the identification code of the cylinder can be set to 001, the identification code of the cuboid can be set to 002, and so on.

[0053] 102. Obtain a storage identification code corresponding to the structural model in the stored three-dimensional model document;

[0054] There are structural models of three-dimensional model documents in the system that have been assigned identification codes and saved according to the same naming rules.

[0055] Taking UGNX 3D design software as an example, the identification code of each structural model can be obtained through the UF_OBJ_cycle_objs_in_part() command.

[0056] 103. By comparing the newly added identification code with the stored identification code, determine whether the structural model corresponding to the newly added identification code needs to be saved;

[0057] Since the identification codes are allocated in the same manner, it is possible to determine whether there is an earlier version of the structural model corresponding to the newly added identification code by comparing the newly added identification code with the stored identification code.

[0058] 104. If saving is required, saving the structural model corresponding to the newly added identification code according to the data group in the structural model corresponding to the newly added identification code;

[0059] Among them, the saving methods are divided into new creation and overwrite.

[0060] 105. If saving is not required, the system will not respond.

[0061] That is, the software system does not perform any operations.

[0062] The following beneficial effects can be obtained from the above embodiment 1:

[0063] This embodiment assigns an identification code to the structural model in the newly added three-dimensional model document to obtain a newly added identification code. By comparing the newly added identification code with the stored identification code corresponding to the structural model in the stored three-dimensional model document, it is determined whether the structural model corresponding to the newly added identification code needs to be saved. If it needs to be saved, the structural model corresponding to the newly added identification code is saved according to the data group in the structural model corresponding to the newly added identification code. This embodiment separately identifies and saves each structural model in the three-dimensional model document. When a structural model in the three-dimensional model document is modified, or a structural model is newly added to the three-dimensional model document, this embodiment can separately save the modified structural model or the newly added structural model without having to save the entire three-dimensional model document, so as to obtain the latest three-dimensional model document. Compared with the traditional method of saving the entire three-dimensional model document as long as a modification or addition occurs, the saving method of this embodiment is more targeted, and can realize the rapid saving of three-dimensional design software documents, thereby improving product design efficiency.

[0064] Embodiment 2

[0065] In practical applications, based on the first embodiment, it is necessary to further explain how to determine whether the structure model corresponding to the newly added identification code needs to be saved and the saving method.

[0066] Figure 2 It is a flow chart of Embodiment 2 of the method for preserving a three-dimensional design software document shown in the embodiment of the present application.

[0067] See also Figure 2 In the embodiment of the present application, the second embodiment of the method for saving a three-dimensional design software document includes:

[0068] 201. Compare the newly added identification code with the stored identification code to determine whether the newly added identification code and the stored identification code are the same;

[0069] 202. If the newly added identification code is different from the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is new creation;

[0070] If the newly added identification code and the stored identification code are different, that is, there is no earlier version of the structural model corresponding to the newly added identification code in the system, then the data in the data group in the structural model corresponding to the newly added identification code is the latest data, so the structural model corresponding to the newly added identification code needs to be saved, and the saving method is new creation.

[0071] 203. If the newly added identification code is the same as the stored identification code, compare whether the number of faces in the structural model corresponding to the newly added identification code is the same as the number of faces in the structural model corresponding to the stored identification code;

[0072] The data groups in the structural model include the number of faces and mass. The number of faces is used to characterize how many faces the structural model has. For example, a cube has six faces, a cylinder has three faces, etc. The mass is determined by the volume and density of the structural model. The volume and density can be determined according to the parameters set for the structural model. For example, the volume of a cube is determined according to the length, width and height of the structural model, and the density can be set according to the material density in actual application. The mass is calculated by the system through the length, width and height of the structural model and the set material density.

[0073] Taking UGNX 3D design software as an example, the number of faces of the structural model can be obtained through the UF_MODL_ask_face_data() command, and the mass of the structural model can be obtained through the UF_MODL_ask_mass_props_3d() command.

[0074] Although the state of the structural model is characterized by many parameters, the use of data on the number and quality of surfaces can limit the state of the structural model to the maximum extent while saving system resources.

[0075] If the newly added identification code is the same as the stored identification code, an earlier version of the structural model corresponding to the newly added identification code has been found, and it is necessary to determine whether the current version has been modified relative to the earlier version.

[0076] Taking the cylindrical model as an example, when it is a cube, the number of its faces is 6, that is, it has six faces. After one of its corners is cut, the number of its faces is 7, that is, it has seven faces. At this time, the system can determine whether the cube structure model has been modified by the change in the number of faces.

[0077] 204. If the number of faces in the structural model corresponding to the newly added identification code is different from the number of faces in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is overwriting;

[0078] If the number of faces in the structural model corresponding to the newly added identification code is different from the number of faces in the structural model corresponding to the stored identification code, that is, the structural model has been modified, then the data in the data group in the structural model corresponding to the newly added identification code is the latest data. Therefore, the structural model corresponding to the newly added identification code needs to be saved, and the saving method is overwriting, that is, the data group in the structural model corresponding to the stored identification code is used to overwrite the data group in the structural model corresponding to the stored identification code.

[0079] 205. If the number of faces in the structural model corresponding to the newly added identification code is the same as the number of faces in the structural model corresponding to the stored identification code, compare whether the mass in the structural model corresponding to the newly added identification code is the same as the mass in the structural model corresponding to the stored identification code;

[0080] This step is also to determine whether the structural model has been modified. Since there is a situation where the number of structural model faces remains unchanged but the material has changed, this change will cause the density of the material to be different, thus affecting the quality of the structural model, which is also a modification of the model. Therefore, it is necessary to further compare the quality of the structural model corresponding to the newly added identification code and the quality of the structural model corresponding to the stored identification code to see if they are the same.

[0081] 206. If the quality in the structural model corresponding to the newly added identification code is different from the quality in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is overwriting;

[0082] If the quality in the structural model corresponding to the newly added identification code is different from the quality in the structural model corresponding to the stored identification code, that is, the structural model has been modified, then the data in the data group in the structural model corresponding to the newly added identification code is the latest data. Therefore, the structural model corresponding to the newly added identification code needs to be saved, and the saving method is overwriting, that is, the data group in the structural model corresponding to the stored identification code is overwritten with the data group in the structural model corresponding to the stored identification code.

[0083] 207. If the quality in the structural model corresponding to the newly added identification code is the same as the quality in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code does not need to be saved.

[0084] If, through comparison of the number and quality of faces, the data group in the structural model corresponding to the newly added identification code is the same as the data group in the structural model corresponding to the stored identification code, it can be explained that although an earlier version of the structural model already exists in the system, the current version has no changes compared to the earlier version, and therefore, no operation is required on the earlier version.

[0085] The following beneficial effects can be obtained from the above-mentioned embodiment 2:

[0086] This embodiment determines whether the new identification code and the stored identification code in the system are the same and whether the data group in the structural model corresponding to the new identification code is the same as the data group in the structural model corresponding to the stored identification code. It determines from multiple levels whether the current version of the structural model needs to be saved and whether it should be saved as a new one or as an overwrite. Since the two dimensions of face quantity and quality can characterize the state of the structural model to the greatest extent, this embodiment can improve the comparison efficiency and the preservation efficiency while ensuring the accuracy of determining whether the structural model has been modified.

[0087] Embodiment 3

[0088] In practical applications, based on the above embodiments, the storage method needs to be further explained.

[0089] Figure 3It is a flow chart of Example 3 of the method for saving three-dimensional design software documents shown in the embodiment of the present application.

[0090] See also Figure 3 In the embodiment of the present application, the third embodiment of the method for saving a three-dimensional design software document includes:

[0091] 301. Determine whether the storage mode of the structure model corresponding to the newly added identification code is new creation;

[0092] 302. If the storage mode of the structural model corresponding to the newly added identification code is new creation, a data group in the structural model corresponding to the newly added identification code is added, and a new three-dimensional document corresponding to the structural model is created with the newly added identification code as the document name;

[0093] If the saving method of the structural model corresponding to the newly added identification code is New, it means that there is no 3D document of the structural model in the system. In this case, the saving method is to create a new 3D document of the structural model and retain its existence traces.

[0094] 303. If the storage mode of the structural model corresponding to the newly added identification code is not new creation, the data group in the structural model corresponding to the newly added identification code is overwritten with the data group in the structural model corresponding to the stored identification code.

[0095] Because there are only two saving methods: new creation and overwrite, if the saving method of the structural model corresponding to the newly added identification code is not new creation, then the saving method of the structural model corresponding to the newly added identification code is overwrite. This means that the 3D document of the structural model already exists in the system, but it is not the latest version. Therefore, this earlier version is overwritten to retain the latest version.

[0096] Whether adding or overwriting, you can save the 3D document of the latest version of the model through the UF_PART_export_with_options() command.

[0097] The following beneficial effects can be obtained from the above-mentioned embodiment 3:

[0098] This embodiment saves the latest status of the modification or addition of a single structural model. On the one hand, it will not affect the unchanged structural model. On the other hand, it can consume less system resources during saving and improve the saving efficiency.

[0099] Embodiment 4

[0100] In practical applications, based on the above embodiments, a cycle time may be set for the three-dimensional design software document saving method to better meet the needs of document saving.

[0101] Steps S1 to S4 are looped within a first preset time until no new three-dimensional model documents are generated within a second preset time, that is, within the first preset time, if the structural model corresponding to the newly added identification code does not need to be saved, the system has no response and jumps to step S1 to loop; if the structural model corresponding to the newly added identification code needs to be saved, the structural model corresponding to the newly added identification code is saved according to the data group in the structural model corresponding to the newly added identification code, and the system jumps to step S1 to loop until no new three-dimensional model documents are generated within the second preset time, wherein the second preset time is greater than the first preset time.

[0102] In this embodiment, the preset time of the loop can be set by the timer TimerSetTitle() command. When the three-dimensional model document is lost due to unexpected factors, the three-dimensional documents of each structural model stored in the computer hardware can be combined into a complete three-dimensional document by the UF_PART_import() command, that is, the latest three-dimensional document can be retrieved.

[0103] The following beneficial effects can be obtained from the above fourth embodiment:

[0104] This embodiment sets a preset time and loops steps S1 to S4 within the time, thereby meeting the needs of document preservation in different time periods, meeting personal needs to the greatest extent, and protecting document security. At the same time, when encountering unexpected situations, the latest structural model documents saved in the system can be retrieved and combined into a complete three-dimensional document to avoid document loss.

[0105] Embodiment 5

[0106] In practical applications, based on the above embodiments, this embodiment further provides a corresponding electronic device and corresponding embodiments.

[0107] Figure 4 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application.

[0108] See also Figure 4 , the electronic device 1000 includes a memory 1010 and a processor 1020 .

[0109] The processor 1020 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0110] The memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 1020 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.

[0111] The memory 1010 stores executable codes, and when the executable codes are processed by the processor 1020 , the processor 1020 can execute part or all of the methods described above.

[0112] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.

[0113] Alternatively, the present application can also be implemented as a non-temporary machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of an electronic device (or electronic device, server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.

[0114] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system and method according to multiple embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a part of a module, a program segment or a code, and the part of the module, the program segment or the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or the flow chart, and the combination of the square boxes in the block diagram and / or the flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0115] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for saving 3D design software documents. Features: S1, assigning identification codes to the structural models in the newly added three-dimensional model document to obtain newly added identification codes, wherein one structural model corresponds to a unique identification code; S2, obtaining a storage identification code corresponding to the structural model in the stored three-dimensional model document; S3, by comparing the newly added identification code with the stored identification code, determining whether the structural model corresponding to the newly added identification code needs to be saved; if so, executing step S4; S4, saving the structural model corresponding to the newly added identification code according to the data group in the structural model corresponding to the newly added identification code, wherein the saving method includes creating a new structure and overwriting the new structure; The step of comparing the newly added identification code with the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved includes: If the newly added identification code is different from the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is to create a new one; If the newly added identification code is the same as the stored identification code, then by comparing the data group in the structural model corresponding to the newly added identification code with the data group in the structural model corresponding to the stored identification code, it is determined whether the structural model corresponding to the newly added identification code needs to be saved; The data set in the structural model includes: face quantity and quality; The step of comparing the data group in the structural model corresponding to the newly added identification code with the data group in the structural model corresponding to the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved includes: Comparing the number of faces in the structural model corresponding to the newly added identification code with the number of faces in the structural model corresponding to the stored identification code, and determining whether the structural model corresponding to the newly added identification code needs to be saved; If the number of faces in the structural model corresponding to the newly added identification code is different from the number of faces in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is overwriting; If the number of faces in the structural model corresponding to the newly added identification code is the same as the number of faces in the structural model corresponding to the stored identification code, then by comparing the quality of the structural model corresponding to the newly added identification code with the quality of the structural model corresponding to the stored identification code, it is determined whether the structural model corresponding to the newly added identification code needs to be saved; The comparing the quality of the structural model corresponding to the newly added identification code with the quality of the structural model corresponding to the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved includes: If the quality in the structural model corresponding to the newly added identification code is different from the quality in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code needs to be saved, and the saving mode is overwriting; If the quality in the structural model corresponding to the newly added identification code is the same as the quality in the structural model corresponding to the stored identification code, the structural model corresponding to the newly added identification code does not need to be saved.

2. The method for saving a 3D design software document according to claim 1, It is characterized in that After comparing the newly added identification code with the stored identification code to determine whether the structural model corresponding to the newly added identification code needs to be saved, the method further includes: If not, execute step S5; S5, the system is not responding.

3. The method for saving 3D design software documents according to claim 1, It is characterized in that The step of saving the structural model corresponding to the newly added identification code according to the data group in the structural model corresponding to the newly added identification code comprises: If the storage mode of the structural model corresponding to the newly added identification code is new creation, then a data group in the structural model corresponding to the newly added identification code is added, and a new three-dimensional document corresponding to the structural model is created with the newly added identification code as the document name; If the storage mode of the structural model corresponding to the newly added identification code is overwriting, the data group in the structural model corresponding to the stored identification code is overwritten with the data group in the structural model corresponding to the newly added identification code.

4. The method for saving 3D design software documents according to claim 1, Features: Steps S1 to S4 are looped within a first preset time until no new three-dimensional model document is generated within a second preset time, and the second preset time is greater than the first preset time.

5. An electronic device, It is characterized in that include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 4.

6. A non-transitory machine-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method according to any one of claims 1 to 4.