Technical background
So-called four-dimensional (4D) modeling is to introduce design and the construction that time shaft assists to finish buildings on the basis of three-dimensional (3D) spatial model of building, and realizes four-dimensional digital model by computer technology usually.The 4D model also remarkablely is equal to the work progress simulate effect figure that we often see that construction enterprises make with computer virtual reality technology.By contrast, the 4D model need reach more deep technical merit, the element that it requires room and time is by organic combination more, wherein the building element in space is a three-dimensional model, and time element refers to the construction speed of engineering construction project, and four-dimensional model launches the space element also to determine the sequence of construction of each work progress of engineering, construction duration and be connected interspersed matching relationship mutually to draft reasonable construction scheme on time element.Its effect can improve efficiency of construction, prevents the prolongation of the construction period that inappropriate sequence of construction causes, and building course is carried out real-time and effective control, saves building cost.
To undertake the construction of pattern be project over contract pattern to Tong Hang engineering in the world, and the formulation of construction plan is basic to be begun synchronously with design process, finally designs when finishing construction plan and also finish substantially, so generally just generate the 4D model in the design phase.For example utilize PDS software to set up the 4D model when engineering design, this method must will be planned synchronously the 4D model at the beginning from engineering design, promptly will consider construction plan simultaneously.Consider that by the project planner thereby construction problem sets up the 4D model, difficulty is very big, because this just requires not only will consider design problem, also to consider equilibrium of stock, factors such as the purchasing of raw materials, may finish separately by the designer hardly, so finish the 4D model by PDS software, complexity and appropriate litigation fees costliness.
At home, design process and work progress are relatively independent, and the formulation of construction plan is generally undertaken by unit in charge of construction.Unit in charge of construction is when formulating construction plan, the complete 3D model that is provided by engineering design unit has been arranged, and unit in charge of construction can utilize the software of establishment project progress plan to work out construction plan, for example in the engineering of middle and small scale, usually use MicrosoftProject to produce construction plan, and in heavy construction, then use PrimaveraProject Planner (P3) to generate the plan clauses and subclauses of construction plan.This just provides another thinking for the foundation of 4D model, and promptly unit in charge of construction can utilize existing 3D model and construction plan to set up the 4D model.But, because 3D model and construction plan are formulated by designing unit and unit in charge of construction respectively, between 3D model and construction plan, there is not good interface, the two can't realize good association.Particularly in large-scale engineering project, object in the 3D model is various, the amount of the plan clauses and subclauses of construction plan is also very big, the association that realizes the two is very difficult, cause effectively utilizing existing 3D model and construction schedule and make the 4D model easily, this has become the 4D modeling to the major obstacle of broad space development more.
Summary of the invention
The present invention utilizes existing engineering 3D model and construction plan clauses and subclauses, creatively realizes the related of 3D model and plan clauses and subclauses, generates the 4D model.This method can be finished in the construction stage by unit in charge of construction, allows 4D Model Design problem become simpler, and has reduced cost.
The invention provides a kind of method of utilizing computing machine to set up four-dimensional engineering model, will have three-dimensional engineering model now and be divided into a plurality of constructions unit, also comprise:
The construction plan step according to the logical relation of construction operation, is set up the construction plan clauses and subclauses, these plan clauses and subclauses corresponding at least temporal information;
Associated steps, in the database of three-dimensional model, each construction unit to three-dimensional engineering model increases an attribute, and according to the construction logical relation, select the attribute that increased to this construction unit with construction unit corresponding plan clauses and subclauses assignment, thereby realize the related of described construction unit and described plan clauses and subclauses;
Four-dimensional model generates step, shows each construction unit in proper order according to the value time corresponding of the described attribute in construction unit, generates visual four-dimensional engineering model.
By method provided by the invention, when finding in the four-dimensional animation model that is generating that model object collision or sequence of construction are unreasonable, can adjust the plan clauses and subclauses, to reduce the loss in the practice of construction.
The present invention also provides a kind of system that utilizes computing machine to set up four-dimensional engineering model, will have three-dimensional engineering model now and be divided into a plurality of constructions unit, and this system also comprises:
The construction plan module according to the logical relation of construction operation, is set up the construction plan clauses and subclauses, these plan clauses and subclauses corresponding at least temporal information;
Relating module, in the database of three-dimensional model, each construction unit to three-dimensional engineering model increases an attribute, and according to the construction logical relation, select the attribute that increased to this construction unit with construction unit corresponding plan clauses and subclauses assignment, thereby realize the related of described construction unit and described plan clauses and subclauses;
Four-dimensional model generation module shows each construction unit in proper order according to the value time corresponding of the described attribute in construction unit, generates visual four-dimensional engineering model.
Embodiment
Be that example describes in detail to the present invention with a certain heavy construction below, its three-dimensional model and construction plan all design and formulate according to this project.
Fig. 1 shows the process flow diagram of setting up the method for the four-dimensional model of engineering according to the embodiment of the invention.At first, the three-dimensional engineering model that utilizes design side design to finish is divided into the minimum unit of constructing with three-dimensional engineering model, and I is divided into object.The division of the foundation of three-dimensional model and minimum construction unit can be used existing software PDS/Microstation to wait to carry out.The construction unit can be regarded the set of a plurality of objects as, simultaneously, according to the construction actual conditions of this project civil engineering, installation, the construction plan of establishment engineering, set up the construction plan clauses and subclauses inventory (i.e. database) of engineering, be reflected in the database this plan clauses and subclauses correspondence and information such as time.This construction schedule can be used existing software Primavera Project Planner (P3) to wait and formulate.
Utilization imports the 3D model that has been divided into each minimum construction unit through the three-dimensional browsing software SmartPlant Review (SPR) of applicant's secondary development.SmartPlantReview5.0 software is a visual software that is used for the large complicated three-dimensional model of interactive browse, be widely used in the heavy construction, but it does not possess the modification model, increases the plan associate field, thereby generates the function of 4D engineering model.The applicant has carried out secondary development to it, makes object and construction plan clauses and subclauses that it can related three-dimensional model, is set up the 4D engineering model.
Below, to be described in detail in through how object being increased attribute and according to the construction plan clauses and subclauses it carried out assignment among the SPR of secondary development in conjunction with Fig. 2 and Fig. 3, thereby realize the related step of construction unit and construction plan, in Fig. 1, this step correspondence " related plan clauses and subclauses and 3D model construction unit ".
It is the process flow diagram that object increases attribute that Fig. 2 shows according to the embodiment of the invention.The new attribute of object increase to the 3D model is to finish by the database of 3D model is operated.This database comprises the labels table, label_names table, label_values table and linkage table or the like.Lables table is the summary table that has comprised each entry index of each object of three-dimensional model, and the delegation in this table has comprised these three of linkage_index (index of object names), label_name_index (the attribute-name index of this object) and label_value_index (the property value index of this object) at least; The title that has comprised attribute in the label_names table; The label_values table has comprised the value of attribute, and has comprised the value of indication three-dimensional model construction unit in the linkage table.
At first, in the labels of 3D model database table, select an object, the index label_name_index of this object of inquiry in the lables table, this index of inquiry is worth accordingly in the label_names table then, judges whether existence value sequence in this table.If do not have value sequence in the label_names table, then in this table, increase sequence, and return the label_name_index of this value sequence.If exist, then directly return the label_name_index of this value sequence.By top step, added an attribute sequence just for an object of 3D model.Below, judge in the label_values table whether have the Noseq value, if do not have the Noseq value in the label_values table, then increase Noseq therein, and return the label_value_index of this value Noseq.If exist, then directly return the label_value_index of this value Noseq.By top step, enclosed initial value Noseq just for an attribute sequence that object added of 3D model.Be reflected in the database, with regard to in the labels table being that the object of code name has increased attribute-name index label_name_index and property value index label_value_index with linkage_index.Each object is repeated the also step of attached initial value of top interpolation attribute sequence, up to finishing all objects.
Fig. 3 shows the process flow diagram of the value of attribute sequence being made amendment according to the embodiment of the invention.At first will import to through among the SPR of secondary development by the plan clauses and subclauses of construction schedule software P3 establishment, be about to plan clauses and subclauses and copy among the p3taskname.txt under the SPR, make and when giving the attribute sequence assignment of object, from a drop-down list box, to select this plan clauses and subclauses.The user according to actual needs, the edit selection condition is screened a plurality of objects that needs are revised the value of attribute sequence according to this condition, the editor of this alternative condition can be realized by common alternative condition mode.Select the corresponding plan clauses and subclauses of these objects then, this selection step need be carried out artificial selection and be finished from the drop-down list box of plan clauses and subclauses.Then, select an object in a plurality of objects that filter out from above and carry out the modification of Sequence value.In the linkage of database table, find the linkage_index of the object that is selected by DMRSLlinkage (value of an expression object in the linkage table).According to this index, in the lable_names table, search the label_name_index of sequence correspondence, the definite row that will revise in the labels table according to linkage_index and these two index of label_name_index.In the label_values table, search the pairing index of selected entry values, be label_value_index, judge then whether the plan clauses and subclauses of choosing are arranged in this table, if do not have, then in the label_values table, increase the value of these plan clauses and subclauses of choosing, and return this label_value_index.In the labels table, will be revised as the above-mentioned label_value_index that returns thus by the label_value_index of linkage_index and the determined row of label_name_index.To the step of each modification property value above object repetition, up to finishing all objects.
Like this, finished to the increase of all objects attribute sequence in the three-dimensional model and according to the construction plan clauses and subclauses and finished modification property value, by these steps, finished related with the construction plan clauses and subclauses object in the three-dimensional model, because the property value that the construction unit uses comes from the plan clauses and subclauses, so can guarantee good association.
Return among Fig. 1, the construction plan clauses and subclauses related with the object of 3D model good after, SPR by secondary development classifies the object in the 3D model according to the value of its attribute sequence, and show successively according to property value time corresponding (according to time scale), to simulate engineering project and construction speed.
System notes the model picture of presentation process with picture format when the 3D model being carried out the progress demonstration.By animation soft these pictures are organized, generated video file (for example file of AVI form).
Play this video file, demonstrated the evolution process of the 3D model of this project along with construction speed, promptly visual 4D model has been realized the visualized management of schedule.
As can be seen, the method that present embodiment is described has been utilized existing three-dimensional model and construction plan, by Computer Interface Technology cleverly, the two has been carried out association well, has realized the making of four-dimensional engineering model simply, at low cost.
In the association process of schedule and 3D model or after having generated the 4D model, may find the corresponding construction unit of many schedules, by analysis, find that it is reasonably that the schedule clauses and subclauses are divided, then be the to construct division of unit of its reason is thin inadequately, and reply 3D model is made amendment, its construction unit is divided again, meeting the requirement of logical relation of constructing, and then repeat above-mentioned associated steps, generate new 4D model; Also may be by analysis, discovery is because the schedule clauses and subclauses are meticulous, then needs the plan clauses and subclauses are adjusted, and then repeats above-mentioned associated steps, generates new 4D model.In this process that schedule clauses and subclauses are readjusted, also be the process that the construction arrangement of reality is adjusted, have the effect of optimizing engineering construction.
In addition, other that can also find that construction schedule may occur by visual 4D model are unreasonable, after for example generating the 4D model, find because unreasonable model object collision or the sequence of construction of causing of the front and back logical relation of schedule is unreasonable, these can come into plain view in visual 4D model, can in time adjust as required the logical relation of schedule, to meet the construction technology logical order, avoided the unreasonable heavy losses that cause owing to schedule in the practice of construction stage, this also is another remarkable result of the present invention.
Should be appreciated that the specific embodiment of the present invention is intended to be used for explaining the present invention.To those skilled in the art, do not breaking away within the spirit and scope of the present invention, can carry out on the various forms and details on change, but all fall within the scope of the claim that proposes later and equivalent thereof.