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 at be in the construction work drawing common in each theme, 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 drawings that the final stack of certain type formation " post wall mark " theme is finished among Fig. 1, and it is formed by stacking by " the post wall mark " thematic map that do not superpose shown in " post wall " thematic map and 103 shown in 102 before 102.
Benefit with theme stratification drawing is that the content after the layering can be repeated to utilize, as Fig. 2." plate mark " thematic map 202 of certain type formation among Fig. 2, " beam mark Y " thematic map 203 and " beam mark X " thematic map 204 are all shared " beam slab line " thematic map shown in 201 are 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 laterally repeat local in type formation for expressing the repetitive mode that horizontal repetition is taked, its content comprises this local copy that forms some and the geometric transformation that each duplicate is carried out, 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 8 kinds of devices, 5 steps.
Device 601: element, described element 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: parts, described parts are to hold to be applicable to a kind of theme, 1 or the container object of plurality of standard layer, 1 monomer pel and element.
Device 603: 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 604: graphic element distribution module is used for providing interactive interface the pel that repeats to be put into element, parts or the standard floor part of attributes match for the user.
Device 605: the element Knockdown block is used for according to the attribute of the element that prestores element being assembled into parts.
Device 606: the element adjusting module is used for the adjustment of mode that the element that is assembled into parts is reused according to the reuse means attribute of element.
Device 607: the component-assembled module is used for according to the attribute of the parts that prestore component-assembled being arrived standard floor part.
Device 608: 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 609: graphic element distribution: with pel by between theme that it was suitable for, monomer, type formation and the reuse means that adopts put into element, parts or the standard floor part of attributes match, and described element, parts or standard floor part are identified with described attribute.
Step 610: assembly element is to parts: the theme that is suitable for according to the parts that prestore, suitable type formation, suitable monomer attribute are assembled into suitable parts with described element.
Step 611: adjust the reuse means of element in parts: described element is carried out the adjustment of repetitive mode according to the reuse means attribute of the element that is assembled into parts.
Step 612: assembling parts is to standard floor part: the theme that is suitable for according to the parts that prestore, suitable type formation, suitable monomer attribute with described component-assembled to the standard floor part that is suitable for.
Step 613: 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 5 steps is elaborated with regard to 8 kinds of devices below.
At first duplicate contents is become the part that can reuse, for this reason, as shown in Figure 6, the present invention has designed element (device 601), parts (device 602) and standard floor part 3 kinds of devices such as (devices 603) and has held repetition pel, record repeatability.These 3 kinds of devices all are container objects, are used to deposit the duplicate contents such as reference of pel or other part.In AutoCAD, these 3 kinds of devices can piece the form of definition exist.
Element (device 601) has 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.Parts (device 602) have the following attribute of reusing: suitable theme, suitable 1 monomer and 1 suitable or plurality of standard layer.Standard floor part (device 603) has the following attribute of reusing: 1 type formation and 1 corresponding monomer of suitable theme, correspondence.Element, parts and standard floor part all adopt reuses attribute as distinguishing mark.In AutoCAD, available piece name of reusing attribute as pairing definition of element, parts and standard floor part, for example piece name " E_T post wall _ D12_L235_ZC house type " is used for an element, 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 " P_T post wall _ D1_L235 " is used for parts, is applicable to " post wall " theme, is applicable to monomer 1 and type formation 2,3,5; 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 element, 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 also can utilize the graphic element distribution module (device 604) among Fig. 6 to finish automatic graphic element distribution (step 609) in use except can own pel being put into element, parts or the standard floor part.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 elements, parts 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, the pel that is assigned to element is set the reuse means title
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 element, 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 element, parts or standard floor part correspondence;
2, then pel is put into element, parts or standard floor part.As in AutoCAD, putting into the piece definition of element, parts or standard floor part correspondence.
Fig. 7, Fig. 8, element shown in Figure 9 are the element results that graphic element distribution can form.
Among Fig. 7, the user has selected the pel in the element 001, it is reused the attribute setting " belong to post wall theme; be applicable to monomer 1,2; type formation 1,2, reuse means are ' directly ' (promptly directly reuse, do not need the adjustment of reuse means) ", formed the element shown in the element 001, its identification title can be " wall _ D12_L12_Z is direct for the E_T post ".701 is element 001 synoptic diagram in certain type formation of monomer 1 among Fig. 7, and its middle twill zone is the position of element 001; The 702nd, the synoptic diagram of element 001 in certain type formation of monomer 2, its middle twill zone is the position of element 001.
Among Fig. 8, the user has selected the pel in the element 002, it is reused attribute and is set to " belong to post wall theme, be applicable to monomer 1,2, type formation 1,2; reuse means is ' C house type ' (promptly forms 4 duplicates by the requirement of expressing the C house type at monomer 1; difference translation, rotation and mirror image, form 2 duplicates at monomer 2, carry out translation, rotation and mirror image respectively) ", formed the element shown in the element 002, its identification title can be " E_T post wall _ D12_L12_ZC house type ".801 is element 002 synoptic diagram in certain type formation of monomer 1 among Fig. 8, and its middle twill zone is the position of element 002; The 802nd, the synoptic diagram of element 002 in certain type formation of monomer 2, its middle twill zone is the position of element 002.
Among Fig. 9, the user has selected the pel in the element 003, it is reused attribute and is set to " belong to post wall theme, be applicable to monomer 1,2, type formation 1,2,3; reuse means is ' building escalator ' (promptly forms 3 duplicates by the requirement of expressing the building escalator at monomer 1; translation respectively, rotation, form 3 duplicates at monomer 2, translation respectively, rotation) ", formed the element shown in the element 003, its identification title can be " E_T post wall _ D12_L123_Z building escalator ".901 is element 003 synoptic diagram in certain type formation of monomer 1 among Fig. 9, and its middle twill zone is the position of element 003; The 902nd, the synoptic diagram of element 003 in certain type formation of monomer 2, its middle twill zone is the position of element 003.
Among Figure 10, the user has selected pel (the thick black line part among the figure in the element 004, the wall part that does not comprise grey), it is reused attribute and is set to " belong to beam slab line theme; be applicable to monomer 1,2, type formation 1,2, reuse means also is ' C house type ' (promptly identical with 002 parts among Fig. 8) ", formed the element shown in the element 004, its identification title can be " E_T beam slab line _ D12_L12_ZC house type ".1001 is element 004 synoptic diagram in certain type formation of monomer 1 among Figure 10, and its middle twill zone is the position of element 004; The 1002nd, the synoptic diagram of element 004 in certain type formation of monomer 2, its middle twill zone is the position of element 004.
Next element to be assembled into parts (step 610), finish automatically by element Knockdown block (device 605).Search for the element with same subject and applied code layer (device 601) that sub-block searches prestores by first element of element Knockdown block earlier in this step, mark off the element group of corresponding each monomer according to the suitable monomers attribute of the element that searches; Then by the element of element Knockdown block assembling submodule with the element in the described element group with the mode of reference be assembled into 1 corresponding identical theme, 1 monomer and 1 or the parts (device 602) of plurality of standard layer in.Loading procedure is that definition produces a piece and quotes (piece quote essence also be a pel) according to the piece of element in AutoCAD, quotes the piece definition of putting into parts with described then.
For instance, when element only comprised 001,002,003 and 004 shown in Fig. 7~10, first element of element Knockdown block search sub-block searches arrived following 4 element groups:
Element group 1: contain element 001,002.This group is applicable to post wall theme and type formation 1,2, and is applicable to monomer 1.
Element group 1: contain element 001,002.This group is applicable to post wall theme and type formation 1,2, and is applicable to monomer 2.
Element group 3: contain element 003.This group is applicable to post wall theme and type formation 1,2,3, and is applicable to monomer 1.
Element group 4: contain element 003.This group is applicable to post wall theme and type formation 1,2,3, and is applicable to monomer 2.
Element group 5: contain element 004.This group is applicable to beam slab line theme and type formation 1,2, and is applicable to monomer 1.
Element group 6: contain element 004.This group is applicable to beam slab line theme and type formation 1,2, and is applicable to monomer 2.
Then, the element of element Knockdown block assembling submodule is assembled into the element in each element group in the corresponding components.Figure 11 is assembled in each parts for each element group, and without the result that reuse means is adjusted, shown in 1101 is the assembling result of element group 1 in parts 011 (being applicable to post wall theme, monomer 1, type formation 1,2); Shown in 1102 is the assembling result of element group 2 in parts 012 (being applicable to the type formation 1,2 of post wall theme, monomer 2); Shown in 1103 is the assembling result of element group 3 parts 013 (being applicable to the type formation 1,2,3 of post wall theme, monomer 1); Shown in 1104 is the assembling result of element group 4 in parts 014 (being applicable to the type formation 1,2,3 of post wall theme, monomer 2); Shown in 1105 is the assembling result of element group 5 in parts 015 (being applicable to the type formation 1,2 of beam slab line theme, monomer 1); Shown in 1106 is the assembling result of element group 6 in parts 016 (being applicable to the type formation 1,2 of beam slab line theme, monomer 2).
Need to adjust the reuse means (step 611) of element behind the element receiving member, by auxiliary the finishing of element adjusting module (device 606).This step is searched for the element that sub-block searches prestores by second element of element adjusting module earlier, and the element that will have same reuse mode and the monomer attribute that is suitable for is divided in an element group; Adjust submodule by the element of element adjusting module then the element in the described element group is expressed the adjustment that the repetitive mode in the parts of corresponding each monomer is finished in the requirement that laterally repeats by this element 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 element duplicate and geometric transformation that described element duplicate is carried out in the described parts.
Adjust the adjustment operation that the range request user finishes a model earlier of crossing of element reuse means, so that the element adjusting module is finished the adjustment to other element.Described model is to have the result that a reuse means that element is finished in the parts of each monomer that is suitable in the element of same reuse mode attribute and identical suitable monomers attribute is adjusted.
For instance, when element only comprised 001,002,003 and 004 shown in Fig. 7~10, second element of element adjusting module search sub-block searches arrived following 3 element groups:
Element group 1: contain element 002,004.This group all is applicable to monomer 1,2, and reuse means is " C house type ".
Element group 2: contain element 001.This group all is applicable to monomer 1,2, and reuse means is " directly ".
Element group 3: contain element 003.This group all is applicable to monomer 1,2, and reuse means is " building escalator ".
In each element group, have at least an element need manually be reused the adjustment of mode, and element group 2,3 all has only an element, therefore after manually finishing reuse means adjustment to an only element, need not element and adjust submodule and carry out other adjustment, its reuse means is adjusted the result respectively shown among Figure 12 1201 and 1202 and among Figure 12 shown in 1203 and 1204.Element group 1 has two elements, can represent the course of work that element is adjusted submodule, below just as the example explanation.
Suppose that the user has manually carried out the adjustment of reuse means to the element in the parts 011 002, promptly copy 4 duplicates, translation, rotation and mirror image make it to become the situation shown in 1201 among Figure 12 respectively; Element in the parts 012 002 is copied 2 duplicates, carry out translation, rotation and mirror image respectively, make it to become among Figure 12 1202 situation.Then, the element of element adjusting module is adjusted submodule and read the relevant parameter of element 002 reuse means adjustment from parts 011, number as duplicate, the geometric transformation parameter of each duplicate etc., element 004 is done identical operations in parts 015 and 016, present the state of 1205 among Figure 12 and 1206.
Next, be with component-assembled to standard floor part (step 612), this process is finished automatically by component-assembled module (device 607).This step is searched for the parts of sub-block searches parts with same subject that prestore and the monomer that is suitable for earlier by the parts of component-assembled module, mark off the parts group of corresponding each type formation according to the applied code layer attribute of the parts that search; By the component-assembled submodule of component-assembled module the parts in the described parts group are assembled into the standard floor part of correspondence then in the mode of reference.Loading procedure is that definition produces a piece and quotes (piece quote essence also be a pel) according to the piece of parts in AutoCAD, then this piece is quoted the piece definition of putting into standard floor part.
For instance, the parts that participate in being assembled into the process reuse means adjustment of standard floor part in this example have 011,012,013,014,015,016, shown among Figure 12 1201~1206.The parts search sub-block searches of component-assembled module arrives following 10 parts groups:
Parts group 1: contain parts 011,013.This group is applicable to post wall theme, monomer 1, type formation 1.
Parts group 2: contain parts 011,013.This group is applicable to post wall theme, monomer 1, type formation 2.
Parts group 3: contain and comprise parts 013.This group is applicable to post wall theme, monomer 1, type formation 3.
Parts group 4: contain parts 012,014.This group is applicable to post wall theme, monomer 2, type formation 1.
Parts group 5: contain parts 012,014.This group is applicable to post wall theme, monomer 2, type formation 2.
Parts group 6: contain parts 014.This group is applicable to post wall theme, monomer 2, type formation 3.
Parts group 7: contain parts 015.This group is applicable to beam slab line theme, monomer 2, type formation 1.
Parts group 8: contain parts 015.This group is applicable to beam slab line theme, monomer 2, type formation 2.
Parts group 9: contain parts 016.This group is applicable to beam slab line theme, monomer 2, type formation 1.
Parts group 10: contain parts 016.This group is applicable to beam slab line theme, monomer 2, type formation 2.
Then, the component-assembled submodule of component-assembled module is assembled into the mode of the parts in the parts group with reference in the standard floor part of corresponding same subject, same monomer and identical standard layer.Standard floor part 111 among Figure 13 shown in 1301 is assembling results of parts group 1; 1301 also can represent the assembling result of parts group 2 simultaneously, and promptly standard floor part 112; 1302 the expression be the assembling result standard layer spare 113 of parts group 3; 1303 the expression be the assembling result standard layer spare 121,122 of parts group 4,5; 1304 the expression be the assembling result standard layer spare 123 of parts group 6; 1305 the expression be the assembling result of parts group 7,8, promptly standard floor part 131,132; 1303 the expression be the assembling result of parts group 9,10, promptly standard floor part 141,142.
After forming the standard floor part of each theme, below the target drawing that will have a complete information kind for formation by the relation of inclusion of theme with standard floor part (device 603) standard floor part that is added to (device 603), be step 613, this process is finished automatically by standard floor part Knockdown block (device 608).In this step, the standard floor part with same monomer and type formation attribute that the standard floor part of standard floor part Knockdown block search sub-block searches prestores marks off the standard floor part group with the standard floor part that searches by its subject attribute corresponding host theme; Then, the standard floor part of standard floor part Knockdown block assembling submodule is assembled into the standard floor part in the described standard floor part group 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.Loading procedure is that definition produces a piece and quotes (piece quote essence also be a pel) according to the piece of standard floor part in AutoCAD, then this piece is quoted the piece definition of putting into host's standard floor part.
For instance, the standard floor part in this example has 111 shown in 1301~1306,112,113,121,122,123,131,132 among Figure 13,141 and 142.These standard floor part of standard floor part search sub-block searches of standard floor part Knockdown block, and form 4 standard floor part groups:
Standard floor part group 1: contain standard floor part 111.This organizes corresponding monomer 1, type formation 1, and is comprised by beam slab line theme.
Standard floor part group 2: contain standard floor part 112.This organizes corresponding monomer 1, type formation 2, and is comprised by beam slab line theme.
Standard floor part group 3: contain standard floor part 121.This organizes corresponding monomer 2, type formation 1, and is comprised by beam slab line theme.
Standard floor part group 4: contain standard floor part 122.This organizes corresponding monomer 2, type formation 2, and is comprised by beam slab line theme.
Then, the standard floor part of standard floor part Knockdown block assembling submodule will be assembled into the standard floor part in each standard floor part group in the corresponding standard floor part, as shown in figure 14.Among Figure 14, shown in 1401 is after standard floor part 111 (112) is assembled into standard floor part 131 (132) in the standard floor part group 1 (2), the result of standard floor part 131 (132); Shown in 1402 is after standard floor part 121 (122) is assembled into standard floor part 141 (142) in the standard floor part group 3 (4), the result of standard floor part 141 (142).
Reuse device of the present invention and method are when handling more, 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 element assembling 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 reference of reusable unit; With the reference 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, the user all can obtain reusable unit and in which place reused by the attribute of reusing of explicit record in any stage of design, and judged thus whether the modification to reusable unit can influence its applicability.This makes the renewal of reusable unit become very convenient and reliable in actual applications.The package assembly that adopts is simple, stable, implication is clear and definite, 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.