CN114238245A - Three-dimensional design software document storage method - Google Patents

Three-dimensional design software document storage method Download PDF

Info

Publication number
CN114238245A
CN114238245A CN202111314665.6A CN202111314665A CN114238245A CN 114238245 A CN114238245 A CN 114238245A CN 202111314665 A CN202111314665 A CN 202111314665A CN 114238245 A CN114238245 A CN 114238245A
Authority
CN
China
Prior art keywords
identification code
model corresponding
stored
newly added
structure model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111314665.6A
Other languages
Chinese (zh)
Inventor
吴坤林
李欣键
林佳阳
杨雨彤
黄炳华
刘嘉兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Precision Mold Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Precision Mold Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Gree Precision Mold Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111314665.6A priority Critical patent/CN114238245A/en
Publication of CN114238245A publication Critical patent/CN114238245A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Software Systems (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Computer Graphics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a three-dimensional design software document storage method. The method comprises the following steps: s1, distributing identification codes of 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, acquiring a storage identification code corresponding to the structure model in the stored three-dimensional model document; s3, judging whether the structure model corresponding to the newly added identification code needs to be stored or not by comparing the newly added identification code with the stored identification code; if yes, go to step S4; and S4, storing 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 storage mode comprises new construction and coverage. According to the scheme, the three-dimensional design software document can be rapidly stored, and the product design efficiency is improved.

Description

Three-dimensional design software document storage method
Technical Field
The application relates to the technical field of document storage, in particular to a three-dimensional design software document storage method.
Background
In the manufacturing industry field, enterprises often use three-dimensional design software, such as UGNX or other similar three-dimensional design software to design product models, but the three-dimensional design software used in the prior art uses a default storage mode, the mode can store whole three-dimensional model documents when the product models are stored, the occupied space of the documents is gradually increased along with continuous development and modification of the models, and the storage time is too long due to the integral storage, so that the working efficiency is influenced.
Therefore, the three-dimensional design software document storage method is designed, the three-dimensional design software document can be rapidly stored, and the product design efficiency is improved.
Disclosure of Invention
In order to solve the problems in the related art, the three-dimensional design software document storage method can realize the rapid storage of the three-dimensional design software document and improve the product design efficiency.
The first aspect of the present application provides a method for storing a three-dimensional design software document, including:
s1, distributing identification codes of 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, acquiring a storage identification code corresponding to the structure model in the stored three-dimensional model document;
s3, judging whether the structure model corresponding to the newly added identification code needs to be stored or not by comparing the newly added identification code with the stored identification code; if yes, go to step S4;
and S4, storing 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 storage mode comprises new construction and coverage.
In an embodiment, after the comparing the new identifier with the stored identifier and determining whether the structure model corresponding to the new identifier needs to be stored, the method further includes:
if not, go to step S5;
s5, the system is unresponsive.
In an embodiment, the determining whether the structure model corresponding to the new identifier needs to be saved by comparing the new identifier with the stored identifier includes:
and 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 stored, and the storage mode is newly established.
In an embodiment, the determining whether the structure model corresponding to the new identifier needs to be stored by comparing the new identifier with the stored identifier further includes:
and if the newly added identification code is the same as the stored identification code, judging whether the structural model corresponding to the newly added identification code needs to be stored or not 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.
In one embodiment, the data set in the structural model includes: number of faces and quality.
In an embodiment, the determining whether the structure model corresponding to the new identifier needs to be saved by comparing the data set in the structure model corresponding to the new identifier with the data set in the structure model corresponding to the stored identifier includes:
comparing the number of the faces in the structure model corresponding to the newly added identification code with the number of the faces in the structure model corresponding to the stored identification code, and judging whether the structure model corresponding to the newly added identification code needs to be stored or not;
if the number of the surfaces in the structure model corresponding to the newly added identification code is different from the number of the surfaces in the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code needs to be stored, and the storage mode is covering;
and if the number of the surfaces in the structure model corresponding to the newly added identification code is the same as the number of the surfaces in the structure model corresponding to the stored identification code, judging whether the structure model corresponding to the newly added identification code needs to be stored or not by comparing the quality in the structure model corresponding to the newly added identification code with the quality in the structure model corresponding to the stored identification code.
In an embodiment, the determining whether the structure model corresponding to the new identifier needs to be saved by comparing the quality in the structure model corresponding to the new identifier with the quality in the structure model corresponding to the stored identifier includes:
if the quality of the structure model corresponding to the newly added identification code is different from the quality of the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code needs to be stored, and the storage mode is covering;
and if the quality of the structure model corresponding to the newly added identification code is the same as the quality of the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code does not need to be stored.
In one embodiment, the saving the structure model corresponding to the new identifier according to the data group in the structure model corresponding to the new identifier includes:
if the storage mode of the structural model corresponding to the newly added identification code is newly established, newly adding a data set in the structural model corresponding to the newly added identification code, and taking the newly added identification code as a three-dimensional document of the newly established corresponding structural model of the document name;
and if the storage mode of the structure model corresponding to the newly added identification code is covered, covering the data group in the structure model corresponding to the stored identification code with the data group in the structure model corresponding to the newly added identification code.
In one embodiment, steps S1 through S4 are cycled through a first preset time until no more new three-dimensional model documents are generated within a second preset time, the second preset time being greater than the first preset time.
A second aspect of the present application provides an electronic device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method as described above.
A third aspect of the application provides a non-transitory machine-readable storage medium having stored thereon executable code which, when executed by a processor of an electronic device, causes the processor to perform a method as described above.
The technical scheme provided by the application can comprise the following beneficial effects:
the method comprises the steps of distributing identification codes to structural models in a newly added three-dimensional model document to obtain a newly added identification code, comparing the newly added identification code with stored identification codes corresponding to structural models in stored three-dimensional model documents to judge whether the structural models corresponding to the newly added identification code need to be stored, if the structural models need to be stored, storing the structural models corresponding to the newly added identification code according to data groups in the structural models corresponding to the newly added identification code, carrying out individual identification and storage on each structural model in the three-dimensional model document, and when a structural model in the three-dimensional model document is modified or a structural model is newly added in the three-dimensional model document, carrying out individual storage on the modified structural model or the newly added structural model without storing the whole three-dimensional model document, the latest three-dimensional model document can be obtained, and compared with the traditional mode that the whole three-dimensional model document is stored only by modification or addition, the storage mode of the scheme of the application is more targeted, the three-dimensional design software document can be rapidly stored, and the product design efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application, as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
FIG. 1 is a schematic flowchart illustrating a first embodiment of a three-dimensional design software document storage method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a second embodiment of a method for saving a three-dimensional design software document according to the present application;
FIG. 3 is a flowchart illustrating a third embodiment of a three-dimensional design software document storage method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
Detailed Description
Preferred embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the manufacturing industry field, enterprises often use three-dimensional design software, such as UGNX or other similar three-dimensional design software to design product models, but the three-dimensional design software used in the prior art uses a default storage mode, the mode can store whole three-dimensional model documents when the product models are stored, the occupied space of the documents is gradually increased along with continuous development and modification of the models, and the storage time is too long due to the integral storage, so that the working efficiency is influenced.
In view of the above problems, embodiments of the present application provide a three-dimensional design software document storage method, which can implement fast storage of a three-dimensional design software document and improve product design efficiency.
The technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Example one
Fig. 1 is a schematic flow chart of a first embodiment of a three-dimensional design software document storage method according to an embodiment of the present application.
Referring to fig. 1, an embodiment of a three-dimensional design software document storage method in the embodiment of the present application includes:
101. distributing identification codes to the structural models in the newly added three-dimensional model documents to obtain newly added identification codes;
since a three-dimensional model document generally includes a plurality of structural models, such as cylinders, cuboids, or other types of three-dimensional figures, the structural models are assigned identification codes, and the structural models are divided into independent individuals and associated with corresponding identification codes, so as to facilitate subsequent operations.
A structure model corresponds to a unique identification code and is used for uniquely naming and distinguishing other structure models, and for convenience of identification and operation, the identification code of a cylinder can be set to be 001, the identification code of a cuboid can be set to be 002 and the like, and the like.
102. Acquiring a storage identification code corresponding to a structure model in a stored three-dimensional model document;
the system has a structure model of the three-dimensional model document which has finished the identification code distribution and is stored according to the same naming rule.
Taking UGNX three-dimensional design software as an example, the identification code of each structure model can be acquired through a UF _ OBJ _ cycle _ OBJ _ in _ part () command.
103. Judging whether the structure model corresponding to the newly added identification code needs to be stored or not by comparing the newly added identification code with the stored identification code;
because the identification codes are distributed in the same way, whether an earlier version of the structure model corresponding to the new identification code exists or not can be judged by comparing the new identification code with the stored identification code.
104. If the new identification code needs to be stored, storing the structural model corresponding to the new identification code according to the data group in the structural model corresponding to the new identification code;
wherein, the storage mode is divided into new construction and coverage.
105. If no saving is required, the system is unresponsive.
I.e. the software system does not perform any operation.
The following advantageous effects can be obtained from the first embodiment:
the embodiment allocates the identification codes to the structural models in the newly added three-dimensional model document to obtain the newly added identification codes, compares the newly added identification codes with the stored identification codes corresponding to the structural models in the stored three-dimensional model document to judge whether the structural models corresponding to the newly added identification codes need to be stored, if the structural models need to be stored, stores the structural models corresponding to the newly added identification codes according to the data group in the structural models corresponding to the newly added identification codes, and individually identifies and stores 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 in the three-dimensional model document, the embodiment can individually store the modified structural model or the newly added structural model without storing the whole three-dimensional model document to obtain the latest three-dimensional model document, compared with the traditional method that the whole three-dimensional model document is stored as long as modification or addition occurs, the storage method of the embodiment has more pertinence, can realize the rapid storage of the three-dimensional design software document, and improves the product design efficiency.
Example two
In practical application, on the basis of the first embodiment, how to determine whether the structure model corresponding to the newly added identification code needs to be saved and a saving mode need to be further explained.
Fig. 2 is a schematic flow chart of a second embodiment of a three-dimensional design software document storage method according to the embodiment of the present application.
Referring to fig. 2, an embodiment of a three-dimensional design software document storage method in the embodiment of the present application includes:
201. comparing the newly added identification code with the stored identification code, and judging whether the newly added identification code is the same as the stored identification code;
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 stored, and the storage mode is newly established;
if the new identification code is different from the stored identification code, that is, there is no earlier version of the structural model corresponding to the new identification code in the system, the data in the data group in the structural model corresponding to the new identification code is the latest data, so the structural model corresponding to the new identification code needs to be stored, and the storage mode is new.
203. If the newly added identification code is the same as the stored identification code, comparing whether the number of the surfaces in the structure model corresponding to the newly added identification code is the same as the number of the surfaces in the structure model corresponding to the stored identification code;
the data set in the structure model comprises the number of planes and the mass, wherein the number of the planes is used for representing how many planes the structure model has, for example, a cube has six planes, a cylinder has three planes, and the like, the mass is determined by the volume and the density of the structure model, the volume and the density can be determined according to the parameters set by the structure model, for example, the volume of the cube is determined according to the length, the width and the height of the structure model, the density can be set by self according to the material density in practical application, and the mass is calculated by the length, the width and the height of the structure model and the set material density through a system.
Taking UGNX three-dimensional design software as an example, the number of surfaces of the structure model can be obtained through an UF _ MODL _ ask _ face _ data () command, and the quality of the structure model can be obtained through an UF _ MODL _ ask _ mass _ prop _3d () command.
Although the state of the structural model is characterized by a plurality of parameters, the data of the quantity and quality of the surfaces can limit the state of the structural model to the maximum extent on the premise of saving system resources.
If the new identification code is the same as the stored identification code, an earlier version of the structural model corresponding to the new identification code is found, and it is necessary to determine whether the current version is modified from the earlier version.
Taking the cylinder model as an example, when the cube is taken as a cube, the number of faces is 6, that is, there are six faces, and when one corner of the cube is cut, the number of faces is 7, that is, there are seven faces, and then the system can judge whether the cube structural model is modified or not through the change of the number of faces.
204. If the number of the surfaces in the structure model corresponding to the newly added identification code is different from the number of the surfaces in the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code needs to be stored, and the storage mode is covering;
if the number of the surfaces in the structure model corresponding to the newly added identification code is different from the number of the surfaces in the structure model corresponding to the stored identification code, that is, the structure model is modified, the data of the data group in the structure model corresponding to the newly added identification code is the latest data, so that the structure model corresponding to the newly added identification code needs to be stored in a covering manner, that is, the data group in the structure model corresponding to the stored identification code is covered by the data group in the structure model corresponding to the newly added identification code.
205. If the number of the surfaces in the structure model corresponding to the newly added identification code is the same as the number of the surfaces in the structure model corresponding to the stored identification code, comparing whether the quality in the structure model corresponding to the newly added identification code is the same as the quality in the structure model corresponding to the stored identification code;
the step is also to determine whether the structural model is modified, and since there is a situation that the number of the structural model surfaces is unchanged but the material is changed, the change will cause different densities of the material, thereby affecting the quality of the structural model, which also belongs to the modification of the model, it is necessary to further compare whether 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.
206. If the quality of the structure model corresponding to the newly added identification code is different from the quality of the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code needs to be stored, and the storage mode is covering;
if the quality of the structure model corresponding to the newly added identification code is different from the quality of the structure model corresponding to the stored identification code, that is, the structure model is modified, the data of the data group in the structure model corresponding to the newly added identification code is the latest data, so the structure model corresponding to the newly added identification code needs to be stored, and the storage mode is covered, that is, the data group in the structure model corresponding to the stored identification code is covered by the data group in the structure model corresponding to the newly added identification code.
207. And if the quality of the structure model corresponding to the newly added identification code is the same as the quality of the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code does not need to be stored.
If the data set in the structure model corresponding to the newly added identification code is the same as the data set in the structure model corresponding to the stored identification code by comparing the number and the quality of the planes, it can be shown that although an earlier version of the structure model already exists in the system, the current version has no change compared with the earlier version, and therefore, no operation needs to be performed on the earlier version.
The following advantageous effects can be obtained from the second embodiment:
in the embodiment, whether the new identification code and the storage identification code are the same in the system or not 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 storage identification code or not are judged, whether the structural model of the current version needs to be stored or not is judged in a multi-layer mode or not and whether the structural model needs to be stored in a new building or covering mode, and because the state of the structural model can be represented to the greatest extent through the two dimensions of the number and the quality of the surfaces, the comparison efficiency and the storage efficiency can be improved on the premise of ensuring the accuracy of judging whether the structural model is modified or not.
EXAMPLE III
In practical applications, the storage method needs to be further explained on the basis of the above embodiments.
Fig. 3 is a schematic flow chart of a third embodiment of a three-dimensional design software document storage method according to the embodiment of the present application.
Referring to fig. 3, a third embodiment of the three-dimensional design software document storage method in the embodiment of the present application includes:
301. judging whether the storage mode of the structural model corresponding to the newly added identification code is newly established or not;
302. if the storage mode of the structural model corresponding to the newly added identification code is newly established, newly adding a data set in the structural model corresponding to the newly added identification code, and taking the newly added identification code as a three-dimensional document of the newly established corresponding structural model of the document name;
if the storage mode of the structure model corresponding to the newly added identification code is new, the fact that the three-dimensional document of the structure model does not exist in the system is shown, and the storage mode at the moment is to newly build the three-dimensional document of the structure model and keep the existence trace of the three-dimensional document.
303. And if the storage mode of the structural model corresponding to the newly added identification code is not newly established, covering and storing the data group in the structural model corresponding to the identification code by using the data group in the structural model corresponding to the newly added identification code.
Because the storage mode is only new and covered, if the storage mode of the structure model corresponding to the newly added identification code is not new, the storage mode of the structure model corresponding to the newly added identification code is covered, and at this time, the three-dimensional document of the structure model already exists in the system, but the three-dimensional document is not the latest version, so that the earlier version is covered to keep the latest version.
Whether new or overlaid, the three-dimensional document of the model of the latest version can be saved through the UF _ PART _ export _ with _ options () command.
The following beneficial effects can be obtained from the third embodiment:
the embodiment saves the latest state aiming at the modification or the addition of a single structure model, on one hand, the unchanged structure model is not influenced, on the other hand, the system resources consumed during saving can be reduced, and the saving efficiency is improved.
Example four
In practical application, on the basis of the above embodiment, a cycle time can be set for the three-dimensional design software document storage method to better meet the requirement of document storage.
Looping the step S1 to the step S4 within a first preset time until no new three-dimensional model document is generated within a second preset time, namely within the first preset time, if the structure model corresponding to the new identification code does not need to be stored, the system has no response, and skipping to the step S1 to loop; and if the structure model corresponding to the newly added identification code needs to be stored, storing the structure model corresponding to the newly added identification code according to the data group in the structure model corresponding to the newly added identification code, and skipping to the step S1 for circulation until the newly added three-dimensional model document is not generated within a second preset time, wherein the second preset time is longer than the first preset time.
In this embodiment, the preset time of the loop may be set by a timer timersetttle () command, and when the three-dimensional model document is lost due to an unexpected factor, the three-dimensional documents of each structural model stored in the computer hardware may be combined into a complete three-dimensional document by a UF _ PART _ import () command, that is, the latest three-dimensional document is retrieved.
The following advantageous effects can be obtained from the fourth embodiment:
in the embodiment, the preset time is set, and the steps S1 to S4 are circulated within the preset time, so that the requirement of document storage in different time periods can be met, the personal requirement is met to the maximum extent, the document safety is protected, and meanwhile, when an accident occurs, the latest structure model documents stored in the system can be retrieved and combined into a complete three-dimensional document, so that the document loss is avoided.
EXAMPLE five
In practical applications, on the basis of the above embodiments, the present embodiment further provides a corresponding electronic device and a corresponding embodiment.
Fig. 4 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
Referring to fig. 4, the electronic device 1000 includes a memory 1010 and a processor 1020.
The Processor 1020 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 1010 may include various types of storage units, such as system memory, Read Only Memory (ROM), and permanent storage. Wherein the ROM may store static data or instructions that are needed by the processor 1020 or other modules of the computer. The persistent storage device may be a read-write storage device. The persistent storage may be a non-volatile storage device that does not lose stored instructions and data even after the computer is powered off. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the permanent storage may be a removable storage device (e.g., floppy disk, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as a dynamic random access memory. The system memory may store instructions and data that some or all of the processors require at runtime. Further, 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), magnetic and/or optical disks, among others. In some embodiments, memory 1010 may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, min SD card, Micro-SD card, etc.), a magnetic floppy disc, or the like. Computer-readable storage media do not contain carrier waves or transitory electronic signals transmitted by wireless or wired means.
The memory 1010 has stored thereon executable code that, when processed by the processor 1020, may cause the processor 1020 to perform some or all of the methods described above.
Furthermore, the method according to the present application may also be implemented as a computer program or computer program product comprising computer program code instructions for performing some or all of the steps of the above-described method of the present application.
Alternatively, the present application may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) which, when executed by a processor of an electronic device (or electronic device, server, etc.), causes the processor to perform part or all of the various steps of the above-described method according to the present application.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (11)

1. A three-dimensional design software document storage method is characterized in that:
s1, distributing identification codes of 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, acquiring a storage identification code corresponding to the structure model in the stored three-dimensional model document;
s3, judging whether the structure model corresponding to the newly added identification code needs to be stored or not by comparing the newly added identification code with the stored identification code; if yes, go to step S4;
and S4, storing 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 storage mode comprises new construction and coverage.
2. The method for storing three-dimensional design software document according to claim 1, wherein after comparing the new identification code with the stored identification code to determine whether the structural model corresponding to the new identification code needs to be stored, the method further comprises:
if not, go to step S5;
s5, the system is unresponsive.
3. The method for storing three-dimensional design software document according to claim 1, wherein the step of determining whether the structural model corresponding to the new identification code needs to be stored by comparing the new identification code with the stored identification code comprises:
and 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 stored, and the storage mode is newly established.
4. The method for storing three-dimensional design software document according to claim 3, wherein the step of determining whether the structure model corresponding to the new identification code needs to be stored by comparing the new identification code with the stored identification code further comprises:
and if the newly added identification code is the same as the stored identification code, judging whether the structural model corresponding to the newly added identification code needs to be stored or not 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.
5. The three-dimensional design software document storage method according to claim 4, characterized in that:
the data set in the structural model includes: number of faces and quality.
6. The method for saving the three-dimensional design software document according to claim 5, wherein the determining whether the structure model corresponding to the new identification code needs to be saved by comparing the data set in the structure model corresponding to the new identification code with the data set in the structure model corresponding to the stored identification code comprises:
comparing the number of the faces in the structure model corresponding to the newly added identification code with the number of the faces in the structure model corresponding to the stored identification code, and judging whether the structure model corresponding to the newly added identification code needs to be stored or not;
if the number of the surfaces in the structure model corresponding to the newly added identification code is different from the number of the surfaces in the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code needs to be stored, and the storage mode is covering;
and if the number of the surfaces in the structure model corresponding to the newly added identification code is the same as the number of the surfaces in the structure model corresponding to the stored identification code, judging whether the structure model corresponding to the newly added identification code needs to be stored or not by comparing the quality in the structure model corresponding to the newly added identification code with the quality in the structure model corresponding to the stored identification code.
7. The method for saving the three-dimensional design software document according to claim 6, wherein the determining whether the structure model corresponding to the new identifier needs to be saved by comparing the quality in the structure model corresponding to the new identifier with the quality in the structure model corresponding to the stored identifier comprises:
if the quality of the structure model corresponding to the newly added identification code is different from the quality of the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code needs to be stored, and the storage mode is covering;
and if the quality of the structure model corresponding to the newly added identification code is the same as the quality of the structure model corresponding to the stored identification code, the structure model corresponding to the newly added identification code does not need to be stored.
8. The method for saving the three-dimensional design software document according to claim 1, wherein the saving the structure model corresponding to the new identification code according to the data group in the structure model corresponding to the new identification code comprises:
if the storage mode of the structural model corresponding to the newly added identification code is newly established, newly adding a data set in the structural model corresponding to the newly added identification code, and taking the newly added identification code as a three-dimensional document of the newly established corresponding structural model of the document name;
and if the storage mode of the structure model corresponding to the newly added identification code is covered, covering the data group in the structure model corresponding to the stored identification code with the data group in the structure model corresponding to the newly added identification code.
9. The three-dimensional design software document storage method according to claim 1, characterized in that:
and circulating the steps S1 to S4 within a first preset time until the newly-added three-dimensional model document is not generated within a second preset time, wherein the second preset time is greater than the first preset time.
10. An electronic device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any one of claims 1-9.
11. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the method of any one of claims 1-9.
CN202111314665.6A 2021-11-08 2021-11-08 Three-dimensional design software document storage method Pending CN114238245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111314665.6A CN114238245A (en) 2021-11-08 2021-11-08 Three-dimensional design software document storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111314665.6A CN114238245A (en) 2021-11-08 2021-11-08 Three-dimensional design software document storage method

Publications (1)

Publication Number Publication Date
CN114238245A true CN114238245A (en) 2022-03-25

Family

ID=80748658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111314665.6A Pending CN114238245A (en) 2021-11-08 2021-11-08 Three-dimensional design software document storage method

Country Status (1)

Country Link
CN (1) CN114238245A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114894140A (en) * 2022-04-24 2022-08-12 珠海格力精密模具有限公司 Method, device, equipment and medium for measuring interval thickness of three-dimensional model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114894140A (en) * 2022-04-24 2022-08-12 珠海格力精密模具有限公司 Method, device, equipment and medium for measuring interval thickness of three-dimensional model
CN114894140B (en) * 2022-04-24 2023-09-15 珠海格力精密模具有限公司 Method, device, equipment and medium for measuring interval thickness of three-dimensional model

Similar Documents

Publication Publication Date Title
CN107943421B (en) Partition division method and device based on distributed storage system
CN107783734B (en) Resource allocation method, device and terminal based on super-fusion storage system
US7716396B1 (en) Multi-reader multi-writer circular buffer memory
CN109358908B (en) Method, device and storage medium for obtaining SPD information of memory bank
CN109379398B (en) Data synchronization method and device
CN114238245A (en) Three-dimensional design software document storage method
EP4254306A1 (en) Control stream stitching for multicore 3-d graphics rendering
CN104122977A (en) Method for storing data and storage system
CN108228332B (en) Object pool access method and device
CN111415700B (en) Repair method, repair device and computer storage medium
CN116301644B (en) Data storage method, system, terminal and medium based on multi-hard disk coordination
CN111338803A (en) Thread processing method and device
CN110888723A (en) Timing task processing method and device
CN115049531A (en) Image rendering method and device, graphic processing equipment and storage medium
CN102081920A (en) Method and device for controlling picture display
CN112346879B (en) Process management method, device, computer equipment and storage medium
CN113778639A (en) Method, device and equipment for adjusting thread pool and computer storage medium
WO2021109654A1 (en) Security task processing method and electronic device
CN110990052B (en) Configuration preservation method and device
CN112822494A (en) Double-buffer coding system and control method thereof
CN103631610B (en) A kind of parameter loading method and system
US20200026662A1 (en) Direct memory access
US20120144399A1 (en) Apparatus and method for synchronization of threads
US20220317889A1 (en) Memory Setting Method and Apparatus
CN113157403A (en) Job processing method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination