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.
For the present invention is described, at first to understand the problem that the present invention is directed to, i.e. repeatability among the construction work figure.The handled duplicate contents of the present invention be exactly between different themes, between different monomers, the various criterion interlayer is with certain reuse means repeated content.
" theme " notion of the present invention design is the content type of design information, is used for stratification drawing content, makes drawing become the result of multiple theme stack, as shown in Figure 1.101 is certain type formation drawing of theme " post wall mark " theme among Fig. 1, and it is formed by stacking by " the post wall mark " theme shown in " post wall " theme and 103 shown in 102.
Benefit with theme stratification drawing is that the content after the layering can be repeated to utilize, as Fig. 2." plate mark " theme 202 of identical standard layer among Fig. 2, " beam mark Y " theme 203 and " beam mark X " theme 204 are all shared " beam slab line " theme shown in 201 is as its base map.Example in the table 1 has shown the situation of being reused utilization after the structure discipline drawing content topicization, for example " post wall mark " all reused " post wall " theme with " beam slab line " theme, and " beam mark " all reused " beam slab line " theme with " plate mark " theme.
Table 1
●: the theme that expression is expert at directly comprises the theme of column;
Zero: the theme that expression is expert at includes the 3rd theme because of its theme that directly comprises, and includes the 3rd theme indirectly.For example the plate mark has comprised the beam slab line, and the beam slab line has comprised the post wall, thereby the plate mark has comprised the post wall indirectly.
Other characteristic of theme comprises that also all design contents must also can only be included into a theme, thereby does not occur simultaneously between the different themes, and the intersection of all themes is whole design informations.Theme simultaneously also is to extract the prerequisite of reusing pel, laterally repeats and the vertical extraction work that repeats can only be carried out between the type formation of a theme and monomer.
" type formation " among the present invention is for having the floor level of identical set, and the duplicate contents of various criterion interlayer is vertical the repetition, as shown in Figure 3.Among Fig. 3,301,302,303,304 are respectively beam slab line theme type formation 2,3,4,5, all contain the identical part shown in 305, thereby 305 is vertical duplicate contents between type formation 2,3,4,5.
" monomer " among the present invention is a planar range that the contained information of standard floor part relates to.A monomer may comprise one or more unit.As shown in Figure 4,401 expression picture frames; Two unit of 402 expressions are arranged in the picture frame, publish picture at a drawing, thereby two unit all are arranged in the monomer, totally one monomer; A picture frame is respectively arranged in two unit of 403 expressions, publishes picture in two drawings, thereby is that a monomer is respectively arranged in two unit, totally two monomers.Repeating between different monomers is horizontal repetition.
Laterally repeat also may appear between the zones of different of same monomer, as shown in figure 15.Among Figure 15 1501 is certain type formation, and it belongs to a monomer, but the zone that has identical lines in the plane is horizontal duplicate contents.
" reuse means " of the present invention for component-assembled after the standard floor part for expressing the repetitive mode that horizontal repetition is taked, its content comprises the quantity of duplicate and the geometric transformation of each duplicate, as shown in Figure 5.Among Fig. 5,501 and 502 is respectively the monomer 1 and the monomer 2 of certain engineering, the corresponding a kind of reuse means in figure middle twill zone, and its content comprises: 3 duplicates are arranged in monomer 1, and translation respectively, rotation also have 3 duplicates in monomer 2, translation respectively, rotation; The corresponding another kind of reuse means in reticulate pattern zone, its content comprises: 4 duplicates are arranged in monomer 1, and translation respectively, rotation, mirror image have 2 duplicates in monomer 2, translation respectively, rotation, mirror image.
Apparatus and method involved in the present invention as shown in Figure 6, totally 6 kinds of devices, 4 steps.
Device 601: parts, the described parts of described parts are to hold to be applicable to a kind of theme, 1 or plurality of standard layer, 1 or the container object of the pel of a plurality of monomer, a kind of reuse means.
Device 602: standard floor part, described standard floor part are to hold the container object of required pel, parts and standard floor part of the design information of 1 type formation of 1 monomer of expressing a kind of theme.
Device 603: graphic element distribution module is used for providing interactive interface the pel that repeats to be put into the parts or the standard floor part of attributes match for the user.
Device 604: the component-assembled module is used for according to the attribute of the parts that prestore component-assembled being arrived standard floor part.
Device 605: the parts adjusting module is used for the adjustment of mode that the parts that are assembled into standard floor part are reused according to the reuse means attribute of parts.
Device 606: the standard floor part Knockdown block is used for according to the attribute of the standard floor part that prestores standard floor part being assembled into the corresponding host theme standard floor part; Described host theme is the theme that comprises other theme.
Step 607: graphic element distribution, will be in a kind of theme, 1 or a plurality of monomer and 1 or the parts of putting into attributes match or the standard floor part of the pel that repeats in the same reuse mode of plurality of standard interlayer, and described parts or standard floor part are identified with the attribute of described parts or standard floor part.
Step 608: assembling parts arrives described component-assembled the standard floor part that is suitable for to standard floor part according to the suitable theme of parts that prestores, suitable type formation, suitable monomer attribute.
Step 609: the reuse means of adjustment component in standard floor part, described parts are carried out the adjustment of repetitive mode according to the reuse means attribute of the parts that are assembled into standard floor part.
Step 610: the assembling standard floor part is to standard floor part, according to the attribute of the standard floor part that prestores standard floor part is assembled into and has same monomer and type formation attribute, and subject attribute is the standard floor part of described standard floor part corresponding host theme, and described host theme is the theme that comprises other theme.
In actual applications the practice process of 4 steps is elaborated with regard to 6 kinds of devices below.
In order to utilize repeatability, at first duplicate contents to be become the parts that can reuse.
As shown in Figure 6, the present invention has designed parts 601 and standard floor part 602 devices and has held repetition pel, expression repeatability.These two kinds of devices all are container objects, be used to deposit in certain theme, between type formation with monomer between the identical duplicate contents of reuse means.As in AutoCAD, parts and standard floor part all exist with the form of piece definition, and the content of depositing is exactly the pel of expressing duplicate contents.
Parts have the following attribute of reusing: certain reuse means of suitable theme, suitable 1 or a plurality of monomer, suitable 1 or plurality of standard layer and employing, standard floor part has the following attribute of reusing: suitable theme, corresponding 1 type formation and 1 corresponding monomer.Parts and standard floor part all adopt reuses attribute as distinguishing mark.As in AutoCAD, can directly take and reuse the piece name of attribute as parts and pairing definition of standard floor part, for example piece name " P_T post wall _ D12_L235_ZC house type " is used for parts, be applicable to " post wall " theme, be applicable to monomer 1,2 and type formation 2,3,5, its reuse means is " a C house type "; Piece name " L_T post wall _ D1_L1 " is used for a standard floor part, is applicable to " post wall " theme, corresponding monomer 1, type formation 1.
The utilization repeatability that the present invention proposes filters out design reuse unit such as parts and standard floor part, and to reuse attribute it is identified or names, and has that standard is simple, implication is clear and definite, is convenient to manually understand and the advantage of programming.
The user except can own pel being put into parts or the standard floor part, also can utilize the graphic element distribution module 603 among Fig. 6 to finish automatic graphic element distribution step 607 in use.This process will provide interactive interface, be used for selecting to repeat pel, set the reusability of pel, by graphic element distribution module pel be put into corresponding components or standard floor part then.
The main operation that the user will finish in interactive interface comprises:
1, chooses pel;
2, set the scope of reusing of pel, i.e. the theme of Shi Yonging, monomer and type formation
3, set the reuse means title of pel
Graphic element distribution module will be carried out following work according to user's aforesaid operations:
1, scope of setting according to the user of reusing and reuse means are calculated parts or the standard floor part that the pel chosen should belong to.As in AutoCAD, then extrapolate the piece name of the piece definition of parts or standard floor part correspondence;
2, then pel is put into parts.As in AutoCAD, putting into the piece definition.
Graphic element distribution process such as Fig. 7, Fig. 8, shown in Figure 9.
Among Fig. 7, the user has selected reusable pel 001 as parts in post wall theme, and the attribute setting of parts is belonged to post wall theme, is applicable to monomer 1,2, type formation 1,2, and reuse means is directly (promptly directly reuse, do not need the adjustment of reuse means).701 is parts 001 synoptic diagram in the type formation 1 or 2 of monomer 1 among Fig. 7, and its middle twill zone is the position of parts 001; The 702nd, the synoptic diagram of parts 001 in the type formation 1 or 2 of monomer 2, its middle twill zone is the position of parts 001.
The user has selected reusable pel 002 as parts in post wall theme among Fig. 8, the attribute of parts is set to belong to post wall theme, be applicable to monomer 1,2, type formation 1,2, reuse means is that the C house type (promptly forms 4 duplicates by the requirement of expressing the C house type at monomer 1, translation, rotation and mirror image form 2 duplicates at monomer 2 respectively, carry out translation, rotation and mirror image respectively).801 is parts 002 synoptic diagram in the type formation 1 or 2 of monomer 1 among Fig. 8, and its middle twill zone is the position of parts 002; The 802nd, the synoptic diagram of parts 002 in the type formation 1 or 2 of monomer 2, its middle twill zone is the position of parts 002.
The user has selected reusable pel (thick black line part among the figure among Fig. 9 in beam slab line theme, the wall part that does not comprise grey) 003 as parts, the attribute of parts is set to belong to beam slab line theme, be applicable to monomer 1,2, type formation 1,2, reuse means also are C house type (promptly identical with 002 parts among Fig. 8).901 is parts 003 synoptic diagram in the type formation 1 or 2 of monomer 1 among Fig. 9, and its middle twill zone is the position of parts 003; The 902nd, the synoptic diagram of parts 003 in the type formation 1 or 2 of monomer 2, its middle twill zone is the position of parts 003.
Next, the attribute according to the parts that prestore will prestore component-assembled to standard floor part (step 608 among Fig. 6).The parts (device 601 of Fig. 6) that standard floor part (installing 602 among Fig. 6) also is used for packing into and reuses attributes match.This step comprises the parts with same subject that search prestores, and marks off the parts group of each type formation of corresponding each monomer according to the monomer that is suitable for and the type formation attribute that is suitable for of the parts that search; Parts in the described parts group are assembled into the standard floor part of correspondence in the mode of reference.Step 608 need not manually-operated, automatically performs by device 604 (component-assembled modules).The process of packing into as in AutoCAD, is that definition produces a piece and quotes (piece quote essence also be a pel) according to the piece of parts, then this piece is quoted the piece definition of putting into standard floor part.
For instance, when the parts of choosing only comprise parts 001,002,003, the first search submodule of described Knockdown block 604, search out parts 001,002 and have same subject (" post wall "), mark off parts group according to the applied code layer (" 1,2 ") of the parts 001,002 that search and suitable monomers (" 1,2 "), be respectively corresponding to each type formation of each suitable monomers (type formation 1 of monomer 1, the type formation 2 of monomer 1):
The first parts group (corresponding to monomer 1 type formation 1) comprises parts 001,002;
The second parts group (corresponding to monomer 1 type formation 2) comprises parts 001,002;
The component-assembled submodule of described Knockdown block 604 is assembled into standard floor part corresponding to each monomer each type formation by above-mentioned parts group in the mode of reference with described parts 001,002.Standard floor part 011 is assembled (parts 001,002) by the first parts group among Figure 10, and 1001 is synoptic diagram in the type formation 1 or 2 of this standard floor part 011 place monomer 1 among the figure.Standard floor part 012 is assembled (parts 001,002) by the second parts group among Figure 10, and 1002 is synoptic diagram in the type formation 1 or 2 of this standard floor part 011 place monomer 2 among the figure.
Parts are packed into needs execution in step 609 (reuse means of adjustment component) after the standard floor part, carries out by device 605 (parts adjusting modules) are auxiliary.The content of step 609 comprises the parts with same reuse mode attribute that search prestores, and marks off the parts group according to its monomer that is suitable for; Parts in the described parts group are expressed the adjustment that the repetitive mode in each monomer standard floor part is finished in the requirement that laterally repeats by these parts in each monomer that is suitable for, the content of the adjustment of described reuse means is included in and forms 1 or a plurality of parts duplicate and geometric transformation that described parts duplicate is carried out in the described standard floor part.
Before carry out step 609, the user will finish the reuse means adjustment to model earlier, installs 605 parts that just can adjust other by this for model then.Described model is to have the result that a reuse means that parts are finished in the standard floor part of each monomer that is suitable in the parts of same reuse mode attribute and identical suitable monomers attribute is adjusted.
For example, the user manually finishes earlier the adjustment of the reuse means of parts 002 in the standard floor part of place, as model, and 4 duplicates that the promptly artificial piece that copies parts 002 correspondence in the standard floor part 011 of monomer 1 correspondence is quoted, difference translation, rotation and mirror image are as 1101 among Figure 11; In the standard floor part 012 of monomer 2 correspondences, copy 2 duplicates that the piece of parts 002 correspondence is quoted, carry out translation, rotation and mirror image respectively, as 1102 among Figure 11.
After finishing model, the second search submodule of described device 605, existing parts 001,002,003 are searched for by the reuse means attribute, searching out parts 001 is a kind of reuse means (" directly "), 002,003 has identical reuse means (" C house type "), for parts with same reuse mode, and for example 002 and 003, the parts group that is divided into of the monomer (" 1,2 ") that is suitable for according to their again, have only one group now:
The first parts group comprises parts 002,003;
Installing 605 parts then adjusts submodule and can read reuse means in the model, be the adjustment contents of parts 002 in each standard floor part, then the parts 003 that belong to the first parts group together are done identical reuse means adjustment in the standard floor part at place, 1201 among Figure 12 and 1202 is the adjustment result of parts 003 in monomer 1,2.
After the process and two steps of the adjustment of parts in standard floor part of standard floor part, the standard floor part of each theme is all finished through component-assembled.Next in order to obtain to have the various drawings of complete information type, the relation of inclusion that need press theme is assembled into standard floor part with standard floor part, i.e. step 610 among Fig. 6.
The content of step 610 comprises: the standard floor part with same monomer and type formation attribute (device 602 among Fig. 6) that search prestores marks off the standard floor part group with the standard floor part that searches by its subject attribute corresponding host theme; And the standard floor part in the described standard floor part group is assembled in the mode of reference has same monomer and type formation attribute, and subject attribute is the standard floor part of described standard floor part group corresponding host theme; Described host theme is the theme that comprises other theme.The process of packing into as in AutoCAD, is that definition produces a piece and quotes (piece quote essence also be a pel) according to the piece of standard floor part, then this piece is quoted the piece definition of putting into host's standard floor part.
Concrete process as shown in figure 13, standard floor part search sub-block searches in the device 606 is to having the standard floor part 1301 and 1302 of identical suitable monomers (" 1 ") with identical applied code layer (" 1 ") attribute, wherein, 1301 belong to post wall theme, and 1302 belong to beam slab line theme.According to table 1, beam slab line theme should comprise post wall theme.Standard floor part assembling submodule in the device 606 is assembled into described standard floor part 1301 in the standard floor part 1302, forms the final situation shown in 1303.
Reuse device of the present invention and method 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 a complete example process from the component-assembled standard floor part, can be expressly understood the present invention more in conjunction with this figure.This example assumes has only 2 monomers, 3 type formations, two themes, and theme B comprises theme A.
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.The package assembly that adopts is more simple, makes the reuse process clear in structure, and data structure is stable, and screening is had regulations to abide by number of assembling steps automaticity height with assembling.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.