CN103729454A - Three-dimensional file processing method and device - Google Patents

Three-dimensional file processing method and device Download PDF

Info

Publication number
CN103729454A
CN103729454A CN201410003966.0A CN201410003966A CN103729454A CN 103729454 A CN103729454 A CN 103729454A CN 201410003966 A CN201410003966 A CN 201410003966A CN 103729454 A CN103729454 A CN 103729454A
Authority
CN
China
Prior art keywords
file
dimensional
dimensional file
document
reference document
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
CN201410003966.0A
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.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology 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 Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN201410003966.0A priority Critical patent/CN103729454A/en
Publication of CN103729454A publication Critical patent/CN103729454A/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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a three-dimensional file processing method and device. The three-dimensional file processing method comprises the steps that when three-dimensional files are subjected to storage going out, information of the hierarchical structure of the three-dimensional files in a drawing and document system is obtained, wherein the drawing and document system is used for storing the three-dimensional files; based on the three-dimensional files, a working directory identical to the hierarchical structure of the three-dimensional files in the drawing and document system is generated; and when a downloading request of the three-dimensional files is received, the three-dimensional files are downloaded according to the working directory. According to the three-dimensional file processing method and device, the effect that the error rate of 3D file storage going out is lowered is achieved.

Description

Three dimensional file disposal route and device
Technical field
The present invention relates to three dimensional file process field, in particular to a kind of three dimensional file disposal route and device.
Background technology
Conventionally slip-stick artist's catalogue that works in this locality is carried out three-dimensional (Three Dimensions is called for short 3D) file design, and local working directory comprises the bibliographic structure of " standard parts library " and product 3D file.Between 3D file, there is mutual adduction relationship, as two-dimensional engineering graphic is quoted 3D figure, general assembly drawing recited components figure etc.
At present, 3D management of blueprint software is revised the outbound of 3D file, conventionally downloads 3D file and associated drawing to temp directory, then opens editor 3D file.The outbound of this mode is revised, and loses the directory hierarchy of product 3D file, has destroyed slip-stick artist's work habit.A set of 3D file of product is very large, so the scheme of existing 3D file outbound easily causes the 3D document lending of outbound, and standard component drawing repeated downloads, efficiency is low.In addition, existing scheme cannot avoid file of the same name mutually to cover, and existing outbound alter mode, need to download drawing according to the adduction relationship of 3D file, this requires the external reference that management software can correct maintenance 3D file, and when the 3D file of the various different-formats of management, difficulty is larger.
For the problem that in prior art, the outbound of 3D file easily makes mistakes, effective solution is not yet proposed at present.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of three dimensional file disposal route and device, the problem of easily makeing mistakes to solve the outbound of 3D file.
To achieve these goals, according to an aspect of the present invention, provide a kind of three dimensional file disposal route.Three dimensional file disposal route according to the present invention comprises: when three dimensional file is carried out to outbound, obtain the information of the hierarchical structure of three dimensional file in drawing and document system, wherein, drawing and document system is for storing the system of three dimensional file; The working directory that the Information generation of the hierarchical structure based on three dimensional file is identical with the hierarchical structure of three dimensional file in drawing and document system; And when receiving the download request of three dimensional file, according to working directory, three dimensional file is downloaded.
Further, the working directory that the Information generation of the hierarchical structure based on three dimensional file is identical with the hierarchical structure of three dimensional file in drawing and document system comprises: the information of the hierarchical structure based on three dimensional file is mapped to destination folder by the file of three dimensional file in drawing and document system; And by destination folder generate with drawing and document system in the file of three dimensional file there is the working directory of identical layer aggregated(particle) structure.
Further, three dimensional file comprises sub-three dimensional file, according to working directory, three dimensional file is downloaded and is comprised: obtain three dimensional file at the routing information of the file of working directory; Three dimensional file is downloaded, and stored under the file that routing information is corresponding; Under file corresponding to routing information, create the file corresponding with sub-three dimensional file; And antithetical phrase three dimensional file downloads, and store under file corresponding to sub-three dimensional file.
Further, three dimensional file comprises reference document, and the file of the external reference that reference document is three dimensional file is downloaded and comprised three dimensional file according to working directory: obtain three dimensional file at the routing information of the file of working directory; Three dimensional file is downloaded, and stored under the file that routing information is corresponding; According to three dimensional file, under file corresponding to routing information, create the file corresponding with reference document with the adduction relationship between reference document; And reference document is downloaded, and store under the file that reference document is corresponding.
Further, three dimensional file is being downloaded, and after storing under the file that routing information is corresponding, three dimensional file disposal route also comprises: judge whether reference document exists the working directory corresponding with reference document in drawing and document system; When judging reference document and not having working directory, reference document is downloaded, and store under the file that routing information is corresponding, wherein, when judging reference document and have working directory, according to three dimensional file, under file corresponding to routing information, create the file corresponding with reference document with the adduction relationship between reference document.
To achieve these goals, according to a further aspect in the invention, provide a kind of three dimensional file treating apparatus.Three dimensional file treating apparatus according to the present invention comprises: acquiring unit, for when three dimensional file is carried out to outbound, obtain the information of the hierarchical structure of three dimensional file in drawing and document system, and wherein, drawing and document system is for storing the system of three dimensional file; Generation unit, for the Information generation of the hierarchical structure based on the three dimensional file working directory identical with the hierarchical structure of drawing and document system three dimensional file; And download unit, for when receiving the download request of three dimensional file, according to working directory, three dimensional file is downloaded.
Further, generation unit comprises: mapping block, is mapped to destination folder for the information of the hierarchical structure based on three dimensional file by the file of drawing and document system three dimensional file; And generation module, for generate the working directory with the file of drawing and document system three dimensional file with identical layer aggregated(particle) structure by destination folder.
Further, three dimensional file comprises sub-three dimensional file, and download unit comprises: the first acquisition module, for obtaining three dimensional file at the routing information of the file of working directory; The first download module, for three dimensional file is downloaded, and stores under the file that routing information is corresponding; And first creation module, for create the file corresponding with sub-three dimensional file under file corresponding to routing information, wherein, the first download module is also downloaded for antithetical phrase three dimensional file, and stores under file corresponding to sub-three dimensional file.
Further, three dimensional file comprises reference document, the file of the external reference that reference document is three dimensional file, and download unit comprises: the second acquisition module, for obtaining three dimensional file at the routing information of the file of working directory; The second download module, for three dimensional file is downloaded, and stores under the file that routing information is corresponding; And second creation module, for creating the file corresponding with reference document according to three dimensional file with the adduction relationship between reference document under file corresponding to routing information, wherein, the second download module is also for reference document is downloaded, and stores under the file that reference document is corresponding.
Further, download unit also comprises: judge module, for three dimensional file is being downloaded, and after storing under the file that routing information is corresponding, judge whether reference document exists the working directory corresponding with reference document in drawing and document system, wherein, the second download module is also for when judging reference document when drawing and document system does not exist the working directory corresponding with reference document, reference document is downloaded, and store under the file that routing information is corresponding, the second creation module is also for when judging reference document when drawing and document system exists the working directory corresponding with reference document, according to three dimensional file, under file corresponding to routing information, create the file corresponding with reference document with the adduction relationship between reference document.
By the present invention, employing is by obtaining the information of the hierarchical structure of three dimensional file in drawing and document system, based on this Information generation working directory identical with the hierarchical structure of three dimensional file in drawing and document system, according to this working directory, Balakrishnan part is downloaded, thereby the three dimensional file after downloading is had and hierarchical structure identical in drawing and document system, avoided three dimensional file to download in a temp directory, cause the adduction relationship between three dimensional file to make mistakes, or three dimensional file of the same name covers the situation of makeing mistakes while causing three dimensional file outbound mutually, solved the problem that in prior art, the outbound of 3D file easily makes mistakes, reached the effect of the error rate that reduces the outbound of 3D file.
Accompanying drawing explanation
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the schematic diagram of the three dimensional file treating apparatus of first embodiment of the invention;
Fig. 2 is according to the schematic diagram of the hierarchical structure of three dimensional file in the drawing and document system of the embodiment of the present invention;
Fig. 3 is according to the schematic diagram of the hierarchical structure of adduction relationship between three dimensional file in the drawing and document system of the embodiment of the present invention;
Fig. 4 is according to the schematic diagram of the three dimensional file treating apparatus of second embodiment of the invention;
Fig. 5 is according to the schematic diagram of the three dimensional file treating apparatus of third embodiment of the invention;
Fig. 6 is according to the process flow diagram of the three dimensional file disposal route of first embodiment of the invention; And
Fig. 7 is according to the process flow diagram of the three dimensional file disposal route of second embodiment of the invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, the term " first " in instructions of the present invention and claims and above-mentioned accompanying drawing, " second " etc. are for distinguishing similar object, and needn't be for describing specific order or precedence.Should be appreciated that the data of such use are suitably exchanging in situation, so that embodiments of the invention described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, for example, those steps or unit that the process that has comprised series of steps or unit, method, system, product or equipment are not necessarily limited to clearly list, but can comprise clearly do not list or for these processes, method, product or equipment intrinsic other step or unit.
The embodiment of the present invention provides a kind of three dimensional file treating apparatus, and this device can be realized its function by computer equipment.
Fig. 1 is according to the schematic diagram of the three dimensional file treating apparatus of first embodiment of the invention.As shown in Figure 1, this three dimensional file treating apparatus comprises acquiring unit 10, generation unit 30 and download unit 50.
Acquiring unit 10, for when three dimensional file is carried out to outbound, obtains the information of the hierarchical structure of three dimensional file in drawing and document system, and wherein, drawing and document system is for storing the system of three dimensional file.
Three dimensional file that is to say 3D file, before three dimensional file outbound, hierarchical structure with three dimensional file is stored in drawing and document system, this drawing and document system can be product data management (Product Data Management for example, be called for short PDM) the drawing and document management system of system etc., wherein, the hierarchical structure of three dimensional file comprises the hierarchical structure of adduction relationship between the hierarchical structure of relation of inclusion between three dimensional file and three dimensional file, for example components A comprises part A1, this is the relation of inclusion of three dimensional file, part B general assembly drawing recited components B1 figure, inferior is the adduction relationship of three dimensional file.The three dimensional file here can be the drawing of 3D engineering drawing, and as shown in Figure 2, wherein, rectangle is expressed as file to the hierarchical structure of the drawing of storing in drawing and document system, and ellipse is expressed as drawing.In drawing and document system, there is " standard parts library " hierarchical structure, should " standard parts library " comprises " standard component C drawing ", " standard component D drawing " etc.; And " products A " drawing hierarchical structure, " products A " comprises " products A general assembly drawing ", " components A 1 "; " components A 1 " comprises " components A 1 general assembly drawing ", " part A11 ", " part A12 "; " part A11 " and " part A12 " respectively comprise a drawing, are respectively part A11 figure and part A12 figure.Wherein, " components A 1 " can be called the sub-three dimensional file of " products A ".
In addition, owing to having adduction relationship between three dimensional file, as shown in Figure 3, " product B general assembly drawing " quotes " part B 1 general assembly drawing "; " part B 1 general assembly drawing " quotes " part B11 figure ", " part B12 figure " and " standard component B13 drawing "." part B 1 general assembly drawing " can be called the reference document of " product B general assembly drawing ".
When three dimensional file is carried out outbound, acquiring unit 10 obtains the information of the hierarchical structure of three dimensional file in drawing and document system, and this information is the information of the hierarchical structure of three dimensional file in reflection drawing and document system.Information based on the hierarchical structure of three dimensional file in drawing and document system can generating three-dimensional file hierarchical structure.By obtain the hierarchical structure of three dimensional file in drawing and document system information so that according to the hierarchical structure of three dimensional file in this Information generation and drawing and document system just as working directory.
Generation unit 30 is for the Information generation of the hierarchical structure based on the three dimensional file working directory identical with the hierarchical structure of drawing and document system three dimensional file.
Can be after the information of the hierarchical structure of three dimensional file in obtaining drawing and document system, the working directory that the Information generation of generation unit 30 based on getting is identical with the hierarchical structure of three dimensional file in drawing and document system.
Particularly, generating working directory can be drawing and document system Plays part storehouse to be mapped to the file in local standard part storehouse, product is mapped to the file of native product working directory, thereby the file after mapping forms the identical working directory of hierarchical structure of three dimensional file in drawing and document system.Wherein, this locality can be the residing client of three dimensional file treating apparatus, and user can carry out by this client the processing such as outbound modification to three dimensional file.Certainly, because the sub-three dimensional file for three dimensional file and reference document also can be mapped to local corresponding file.
Download unit 50, for when receiving the download request of three dimensional file, is downloaded three dimensional file according to working directory.
The download request of three dimensional file can be the download request that user inputs, and by this download request, three dimensional file is downloaded.
Particularly, can be when receiving the download request of three dimensional file, obtain the routing information of the file in working directory, from drawing and document system, download three dimensional file, and the three dimensional file of download is stored under the file that in working directory, the routing information of file is corresponding, thereby complete the outbound to three dimensional file.
According to the embodiment of the present invention, by obtaining the information of the hierarchical structure of three dimensional file in drawing and document system, based on this Information generation working directory identical with the hierarchical structure of three dimensional file in drawing and document system, according to this working directory, Balakrishnan part is downloaded, thereby the three dimensional file after downloading is had and hierarchical structure identical in drawing and document system, avoided three dimensional file to download in a temp directory, cause the adduction relationship between three dimensional file to make mistakes, or three dimensional file of the same name covers the situation of makeing mistakes while causing three dimensional file outbound mutually, solved the problem that in prior art, the outbound of 3D file easily makes mistakes, reached the effect of the error rate that reduces the outbound of 3D file.
Fig. 4 is according to the schematic diagram of the three dimensional file treating apparatus of second embodiment of the invention.The three dimensional file treating apparatus of this embodiment can be used as a kind of preferred implementation of the three dimensional file treating apparatus of above-described embodiment.As shown in Figure 4, this three dimensional file treating apparatus comprises acquiring unit 10, generation unit 30 and download unit 50, and wherein, generation unit 30 comprises mapping block 301 and generation module 303.
Mapping block 301 is mapped to destination folder for the information of the hierarchical structure based on three dimensional file by the file of drawing and document system three dimensional file.
Destination folder can be the file in the client terminal local that uses of user, the information of the hierarchical structure of mapping block 301 based on three dimensional file is mapped to destination folder by the file of three dimensional file in drawing and document system, make destination folder corresponding one by one with the file in drawing and document system, thus can be so that the hierarchical structure of destination folder be identical with the hierarchical structure of file in drawing and document system.As shown in Figure 2, in drawing and document system, the file that comprises components A 1 under the file of products A, by the file of products A is mapped to first object file, the file of components A 1 is mapped to the second destination folder, and first object file comprises the second destination folder, so that the three dimensional file of identical layer aggregated(particle) structure in generation and drawing and document system.
Generation module 303 is for generating the working directory with the file of drawing and document system three dimensional file with identical layer aggregated(particle) structure by destination folder.
After the file of three dimensional file in drawing and document system is mapped to destination folder, generation module 303 is by the destination folder after shining upon, generate the working directory of the destination folder identical with the folder hierarchy of three dimensional file in drawing and document system, under this working directory, each file is formed at the file identical layer aggregated(particle) structure relation of three dimensional file in drawing and document system.For example, under the file of above-mentioned middle products A, comprise the file of components A 1, thereby make the first object file after mapping comprise the second destination folder.
According to the embodiment of the present invention, by the file of three dimensional file in drawing and document system is mapped to destination folder, and in generation and drawing and document system, the file of three dimensional file has the working directory of identical layer aggregated(particle) structure, thereby can to three dimensional file, carry out the operations such as outbound modification according to the hierarchical structure that is stored in the file of the three dimensional file in drawing and document system, avoid the problem that causes file of the same name to cover under unified file due to three dimensional file unification is downloaded to, simultaneously, make the hierarchical structure of the three dimensional file after outbound follow staff's work habit, improve staff's work efficiency.
Fig. 5 is according to the schematic diagram of the three dimensional file treating apparatus of third embodiment of the invention.The three dimensional file treating apparatus of this embodiment can be used as a kind of preferred implementation of the three dimensional file treating apparatus of above-described embodiment.As shown in Figure 5, this three dimensional file treating apparatus comprises acquiring unit 10, generation unit 30 and download unit 50, and wherein, download unit 50 comprises the first acquisition module 501, the first download module 503 and the first creation module 505.
Three dimensional file comprises sub-three dimensional file, sub-three dimensional file can also comprise sub-three dimensional file, as shown in Figure 2, products A general assembly drawing is three dimensional file, products A general assembly drawing includes components A 1 general assembly drawing, components A 1 general assembly drawing can be called the sub-three dimensional file of products A general assembly drawing, and in like manner, part A11 figure is the sub-three dimensional file of components A 1 general assembly drawing.
The first acquisition module 501 is for obtaining three dimensional file at the routing information of the file of working directory.
Can be when receiving the download request of three dimensional file, the first acquisition module 501 obtains the routing information of the file of three dimensional file under working directory, by this routing information, can find corresponding file, so that three dimensional file is downloaded, and store under this document folder.
The first download module 503 is for three dimensional file is downloaded, and stores under the file that routing information is corresponding.
After the routing information of file that gets working directory, the first 503 pairs of download modules three dimensional file is downloaded, and stores under the file that routing information is corresponding.For example, obtain the routing information of the file of products A, then download the general assembly drawing of products A, and be stored under the file of products A.
The first creation module 505 for creating the file corresponding with sub-three dimensional file under file corresponding to routing information.
It can be after three dimensional file is downloaded that the first creation module 505 creates the file corresponding with sub-three dimensional file under file corresponding to routing information, can be also when three dimensional file is downloaded.For example, when downloading the general assembly drawing of products A, and when being stored under the file of products A, under the file of products A, create the file of parts A1, so that components A 1 general assembly drawing is downloaded under this document folder.
The first download module 503 is also downloaded for antithetical phrase three dimensional file, and stores under file corresponding to sub-three dimensional file.
After being created in the file corresponding with sub-three dimensional file, the first download module 503 antithetical phrase three dimensional file are downloaded, and the sub-three dimensional file of downloading is stored under file corresponding to sub-three dimensional file.
Certainly, when sub-three dimensional file also comprises sub-three dimensional file, can process according to above-mentioned processing mode.
According to the embodiment of the present invention, by three dimensional file and son file thereof are downloaded to respectively under corresponding file, avoid the problem that causes file of the same name to cover under unified file due to three dimensional file unification is downloaded to, reduced further the error rate of three dimensional file outbound.
Alternatively, three dimensional file comprises reference document, the file of the external reference that reference document is three dimensional file, and as shown in Figure 3, three dimensional file product B general assembly drawing is quoted part B 1 general assembly drawing, and part B 1 general assembly drawing is the reference document of product B general assembly drawing so.Wherein, download unit 50 comprises the second acquisition module, the second download module and the second creation module.
The second acquisition module is for obtaining three dimensional file at the routing information of the file of working directory.The second download module is used for three dimensional file to download, and stores under the file that routing information is corresponding.
It should be noted that, the second acquisition module is identical with the first acquisition module 501 functions, and the second download module is identical with the first download module 503 functions, does not repeat here.
The second creation module for creating the file corresponding with reference document according to three dimensional file with the adduction relationship between reference document under file corresponding to routing information.
Particularly, can first obtain the adduction relationship between three dimensional file and reference document, then the second creating unit is created in the file that reference document is corresponding under the file of three dimensional file according to adduction relationship.As shown in Figure 3, three dimensional file product B general assembly drawing is quoted part B 1 general assembly drawing, can this adduction relationship of quoting, determine that product B general assembly drawing quotes part B 1 general assembly drawing, can under the file of product B, create the file of parts B1, thereby part B 1 general assembly drawing can be downloaded under this document folder.
The second download module is also for reference document is downloaded, and stores under the file that reference document is corresponding.
After being created in the file corresponding with reference document, the second download module is downloaded reference document, and the reference document of download is stored under the file that reference document is corresponding.
Certainly, the reference document of three dimensional file can also be by other three dimensional file of external reference, as shown in Figure 3, product B general assembly drawing is quoted part B 1 general assembly drawing, part B 1 general assembly drawing recited components B11 figure, part B12 figure and standard component part B13 drawing etc., can process by above-mentioned processing mode.
According to the embodiment of the present invention, by the hierarchical structure based on file, download reference document, thereby make, when three dimensional file outbound, not need to re-establish the external reference relation between three dimensional file, and then do not need adduction relationship to safeguard.
Preferably, download unit 50 also comprises judge module.
Judge module is used for three dimensional file downloading, and after storing under the file that routing information is corresponding, judges whether reference document exists the working directory corresponding with reference document in drawing and document system.
The second download module also, for when judging reference document when drawing and document system does not exist the working directory corresponding with reference document, is downloaded reference document, and stores under the file that routing information is corresponding.If judge reference document, in drawing and document system, there is not the working directory corresponding with reference document, reference document is downloaded under the file of the three dimensional file being cited.
The second creation module also, for when judging reference document when drawing and document system exists the working directory corresponding with reference document, creates the file corresponding with reference document according to three dimensional file with the adduction relationship between reference document under file corresponding to routing information.
The embodiment of the present invention also provides a kind of three dimensional file disposal route.The method operates in three dimensional file and processes.It should be noted that, the three dimensional file treating apparatus that the three dimensional file disposal route of the embodiment of the present invention can provide by the embodiment of the present invention is carried out, the three dimensional file disposal route that the three dimensional file treating apparatus of the embodiment of the present invention also can provide for carrying out the embodiment of the present invention.
Fig. 6 is according to the process flow diagram of the three dimensional file disposal route of first embodiment of the invention.As shown in Figure 6, this three dimensional file disposal route comprises that step is as follows:
Step S602, when three dimensional file is carried out to outbound, obtains the information of the hierarchical structure of three dimensional file in drawing and document system, and wherein, drawing and document system is for storing the system of three dimensional file.
Three dimensional file that is to say 3D file, before three dimensional file outbound, hierarchical structure with three dimensional file is stored in drawing and document system, this drawing and document system can be as product data management (Product Data Management, be called for short PDM) the drawing and document management system of system etc., wherein, the hierarchical structure of three dimensional file comprises the hierarchical structure of adduction relationship between the hierarchical structure of relation of inclusion between three dimensional file and three dimensional file, for example components A comprises part A1, this is the relation of inclusion of three dimensional file, part B general assembly drawing recited components B1 figure, inferior is the adduction relationship of three dimensional file.The three dimensional file here can be the drawing of 3D engineering drawing, and as shown in Figure 2, wherein, rectangle is expressed as file to the hierarchical structure of the drawing of storing in drawing and document system, and ellipse is expressed as drawing.In drawing and document system, there is " standard parts library " hierarchical structure, should " standard parts library " comprises " standard component C drawing ", " standard component D drawing " etc.; And " products A " drawing hierarchical structure, " products A " comprises " products A general assembly drawing ", " components A 1 "; " components A 1 " comprises " components A 1 general assembly drawing ", " part A11 ", " part A12 "; " part A11 " and " part A12 " respectively comprise a drawing, are respectively part A11 figure and part A12 figure.Wherein, " components A 1 " can be called the sub-three dimensional file of " products A ".
In addition, owing to having adduction relationship between three dimensional file, as shown in Figure 3, " product B general assembly drawing " quotes " part B 1 general assembly drawing "; " part B 1 general assembly drawing " quotes " part B11 figure ", " part B12 figure " and " standard component B13 drawing "." part B 1 general assembly drawing " can be called the reference document of " product B general assembly drawing ".
When three dimensional file is carried out outbound, obtain the information of the hierarchical structure of three dimensional file in drawing and document system, this information is the information of the hierarchical structure of three dimensional file in reflection drawing and document system.Information based on the hierarchical structure of three dimensional file in drawing and document system can generating three-dimensional file hierarchical structure.By obtain the hierarchical structure of three dimensional file in drawing and document system information so that according to the hierarchical structure of three dimensional file in this Information generation and drawing and document system just as working directory.
Step S604, the working directory that the Information generation of the hierarchical structure based on three dimensional file is identical with the hierarchical structure of three dimensional file in drawing and document system.
Can be after the information of the hierarchical structure of three dimensional file in obtaining drawing and document system, the working directory that the Information generation based on getting is identical with the hierarchical structure of three dimensional file in drawing and document system.
Particularly, generating working directory can be drawing and document system Plays part storehouse to be mapped to the file in local standard part storehouse, product is mapped to the file of native product working directory, thereby the file after mapping forms the identical working directory of hierarchical structure of three dimensional file in drawing and document system.Wherein, this locality can be the residing client of three dimensional file treating apparatus, and user can carry out by this client the processing such as outbound modification to three dimensional file.Certainly, because the sub-three dimensional file for three dimensional file and reference document also can be mapped to local corresponding file.
Step S606, when receiving the download request of three dimensional file, downloads three dimensional file according to working directory.
The download request of three dimensional file can be the download request that user inputs, and by this download request, three dimensional file is downloaded.
Particularly, can be when receiving the download request of three dimensional file, obtain the routing information of the file in working directory, from drawing and document system, download three dimensional file, and the three dimensional file of download is stored under the file that in working directory, the routing information of file is corresponding, thereby complete the outbound to three dimensional file.
According to the embodiment of the present invention, by obtaining the information of the hierarchical structure of three dimensional file in drawing and document system, based on this Information generation working directory identical with the hierarchical structure of three dimensional file in drawing and document system, according to this working directory, Balakrishnan part is downloaded, thereby the three dimensional file after downloading is had and hierarchical structure identical in drawing and document system, avoided three dimensional file to download in a temp directory, cause the adduction relationship between three dimensional file to make mistakes, or three dimensional file of the same name covers the situation of makeing mistakes while causing three dimensional file outbound mutually, solved the problem that in prior art, the outbound of 3D file easily makes mistakes, reached the effect of the error rate that reduces the outbound of 3D file.
Fig. 7 is according to the process flow diagram of the three dimensional file disposal route of second embodiment of the invention.The three dimensional file disposal route of this embodiment can be a kind of preferred implementation of the three dimensional file disposal route of above-described embodiment.As shown in Figure 7, this three dimensional file disposal route comprises that step is as follows:
Step S702 is identical with the step S602 shown in Fig. 6, does not repeat here.
Step S704, the information of the hierarchical structure based on three dimensional file is mapped to destination folder by the file of three dimensional file in drawing and document system.
Destination folder can be the file in the client terminal local that uses of user, the information of the hierarchical structure based on three dimensional file is mapped to destination folder by the file of three dimensional file in drawing and document system, make destination folder corresponding one by one with the file in drawing and document system, thus can be so that the hierarchical structure of destination folder be identical with the hierarchical structure of file in drawing and document system.As shown in Figure 2, in drawing and document system, the file that comprises components A 1 under the file of products A, by the file of products A is mapped to first object file, the file of components A 1 is mapped to the second destination folder, and first object file comprises the second destination folder, so that the three dimensional file of identical layer aggregated(particle) structure in generation and drawing and document system.
Step S706, by destination folder generate with drawing and document system in the file of three dimensional file there is the working directory of identical layer aggregated(particle) structure.
After the file of three dimensional file in drawing and document system is mapped to destination folder, by the destination folder after mapping, generate the working directory of the destination folder identical with the folder hierarchy of three dimensional file in drawing and document system, under this working directory, each file is formed at the file identical layer aggregated(particle) structure relation of three dimensional file in drawing and document system.For example, under the file of above-mentioned middle products A, comprise the file of components A 1, thereby make the first object file after mapping comprise the second destination folder.
According to the embodiment of the present invention, by the file of three dimensional file in drawing and document system is mapped to destination folder, and in generation and drawing and document system, the file of three dimensional file has the working directory of identical layer aggregated(particle) structure, thereby can to three dimensional file, carry out the operations such as outbound modification according to the hierarchical structure that is stored in the file of the three dimensional file in drawing and document system, avoid the problem that causes file of the same name to cover under unified file due to three dimensional file unification is downloaded to, simultaneously, make the hierarchical structure of the three dimensional file after outbound follow staff's work habit, improve staff's work efficiency.
Step S708 is identical with the step S606 shown in Fig. 6, does not repeat here.
Alternatively, three dimensional file comprises sub-three dimensional file, sub-three dimensional file can also comprise sub-three dimensional file, as shown in Figure 2, products A general assembly drawing is three dimensional file, and products A general assembly drawing includes components A 1 general assembly drawing, and components A 1 general assembly drawing can be called the sub-three dimensional file of products A general assembly drawing, in like manner, part A11 figure is the sub-three dimensional file of components A 1 general assembly drawing.Wherein, step S606 or step S708 can comprise the following steps:
The first step, obtains three dimensional file at the routing information of the file of working directory.
Can be when receiving the download request of three dimensional file, obtain the routing information of the file of three dimensional file under working directory, by this routing information, can find corresponding file, so that three dimensional file is downloaded, and store under this document folder.
Second step, downloads three dimensional file, and stores under the file that routing information is corresponding.
After the routing information of file that gets working directory, the first download module is downloaded three dimensional file, and stores under the file that routing information is corresponding.For example, obtain the routing information of the file of products A, then download the general assembly drawing of products A, and be stored under the file of products A.
The 3rd step creates the file corresponding with sub-three dimensional file under file corresponding to routing information.
It can be after three dimensional file is downloaded that the first creation module creates the file corresponding with sub-three dimensional file under file corresponding to routing information, can be also when three dimensional file is downloaded.For example, when downloading the general assembly drawing of products A, and when being stored under the file of products A, under the file of products A, create the file of parts A1, so that components A 1 general assembly drawing is downloaded under this document folder.
The 4th step, antithetical phrase three dimensional file is downloaded, and stores under file corresponding to sub-three dimensional file.
After being created in the file corresponding with sub-three dimensional file, the first download module antithetical phrase three dimensional file is downloaded, and the sub-three dimensional file of downloading is stored under file corresponding to sub-three dimensional file.
Certainly, when sub-three dimensional file also comprises sub-three dimensional file, can process according to above-mentioned processing mode.
According to the embodiment of the present invention, by three dimensional file and son file thereof are downloaded to respectively under corresponding file, avoid the problem that causes file of the same name to cover under unified file due to three dimensional file unification is downloaded to, reduced further the error rate of three dimensional file outbound.
Alternatively, three dimensional file comprises reference document, the file of the external reference that reference document is three dimensional file, and as shown in Figure 3, three dimensional file product B general assembly drawing is quoted part B 1 general assembly drawing, and part B 1 general assembly drawing is the reference document of product B general assembly drawing so.Wherein, step S606 or step S708 can comprise the following steps and comprise:
Step 1, obtains three dimensional file at the routing information of the file of working directory.
Step 2, downloads three dimensional file, and stores under the file that routing information is corresponding.
It should be noted that, step 1 is identical with the above-mentioned middle first step, and step 2 is identical with above-mentioned middle second step, does not repeat here.
Step 3 creates the file corresponding with reference document according to three dimensional file with the adduction relationship between reference document under file corresponding to routing information.
Particularly, can first obtain the adduction relationship between three dimensional file and reference document, then the second creating unit is created in the file that reference document is corresponding under the file of three dimensional file according to adduction relationship.As shown in Figure 3, three dimensional file product B general assembly drawing is quoted part B 1 general assembly drawing, can this adduction relationship of quoting, determine that product B general assembly drawing quotes part B 1 general assembly drawing, can under the file of product B, create the file of parts B1, thereby part B 1 general assembly drawing can be downloaded under this document folder.
Step 4, downloads reference document, and stores under the file that reference document is corresponding.
After being created in the file corresponding with reference document, the second download module is downloaded reference document, and the reference document of download is stored under the file that reference document is corresponding.
Certainly, the reference document of three dimensional file can also be by other three dimensional file of external reference, as shown in Figure 3, product B general assembly drawing is quoted part B 1 general assembly drawing, part B 1 general assembly drawing recited components B11 figure, part B12 figure and standard component part B13 drawing etc., can process by above-mentioned processing mode.
According to the embodiment of the present invention, by the hierarchical structure based on file, download reference document, thereby make, when three dimensional file outbound, not need to re-establish the external reference relation between three dimensional file, and then do not need adduction relationship to safeguard.
After step 2, three dimensional file disposal route also comprises: judge whether reference document exists the working directory corresponding with reference document in drawing and document system; When judging reference document do not have the working directory corresponding with reference document in drawing and document system, reference document is downloaded, and stored under the file that routing information is corresponding.If judge reference document, in drawing and document system, there is not the working directory corresponding with reference document, reference document is downloaded under the file of the three dimensional file being cited.When judging reference document have the working directory corresponding with reference document in drawing and document system, according to three dimensional file, under file corresponding to routing information, create the file corresponding with reference document with the adduction relationship between reference document.
By the description to the embodiment of the present invention above, can find out that the present invention can also be achieved as follows effect:
Owing to generating the working directory identical with structure tomographic in drawing and document system, and three dimensional file is carried out to outbound according to this working directory, thereby make, when outbound three dimensional file, can directly quote the standard parts library in drawing and document storehouse, without standard component is downloaded.
It should be noted that, in the step shown in the process flow diagram of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a three dimensional file disposal route, is characterized in that, comprising:
When three dimensional file is carried out to outbound, obtain the information of the hierarchical structure of three dimensional file described in drawing and document system, wherein, described drawing and document system is for storing the system of described three dimensional file;
The working directory that the Information generation of the hierarchical structure based on described three dimensional file is identical with the hierarchical structure of three dimensional file described in described drawing and document system; And
When receiving the download request of described three dimensional file, according to described working directory, described three dimensional file is downloaded.
2. three dimensional file disposal route according to claim 1, is characterized in that, the working directory that the Information generation of the hierarchical structure based on described three dimensional file is identical with the hierarchical structure of three dimensional file described in described drawing and document system comprises:
The information of the hierarchical structure based on described three dimensional file is mapped to destination folder by the file of three dimensional file described in described drawing and document system; And
By described destination folder, generate the described working directory with the file of three dimensional file described in described drawing and document system with identical layer aggregated(particle) structure.
3. three dimensional file disposal route according to claim 1, is characterized in that, described three dimensional file comprises sub-three dimensional file, according to described working directory, described three dimensional file is downloaded and is comprised:
Obtain described three dimensional file at the routing information of the file of described working directory;
Described three dimensional file is downloaded, and stored under the file that described routing information is corresponding;
Under file corresponding to described routing information, create the file corresponding with described sub-three dimensional file; And
Described sub-three dimensional file is downloaded, and stored under file corresponding to described sub-three dimensional file.
4. three dimensional file disposal route according to claim 1, it is characterized in that, described three dimensional file comprises reference document, and the file of the external reference that described reference document is described three dimensional file is downloaded and comprised described three dimensional file according to described working directory:
Obtain described three dimensional file at the routing information of the file of described working directory;
Described three dimensional file is downloaded, and stored under the file that described routing information is corresponding;
According to described three dimensional file, under file corresponding to described routing information, create the file corresponding with described reference document with the adduction relationship between described reference document; And
Described reference document is downloaded, and stored under the file that described reference document is corresponding.
5. three dimensional file disposal route according to claim 4, is characterized in that, described three dimensional file is being downloaded, and after storing under the file that described routing information is corresponding, described three dimensional file disposal route also comprises:
Judge whether described reference document exists the working directory corresponding with described reference document in described drawing and document system;
When judging described reference document and not having described working directory, described reference document is downloaded, and stored under the file that described routing information is corresponding,
Wherein, when judging described reference document and have described working directory, according to described three dimensional file, under file corresponding to described routing information, create the file corresponding with described reference document with the adduction relationship between described reference document.
6. a three dimensional file treating apparatus, is characterized in that, comprising:
Acquiring unit, for when three dimensional file is carried out to outbound, obtains the information of the hierarchical structure of three dimensional file described in drawing and document system, and wherein, described drawing and document system is for storing the system of described three dimensional file;
Generation unit, for the Information generation of the hierarchical structure based on the described three dimensional file working directory identical with the hierarchical structure of three dimensional file described in described drawing and document system; And
Download unit, for when receiving the download request of described three dimensional file, downloads described three dimensional file according to described working directory.
7. three dimensional file treating apparatus according to claim 6, is characterized in that, described generation unit comprises:
Mapping block, is mapped to destination folder for the information of the hierarchical structure based on described three dimensional file by the file of three dimensional file described in described drawing and document system; And
Generation module, for generating the described working directory with the file of three dimensional file described in described drawing and document system with identical layer aggregated(particle) structure by described destination folder.
8. three dimensional file treating apparatus according to claim 6, is characterized in that, described three dimensional file comprises sub-three dimensional file, and described download unit comprises:
The first acquisition module, for obtaining described three dimensional file at the routing information of the file of described working directory;
The first download module, for described three dimensional file is downloaded, and stores under the file that described routing information is corresponding; And
The first creation module, for create the file corresponding with described sub-three dimensional file under file corresponding to described routing information,
Wherein, described the first download module is also for described sub-three dimensional file is downloaded, and stores under file corresponding to described sub-three dimensional file.
9. three dimensional file treating apparatus according to claim 8, is characterized in that, described three dimensional file comprises reference document, the file of the external reference that described reference document is described three dimensional file, and described download unit comprises:
The second acquisition module, for obtaining described three dimensional file at the routing information of the file of described working directory;
The second download module, for described three dimensional file is downloaded, and stores under the file that described routing information is corresponding; And
The second creation module, for creating the file corresponding with described reference document according to described three dimensional file with the adduction relationship between described reference document under file corresponding to described routing information,
Wherein, described the second download module is also for described reference document is downloaded, and stores under the file that described reference document is corresponding.
10. three dimensional file treating apparatus according to claim 9, is characterized in that, described download unit also comprises:
Judge module, for described three dimensional file is being downloaded, and after storing under the file that described routing information is corresponding, judges whether described reference document exists the working directory corresponding with described reference document in described drawing and document system,
Wherein, described the second download module is also for when judging described reference document when described drawing and document system does not exist the working directory corresponding with described reference document, described reference document is downloaded, and stored under the file that described routing information is corresponding
Described the second creation module also, for when judging described reference document when described drawing and document system exists the working directory corresponding with described reference document, creates the file corresponding with described reference document according to described three dimensional file with the adduction relationship between described reference document under file corresponding to described routing information.
CN201410003966.0A 2014-01-03 2014-01-03 Three-dimensional file processing method and device Pending CN103729454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410003966.0A CN103729454A (en) 2014-01-03 2014-01-03 Three-dimensional file processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410003966.0A CN103729454A (en) 2014-01-03 2014-01-03 Three-dimensional file processing method and device

Publications (1)

Publication Number Publication Date
CN103729454A true CN103729454A (en) 2014-04-16

Family

ID=50453528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410003966.0A Pending CN103729454A (en) 2014-01-03 2014-01-03 Three-dimensional file processing method and device

Country Status (1)

Country Link
CN (1) CN103729454A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112347277A (en) * 2020-10-28 2021-02-09 同辉佳视(北京)信息技术股份有限公司 Menu generation method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350829A (en) * 2005-06-17 2006-12-28 Nec Corp Apparatus and method for managing file version, and program
CN102868731A (en) * 2012-08-27 2013-01-09 济南大学 Method and device for software online updating and downloading acceleration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350829A (en) * 2005-06-17 2006-12-28 Nec Corp Apparatus and method for managing file version, and program
CN102868731A (en) * 2012-08-27 2013-01-09 济南大学 Method and device for software online updating and downloading acceleration

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
北京数码大方科技有限公司: "CAXA协同管理-图文档用户手册", 《HTTP://WENKU.BAIDU.COM/VIEW/34355F7C1711CC7931B7162D.HTML》 *
孙秋冬: "《PowerBuilder应用开发实用教程》", 31 July 2004 *
布兰肯希普 等: "《Team Foundation Server2010高级教程》", 30 April 2013 *
牛文兴: "三维零件库的设计与实现", 《中国优秀博硕士学位论文全文数据库 (硕士) 工程科技Ⅱ辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112347277A (en) * 2020-10-28 2021-02-09 同辉佳视(北京)信息技术股份有限公司 Menu generation method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
AU2019216649B9 (en) Method and system for providing reference architecture pattern-based permissions management
CN111201754A (en) Apparatus for providing a collection of cryptographically protected and filtered and sorted transaction data sets of links of a blockchain
US10970603B2 (en) Object recognition and description using multimodal recurrent neural network
US10754869B2 (en) Managing data format of data received from devices in an internet of things network
US20210225072A1 (en) Generating space models from map files
CN110471848B (en) Method and device for dynamically returning message
CN102831167B (en) XML (extensive makeup language) processing method and device for graph structure
CN110399387A (en) Method and device based on table incidence relation dynamic generation query SQL
CN109154968A (en) The system and method for the safety in organizing and efficiently communicated
CN104572756A (en) Visualized processing method and visualized processing device for propagation tree
CN110738038A (en) Contract text generation method, device, equipment and computer readable storage medium
CN106168963A (en) Real-time streaming data processing method and device and server
US11409724B2 (en) Hashed balanced tree data structure
CN112258619A (en) Image processing method and device
CN115686499A (en) Method, device, storage medium and electronic equipment for generating request message
CN105204782B (en) A kind of method and device for realizing data storage
CN108159694B (en) Flexible body flutter simulation method, flexible body flutter simulation device and terminal equipment
CN113780847A (en) Intelligent community information processing method based on Internet of things and server
CN103729454A (en) Three-dimensional file processing method and device
CN115981788A (en) Distributed storage deployment method, device, equipment and storage medium
CN104852986A (en) Method and device for providing newly-added function
US20150296046A1 (en) Selecting and delivering density-specific visual data to a client application
CN112860725A (en) SQL automatic generation method and device, storage medium and electronic equipment
Lee et al. Evaluation of geo-based image fusion on mobile cloud environment using histogram similarity analysis
CN110457273A (en) A kind of nuclear power station document management method, system and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140416

RJ01 Rejection of invention patent application after publication