CN102982214B - The collaborative method for building up of cad model and device - Google Patents

The collaborative method for building up of cad model and device Download PDF

Info

Publication number
CN102982214B
CN102982214B CN201210521506.8A CN201210521506A CN102982214B CN 102982214 B CN102982214 B CN 102982214B CN 201210521506 A CN201210521506 A CN 201210521506A CN 102982214 B CN102982214 B CN 102982214B
Authority
CN
China
Prior art keywords
distinguishing characteristics
file
master pattern
model
judging
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.)
Active
Application number
CN201210521506.8A
Other languages
Chinese (zh)
Other versions
CN102982214A (en
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 CN201210521506.8A priority Critical patent/CN102982214B/en
Publication of CN102982214A publication Critical patent/CN102982214A/en
Application granted granted Critical
Publication of CN102982214B publication Critical patent/CN102982214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of collaborative method for building up and device of cad model.Wherein, the collaborative method for building up of cad model comprises: obtain the first distinguishing characteristics; Obtain the second distinguishing characteristics; Judge whether the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics; When judging that the first distinguishing characteristics does not conflict mutually with the second distinguishing characteristics, merging the first distinguishing characteristics and the second distinguishing characteristics in master pattern file, obtaining first object cad model; And when judging that the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics, receive user to the selection of the first distinguishing characteristics and the second distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in master pattern file, obtain first object cad model.By the present invention, solve the problem that in prior art, cad model modeling period is longer, and then reach the effect of the modeling efficiency improving cad model.

Description

The collaborative method for building up of cad model and device
Technical field
The present invention relates to computer realm, in particular to a kind of collaborative method for building up and device of cad model.
Background technology
Along with Three-dimensional CAD Software is in manufacturing widespread use, the complexity of the model handled by software is also in continuous increase.The Assembly part number of a product, the Modelling feature number of single part is all the increase of geometry multiple, therefore the research and development time of single product is also elongated, for certain large-scale gardens equipment manufacturers, a new product is from researching and developing to the time of producing in batches and wanting half a year, and this is concerning oversize fast changing market.
The demand of multi-person synergy three-dimensional modeling is arisen at the historic moment, and multiple-person cooperative work can make enterprise concentrate strength on developing new product within the extremely short time, accounts for obtain the first market opportunities.Therefore a lot of slip-stick artist wishes as document process person, to modify to certain three dimensional file of lane database simultaneously.But manufacturing industry model file management system cannot accomplish this point at present, basic reason is because do not have a kind of simple and clear method to compare three-dimensional model.Such as, a model file, slip-stick artist A checks out amendment, logs on confirmation; Slip-stick artist B can only revise on complete basis at A and modify, if A, B check out amendment simultaneously, after A logs on confirmation, the amendment result of A will be washed out time B carries out logging on confirmation again.
Carry out the scene of three-dimensional modeling at multi-person synergy under, way general is at present:
1, first design idea is obtained by 3 d modeling software.
2, then calculate design idea by relation between geometry and topological data and have Lothrus apterus.
There is following limitation in above-mentioned synergic modeling method of the prior art: 1, the acquisition of design idea depends on modeling scene, but for three dimensional file management system, carry out file log on check out in on-the-spot mostly to lose.When modeling scene is lost, how only according to the old version of new file and file, obtain, compare, merge generation net result, become technical threshold, cause current three dimensional file management system cannot realize multi-person synergy three-dimensional design.2, geometry comparative approach of the prior art cannot the design idea of each cooperative nodes of Obtaining Accurate, revise a model with two people to be illustrated simultaneously, geometry comparative approach of the prior art is adopted just only to compare the amendment result of two people, now, although the difference of two amended models of people can be compared, but cannot knowing for sure, what everyone is to the concrete modification of model, also namely cannot know for sure is that the slip-stick artist of previous cooperative nodes has carried out modeling history feature and deletes, or the slip-stick artist of a rear cooperative nodes has carried out modeling history feature and has added, when a cooperative nodes carries out many places amendment to model, cause on the cooperative nodes of this design idea owing to design idea accurately cannot be corresponded to, just make the design idea that cannot compare each cooperative nodes, and then cannot merge design idea, cause multiple-person cooperative work to realize.
Limitation based on above-mentioned synergic modeling method just makes same model not modified by multiple slip-stick artist simultaneously, causes the modeling period of cad model longer.
For the problem that cad model modeling period in correlation technique is longer, at present effective solution is not yet proposed.
Summary of the invention
Fundamental purpose of the present invention is the collaborative method for building up and the device that provide a kind of cad model, to solve the problem that in prior art, cad model modeling period is longer.
To achieve these goals, according to an aspect of the present invention, provide a kind of collaborative method for building up of cad model, comprise: obtain the first distinguishing characteristics, wherein, first distinguishing characteristics be in the first model file with the distinguishing characteristics in master pattern file, the first model file is the model file after the first cooperative nodes is edited master pattern file, and the first cooperative nodes is to the node that master pattern file is edited in CAD editing system; Obtain the second distinguishing characteristics, wherein, second distinguishing characteristics be in the second model file with the distinguishing characteristics in master pattern file, second model file is the model file after the second cooperative nodes is edited master pattern file, second cooperative nodes is to the node that master pattern file is edited in CAD editing system, and the second cooperative nodes and the first cooperative nodes are different nodes; Judge whether the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics; When judging that the first distinguishing characteristics does not conflict mutually with the second distinguishing characteristics, merging the first distinguishing characteristics and the second distinguishing characteristics in master pattern file, obtaining first object cad model; And when judging that the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics, receive user to the selection of the first distinguishing characteristics and the second distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in master pattern file, obtain first object cad model.
Further, judge whether the first distinguishing characteristics and the second distinguishing characteristics conflict mutually to comprise: judge whether the first distinguishing characteristics and the second distinguishing characteristics exist geometric conflicts; And judge the whether Existence dependency conflict of the first distinguishing characteristics and the second distinguishing characteristics.
Further, judge whether the first distinguishing characteristics and the second distinguishing characteristics exist geometric conflicts and comprise: obtain the geometric object represented by the first distinguishing characteristics, obtain the first geometric object; Obtain the geometric object represented by the second distinguishing characteristics, obtain the second geometric object; And judge whether the first geometric object and the second geometric object intersect, wherein, when judging the first geometric object and the second geometric object intersects, determine that the first distinguishing characteristics and the second distinguishing characteristics exist geometric conflicts; And when judging the first geometric object and the second geometric object is non-intersect, determine that the first distinguishing characteristics and the second distinguishing characteristics do not exist geometric conflicts.
Further, judge whether Existence dependency conflict comprises for the first distinguishing characteristics and the second distinguishing characteristics: search default dependence graph to judge the first distinguishing characteristics and the second distinguishing characteristics whether Existence dependency relationship, wherein, when judging the first distinguishing characteristics and the second distinguishing characteristics Existence dependency relationship, determine the first distinguishing characteristics and the second distinguishing characteristics Existence dependency conflict; And judge the first distinguishing characteristics and the second distinguishing characteristics not Existence dependency relationship time, determine the first distinguishing characteristics and the not Existence dependency conflict of the second distinguishing characteristics.
Further, collaborative method for building up also comprises: obtain the 3rd distinguishing characteristics, wherein, 3rd distinguishing characteristics be in the 3rd model file with the distinguishing characteristics in master pattern file, 3rd model file is the model file after the 3rd cooperative nodes is edited master pattern file, 3rd cooperative nodes is to the node that master pattern file is edited in CAD editing system, and the 3rd cooperative nodes is different nodes from the first cooperative nodes and the second cooperative nodes, after obtaining first object cad model, collaborative method for building up also comprises: to obtain in first object cad model in model file with the distinguishing characteristics in master pattern file, obtain the 4th distinguishing characteristics, judge whether the 3rd distinguishing characteristics conflicts mutually with the 4th distinguishing characteristics, when judging that the 3rd distinguishing characteristics does not conflict mutually with the 4th distinguishing characteristics, merging the 3rd distinguishing characteristics and the 4th distinguishing characteristics, in the model file of first object cad model, obtain the second target cad model, and when judging that the 3rd distinguishing characteristics conflicts mutually with the 4th distinguishing characteristics, receive user to the selection of the 3rd distinguishing characteristics and the 4th distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in the model file of first object cad model, obtain the second target cad model.
Further, obtain the first distinguishing characteristics and the second distinguishing characteristics in the following manner: obtain the characteristic in master pattern file, obtain initial characteristic data; Obtain the characteristic in the first model file, obtain fisrt feature data; Obtain the characteristic in the second model file, obtain second feature data; Initial characteristic data and fisrt feature data and second feature data are compared respectively; Determine that the different characteristic data in the initial characteristic data that compares and fisrt feature data are the first distinguishing characteristics data; And determine that the different characteristic data in the initial characteristic data that compares and second feature data are the second distinguishing characteristics data.
To achieve these goals, according to a further aspect in the invention, a kind of collaborative apparatus for establishing of cad model is provided, the collaborative method for building up of any one cad model of this collaborative apparatus for establishing for performing foregoing of the present invention and providing.
To achieve these goals, according to a further aspect in the invention, provide a kind of collaborative apparatus for establishing of cad model, comprise: the first acquiring unit, for obtaining the first distinguishing characteristics, wherein, the first distinguishing characteristics be in the first model file with the distinguishing characteristics in master pattern file, first model file is the model file after the first cooperative nodes is edited master pattern file, and the first cooperative nodes is to the node that master pattern file is edited in CAD editing system; Second acquisition unit, for obtaining the second distinguishing characteristics, wherein, second distinguishing characteristics be in the second model file with the distinguishing characteristics in master pattern file, second model file is the model file after the second cooperative nodes is edited master pattern file, second cooperative nodes is to the node that master pattern file is edited in CAD editing system, and the second cooperative nodes and the first cooperative nodes are different nodes; First judging unit, is connected with second acquisition unit respectively with the first acquiring unit, for judging whether the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics; First merge cells, is connected with the first judging unit, for when judging that the first distinguishing characteristics does not conflict mutually with the second distinguishing characteristics, merging the first distinguishing characteristics and the second distinguishing characteristics in master pattern file, obtaining first object cad model; And second merge cells, be connected with the first judging unit, for when judging that the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics, receive user to the selection of the first distinguishing characteristics and the second distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in master pattern file, obtain first object cad model.
Further, the first judging unit comprises: the first judgment sub-unit, is connected respectively with second acquisition unit with the first acquiring unit, for judging whether the first distinguishing characteristics and the second distinguishing characteristics exist geometric conflicts; And second judgment sub-unit, be connected respectively with second acquisition unit with the first acquiring unit, for judging the whether Existence dependency conflict of the first distinguishing characteristics and the second distinguishing characteristics.
Further, the first judgment sub-unit comprises: the first acquisition module, is connected with the first acquiring unit, for obtaining the geometric object represented by the first distinguishing characteristics, obtains the first geometric object; Second acquisition module, is connected with second acquisition unit, for obtaining the geometric object represented by the second distinguishing characteristics, obtains the second geometric object; And judge module, be connected respectively with the second acquisition module with the first acquisition module, for judging whether the first geometric object and the second geometric object intersect, wherein, when judging the first geometric object and the second geometric object intersects, determine that the first distinguishing characteristics and the second distinguishing characteristics exist geometric conflicts; And when judging the first geometric object and the second geometric object is non-intersect, determine that the first distinguishing characteristics and the second distinguishing characteristics do not exist geometric conflicts.
Further, second judgment sub-unit comprises: search module, be connected respectively with second acquisition unit with the first acquiring unit, for searching default dependence graph to judge the first distinguishing characteristics and the second distinguishing characteristics whether Existence dependency relationship, wherein, when judging the first distinguishing characteristics and the second distinguishing characteristics Existence dependency relationship, determine the first distinguishing characteristics and the second distinguishing characteristics Existence dependency conflict; And judge the first distinguishing characteristics and the second distinguishing characteristics not Existence dependency relationship time, determine the first distinguishing characteristics and the not Existence dependency conflict of the second distinguishing characteristics.
Further, collaborative apparatus for establishing also comprises: the 3rd acquiring unit, for obtaining the 3rd distinguishing characteristics, wherein, 3rd distinguishing characteristics be in the 3rd model file with the distinguishing characteristics in master pattern file, 3rd model file is the model file after the 3rd cooperative nodes is edited master pattern file, 3rd cooperative nodes is to the node that master pattern file is edited in CAD editing system, and the 3rd cooperative nodes is different nodes from the first cooperative nodes and the second cooperative nodes; 4th acquiring unit, is connected with the second merge cells respectively with the first merge cells, for obtain in first object cad model in model file with the distinguishing characteristics in master pattern file, obtain the 4th distinguishing characteristics; Second judging unit, is connected with the 4th acquiring unit respectively with the 3rd acquiring unit, for judging whether the 3rd distinguishing characteristics conflicts mutually with the 4th distinguishing characteristics; 3rd merge cells, be connected with the second judging unit, for when judging that the 3rd distinguishing characteristics does not conflict mutually with the 4th distinguishing characteristics, merging the 3rd distinguishing characteristics and the 4th distinguishing characteristics, in the model file of first object cad model, obtain the second target cad model; And the 4th merge cells, be connected with the second judging unit, for when judging that the 3rd distinguishing characteristics conflicts mutually with the 4th distinguishing characteristics, receive user to the selection of the 3rd distinguishing characteristics and the 4th distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in the model file of first object cad model, obtain the second target cad model.
Further, collaborative apparatus for establishing also comprises: the 5th acquiring unit, for obtaining the characteristic in master pattern file, obtains initial characteristic data; 6th acquiring unit, for obtaining the characteristic in the first model file, obtains fisrt feature data; 7th acquiring unit, for obtaining the characteristic in the second model file, obtains second feature data; Comparing unit, is connected with the 7th acquiring unit respectively with the 5th acquiring unit, the 6th acquiring unit, for initial characteristic data and fisrt feature data and second feature data being compared respectively; First determining unit, is connected with the first acquiring unit respectively with comparing unit, for determining that the different characteristic data in the initial characteristic data that compares and fisrt feature data are the first distinguishing characteristics data; And second determining unit, be connected respectively with second acquisition unit with comparing unit, for determining that the different characteristic data in the initial characteristic data that compares and second feature data are the second distinguishing characteristics data.
Pass through the present invention, adopt acquisition first distinguishing characteristics, wherein, first distinguishing characteristics be in the first model file with the distinguishing characteristics in master pattern file, first model file is the model file after the first cooperative nodes is edited master pattern file, and the first cooperative nodes is to the node that master pattern file is edited in CAD editing system; Obtain the second distinguishing characteristics, wherein, second distinguishing characteristics be in the second model file with the distinguishing characteristics in master pattern file, second model file is the model file after the second cooperative nodes is edited master pattern file, second cooperative nodes is to the node that master pattern file is edited in CAD editing system, and the second cooperative nodes and the first cooperative nodes are different nodes; Judge whether the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics; When judging that the first distinguishing characteristics does not conflict mutually with the second distinguishing characteristics, merging the first distinguishing characteristics and the second distinguishing characteristics in master pattern file, obtaining first object cad model; And when judging that the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics, receive user to the selection of the first distinguishing characteristics and the second distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in master pattern file, obtain first object cad model.Obtained by the distinguishing characteristics after editing model file original in CAD editing system different cooperative nodes, achieve the modeling history feature in the three dimensional file before and after by contrast editor, obtain the design idea of each cooperative nodes, and then judged by the contrast whether conflicted to the distinguishing characteristics of different node, achieve the design idea judging different node whether to conflict, with when the design idea of different node is not conflicted mutually, distinguishing characteristics in model file after each node compiles is all merged in master pattern, when the design idea of different node is conflicted mutually, according to the selection of slip-stick artist, and the difference correspondence selected by slip-stick artist is merged in master pattern, achieve each cooperative nodes with this can edit a master pattern file simultaneously, reach many people to work simultaneously and set up cad model to shorten the modeling period of cad model, solve the problem that in prior art, cad model modeling period is longer, and then reach the effect of the modeling efficiency improving cad model.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the first pass figure of the collaborative method for building up according to the embodiment of the present invention;
Fig. 2 is the second process flow diagram of the collaborative method for building up according to the embodiment of the present invention;
Conflict decision flow chart when Fig. 3 is the collaborative method for building up interpolation feature according to the embodiment of the present invention;
Conflict decision flow chart when Fig. 4 is the collaborative method for building up deletion feature according to the embodiment of the present invention;
Conflict decision flow chart when Fig. 5 is the collaborative method for building up amendment feature according to the embodiment of the present invention;
Fig. 6 works in coordination with according to the collaborative method for building up of the embodiment of the present invention schematic diagram setting up cad model; And
Fig. 7 is the schematic diagram of the collaborative apparatus for establishing according to the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
Embodiments provide a kind of collaborative method for building up of cad model, below the collaborative method for building up that the embodiment of the present invention provides be specifically introduced:
Fig. 1 is the first pass figure of the collaborative method for building up of cad model according to the embodiment of the present invention, and as shown in Figure 1, the method comprises following step S101 to step S105:
S101: obtain the first distinguishing characteristics, wherein, first distinguishing characteristics be in the first model file with the distinguishing characteristics in master pattern file, first model file is the model file after the first cooperative nodes is edited master pattern file, and the first cooperative nodes is to the node that master pattern file is edited in CAD editing system, particularly, when carrying out the slip-stick artist of each node of cad model editor after editing the master pattern file of " checking out (Check Out) ", model file after editor can be submitted to coordination management system and carry out " logging on (Check In) " confirmation, after the model file after editor is submitted to by the slip-stick artist of the first cooperative nodes, by contrasting the model file after the first cooperative nodes submission (namely, first model file) in the modeling history feature of each object and the modeling history feature of each object in master pattern file, the distinguishing characteristics be different from master pattern file can be got in the first model file, obtain the first distinguishing characteristics, namely, the design idea that the slip-stick artist getting the first cooperative nodes edits master pattern file.
S102: obtain the second distinguishing characteristics, wherein, second distinguishing characteristics be in the second model file with the distinguishing characteristics in master pattern file, second model file is the model file after the second cooperative nodes is edited master pattern file, second cooperative nodes is to the node that master pattern file is edited in CAD editing system, and the second cooperative nodes and the first cooperative nodes are different nodes; Particularly, after the model file after editor is submitted to by the slip-stick artist of the second cooperative nodes, by contrasting the model file after the second cooperative nodes submission (namely, second model file) in the modeling history feature of each object and the modeling history feature of each object in master pattern file, the distinguishing characteristics be different from master pattern file can be got in the second model file, obtain the second distinguishing characteristics, that is, the design idea that the slip-stick artist getting the second cooperative nodes edits master pattern file.
S103: judge whether the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics, that is, judge whether the design idea of the slip-stick artist of the first cooperative nodes conflicts mutually with the design idea of the slip-stick artist of the second cooperative nodes.
S104: when judging that the first distinguishing characteristics does not conflict mutually with the second distinguishing characteristics, merge the first distinguishing characteristics and the second distinguishing characteristics in master pattern file, obtain first object cad model, namely, when the design idea of the slip-stick artist judging different cooperative nodes is not conflicted mutually, both accepted the first cooperative nodes and the editor of the second cooperative nodes to master pattern file had also been accepted to the editor of master pattern file, realizing that the design idea of each cooperative nodes is carried out merging logs in coordination management system, obtain the target cad model after the common collaborative editing of multiple cooperative nodes.
S105: when judging that the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics, perform step S1051 and step S1052 successively, S1051: receive user to the selection of the first distinguishing characteristics and the second distinguishing characteristics or modify instruction, S1052: user's selection or amended distinguishing characteristics are incorporated in master pattern file, obtain first object cad model.Namely, when the design idea of the slip-stick artist judging different cooperative nodes is conflicted mutually, which determine to edit master pattern file according to the design idea of cooperative nodes by the selection of user, then the design idea that user chooses is merged in master pattern file, and log in coordination management system, obtain target cad model; Or when the design idea of the slip-stick artist judging different cooperative nodes is conflicted mutually, by the modify instruction of user, afoul design idea is modified, then amended feature is merged in master pattern file, and logs in coordination management system, obtain target cad model.
The collaborative method for building up of the embodiment of the present invention is obtained by the distinguishing characteristics after editing model file original in CAD editing system different cooperative nodes, achieve the modeling history feature in the three dimensional file before and after by contrast editor, obtain the design idea of each cooperative nodes, and then judged by the contrast whether conflicted to the distinguishing characteristics of different node, achieve the design idea judging different node whether to conflict, with when the design idea of different node is not conflicted mutually, distinguishing characteristics in model file after each node compiles is all merged in master pattern, when the design idea of different node is conflicted mutually, according to the selection of slip-stick artist, and the difference correspondence selected by slip-stick artist is merged in master pattern, achieve each cooperative nodes with this can edit a master pattern file simultaneously, reach many people to work simultaneously and set up cad model to shorten the modeling period of cad model, solve the problem that in prior art, cad model modeling period is longer, and then reach the effect of the modeling efficiency improving cad model.
Wherein, the flow process of the collaborative method for building up of the embodiment of the present invention can also illustrate with the form of Fig. 2, namely, Fig. 2 is the second process flow diagram of the collaborative method for building up according to the embodiment of the present invention, in the collaborative method for building up of the embodiment of the present invention, so-called distinguishing characteristics is the modeling history feature in three dimensional file, in general, only has the three dimensional file of parametric modeling Software Create just to have feature.In embodiments of the present invention, each cooperative nodes is by carrying out the feature of each file in master pattern file editing the editor realized master pattern file, particularly, the type that the feature of arbitrary cooperative nodes to model file is edited comprises deletion feature, add feature, amendment characteristic sum ignores feature, wherein, so-called deletion feature refers to that the model file after editor is compared with the model file before editor, the feature that model file after editor lacks, namely, geometric object represented by distinguishing characteristics is included in the model file before editor, but do not comprise in model file in the edited, so-called interpolation feature refers to that the model file after editor is compared with the model file before editor, additional feature in model file after editor, that is, the geometric object represented by distinguishing characteristics is not included in the model file before editor, but is included in the model file after editor, so-called amendment feature refers to the feature all existed in the model file before and after editor, but the parameter in the model file of this feature before and after editor is different, namely, all exist in the model file of geometric object represented by distinguishing characteristics before and after editor, but the parameter of this geometric object in the model file of editor front and back is different, so-called feature of ignoring refers on all four feature in the model file of editor front and back, for this category feature, does not participate in conflict and judges.For the acquisition of the distinguishing characteristics of different cooperative nodes mainly through the characteristic in the model file after this cooperative nodes editor and the characteristic in master pattern file are compared, compare different characteristic in the two model file and be the distinguishing characteristics of this cooperative nodes, illustrate, obtain the first distinguishing characteristics and the second distinguishing characteristics in the following manner: obtain the characteristic in master pattern file, obtain initial characteristic data; Obtain the characteristic in the first model file, obtain fisrt feature data; Obtain the characteristic in the second model file, obtain second feature data; Initial characteristic data and fisrt feature data and second feature data are compared respectively; Determine that the different characteristic data in the initial characteristic data that compares and fisrt feature data are the first distinguishing characteristics data; And determine that the different characteristic data in the initial characteristic data that compares and second feature data are the second distinguishing characteristics data.
The first cooperative nodes A and the second cooperative nodes B is comprised with cooperative nodes, the distinguishing characteristics got from the first model file is the first distinguishing characteristics, the distinguishing characteristics got from the second model file to be the second distinguishing characteristics be example to further illustrate the collaborative method for building up of the embodiment of the present invention, then judges that the first distinguishing characteristics and the whether afoul concrete determining step of the second distinguishing characteristics mainly comprise geometric conflicts determining step and rely on conflict determining step.Wherein, no matter be first carry out geometric conflicts judgement or first carry out dependence conflict judging, all do not affect in the collaborative method for building up that the embodiment of the present invention provides and the conflict of the distinguishing characteristics of different cooperative nodes is judged, particularly, Fig. 3 to Fig. 5 show each feature in the feature set after A node is edited and B node edit after feature set in each feature carry out the process flow diagram of clash handle:
All carry out feature interpolation to model file with A node and B node to be illustrated, as shown in Figure 3, geometric object represented by first distinguishing characteristics is be not included in master pattern file but the geometric object be included in the first model file, geometric object represented by second distinguishing characteristics is also be not included in master pattern file but the geometric object be included in the second model file, the feature set of then adding A node (namely, first distinguishing characteristics is multiple feature) and the B node feature set of adding is (namely, second distinguishing characteristics is multiple feature) carry out conflict judge concrete determining step be:
First, the geometric object (being assumed to be the second geometric object) in the geometric object (being assumed to be the first geometric object) in the first distinguishing characteristics represented by each feature and the second distinguishing characteristics represented by each feature is obtained;
Then, judge whether the first geometric object and the second geometric object intersect on geometric space, namely, judge that whether the arbitrary geometric object in the first geometric object is crossing with each geometric object in the second geometric object, if the first geometric object and the second geometric object intersect on geometric space, namely, as long as the arbitrary geometric object in the arbitrary geometric object in the first geometric object and the second geometric object intersects, then illustrate that the first distinguishing characteristics and the second distinguishing characteristics exist geometric conflicts, otherwise, if the arbitrary geometric object in the arbitrary geometric object in the first geometric object and the second geometric object is all non-intersect, then determine that the first distinguishing characteristics and the second distinguishing characteristics do not exist geometric conflicts,
Finally, first distinguishing characteristics and the second distinguishing characteristics are existed to the situation of geometric conflicts, receive user to the selection of the first distinguishing characteristics and the second distinguishing characteristics or modify instruction, and the dependence graph prestored in seeking system is selected or amended distinguishing characteristics whether Existence dependency relationship to judge user, the judged result difference according to relying on conflict performs different flow processs.As a result one: when judge user select or amended distinguishing characteristics Existence dependency relationship time, again receive user to the selection of the distinguishing characteristics of Existence dependency relationship or repair rear instruction, and user's selection or the distinguishing characteristics after carrying out secondary editor are merged in master pattern file, and log in coordination management system, obtain target cad model.Wherein, said method is adopted to carry out contrast judgement to the design idea after each node compiles equally for the distinguishing characteristics after carrying out secondary editor, to determine suitable interpolation feature, and the feature determined is merged in master pattern file, realizes working in coordination with and set up cad model.As a result two: when judge user select or amended distinguishing characteristics not Existence dependency relationship time, directly user to be selected or amended distinguishing characteristics is merged in master pattern file, and logs in coordination management system, obtain target cad model.First distinguishing characteristics and the second distinguishing characteristics are not existed to the situation of geometric conflicts, the dependence graph prestored in direct seeking system is to judge the first distinguishing characteristics and the second distinguishing characteristics whether Existence dependency relationship, and the judged result difference according to relying on conflict performs different flow processs.As a result one: when judging the first distinguishing characteristics and the second distinguishing characteristics Existence dependency relationship, reception user is to the selection of the distinguishing characteristics of Existence dependency relationship or repair rear instruction, and user's selection or the distinguishing characteristics after carrying out secondary editor are merged in master pattern file, and log in coordination management system, obtain target cad model.As a result two: when judge the first distinguishing characteristics and the second distinguishing characteristics not Existence dependency relationship time, directly the first distinguishing characteristics and the second distinguishing characteristics are merged in master pattern file, and log in coordination management system, obtain target cad model.
It should be noted that, just diagrammatically illustrate geometric conflicts in Fig. 3 and judge to conflict with dependence the sequencing judged, in embodiments of the present invention, when the interpolation of feature is all carried out for A node and B node, first can also carry out dependence conflict to the distinguishing characteristics of the two to judge, then carry out geometric conflicts judgement.
As shown in Figure 4, when the side in A node and B node carries out the deletion of feature, when the opposing party carries out interpolation or the amendment of feature or deletes, carry out feature deletion with A node, B node carries out feature deletion or feature is added or feature modification is that example is described, and is specially:
First, search default dependence graph, judge the first distinguishing characteristics and the second distinguishing characteristics whether Existence dependency relationship, judge the first distinguishing characteristics and the second distinguishing characteristics Existence dependency relationship if searched, then determine the first distinguishing characteristics and the second distinguishing characteristics Existence dependency conflict; Judge the first distinguishing characteristics and the second distinguishing characteristics not Existence dependency relationship if searched, then determine the first distinguishing characteristics and the not Existence dependency conflict of the second distinguishing characteristics.
Then, geometric object (being assumed to be the first geometric object) corresponding to A knot removal feature and geometric object (being assumed to be the second geometric object) corresponding to B node compiles feature is obtained.Similar with the collaborative method for building up shown in Fig. 3, for the situation that the first distinguishing characteristics conflicts with the second distinguishing characteristics Existence dependency, receive user to the selection of the first distinguishing characteristics and the second distinguishing characteristics or modify instruction, and search default dependence graph to judge whether geometric object corresponding to user's selection or geometric object corresponding to amended first distinguishing characteristics and the second distinguishing characteristics exists geometric conflicts; For the first distinguishing characteristics and the second distinguishing characteristics not Existence dependency situation of conflicting, then directly search default dependence graph to judge whether the geometric object that the first distinguishing characteristics is corresponding and geometric object corresponding to the second distinguishing characteristics exist geometric conflicts.
Finally, there is the situation of geometric conflicts in the geometric object that user selects or amended first distinguishing characteristics is corresponding if judge and geometric object corresponding to the second distinguishing characteristics, then again receive selection or the modify instruction of user, and user to be selected again or distinguishing characteristics after again carrying out secondary editor is merged in master pattern file, and log in coordination management system, obtain target cad model; There is not the situation of geometric conflicts in the geometric object that user selects or amended first distinguishing characteristics is corresponding if judge and geometric object corresponding to the second distinguishing characteristics, then direct by user first time select or first time carry out secondary editor after distinguishing characteristics be merged in master pattern file, and log in coordination management system, obtain target cad model; In like manner, for the first distinguishing characteristics and the second distinguishing characteristics not Existence dependency conflict but there is the situation of geometric conflicts, then receive selection or the modify instruction of user, and user's selection or the distinguishing characteristics after carrying out secondary editor are merged in master pattern file, and log in coordination management system, obtain target cad model; For the first distinguishing characteristics and the second distinguishing characteristics neither Existence dependency conflict there is not again the situation of geometric conflicts, then direct first distinguishing characteristics and the second distinguishing characteristics are merged in master pattern file, and log in coordination management system, obtain target cad model.
As shown in Figure 5, when the side in A node and B node carries out the amendment of feature, when the opposing party carries out interpolation or the amendment of feature or deletes, then same dependence conflict judgement and the geometric conflicts of adopting judges that the mode combined judges whether the first distinguishing characteristics and the second distinguishing characteristics exist conflict, concrete determination methods is set forth, repeats no more herein.
Wherein, for the situation that the distinguishing characteristics that cooperative nodes gets is multiple feature, then by each difference object that A node gets with get in B node each distinguish object and carry out respectively conflicting judging, if each distinguishes object and does not all exist and conflict each difference object with on B node on A node, determine that the first difference object and second is distinguished object and do not conflicted; For other situation, then determine that the first difference object conflicts mutually with the second difference object.
By describing above and can finding out, the collaborative method for building up that the embodiment of the present invention provides is obtained by the design idea after carrying out model file editor to different Nodes slip-stick artist, and then design idea is compared and combined, achieve two slip-stick artists to carry out collaborative work and set up cad model, the slip-stick artist diagrammatically illustrating two nodes in Fig. 6 carries out collaborative editing to same model file and sets up cad model.Further, the collaborative method for building up that the embodiment of the present invention provides can also be generalized on multiple-person cooperative work, and particularly, carry out collaborative work to illustrate for three people, the collaborative method for building up of the embodiment of the present invention also comprises:
First, after the model file after editor is submitted to by the slip-stick artist of the 3rd cooperative nodes, by contrasting the model file after the 3rd cooperative nodes submission (namely, 3rd model file) in the distinguishing characteristics in master pattern file, the feature be different from master pattern file can be got in the 3rd model file, obtain the 3rd distinguishing characteristics, that is, the design idea that the slip-stick artist getting the 3rd cooperative nodes edits master pattern file.Simultaneously, to obtain in first object cad model in model file with the distinguishing characteristics in master pattern file, obtain the 4th distinguishing characteristics, wherein, the target cad model that obtains after referring to and according to the method described above the design idea of the first cooperative nodes and the second cooperative nodes being merged of so-called first object cad model.
Secondly, judge whether the 3rd distinguishing characteristics conflicts mutually with the 4th distinguishing characteristics, that is, the design idea of the 3rd cooperative nodes and the design idea of the first two cooperative nodes are carried out contrast and judge.
Finally, when judging that the 3rd distinguishing characteristics does not conflict mutually with the 4th distinguishing characteristics, merging the 3rd distinguishing characteristics and the 4th distinguishing characteristics, in the model file of first object cad model, obtain the second target cad model; And when judging that the 3rd distinguishing characteristics conflicts mutually with the 4th distinguishing characteristics, receive user to the selection of the 3rd distinguishing characteristics and the 4th distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in the model file of first object cad model, obtain the second target cad model.
In like manner, because comparing the result after merging is each time all a three-dimensional model file, so when carrying out multi-person synergy modeling, the design idea comparing the result after merging and other node is only needed to compare, by that analogy, realize many people and carry out collaborative design, certain three dimensional file to check out from file management system based on same old version simultaneously and edits by the such as slip-stick artist of A, B, C, D tetra-nodes, successively the edited result of oneself is submitted to again, then obtains the process of object module according to the synergic modeling method of the embodiment of the present invention as follows:
First A submits to;
When B submits to, compare merging, log on net result AB with the design idea of A, wherein, AB represents the design idea after A node and the merging of B node;
When C submits to, compare merging, log on net result ABC with the design idea of the AB after merging, wherein, ABC represents the design idea after the merging of A node, B node and C node;
When D submits to, compare merging, log on net result ABCD with the design idea of the ABC after merging, wherein, ABCD represents the design idea after the merging of A node, B node, C node and D node.
The embodiment of the present invention additionally provides a kind of collaborative apparatus for establishing of cad model, the collaborative apparatus for establishing of this cad model, for the collaborative method for building up of any one cad model performing embodiment of the present invention foregoing and provide, is specifically introduced the collaborative apparatus for establishing of the cad model that the embodiment of the present invention provides below:
Fig. 7 is the schematic diagram of the collaborative apparatus for establishing according to the embodiment of the present invention, as shown in Figure 7, the collaborative apparatus for establishing of this embodiment comprises the first acquiring unit 10, second acquisition unit 20, first judging unit 30, first merge cells 40 and the second merge cells 50.
Particularly, first acquiring unit 10 is for obtaining the first distinguishing characteristics, wherein, first distinguishing characteristics be in the first model file with the distinguishing characteristics in master pattern file, first model file is the model file after the first cooperative nodes is edited master pattern file, and the first cooperative nodes is to the node that master pattern file is edited in CAD editing system, particularly, when carrying out the slip-stick artist of each node of cad model editor after editing the master pattern file checked out, model file after editor can be submitted to coordination management system to carry out logging on confirmation, after the model file after editor is submitted to by the slip-stick artist of the first cooperative nodes, by contrasting the model file after the first cooperative nodes submission (namely, first model file) in the modeling history feature of each object and the modeling history feature of each object in master pattern file, the distinguishing characteristics be different from master pattern file can be got in the first model file, obtain the first distinguishing characteristics, namely, the design idea that the slip-stick artist getting the first cooperative nodes edits master pattern file.
Second acquisition unit 20 is for obtaining the second distinguishing characteristics, wherein, second distinguishing characteristics be in the second model file with the distinguishing characteristics in master pattern file, second model file is the model file after the second cooperative nodes is edited master pattern file, second cooperative nodes is to the node that master pattern file is edited in CAD editing system, and the second cooperative nodes and the first cooperative nodes are different nodes; Particularly, after the model file after editor is submitted to by the slip-stick artist of the second cooperative nodes, by contrasting the model file after the second cooperative nodes submission (namely, second model file) in the modeling history feature of each object and the modeling history feature of each object in master pattern file, the distinguishing characteristics be different from master pattern file can be got in the second model file, obtain the second distinguishing characteristics, that is, the design idea that the slip-stick artist getting the second cooperative nodes edits master pattern file.
First judging unit 30 for judging whether the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics, that is, judges whether the design idea of the slip-stick artist of the first cooperative nodes conflicts mutually with the design idea of the slip-stick artist of the second cooperative nodes;
First merge cells 40 is for when judging that the first distinguishing characteristics does not conflict mutually with the second distinguishing characteristics, merge the first distinguishing characteristics and the second distinguishing characteristics in master pattern file, obtain first object cad model, namely, when the design idea of the slip-stick artist judging different cooperative nodes is not conflicted mutually, both accepted the first cooperative nodes and the editor of the second cooperative nodes to master pattern file had also been accepted to the editor of master pattern file, realizing that the design idea of each cooperative nodes is carried out merging logs in coordination management system, obtain the target cad model after the common collaborative editing of multiple cooperative nodes.
Second merge cells 50 is for when judging that the first distinguishing characteristics conflicts mutually with the second distinguishing characteristics, receive user to the selection of the first distinguishing characteristics and the second distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in master pattern file, obtain first object cad model.Namely, when the design idea of the slip-stick artist judging different cooperative nodes is conflicted mutually, second merge cells 50 is determined to edit master pattern file according to the design idea of which cooperative nodes by the selection of user, then the design idea that user chooses is merged in master pattern file, and log in coordination management system, obtain target cad model; Or, when the design idea of the slip-stick artist judging different cooperative nodes is conflicted mutually, second merge cells 50 is modified to afoul design idea by the modify instruction of user, then amended feature is merged in master pattern file, and log in coordination management system, obtain target cad model.
The collaborative apparatus for establishing of the embodiment of the present invention is obtained by the distinguishing characteristics after editing model file original in CAD editing system different cooperative nodes, achieve the modeling history feature in the three dimensional file before and after by contrast editor, obtain the design idea of each cooperative nodes, and then judged by the contrast whether conflicted to the distinguishing characteristics of different node, achieve the design idea judging different node whether to conflict, with when the design idea of different node is not conflicted mutually, distinguishing characteristics in model file after each node compiles is all merged in master pattern, when the design idea of different node is conflicted mutually, according to the selection of slip-stick artist, and the difference correspondence selected by slip-stick artist is merged in master pattern, achieve each cooperative nodes with this can edit a master pattern file simultaneously, reach many people to work simultaneously and set up cad model to shorten the modeling period of cad model, solve the problem that in prior art, cad model modeling period is longer, and then reach the effect of the modeling efficiency improving cad model.
Wherein, the first judging unit comprises the first judgment sub-unit and the second judgment sub-unit, and wherein, the first judgment sub-unit is for judging whether the first distinguishing characteristics and the second distinguishing characteristics exist geometric conflicts; Second judgment sub-unit is for judging the whether Existence dependency conflict of the first distinguishing characteristics and the second distinguishing characteristics.
Further, the first judgment sub-unit comprises: the first acquisition module, the second acquisition module and judge module, and particularly, the first acquisition module, for obtaining the geometric object represented by the first distinguishing characteristics, obtains the first geometric object; Second acquisition module, for obtaining the geometric object represented by the second distinguishing characteristics, obtains the second geometric object; Judge module, for judging whether the first geometric object and the second geometric object intersect, wherein, when judging the first geometric object and the second geometric object intersects, determines that the first distinguishing characteristics and the second distinguishing characteristics exist geometric conflicts; And when judging the first geometric object and the second geometric object is non-intersect, determine that the first distinguishing characteristics and the second distinguishing characteristics do not exist geometric conflicts.First judgment sub-unit carries out describing in detail in the collaborative method for building up that geometric conflicts whether concrete determination methods provides in the invention described above embodiment to the design idea of different cooperative nodes by the first acquisition module, the second acquisition module and judge module, no longer chases herein.
Further, second judgment sub-unit comprises: search module, this searches module for searching default dependence graph to judge the first distinguishing characteristics and the second distinguishing characteristics whether Existence dependency relationship, wherein, when judging the first distinguishing characteristics and the second distinguishing characteristics Existence dependency relationship, determine the first distinguishing characteristics and the second distinguishing characteristics Existence dependency conflict; And judge the first distinguishing characteristics and the second distinguishing characteristics not Existence dependency relationship time, determine the first distinguishing characteristics and the not Existence dependency conflict of the second distinguishing characteristics.Second judgment sub-unit is carried out relying in the collaborative method for building up that the concrete determination methods of whether conflicting provides in the invention described above embodiment to the design idea of different cooperative nodes describe in detail by being searched module, no longer chases herein.
Further, the collaborative apparatus for establishing of the embodiment of the present invention also comprises: the 3rd acquiring unit, 4th acquiring unit, second judging unit, 3rd merge cells and the 4th merge cells, wherein, 3rd acquiring unit is for obtaining the 3rd distinguishing characteristics, wherein, 3rd distinguishing characteristics be in the 3rd model file with the distinguishing characteristics in master pattern file, 3rd model file is the model file after the 3rd cooperative nodes is edited master pattern file, 3rd cooperative nodes is to the node that master pattern file is edited in CAD editing system, and the 3rd cooperative nodes is different nodes from the first cooperative nodes and the second cooperative nodes, 4th acquiring unit for obtain in first object cad model in model file with the distinguishing characteristics in master pattern file, obtain the 4th distinguishing characteristics, wherein, the target cad model that obtains after referring to and adopting the design idea of said apparatus to the first cooperative nodes and the second cooperative nodes to merge of so-called first object cad model, second judging unit is for judging whether the 3rd distinguishing characteristics conflicts mutually with the 4th distinguishing characteristics, 3rd merge cells, for when judging that the 3rd distinguishing characteristics does not conflict mutually with the 4th distinguishing characteristics, merging the 3rd distinguishing characteristics and the 4th distinguishing characteristics, in the model file of first object cad model, obtain the second target cad model, 4th merge cells, for when judging that the 3rd distinguishing characteristics conflicts mutually with the 4th distinguishing characteristics, receive user to the selection of the 3rd distinguishing characteristics and the 4th distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in the model file of first object cad model, obtain the second target cad model.
Further, acquisition for the distinguishing characteristics of different cooperative nodes obtains mainly through the characteristic of corresponding acquiring unit to the model file after each cooperative nodes editor in collaborative apparatus for establishing, also the characteristic of master pattern file is obtained simultaneously, and by comparing unit, the characteristic in the characteristic of each cooperative nodes model file and master pattern file is compared, finally determine the different characteristic data compared.Be illustrated to carry out acquisition to the distinguishing characteristics of the first cooperative nodes and the distinguishing characteristics of the second cooperative nodes, the collaborative foundation of the embodiment of the present invention finally also comprises: the 5th acquiring unit, for obtaining the characteristic in master pattern file, obtain initial characteristic data; 6th acquiring unit, for obtaining the characteristic in the first model file, obtains fisrt feature data; 7th acquiring unit, for obtaining the characteristic in the second model file, obtains second feature data; Comparing unit, is connected with the 7th acquiring unit respectively with the 5th acquiring unit, the 6th acquiring unit, for initial characteristic data and fisrt feature data and second feature data being compared respectively; First determining unit, is connected with the first acquiring unit respectively with comparing unit, for determining that the different characteristic data in the initial characteristic data that compares and fisrt feature data are the first distinguishing characteristics data; And second determining unit, be connected respectively with second acquisition unit with comparing unit, for determining that the different characteristic data in the initial characteristic data that compares and second feature data are the second distinguishing characteristics data.
From above description, can find out, present invention achieves multiple cooperative nodes can edit a master pattern file simultaneously, reach many people to work simultaneously and set up cad model to shorten the modeling period of cad model, solve the problem that in prior art, cad model modeling period is longer, and then reach the effect of the modeling efficiency improving cad model.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.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 amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a collaborative method for building up for cad model, is characterized in that, comprising:
At submitted rear acquisition first distinguishing characteristics of the first model file, wherein, described first distinguishing characteristics be in described first model file with the distinguishing characteristics in master pattern file, described first model file is the model file after the first cooperative nodes is edited described master pattern file, and described first cooperative nodes is to the node that described master pattern file is edited in CAD editing system;
At submitted rear acquisition second distinguishing characteristics of the second model file, wherein, described second distinguishing characteristics be in described second model file with the distinguishing characteristics in master pattern file, described second model file is the model file after the second cooperative nodes is edited described master pattern file, described second cooperative nodes is to the node that described master pattern file is edited in CAD editing system, and described second cooperative nodes is different nodes from described first cooperative nodes;
Judge whether described first distinguishing characteristics conflicts mutually with described second distinguishing characteristics;
When judging that described first distinguishing characteristics does not conflict mutually with described second distinguishing characteristics, merging in described first distinguishing characteristics and described second distinguishing characteristics to described master pattern file, obtaining first object cad model; And
When judging that described first distinguishing characteristics conflicts mutually with described second distinguishing characteristics, receive user to the selection of described first distinguishing characteristics and described second distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in described master pattern file, obtain described first object cad model.
2. collaborative method for building up according to claim 1, is characterized in that, judges whether described first distinguishing characteristics and described second distinguishing characteristics conflict mutually and comprises:
Judge whether described first distinguishing characteristics and described second distinguishing characteristics exist geometric conflicts; And
Judge the whether Existence dependency conflict of described first distinguishing characteristics and described second distinguishing characteristics.
3. collaborative method for building up according to claim 2, is characterized in that, judges whether described first distinguishing characteristics and described second distinguishing characteristics exist geometric conflicts and comprise:
Obtain the geometric object represented by described first distinguishing characteristics, obtain the first geometric object;
Obtain the geometric object represented by described second distinguishing characteristics, obtain the second geometric object; And
Judge whether described first geometric object and described second geometric object intersect,
Wherein, when judging described first geometric object and described second geometric object intersects, determine that described first distinguishing characteristics and described second distinguishing characteristics exist geometric conflicts; And
When judging described first geometric object and described second geometric object is non-intersect, determine that described first distinguishing characteristics and described second distinguishing characteristics do not exist geometric conflicts.
4. the collaborative method for building up according to Claims 2 or 3, is characterized in that, judges whether Existence dependency conflict comprises for described first distinguishing characteristics and described second distinguishing characteristics:
Search default dependence graph to judge described first distinguishing characteristics and described second distinguishing characteristics whether Existence dependency relationship,
Wherein, when judging described first distinguishing characteristics and described second distinguishing characteristics Existence dependency relationship, determine described first distinguishing characteristics and described second distinguishing characteristics Existence dependency conflict; And
Judge described first distinguishing characteristics and described second distinguishing characteristics not Existence dependency relationship time, determine described first distinguishing characteristics and the not Existence dependency conflict of described second distinguishing characteristics.
5. collaborative method for building up according to claim 1, is characterized in that, described collaborative method for building up also comprises:
Obtain the 3rd distinguishing characteristics, wherein, described 3rd distinguishing characteristics be in the 3rd model file with the distinguishing characteristics in master pattern file, described 3rd model file is the model file after the 3rd cooperative nodes is edited described master pattern file, described 3rd cooperative nodes is to the node that described master pattern file is edited in CAD editing system, and described 3rd cooperative nodes is different nodes from described first cooperative nodes and described second cooperative nodes
After obtaining described first object cad model, described collaborative method for building up also comprises:
To obtain in described first object cad model in model file with the distinguishing characteristics in described master pattern file, obtain the 4th distinguishing characteristics;
Judge whether described 3rd distinguishing characteristics conflicts mutually with described 4th distinguishing characteristics;
When judging that described 3rd distinguishing characteristics does not conflict mutually with described 4th distinguishing characteristics, merging described 3rd distinguishing characteristics and described 4th distinguishing characteristics in the model file of described first object cad model, obtaining the second target cad model; And
When judging that described 3rd distinguishing characteristics conflicts mutually with described 4th distinguishing characteristics, receive user to the selection of described 3rd distinguishing characteristics and described 4th distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in the model file of described first object cad model, obtain described second target cad model.
6. collaborative method for building up according to claim 1, is characterized in that, obtains described first distinguishing characteristics and described second distinguishing characteristics in the following manner:
Obtain the characteristic in described master pattern file, obtain initial characteristic data;
Obtain the characteristic in described first model file, obtain fisrt feature data;
Obtain the characteristic in described second model file, obtain second feature data;
Described initial characteristic data and described fisrt feature data and described second feature data are compared respectively;
Determine that the different characteristic data in the described initial characteristic data that compares and described fisrt feature data are described first distinguishing characteristics data; And
Determine that the different characteristic data in the described initial characteristic data that compares and described second feature data are described second distinguishing characteristics data.
7. a collaborative apparatus for establishing for cad model, is characterized in that, comprising:
First acquiring unit, for at submitted rear acquisition first distinguishing characteristics of the first model file, wherein, described first distinguishing characteristics be in described first model file with the distinguishing characteristics in master pattern file, described first model file is the model file after the first cooperative nodes is edited described master pattern file, and described first cooperative nodes is to the node that described master pattern file is edited in CAD editing system;
Second acquisition unit, for at submitted rear acquisition second distinguishing characteristics of the second model file, wherein, described second distinguishing characteristics be in described second model file with the distinguishing characteristics in master pattern file, described second model file is the model file after the second cooperative nodes is edited described master pattern file, described second cooperative nodes is to the node that described master pattern file is edited in CAD editing system, and described second cooperative nodes is different nodes from described first cooperative nodes;
First judging unit, is connected with described second acquisition unit respectively with described first acquiring unit, for judging whether described first distinguishing characteristics conflicts mutually with described second distinguishing characteristics;
First merge cells, be connected with described first judging unit, for when judging that described first distinguishing characteristics does not conflict mutually with described second distinguishing characteristics, merging in described first distinguishing characteristics and described second distinguishing characteristics to described master pattern file, obtaining first object cad model; And
Second merge cells, be connected with described first judging unit, for when judging that described first distinguishing characteristics conflicts mutually with described second distinguishing characteristics, receive user to the selection of described first distinguishing characteristics and described second distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in described master pattern file, obtain described first object cad model.
8. collaborative apparatus for establishing according to claim 7, is characterized in that, described first judging unit comprises:
First judgment sub-unit, is connected with described second acquisition unit respectively with described first acquiring unit, for judging whether described first distinguishing characteristics and described second distinguishing characteristics exist geometric conflicts; And
Second judgment sub-unit, is connected with described second acquisition unit respectively with described first acquiring unit, for judging the whether Existence dependency conflict of described first distinguishing characteristics and described second distinguishing characteristics.
9. collaborative apparatus for establishing according to claim 8, is characterized in that, described first judgment sub-unit comprises:
First acquisition module, is connected with described first acquiring unit, for obtaining the geometric object represented by described first distinguishing characteristics, obtains the first geometric object;
Second acquisition module, is connected with described second acquisition unit, for obtaining the geometric object represented by described second distinguishing characteristics, obtains the second geometric object; And
Judge module, is connected with described second acquisition module respectively with described first acquisition module, for judging whether described first geometric object and described second geometric object intersect,
Wherein, when judging described first geometric object and described second geometric object intersects, determine that described first distinguishing characteristics and described second distinguishing characteristics exist geometric conflicts; And
When judging described first geometric object and described second geometric object is non-intersect, determine that described first distinguishing characteristics and described second distinguishing characteristics do not exist geometric conflicts.
10. collaborative apparatus for establishing according to claim 8, is characterized in that, described second judgment sub-unit comprises:
Search module, be connected respectively with described second acquisition unit with described first acquiring unit, for searching default dependence graph to judge described first distinguishing characteristics and described second distinguishing characteristics whether Existence dependency relationship,
Wherein, when judging described first distinguishing characteristics and described second distinguishing characteristics Existence dependency relationship, determine described first distinguishing characteristics and described second distinguishing characteristics Existence dependency conflict; And
Judge described first distinguishing characteristics and described second distinguishing characteristics not Existence dependency relationship time, determine described first distinguishing characteristics and the not Existence dependency conflict of described second distinguishing characteristics.
11. collaborative apparatus for establishing according to claim 7, is characterized in that, described collaborative apparatus for establishing also comprises:
3rd acquiring unit, for obtaining the 3rd distinguishing characteristics, wherein, described 3rd distinguishing characteristics be in the 3rd model file with the distinguishing characteristics in master pattern file, described 3rd model file is the model file after the 3rd cooperative nodes is edited described master pattern file, described 3rd cooperative nodes is to the node that described master pattern file is edited in CAD editing system, and described 3rd cooperative nodes is different nodes from described first cooperative nodes and described second cooperative nodes;
4th acquiring unit, is connected with described second merge cells respectively with described first merge cells, for obtain in described first object cad model in model file with the distinguishing characteristics in described master pattern file, obtain the 4th distinguishing characteristics;
Second judging unit, is connected with described 4th acquiring unit respectively with described 3rd acquiring unit, for judging whether described 3rd distinguishing characteristics conflicts mutually with described 4th distinguishing characteristics;
3rd merge cells, be connected with described second judging unit, for when judging that described 3rd distinguishing characteristics does not conflict mutually with described 4th distinguishing characteristics, merge described 3rd distinguishing characteristics and described 4th distinguishing characteristics in the model file of described first object cad model, obtain the second target cad model; And
4th merge cells, be connected with described second judging unit, for when judging that described 3rd distinguishing characteristics conflicts mutually with described 4th distinguishing characteristics, receive user to the selection of described 3rd distinguishing characteristics and described 4th distinguishing characteristics or modify instruction, and user's selection or amended distinguishing characteristics are incorporated in the model file of described first object cad model, obtain described second target cad model.
12. collaborative apparatus for establishing according to claim 7, is characterized in that, described collaborative apparatus for establishing also comprises:
5th acquiring unit, for obtaining the characteristic in described master pattern file, obtains initial characteristic data;
6th acquiring unit, for obtaining the characteristic in described first model file, obtains fisrt feature data;
7th acquiring unit, for obtaining the characteristic in described second model file, obtains second feature data;
Comparing unit, is connected with described 7th acquiring unit respectively with described 5th acquiring unit, described 6th acquiring unit, for described initial characteristic data and described fisrt feature data and described second feature data being compared respectively;
First determining unit, is connected with described first acquiring unit respectively with described comparing unit, for determining that the different characteristic data in the described initial characteristic data that compares and described fisrt feature data are described first distinguishing characteristics data; And
Second determining unit, is connected with described second acquisition unit respectively with described comparing unit, for determining that the different characteristic data in the described initial characteristic data that compares and described second feature data are described second distinguishing characteristics data.
CN201210521506.8A 2012-12-06 2012-12-06 The collaborative method for building up of cad model and device Active CN102982214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210521506.8A CN102982214B (en) 2012-12-06 2012-12-06 The collaborative method for building up of cad model and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210521506.8A CN102982214B (en) 2012-12-06 2012-12-06 The collaborative method for building up of cad model and device

Publications (2)

Publication Number Publication Date
CN102982214A CN102982214A (en) 2013-03-20
CN102982214B true CN102982214B (en) 2015-11-04

Family

ID=47856229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210521506.8A Active CN102982214B (en) 2012-12-06 2012-12-06 The collaborative method for building up of cad model and device

Country Status (1)

Country Link
CN (1) CN102982214B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2990969A1 (en) * 2014-08-26 2016-03-02 Dassault Systèmes Criterion for sequential update
CN105631092B (en) * 2015-12-15 2018-09-04 大连理工大学 A kind of CAD collaboration working methods based on machine learning
CN106873987B (en) * 2017-01-17 2020-10-02 苏州同元软控信息技术有限公司 Modelica-based multi-person collaborative modeling system
CN109710909B (en) * 2018-12-29 2020-07-07 腾讯科技(深圳)有限公司 Content acquisition method, device, terminal and storage medium
CN111858987B (en) * 2020-07-08 2023-10-20 深圳市万翼数字技术有限公司 Problem viewing method of CAD image, electronic equipment and related products

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567588A (en) * 2012-01-10 2012-07-11 武汉大学 Matching method for topological elements in heterogeneous CAD (computer-aided design) integration
CN102682178A (en) * 2012-05-22 2012-09-19 武汉大学 Consistency maintenance method in heterogeneous computer aided design (CAD) on-line integration
CN102750406A (en) * 2012-06-06 2012-10-24 中国电力科学研究院 Multi-version management method for model set and difference model-based power grid model

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567588A (en) * 2012-01-10 2012-07-11 武汉大学 Matching method for topological elements in heterogeneous CAD (computer-aided design) integration
CN102682178A (en) * 2012-05-22 2012-09-19 武汉大学 Consistency maintenance method in heterogeneous computer aided design (CAD) on-line integration
CN102750406A (en) * 2012-06-06 2012-10-24 中国电力科学研究院 Multi-version management method for model set and difference model-based power grid model

Also Published As

Publication number Publication date
CN102982214A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102982214B (en) The collaborative method for building up of cad model and device
US20210294935A1 (en) Techniques for automatically generating designs having characteristic topologies for urban design projects
Huang et al. A flexible and effective NC machining process reuse approach for similar subparts
Bruno et al. Process-translatable Petri nets for the rapid prototyping of process control systems
JP6790261B2 (en) Three-dimensional general-purpose machining process design method and equipment
CN105354353B (en) A kind of machining features recognition and modeling method based on MBD model
Nourian et al. Designing with space syntax
CN102254053A (en) Parameterization design method and system based on assembly assembling
CN102982213B (en) The collaborative method for building up of cad model and device
CN112486613A (en) Engineering project Web end construction progress management method and device and readable storage medium
CN103605845A (en) Machine tool fixture library management system based on assembling knowledge description
CN111339640A (en) Automatic building parking space number creation method based on Revit plug-in Dynamo
CN101986603A (en) Data driving based workflow dynamic flow construction method and system thereof
CN102799960B (en) The concurrent service flow process method for detecting abnormality of data-orlented model
Wang et al. A simulation approach to the process planning problem using a modified particle swarm optimization.
CN105447284A (en) Technical allowance adding method
Thimm et al. A graph theoretic approach linking design dimensioning and process planning: Part 1: Designing to process planning
CN104143215A (en) Informatization model design method of cable-membrane structure
Luo et al. A fixture design retrieving method based on constrained maximum common subgraph
CN110795830A (en) Automatic design method for airplane wire harness
Rausch et al. Topology optimization of architectural panels to minimize waste during fabrication: Algorithms for panel unfolding and nesting
Li et al. Research and application of computer aided design system for product innovation
CN111241643A (en) Method and device for machining polygonal cabinet and electronic equipment
US7685554B1 (en) Determination of data rate and data type in a high-level electronic design
Song et al. Automatic recognition and suppression of holes on mold bases for finite element applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant