Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer,, the present invention is described in further details below in conjunction with embodiment and accompanying drawing.At this, exemplary embodiment of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
The present invention is used to realize reusing design element in the construction-engineering project.The design information of reusable unit among the present invention between inner different monomers of theme and type formation, reusing.The content type that themes as design information of the present invention; Type formation is the floor level with identical set; Monomer is to have the intersection that the component set of each theme of identical outer packet boundary is formed.(above-mentioned notion is specific explanations hereinafter).
The present invention has designed " theme " notion and has come design content on the stratification target drawing.Theme is the content type of design information.Every kind of target drawing is the result of multiple theme stack, as shown in Figure 1,104 certain target drawing of expression, it is theme 101,102, the 103 stacked results that add.Fig. 2 is that " post location and arrangement of reinforcement " target drawing stratification is the case history of three themes, and wherein the part 204 of target drawing is to be formed by stacking with " post wall mark " theme 203 by " axis " theme 201, " post wall " theme 202.The present invention requires design content must also can only be included into a theme in the contained theme of engineering, so the reusable unit of different themes do not occur simultaneously, and the intersection of the reusable unit of all themes is whole design informations.
Certain theme also can be reused for a plurality of target drawings.Example in the table 1 has shown main target drawing, theme and the relation of inclusion thereof that Structural Engineering had (round dot in the form represents that the target drawing of this corresponding row contains the theme of respective column).
Table 1
According to the theme shown in the table 1 to the constituent relation of target drawing as can be known, some theme may appear in the plurality of target drawing, thus theme set up the target that has realized between the different target drawing, reusing theme.
As not adopting theme to the stratification of going ahead of the rest of target drawing, the reusable unit that then can extract is less, and the reusable unit scope of application of being extracted is also less.This be since each theme because of its different engineering significance, and the division border of the reusable unit in scope separately is all different with the scope of application (promptly can be used for which type formation and monomer).Fig. 1 has described the difference of reusable elementary boundary in each theme and theme for the effect that increases reusable unit number, three different themes of 101,102,103 corresponding certain monomer type formation among the figure, its inner polygon is represented isolated reusable unit, and the difformity of reusable unit represents that it has different borders in the different themes.Among the figure, extract 13 reusable unit (101 have 5, and 102 have 3, and 103 have 5) altogether from 3 themes, if cancellation theme this data hierarchy, design information will be mixed into 104 state, and the then separable reusable unit that goes out has only 2.Cancellation " theme " level of information is when reducing obtainable reusable unit, and the quantity of information of the feasible reusable unit that extracts increases, and the scope of application reduces, and reusability reduces.Therefore must in each theme, extract reusable unit, just can make the reusable object that extracts be applicable to more type formation and monomer.
The design process of construction work relates to a plurality of work posts.Each work post has fixing some target drawings and some themes, and the required subject combination of all types of target drawing is also fixed.Thereby can between the disparity items of identical work post, reuse.The present invention utilizes this characteristic to realize that the target drawing is to the search and assembling automatically of required theme.
Theme can be determined according to slip-stick artist's understanding as the criteria for classification of design information, but in order to satisfy the requirement of design reuse, need follow the following method that the present invention formulates:
1. if the reusable elementary boundary that extracts from all type formations and monomer in two themes is all identical with the scope of application and corresponding in twos, i.e. the division of the reusable unit of two themes comes to the same thing; When the target drawing of two theme correspondences was also identical simultaneously, these two themes should merge.
2. if two corresponding target drawings of theme are incomplete same, promptly certain the target drawing under certain theme does not need another theme, and then these two themes can not merge.For example, though " post wall " and " post wall mark " even have identical reusable dividing elements result because " post wall " also will be used for the structural plan arrangenent diagram, and " wall column mark " and be not used in the structural plan arrangenent diagram, thereby both can not merge.
Building is made of a plurality of floors usually, and the floor with identical set is generalized type formation.It is identical and also identical with respect to position, the attitude of type formation reference point with content between type formation that the present invention requires, and promptly can overlapping fully contents extraction on these type formations comes out to form to be applicable to the reusable unit of a plurality of type formations.As connect pillar group, the stair of each type formation and have room of same design etc." content is identical " is meant number, kind, the attribute, all identical with corresponding engineering significance with respect to the position of type formation reference point of the graphic element that set is contained." reference point " is meant that certain has the point of fixity with reference to meaning, as the intersection point of certain two axis." relative position " is meant (x, y, z) relative coordinate of set with respect to reference point." attitude " is meant set relative and coordinate system rotational parameters and mirror.
From the requirement of the reusable unit of determining to can be used for a plurality of type formations as can be known, because reusable unit is to have identical information with respect to each type formation reference point, therefore as long as the relative position parameter of stack each type formation self, what can need not to adjust finishes from the reusable unit that is applicable to many type formations to the assembling of each type formation.
What Fig. 5 A to Fig. 5 C illustrated is the process of extracting reusable unit from the various criterion layer of same monomer.501,502,503 is 3 type formations as seen from the figure, and twill partly is the same section of 3 type formations, will be extracted into the reusable unit that is applicable to 3 type formations; The brick line partly is the same section of 501,503 type formations, will be extracted into the reusable unit that is applicable to 501,503 type formations; And other parts will be extracted into the reusable unit that is applicable to the place type formation.
Traditional " monomer " promptly refers to the content that closed loop comprised that external wall forms.This definition is too narrow for design reuse.The present invention's " monomer " is designed to: all select some reusable unit when each theme in each type formation and form a set separately, if these set (adhering to each type formation of each theme separately) have identical outer packet boundary, then the intersection of these set can be divided into a monomer.As shown in Figure 3 301,302,303 are 3 themes.If 3 set that reusable unit is formed of selected perpendicular dotted line inside in 301, with 302 in 1 set that reusable unit is formed of selected perpendicular dotted line inside, with 303 in the set formed of 2 reusable unit of selected perpendicular dotted line inside have public boundary (promptly perpendicular dotted line), and this project has only this 3 kinds of themes, and this public boundary also all exists in each type formation, all reusable unit that adhere to each theme and type formation separately in this public boundary constitute a monomer so, shown in 304.Therefore traditional monomer satisfies the identification requirement that the present invention proposes owing to have this also physical boundary of exterior wall, is more convenient for finding and marking off the monomer with the value of reusing by requirement of the present invention.
The present invention requires can be overlapping fully behind translation (being the relative position adjustment), rotation, mirror image (being the attitude adjustment) between monomer, and the contents extraction of taking same form in the reuse process of all monomers comes out to form to be applicable to the reusable unit of a plurality of monomers, as identical house type in the different monomers or plane figure etc.Therefore, be applicable to that the reusable unit of a plurality of monomers may be all inequality with respect to position, the attitude of each monomer reference point." content is identical " be meant the contained graphic element of set number, kind, attribute, the position of certain reference point is all identical with corresponding engineering significance relatively." reference point " is meant that certain has the point of fixity with reference to meaning, though different monomers axis system difference, difficult intersection point with certain two axis is used as reference point, but still can choose between monomer related certain position as reference point." relative position " is meant (x, y, z) relative coordinate of set with respect to reference point." attitude " is meant that set is relative to rotating and mirror with coordinate system.The reusable unit that is applicable to a plurality of monomers may adopt different forms when being used for different monomers, as duplicate (the piece reference of promptly in certain monomer, inserting repeatedly this unit), if one or the multinomial form difference that then all belongs to inequality in the potential difference of the number of its kind (shift copy or image copying), duplicate, duplicate.Have difference and reuse the design information set of form and must be divided into different reusable unit, so that set different reuse means parameters.
What Fig. 4 A to Fig. 4 C illustrated is the process and the influence of different reuse means to this process of extracting reusable unit from the different monomers that is applicable to certain type formation combination.401,402,403 is 3 monomers as seen from the figure.Twill part, brick line part, L shaped part all are applicable to 3 monomers, and can overlap fully through position, attitude adjustment.But the form of reusing of 3 parts has nothing in common with each other, and the number (all having only 1) of relative position in 3 monomers of twill part, attitude, duplicate is all identical; And L shaped part has adopted " image copying " form in 401 and 402, and the direction difference of mirror image, the number of duplicate also different (in 401 and 402 are 2,403 in be 1); The brick line has partly adopted " shift copy " form, and the translational movement difference, the number of duplicate also different (in 401 and 402 are 2,403 in be 1).Though therefore three parts have identical theme and suitable type formation and monomers, because of the difference with reuse means adheres to 3 reusable unit separately.
Therefore, be applicable to that the reusable unit of a plurality of monomers must be adjusted position, attitude and form when being used for certain monomer, reuse that setting of the present invention " monomer " is just in order to append and manage these adjustment information just can finish.
Comprehensive said method, the reusable unit that the present invention will extract are the design information set that is suitable for some themes, or plurality of standard layer, or a plurality of monomers, and can be stored in the piece definition list in the mode that piece defines.The content that is suitable for a plurality of type formations is with respect to the identical content of the public reference point of these type formations, can directly insert piece with respect to this reference point and reuse with reference to promptly finishing; And the content that is applicable to a plurality of monomers needs just to finish and reuse with reference to carrying out a series of adjustment the piece that inserts.Therefore, any design information in the drawing must and can only be subordinated to a reusable unit.
The reusable unit that extracts adopts theme under it, type formation applicatory and monomer, and this three reuses attribute greatly as its identification characteristics, serves as direct foundation when screening, controls its reuse process in view of the above.This determines that with other other characteristic according to reusable unit the method for its applicability is different.Among the present invention, reusable unit scope applicatory (promptly can be used for which theme, which type formation and which monomer) is that finite sum is determined, and just decides when creating, and is the basis of realizing the automatically screening method; With reference to after being inserted into its drawing that is suitable for, the user, reuses attribute and can understand the scope that may upgrade synchronously its modification by reading it, thereby effectively controlled reuse process with reference to the place at any piece at its piece.
The present invention is divided into reusable unit by stratification and duplicate message extraction with all design informations in obtaining reusable unit scheme, its target is that these reusable unit weighs are used in the suitable target drawing, finishes the assembly unit and the stack of design information.In the practical operation, the present invention utilizes the computer aided design software platform that basic function is provided, and under the AutoCAD environment, adopts the carrier of piece definition as reusable unit, with inserting piece with reference to realizing reuse process.
In order to realize automatic assembling process, the scheme that the present invention proposes has the three layers of package assembly that have that four kinds of assembly objects constitute, and can finish choosing, distributing of reusable unit and transmission, assembly working automatically according to reusing attribute.4 kinds of objects of assembling comprise:.
1. parts (the reusable design information of promptly choosing): contain 1 or a plurality of monomer that are suitable for certain theme, 1 or the design information of plurality of standard layer; Accordingly, contained reuses in the attribute, and the theme number that is suitable for is 1, and the monomer number that is suitable for is 1 or a plurality of, and the type formation number that is suitable for is 1 or a plurality of.
2. monomer type formation parts: contain the design information that is suitable for certain theme monomer 1 or plurality of standard layer.Accordingly, contained reuses in the attribute, and the theme number that is suitable for is 1, and the monomer number that is suitable for is 1, and the type formation number that is suitable for is 1 or a plurality of.Have the search functions of components, during search, it is identical with type formation to choose suitable theme, comprises the parts of pairing 1 monomer of this monomer type formation parts in 1 or a plurality of monomer that is suitable for.
3. monomer theme type formation: contain the design information that is suitable for certain theme monomer type formation.Accordingly, contained reuses in the attribute, and the theme number that is suitable for is 1, and the monomer number that is suitable for is 1, and the type formation number that is suitable for is 1.Have search monomer type formation functions of components, during search, it is identical with monomer to choose suitable theme, comprises the monomer type formation parts of pairing 1 type formation of this monomer theme type formation in 1 or the plurality of standard layer that is suitable for.
4. monomer type formation target drawing: certain target drawing that contains certain monomer type formation.Accordingly, contained reuses in the attribute, and the theme number that should contain is 1 or a plurality of, and the monomer number that is suitable for is 1, and the type formation number that is suitable for is 1.Have the function of search monomer theme type formation, during search, it is identical with type formation to choose suitable monomers, the monomer theme type formation of the theme correspondence that this monomer type formation target drawing is required.
The assembling three-decker comprise:
1. the parts that will be fit to a plurality of type formations of a plurality of monomers of certain theme are reused " the monomer type formation parts " that this theme of each monomer has identical applied code layer;
2. monomer type formation parts stand good in a plurality of type formations, therefore next it are reused this monomer of this theme of each type formation " monomer theme type formation ";
3. monomer theme type formation has contained the complete information of certain theme monomer type formation, therefore, next be the relation according to the required theme of target drawing, the monomer theme type formation of choosing required theme superposes, and generates certain target drawing of this this type formation of monomer.
When enforcement is of the present invention, though design reuse need be with the design element part, in different type formations or monomer, reuse then, but the user need not to determine all parts of reusing in the mode of " obtain whole parts earlier, it is whole that recomposition becomes " at the beginning of design.Opposite, the user can not consider that the problem drafting earlier of design reuse forms a certain amount of design information, can be the local or whole of one or more drawing, in the process that its design deepens continuously, along with its discovery and excavation to some design information reusability, the method that proposes according to the present invention progressively forms the target drawing, meets very much the working law of architectural design and relevant design personnel's thinking habit.Different is, the user needs to reuse the constituted mode that attribute is rethought drawing information greatly by theme, type formation and monomer three, and revise some and draw custom, draw the drawing of each monomer and type formation as minute theme, and should not draw the drawing that contains all themes.
As shown in Figure 6, method of the present invention comprises:
Step S601: choose parts, described parts be applicable in a kind of theme, 1 or plurality of standard layer, 1 or a plurality of reusable design information with monomer;
Step S602: define the attribute of described parts, the attribute of described parts comprises theme, suitable monomers and applied code layer at least;
Step S603: the attribute according to the parts that prestore is assembled the described parts that prestore.
As shown in Figure 7, device 700 of the present invention comprises:
Parts creation module 701 is used to provide interactive interface, chooses reusable design information as parts, and defines the attribute of described parts, and the attribute of described parts comprises theme, suitable monomers and applied code layer at least;
Knockdown block 702 is used for according to the attribute of the parts that prestore parts being assembled.
In an embodiment of the present invention, earlier with the example that is assembled into of two parts of same theme:
The user chooses the reusable design information of drafting as parts (step S601) by the interactive interface that parts establishment mould fast 701 provides, and definition component attribute, the attribute of described parts comprises theme, suitable monomers and applied code layer at least, and described parts are deposited in the storage unit.Shown in Fig. 8 A, the user has selected reusable unit as parts 001 in post wall theme, and the attribute of parts is set to " post wall/1/1,2 " promptly, and described parts 001 are post wall theme, are applicable to monomer 1, type formation 1,2.Fig. 8 B is the synoptic diagram of parts 001 place type formation 1 or 2, and wherein dash area is the position of parts 001; Shown in Fig. 9 A, the user has selected reusable unit as parts 002 in post wall theme, and the attribute of parts is set to " post wall/1,2,3/1,2 " promptly, and described parts 002 belong to post wall theme, is applicable to monomer 1,2,3, type formation 1,2.Fig. 9 B is the synoptic diagram of parts 002 place type formation 1 or 2, and wherein dash area is the position (step S602) of parts 002.
Next, attribute according to the parts that prestore is assembled (step S603) to the described parts that prestore: the parts with same subject and identical applied code layer scope that prestore of search mark off parts group corresponding to each suitable monomers according to the suitable monomers attribute of the parts that search; Parts in the described parts group are assembled into monomer type formation parts corresponding to each monomer in the mode of reference, and described each monomer type formation parts have corresponding to 1 theme, 1 monomer and 1 or the attribute of plurality of standard layer.
For instance, when the parts of choosing only comprise parts 001,002, the first search submodule of described Knockdown block 702, search out parts 001,002 and have same subject (" post wall ") and identical applied code layer scope (" 1,2 "), mark off parts group according to the suitable monomers attribute of the parts 001,002 that search, be respectively corresponding to each suitable monomers (monomer 1, monomer 2, monomer 3):
The first parts group (corresponding to monomer 1) comprises parts 001,002;
The second parts group (corresponding to monomer 2) comprises parts 002;
The 3rd parts group (corresponding to monomer 3) comprises parts 002.
The first assembling submodule of described Knockdown block 702 is assembled into monomer type formation parts corresponding to each monomer by above-mentioned parts group in the mode of reference with described parts 001,002, and described each monomer type formation parts have corresponding to 1 theme, 1 monomer and 1 or the attribute of plurality of standard layer.Figure 10 A is that the attribute that parts 001,002 are assembled into is the monomer type formation parts 011 (by the assembling of the first parts group) of " post wall/1/1,2 ", and Figure 10 B is the synoptic diagram of this monomer type formation parts 011 place type formation 1 or 2.Described parts 002 are because also applicable to monomer 2,3, therefore described parts 002 also will participate in forming attribute reaches " post wall/3/1,2 " for " post wall/2/1,2 " monomer type formation parts, if there are not other parts to have theme and the applied code layer scope identical with parts 002, it be that " post wall/2/1,2 " reaches the monomer type formation parts (being assembled by the second parts group, the 3rd parts group respectively) of " post wall/3/1,2 " that 002 of described parts oneself are formed attribute.
In another embodiment of the present invention, the described parts that prestore are assembled further comprises: the monomer type formation parts with same subject and identical suitable monomers attribute that search prestores mark off monomer type formation parts group corresponding to each type formation according to the applied code layer attribute of the monomer type formation parts that will search; Monomer type formation parts in the described monomer type formation parts group are assembled into monomer theme type formation corresponding to each type formation in the mode of reference, and described each monomer theme type formation has the attribute corresponding to 1 theme, 1 monomer and 1 type formation.
For instance, Figure 11 A is depicted as monomer type formation parts 012, attribute is " post wall/1/1,2 ", monomer type formation parts 012 and above-mentioned monomer type formation parts 011 are the design content in the same engineering, also be to come from component-assembled by aforesaid process, Figure 11 B is the synoptic diagram of monomer type formation parts 012 place type formation 1 or 2.Be that example illustrates present embodiment only below with above-mentioned two monomer type formation parts.The Knockdown block 702 of device 700 of the present invention also comprises the second search submodule, the monomer type formation parts 011,012 that the described second search sub-block searches prestores with same subject and identical suitable monomers attribute, applied code layer attribute according to the monomer type formation parts 011,012 that will search marks off corresponding to each type formation (type formation 1, type formation 2) monomer type formation parts group is respectively:
The first monomer type formation parts group (corresponding to type formation 1) comprises monomer type formation parts 011,012;
The second monomer type formation parts group (corresponding to type formation 2) comprises monomer type formation parts 011,012;
The Knockdown block 702 of device 700 also comprises the second assembling submodule, the described second assembling submodule is assembled into monomer theme type formation 111 (by first monomer type formation component-assembled), 112 (second monomer type formation component-assembled) corresponding to each type formation (type formation 1, type formation 2) by above-mentioned monomer type formation parts group in the mode of reference with described monomer type formation parts 011,012, as Figure 12 A, shown in the 13A, Figure 12 B and 13B identify the synoptic diagram of described monomer theme type formation 111,112 in type formation 2,3 respectively.Described monomer theme type formation 111,112 has the attribute corresponding to 1 theme, 1 monomer and 1 type formation, and the attribute of monomer theme type formation 111,112 is respectively " post wall/1/1 ", " post wall/1/2 ".Be similar to an embodiment, described monomer type formation parts also can own compositing monomer theme type formation.
In further embodiment of this invention, the described parts that prestore are assembled also further comprises: the monomer theme type formation with identical suitable monomers and identical applied code layer attribute that search prestores; Described monomer theme type formation is assembled into monomer type formation target drawing in the mode of reference, and described monomer type formation target drawing is corresponding to 1 or a plurality of theme, 1 suitable monomers and 1 applied code layer.
Figure 14 shows that the monomer theme type formation 211 of an attribute for " axis/1/1 ", only with monomer theme type formation 211, and aforesaid monomer theme type formation 111 illustrates present embodiment for example.The Knockdown block 702 of device 700 of the present invention also comprises the 3rd search submodule, and described the 3rd search sub-block searches is to the monomer theme type formation 211,111 with identical suitable monomers (" 1 ") and identical applied code layer (" 1 ") attribute; The Knockdown block 702 of device 700 also comprises the 3rd assembling submodule, described the 3rd assembling submodule is assembled into monomer type formation target drawing with described monomer theme type formation 111,211 modes with reference, described monomer type formation target drawing is corresponding to 1 or a plurality of theme, 1 suitable monomers and 1 applied code layer, as shown in figure 15.
In the Knockdown block 702 in apparatus of the present invention 700 first assembling submodule, also can comprise a position and attitude information setting submodule, be used for position component, attitude information being set at assembling process, and above-mentioned position and attitude, information offered the first assembling submodule, have accurate position and attitude after making component-assembled.The method for reusing of this name and device are being handled 2 during with upper-part, and its implementation process is similar to the above embodiments, and those skilled in the art should understand, and repeats no more herein.
Figure 16 is the complete procedure synoptic diagram of the present invention from component-assembled to monomer type formation target drawing, can be expressly understood the present invention more in conjunction with this figure.
Usefulness of the present invention is: the method that the present invention proposes has effectively been decomposed the design information of mixing originally, and extracts reusable unit, has excavated the potentiality of reusing of the interior design information of project; The information that repeats is generalized into reusable unit,, has reduced the required design data of render target drawing with the alternative Redundancy Design data that need repeat replication to generate originally of the reflection of reusable unit; With the reflection of reusable unit but not directly data are duplicated the result and are represented the design information that repeats to locate, make the information source that repeats to locate in same set of data object, realize the consistance of data, can guarantee fundamentally that each place of repetition is consistent, and can realize the automatic renewal that repeats to locate; Adopt the reusable unit weighs of explicit record to make its reuse process be more convenient for controlling with attribute.Than some other design reuse method, can adopt unit scope applicatory to determine among the present invention, which object reuse the user all can obtain reusable unit by by the attribute of reusing of explicit record in any stage of design, and judges thus whether modification to reusable unit can influence it and reuse characteristic.This makes the renewal of reusable unit become very convenient and reliable in actual applications.Adopt the setting of the orderly various design parameters of arrangement of multi-level method of successively assembling, make the reuse process clear in structure, data structure is stable, screening is had regulations to abide by with assembling, there are two not need manual intervention in the number of assembling steps, the simple manual intervention of needs is convenient to realize sequencing and robotization.Above-mentioned advantage of the present invention collective has realized reducing labor intensity, and accelerates design rate, improves the target of designing quality.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.