Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with embodiment and accompanying drawing, the present invention is described in further details.At this, exemplary embodiment of the present invention and illustrating for explaining the present invention, but not as a limitation of the invention.
The present invention is for realizing reusing design element in construction-engineering project.Reusable unit in the present invention is the design information of reusing between the inner different monomers of theme and type formation.The content type theming as design information of the present invention; Type formation is the floor level with identical set; Monomer is the intersection of the component set composition of each theme with identical outer packet boundary.(above-mentioned concept specific explanations hereinafter).
Concept that the present invention devises " theme " carrys out the design content on stratification target drawing.Theme is the content type of design information.Often kind of target drawing is the result of multiple theme superposition, and as shown in Figure 1,104 represent certain target drawing, and it is the stacked result added of theme 101,102,103.Fig. 2 " post location and arrangement of reinforcement " target drawing stratification that is is the case history of three themes, and wherein the local 204 of target drawing is formed by stacking with " post wall marks " theme 203 by " axis " theme 201, " post wall " theme 202.Application claims design content also must can only be included into a theme in theme contained by engineering, and therefore the reusable unit of different themes does not occur simultaneously, and the intersection of the reusable unit of all themes is whole design information.
Certain theme also can be reused for multiple target drawing.Example in table 1 shows main target drawing, theme and the relation of inclusion (round dot in form represents that the target drawing of this corresponding row contains the theme of respective column) thereof that Structural Engineering has.
Table 1
According to the constituent relation of the theme shown in table 1 to target drawing, some theme may appear in plurality of target drawing, therefore theme set up the target achieving and reuse theme between different target drawing.
If do not adopted theme to the leading stratification of target drawing, then the reusable unit that can extract is less, and the reusable unit scope of application extracted is also less.This is because each theme is because of its different engineering significance, and the division border of reusable unit in respective scope and the scope of application (namely can be used for which type formation and monomer) are all different.Fig. 1 describes the difference of reusable elementary boundary in each theme and theme for the effect increasing reusable unit number, three different themes of 101,102,103 certain monomer type formation corresponding in figure, its inner polygon represents isolated reusable unit, and in different themes, the difformity of reusable unit represents that it has different borders.In figure, extract 13 reusable unit (101 have 5, and 102 have 3, and 103 have 5) from 3 themes altogether, if cancel theme this data hierarchy, design information will mix into the state of 104, then separable go out reusable unit only have 2.Cancel " theme " level of information while the obtainable reusable unit of minimizing, the quantity of information of the reusable unit extracted is increased, and the scope of application reduces, and reusability reduces.Therefore must extract reusable unit in each theme, the reusable object extracted just can be made to be applicable to more type formation and monomer.
The design process of construction work relates to multiple work post.Each work post has fixing some target drawings and some themes, and the subject combination needed for various target drawing is also fixing.Thus can reuse between the disparity items of identical work post.The present invention utilizes this characteristic realize target drawing to required theme automatic search and assembling.
Theme can be determined according to the understanding of slip-stick artist as the criteria for classification of design information, but in order to meet the requirement of design reuse, need follow the following method that the present invention formulates:
1., if the reusable elementary boundary extracted from all type formations and monomer in two themes is all identical with the scope of application and corresponding between two, namely the division result of the reusable unit of two themes is identical; When the target drawing that simultaneously two themes are corresponding is also identical, these two themes should merge.
2., if two corresponding target drawings of theme are incomplete same, certain the target drawing namely belonging to certain theme does not need another theme, then these two themes can not merge.Such as, although " post wall " with " post wall marks " even if having identical reusable dividing elements result, because " post wall " also will be used for structural plan arrangenent diagram, and " wall column mark " be not used in structural plan arrangenent diagram, thus both can not merge.
Building is made up of multiple floor usually, and the floor with identical set is generalized type formation.Application claims is by identical for content between type formation and also identical relative to the position of type formation reference point, attitude, and contents extraction that namely can be completely overlapping on these type formations out forms the reusable unit being applicable to multiple type formation.As the pillar group of through each type formation, stair and the room etc. with same design." content is identical " refers to the number of the graphic element contained by set, kind, attribute, all identical with the engineering significance of correspondence relative to the position of type formation reference point." reference point " refers to that certain has the point of fixity with reference to meaning, as the intersection point of certain two axis." relative position " refers to set (x, y, z) relative coordinate relative to reference point." attitude " refers to that set relatively and coordinate system rotational parameters and mirror.
From the requirement determining the reusable unit that can be used for multiple type formation, because reusable unit is have identical information relative to each type formation reference point, as long as therefore superpose the relative position parameter of each type formation self, can without the need to the assembling completed from the reusable unit to each type formation being applicable to many type formations of adjustment.
What Fig. 5 A to Fig. 5 C illustrated is the process extracting reusable unit from the various criterion layer of same monomer.501,502,503 is 3 type formations as seen from the figure, and diagonal section is the same section of 3 type formations, will be extracted into the reusable unit being applicable to 3 type formations; Brick line part is the same section of 501,503 type formations, will be extracted into the reusable unit being applicable to 501,503 type formations; And other parts will be extracted into the reusable unit being applicable to place type formation.
Traditional " monomer " namely refers to the content that the closed loop that external wall is formed comprises.This definition is too narrow for design reuse.The present invention's " monomer " is designed to: when each theme all selects some reusable unit to form a set separately in each type formation, 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 is 3 themes.If the set that 3 reusable unit of the perpendicular dotted line inside selected in 301 form, the set formed with 1 reusable unit of the perpendicular dotted line inside selected in 302, the set formed with 2 reusable unit of the perpendicular dotted line inside selected in 303 has public boundary (i.e. perpendicular dotted line), and this project only has this 3 kinds of themes, and this public boundary also all exists in each type formation, the all reusable unit adhering to each theme and type formation separately so in this public boundary forms a monomer, as illustrated at 304.Traditional monomer, owing to having this also physical boundary of exterior wall, therefore meets the identification requirement that the present invention proposes, and is more convenient for finding and marking off the monomer having and reuse value by requirement of the present invention.
Application claims by between monomer through translation (i.e. relative position adjustment), rotate, can overlap completely after mirror image (i.e. pose adjustment), and in the reuse process of all monomers, take the contents extraction of same form out to form the reusable unit being applicable to multiple monomer, as the identical house type in different monomers or plane figure etc.Therefore, be applicable to the position of reusable unit relative to each monomer reference point of multiple monomer, attitude may be all not identical." content is identical " refer to the number of the graphic element contained by set, kind, attribute, relatively certain reference point position all identical with the engineering significance of correspondence." reference point " refers to that certain has the point of fixity with reference to meaning, although different monomers axis system is different, the more difficult intersection point with certain two axis is used as reference point, but still can to choose between monomer certain position related as reference point." relative position " refers to set (x, y, z) relative coordinate relative to reference point." attitude " refers to that set is rotated and mirror relative to coordinate system.The reusable unit being applicable to multiple monomer is for adopting different forms during different monomers, as copied (the block reference of namely inserting repeatedly this unit in certain monomer), if one or more not identical in the potential difference of the number of its kind (shift copy or image copying), duplicate, duplicate, all belong to form different.There is the design information set that difference reuses form and must be divided into different reusable unit, to set different reuse means parameters.
What Fig. 4 A to Fig. 4 C illustrated is extracts the process of reusable unit and different reuse means to the impact of this process from the different monomers being applicable to the combination of certain type formation.401,402,403 is 3 monomers as seen from the figure.Diagonal section, brick line part, L shape part are all applicable to 3 monomers, and through position, pose adjustment can overlap completely.But the form of reusing of 3 parts is different, the number (all only having 1) of the relative position of diagonal section in 3 monomers, attitude, duplicate is all identical; And L shape part have employed " image copying " form in 401 and 402, and the direction of mirror image is different, and the number of duplicate also different (in 401 and 402 being 2, is 1 in 403); Brick line part have employed " shift copy " form, and translational movement is different, and the number of duplicate also different (being 2 in 401 and 402, is 1 in 403).Although therefore three parts have identical theme and the type formation be suitable for and monomer, adhere to 3 reusable unit separately because having the difference of reuse means.
Therefore, the reusable unit being applicable to multiple monomer, for adjusting position, attitude and form during certain monomer, is reused just can complete, and the present invention arranges " monomer " just in order to add and manage these adjustment information.
Comprehensive said method, the reusable unit that the present invention will extract is the design information set being suitable for some themes, or plurality of standard layer, or a plurality of monomer, and can be stored in block definition list in the mode of block definition.The content being suitable for multiple type formation is relative to the identical content of the public reference point of these type formations, can directly insert block reuse with reference to namely completing relative to this reference point; And the content being applicable to multiple monomer just need can complete reuse with reference to carry out a series of adjustment the block inserted.Therefore, any design information in drawing must and a reusable unit can only be subordinated to.
The reusable unit extracted adopts theme belonging to it, type formation applicatory and monomer, and this three reuses greatly attribute as its identification characteristics, serving as direct basis, controlling its reuse process accordingly when screening.According to other characteristic of reusable unit, this determines that the method for its applicability is different from other.In the present invention, reusable unit scope applicatory (namely 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 realizing automatically screening method; Its block with reference to be inserted into its after the drawing that is suitable for, user with reference to place at any block, reuses attribute can understand scope to the possible synchronized update of its amendment by reading it, thus effectively control reuse process.
The present invention is extracted by stratification and duplicate message and all design informations is divided into reusable unit in the reusable unit scheme of acquisition, and its target is reused by these reusable unit in applicable target drawing, the assembled and superposition of complete design information.In practical operation, the present invention utilizes computer aided design software platform to provide basic function, as under AutoCAD environment, adopts block to be defined as the carrier of reusable unit, with insertion block with reference to realizing reuse process.
In order to realize automatic Composition process, what the scheme that the present invention proposes had four kinds of assembly objects to form has three layers of package assembly, can automatically complete the choosing, distribute and transmit of reusable unit, assembly working according to reusing attribute.4 kinds of objects of assembling comprise:.
1. parts (the reusing design information namely chosen): containing 1 or a plurality of monomer, 1 or the design information of plurality of standard layer that are suitable for certain theme; Accordingly, contained reuses in attribute, and the theme number be suitable for is 1, and the monomer number be suitable for is 1 or a plurality of, and the type formation number be suitable for is 1 or a plurality of.
2. monomer standard layer parts: containing the design information being suitable for certain theme monomer 1 or plurality of standard layer.Accordingly, contained reuses in attribute, and the theme number be suitable for is 1, and the monomer number be suitable for is 1, and the type formation number be suitable for is 1 or a plurality of.There is the function of search parts, during search, choose applicable theme identical with type formation, comprise the parts of 1 monomer corresponding to this monomer standard layer parts in 1 or a plurality of monomer that are suitable for.
3. monomer theme type formation: containing the design information being suitable for certain theme monomer type formation.Accordingly, contained reuses in attribute, and the theme number be suitable for is 1, and the monomer number be suitable for is 1, and the type formation number be suitable for is 1.There is the function of search monomer standard layer parts, during search, choose applicable theme identical with monomer, comprise the monomer standard layer parts of 1 type formation corresponding to this monomer theme type formation in 1 or the plurality of standard layer that are suitable for.
4. monomer standard layer target drawing: certain target drawing containing certain monomer type formation.Accordingly, contained reuses in attribute, and the theme number that should contain is 1 or a plurality of, and the monomer number be suitable for is 1, and the type formation number be suitable for is 1.There is the function of search monomer theme type formation, during search, choose suitable monomers identical with type formation, the monomer theme type formation that the theme needed for this monomer standard layer target drawing is corresponding.
Assembling three-decker comprise:
1. the Reusable Components of the applicable multiple type formation of the multiple monomer of certain theme is had to this theme of each monomer " the monomer standard layer parts " of identical applied code layer;
2. monomer standard layer parts stand good in multiple type formation, are therefore next reused this monomer of this theme of each type formation " monomer theme type formation ";
3. the complete information of monomer theme type formation containing certain theme monomer type formation, therefore, next be the relation of theme needed for target drawing, the monomer theme type formation choosing required theme superposes, and generates certain target drawing of this this type formation of monomer.
When implementing of the present invention, although design reuse needs design element part, then reuse in different type formations or monomer, but user all reuses parts without the need to determining at the beginning of design in the mode of " first obtain whole part, recomposition integrally ".Contrary, user can not consider that the problem of design reuse is first drawn and form a certain amount of design information, it can be the local or whole of one or more drawing, design in the process deepened continuously at it, along with it is to the discovery of some design information reusability and excavation, the method proposed according to the present invention progressively forms target drawing, meets very much the working law of architectural design and the thinking habit of relevant design personnel.Difference is, user need reuse greatly by theme, type formation and monomer three constituted mode that attribute rethinks drawing information, and revise some drafting customs, as the drawing of each monomer and type formation drawn in point theme, and the drawing containing all themes should not be drawn.
As shown in Figure 6, method of the present invention comprises:
Step S601: choose parts, described parts be to be applicable in a kind of theme, 1 or plurality of standard layer, 1 or the reusing design information of a plurality of monomer;
Step S602: the attribute of the parts described in definition, the attribute of described parts at least comprises theme, suitable monomers and applied code layer;
Step S603: the attribute according to the parts prestored is assembled the described parts that prestore.
As shown in Figure 7, device 700 of the present invention comprises:
Parts creation module 701, for providing interactive interface, choosing reusing design information as parts, and defining the attribute of described parts, and the attribute of described parts at least comprises theme, suitable monomers and applied code layer;
Knockdown block 702, for assembling parts according to the attribute of the parts that prestore.
In an embodiment of the present invention, example is assembled into first with two of same subject parts:
The interactive interface that user is provided by parts establishment mould fast 701 chooses the reusing design information of drafting as parts (step S601), and definition component attribute, the attribute of described parts at least comprises theme, suitable monomers and applied code layer, by described parts stored in storage unit.As shown in Figure 8 A, user have selected reusable unit as parts 001 in post wall theme, by the setup of attribute of parts be " post wall/1/1,2 " namely, described parts 001 are post wall theme, are applicable to monomer 1, type formation 1,2.Fig. 8 B is the schematic diagram of parts 001 place type formation 1 or 2, and wherein dash area is the position of parts 001; As shown in Figure 9 A, user have selected reusable unit as parts 002 in post wall theme, is that " post wall/1,2,3/1,2 " namely, described parts 002 belong to post wall theme, are applicable to monomer 1,2,3 by the setup of attribute of parts, type formation 1,2.Fig. 9 B is the schematic 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 prestored is assembled (step S603) the described parts that prestore: search for the parts with same subject and identical applied code layer scope prestored, go out the parts group corresponding to each suitable monomers according to the suitable monomers Attribute transposition of the parts searched; Parts in described parts group are assembled into monomer standard layer parts corresponding to each monomer in the mode of reference, and described each monomer standard layer parts have corresponding to 1 theme, 1 monomer and 1 or the attribute of plurality of standard layer.
For example, when the parts chosen only comprise parts 001,002, first search submodule of described Knockdown block 702, search out parts 001,002 and there is same subject (" post wall ") and identical applied code layer scope (" 1,2 "), the parts group corresponding to each suitable monomers (monomer 1, monomer 2, monomer 3) is gone out according to the suitable monomers Attribute transposition of the parts 001,002 searched, respectively:
First component group (corresponding to monomer 1), comprises parts 001,002;
Second component group (corresponding to monomer 2), comprises parts 002;
3rd parts group (corresponding to monomer 3), comprises parts 002.
Described parts 001,002 are assembled into monomer standard layer parts corresponding to each monomer by above-mentioned parts group in the mode of reference by the first assembling submodule of described Knockdown block 702, and described each monomer standard layer parts have corresponding to 1 theme, 1 monomer and 1 or the attribute of plurality of standard layer.Figure 10 A monomer standard layer parts 011 (being assembled by first component group) that to be attribute that parts 001,002 are assembled into be " post wall/1/1,2 ", Figure 10 B is the schematic diagram of this monomer standard layer parts 011 place type formation 1 or 2.Described parts 002 are because be also applicable to monomer 2,3, therefore described parts 002 also will participate in forming the monomer standard layer parts that attribute is " post wall/2/1,2 " and " post wall/3/1,2 ", if do not have other parts to have the theme identical with parts 002 and applied code layer scope, described parts 002 oneself composition attribute is the monomer standard layer parts (being assembled by second component group, the 3rd parts group respectively) of " post wall/2/1,2 " and " post wall/3/1,2 ".
In an alternative embodiment of the invention, described assembling the parts prestored comprises further: the monomer standard layer parts of what search prestored have same subject and identical suitable monomers attribute, according to the monomer standard layer parts group gone out by the applied code layer Attribute transposition of the monomer standard searched layer parts corresponding to each type formation; Monomer standard layer parts in described monomer standard layer 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 example, Figure 11 A is depicted as a monomer standard layer parts 012, attribute is " post wall/1/1,2 ", monomer standard layer parts 012 and above-mentioned monomer standard layer parts 011 are the design content in same engineering, also be come from assembling parts by process as above, Figure 11 B is the schematic diagram of monomer standard layer parts 012 place type formation 1 or 2.Below only for above-mentioned two monomer standard layer parts, the present embodiment is described.The Knockdown block 702 of device 700 of the present invention also comprises the second search submodule, the monomer standard layer parts 011,012 of what described second search sub-block searches prestored have same subject and identical suitable monomers attribute, according to the applied code layer Attribute transposition of the monomer standard searched layer parts 011,012 is gone out corresponding to each type formation (type formation 1, type formation 2) monomer standard layer parts group, respectively:
First monomer standard layer parts group (corresponding to type formation 1), comprises monomer standard layer parts 011,012;
Second comonomer type formation parts group (corresponding to type formation 2), comprises monomer standard layer parts 011,012;
The Knockdown block 702 of device 700 also comprises the second assembling submodule, described monomer standard layer parts 011,012 are assembled into monomer theme type formation 111 (by the first monomer standard layer assembling parts), 112 (second comonomer type formation assembling parts) corresponding to each type formation (type formation 1, type formation 2) by above-mentioned monomer standard layer parts group in the mode of reference by described second assembling submodule, as Figure 12 A, shown in 13A, Figure 12 B and 13B identifies the described schematic diagram of 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, but described monomer standard layer parts also oneself compositing monomer theme type formation.
In still another embodiment of the process, described assembling the parts prestored also comprises further: search for the monomer theme type formation with identical suitable monomers and identical applied code layer attribute prestored; Described monomer theme type formation is assembled into monomer standard layer target drawing in the mode of reference, and described monomer standard layer target drawing corresponds to 1 or a plurality of theme, 1 suitable monomers and 1 applied code layer.
Figure 14 shows that an attribute is the monomer theme type formation 211 of " axis/1/1 ", only with monomer theme type formation 211, and aforesaid monomer theme type formation 111 illustrates the present embodiment for example.The Knockdown block 702 of device 700 of the present invention also comprises the 3rd search submodule, and the 3rd described 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 monomer theme type formation 111,211 is assembled into monomer standard layer target drawing in the mode of reference by the 3rd described assembling submodule, described monomer standard layer target drawing corresponds to 1 or a plurality of theme, 1 suitable monomers and 1 applied code layer, as shown in figure 15.
The first assembling submodule in Knockdown block 702 in apparatus of the present invention 700, also can comprise a position and attitude information and submodule is set, for position, the attitude information of setting parts in an assembling process, and above-mentioned position and attitude, information are supplied to the first assembling submodule, after making assembling parts, there is accurate position and attitude.The method for reusing of this name and device are when process 2 is 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 be the present invention from assembling parts to the complete procedure schematic diagram of monomer standard layer target drawing, clearly can understand the present invention in conjunction with this figure.
Usefulness of the present invention is: the method that the present invention proposes effectively has decomposed the design information of originally mixing, and extracts reusable unit, and that has excavated design information in project reuses potentiality; The information repeated is generalized into reusable unit, substitutes the Redundancy Design data originally needing repeat replication to generate with the reflection of reusable unit, decrease the design data of drawing needed for target drawing; With the reflection of reusable unit but not directly data Replica result represents the design information repeating to locate, make the information source repeating to locate in same set of data object, achieve the consistance of data, can fundamentally ensure that each place of repetition is consistent, and the automatic renewal repeating place can be realized; Adopting the reusable unit of explicit record to reuse attribute makes its reuse process be more convenient for controlling.Compared to some other design reuse method, unit scope applicatory can be adopted in the present invention to determine, which object reuse user all can obtain reusable unit by by the attribute of reusing of explicit record in any stage of design, and judges that whether can affect it to the amendment of reusable unit reuses characteristic thus.This makes the renewal of reusable unit become very convenient and reliable in actual applications.The setting of the various design parameter of arrangement adopting multi-level method of successively assembling orderly, make reuse process clear in structure, data structure is stablized, screening and assembling are had regulations to abide by, two are had not need manual intervention in number of assembling steps, a simple manual intervention of needs, is convenient to realize sequencing and robotization.Above-mentioned advantage collective of the present invention achieves and reduces labor intensity, and accelerates design rate, improves the target of designing quality.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection domain be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.