【Background technology】
After the technological means of domestic power transformation design are from original hand-drawing to D CAD design transition, nowadays
Design to three-dimensional digital and change.Power transformation three-dimensional digital designing technique is that a kind of power transformation engineering design-build that is applied to manages
Digitization instrument, integrates the relevant information of various equipment by three-dimensional visualization model, complete in project planning, operation and maintenance
Shared in life-cycle processes and transmitted, make engineers and technicians that various facility informations are made with correct understanding and high effect
Right, each side's construction bodies for designing unit and including unit of operation provide the basis of collaborative work, produce improving
Efficiency, cost-effective and reduction of erection time aspect play a significant role.Therefore, power transformation three-dimensional digital design is electrical reticulation design field
Important technical innovation, design efficiency will be effectively improved, cost-effective, control engineering cost, is power grid asset Life cycle
Information system management provides most important, the most comprehensive data supporting, promotes intelligent grid construction.
Domestic design unit carries out the design of power transformation three-dimensional digital one after another at present, and wherein many units are all to adopt
The AutoCAD or design software of secondary development is carried out with it.Due to various bars such as the construction custom of unit in charge of construction and archives preservations
The restriction of part, construction drawing finished product at present or based on drawing, but after employing three-dimensional digital design, drawing be all from
Extract in threedimensional model and generate, completely different with the mode of conventional CAD drawing.
Domestic at present using AutoCAD power transformation three-dimensional digital design go out figure process generally require through definition view,
Model blanking and three steps of plane projection.
Define view
Two-dimensional Engineering pattern is generally made up of some views, in order to threedimensional model is projected as 2-d plane graph, needs
Suitable view defined in CAD applied environment.
Model blanking
In AutoCAD software, threedimensional model is to be shown with the line frame graph having an X-rayed in front and back, and electrically applies in two dimension
Work in figure, equipment is drawn generally according to its appearance profile.Therefore, after defining suitable view, can't be direct
By threedimensional model to equatorial projection it is necessary to first necessary elimination of hidden be carried out to threedimensional model.
Plane projection
Threedimensional model is carried out after elimination of hidden in addition it is also necessary to by the threedimensional model after blanking to equatorial projection, ability
Obtain correct planar graph.
At present in power transformation design process, most equipment producer can only provide two-dimentional drawing, be typically designed unit and be all
Directly it is processed with the two-dimentional drawing of producer and designs, during three dimensional design, obtained after threedimensional model blanking, projection is flat
Due to not through secondary operations, detail section processes not in place face figure, does not often reach the depth of construction drawing in addition it is also necessary to big
The manual setting of amount.
On the other hand, when threedimensional model is larger, display threedimensional model needs to take substantial amounts of time and computer resource,
The blanking carrying out afterwards and projection operation, usually lead to inefficiency because computer resource is not enough, and in operating process
In need frequently to carry out memory pages switching, therefore quite high to the prescription going out figure application program, careless slightly will lead
Software crash is caused to exit, all that has been achieved is spoiled.According to existing denominator, when threedimensional model is larger, the normal drawing that generates needs
Half an hour, even more than one hour sometimes, go out figure efficiency very low.
【Content of the invention】
Based on this, the present invention provides a kind of method of the two-dimentional electrical construction document of extraction from digital three-dimemsional model and is
System, improves and figure efficiency, improves drawing depth.
The content of the embodiment of the present invention is as follows:
A kind of method extracting two-dimentional electrical construction document from digital three-dimemsional model, comprises the steps:
Obtain the identification information of the electrical equipment quoted in digital three-dimemsional model;
Filter identification information and the identification information identical in two-dimentional tile data storehouse in digital three-dimemsional model electrically to set
Standby, the digital three-dimemsional model according to remaining part obtains the first X-Y scheme;Described two dimension tile data storehouse includes electrical equipment
Two-dimentional segment and with electrical equipment and two-dimentional segment corresponding identification information respectively;
For the identification information identical in identification information in digital three-dimemsional model and described two dimension tile data storehouse
Electrical equipment, finds two dimension segment corresponding with the identification information of this electrical equipment from two-dimentional tile data storehouse, obtains second
X-Y scheme;
According to described first X-Y scheme and the two-dimentional electrical construction document of described second X-Y scheme synthesis.
Accordingly, the present invention provides a kind of system extracting two-dimentional electrical construction document from digital three-dimemsional model, including:
Two-dimentional tile data library module, the two-dimentional segment for stored electricity equipment and with electrical equipment and two-dimentional segment
Corresponding identification information;
Mark module, for obtaining the identification information of the electrical equipment quoted in digital three-dimemsional model;
First generation module, for filtering in identification information and described two dimension tile data storehouse in digital three-dimemsional model
Identification information identical electrical equipment, the digital three-dimemsional model according to remaining part obtains the first X-Y scheme;
Second generation module, in identification information in digital three-dimemsional model and described two dimension tile data storehouse
Identification information identical electrical equipment, finds corresponding with the identification information of this electrical equipment from described two dimension tile data storehouse
Two-dimentional segment, obtains the second X-Y scheme;
Synthesis module, for according to described first X-Y scheme and the two-dimentional electrical construction document of described second X-Y scheme synthesis.
The present invention, by calling to data base's drawing data, instead of the calculating of partial 3-D model projection, significantly subtracts
The burden of few Computing, prevents system crash phenomenon, shortens out the figure time, improve and figure efficiency, additionally, due to calling
The two-dimentional segment (this two-dimentional segment can be provided by electrical equipment manufacturer) of the electrical equipment of storage in data base, also effectively
Ensure that the depth of construction drawing.
【Specific embodiment】
With reference to specific embodiment, present disclosure is further elaborated.
As shown in figure 1, a kind of method extracting two-dimentional electrical construction document from digital three-dimemsional model, walk including following
Suddenly:
S110 obtains the identification information of the electrical equipment quoted in digital three-dimemsional model;
It is electric with the identification information identical in two-dimentional tile data storehouse that S120 filters identification information in digital three-dimemsional model
Gas equipment, the digital three-dimemsional model according to remaining part obtains the first X-Y scheme;
Wherein said two dimension tile data storehouse include electrical equipment two-dimentional segment and with electrical equipment and two dimension segment
Corresponding identification information respectively;
S130 for identification information in digital three-dimemsional model with described two dimension tile data storehouse in identification information phase
Same electrical equipment, finds two dimension segment corresponding with the identification information of this electrical equipment from two-dimentional tile data storehouse, obtains
Second X-Y scheme;
S140 is according to described first X-Y scheme and the two-dimentional electrical construction document of described second X-Y scheme synthesis.
Most of designing unit is carried out during the design of power transformation three-dimensional digital at present is all to adopt AutoCAD, and the present embodiment is just
, introduce the method extracting two-dimentional electrical construction document from digital three-dimemsional model of the present invention taking AutoCAD as a example.
Specifically, during threedimensional model modeling, identification information is added to electrical equipment, is allowed to and X-Y scheme block number
Correspond to according to the identification information in storehouse.Described two-dimentional tile data storehouse is a two-dimentional segment prestoring various electrical equipments
Data base, be also stored with this two-dimentional tile data storehouse identification information, this identification information and electrical equipment and its two-dimentional segment
It is all corresponding, therefore, the corresponding X-Y scheme of electrical equipment can be found by identification information in this two-dimentional tile data storehouse
Block.
After completing the modeling of threedimensional model, when extracting two-dimentional drawing from threedimensional model, filter out those first and deposited
It is the electrical equipment in two-dimentional tile data storehouse.If the identification information of electrical equipment is in two-dimentional tile data storehouse in threedimensional model
When the identification information of storage is identical, then show the two-dimentional segment of the corresponding electrical equipment of this identification information, in two-dimentional tile data
Store in storehouse, therefore do not needed to derive the X-Y scheme of these electrical equipments, after these electrical equipments are filtered, to remainder
Cut figure, projection etc. that partial threedimensional model is carried out in traditional method operate, and generate the first X-Y scheme.
Afterwards, on the first X-Y scheme disappearance electrical equipment, that is, in digital three-dimemsional model identification information with described
Identification information identical electrical equipment in two-dimentional tile data storehouse, sets information according to this electrical equipment is corresponding, from two dimension
Retrieve the two dimension segment corresponding with this identification information pre-depositing in tile data storehouse, generate the second X-Y scheme.
Then, according to existing technology, the first X-Y scheme and the second X-Y scheme are synthesized, such as by the second X-Y scheme
Add correspondence position to the first X-Y scheme it is possible to obtain final two-dimentional electrical construction document.
Wherein said identification information may include two-dimentional segment keyword and projection angle information, crucial by two-dimentional segment
Word can determine that the two dimension view of needs, and projection angle information is then to be determined according to practical situation.Apply in power transformation design and electrically
Work field, due to the particularity of electrical equipment, actually required projection angle quantity of information will be far less than general Machine Design
Required projection angle quantity of information.
Two-dimentional segment can be provided by electrical equipment producer, in addition, if when the two-dimentional segment providing is unsatisfactory for demand, also
Can obtain by the following method.As shown in Fig. 2 in one embodiment, electrical equipment in described two dimension tile data storehouse
Two-dimentional segment obtain as follows:
S210 obtains the threedimensional model of this electrical equipment according to the two-dimentional drawing of electrical equipment;
S220 simplifies to the threedimensional model of described electrical equipment;
S230 obtains electrical equipment line point and initial point, and described initial point is the characteristic point of this electrical equipment;
S240, according to the threedimensional model of electrical equipment after simplifying and described electrical equipment line point and initial point, generates
The two-dimentional segment of this electrical equipment.
Specifically, general electrical equipment manufacturer all can provide the two-dimentional drawing of this equipment, the X-Y scheme that producer provides
Paper contains the flat deep cutting three-face view of this equipment.Check and approve all devices size in producer's drawing all correctly to draw in proportion.Factory
The drawing that family provides is typically as shown in Figure 3.
Then threedimensional model is set up according to the two-dimentional drawing that producer provides, by 1:1 ratio is drawn it is ensured that the group of threedimensional model
Become structure and spatial relationship consistent with producer drawing, disclosure satisfy that computation, analytic statisticss and operation simulation shows etc. are applied.
Fig. 4 show the threedimensional model of the electrical equipment set up according to Fig. 3.
Then according to existing technological means simplify to the threedimensional model of electrical equipment, simplifying does not affect collision detection
And the secondary part of safety net distance verification, such as internal structure and portion of external details, can be revised as simply tying
Structure or directly deletion.
In addition in addition it is also necessary to define electrical equipment line point and initial point, specifically, defining electricity with wire connecting ends subdivision
Gas equipment wiring point, the initial point of electrical equipment should be located in the characteristic point of equipment, the such as geometry midpoint of equipment or center of gravity, and embodies
The relative localization of each sub- equipment, the foundation of the foundation of each sub- equipment and solid in digital three-dimemsional model should be electrically to set
On the basis of standby initial point, the initial point of the two-dimentional segment of the electrical equipment being stored in two-dimentional tile data storehouse must be with threedimensional model
Initial point is consistent.
Then according to the threedimensional model defining electrical equipment line point and initial point, derive the X-Y scheme of electrical equipment
Block.
Also need to add corresponding identification information when the two-dimentional segment of above-mentioned derivation is stored to two-dimentional tile data storehouse, make
It is easy to call when extracting two-dimentional electrical construction document.
In view of the needs of electrical construction, the two-dimentional segment of above-mentioned electrical equipment includes the plane graph of electrical equipment, side
Figure and sectional drawing, all according to 1:1 ratio is stored in two-dimentional tile data storehouse.
In sum, by calling to data base's drawing data, during decreasing out figure, major part is electric for the present invention
The appearance of the threedimensional model of equipment.Because the threedimensional model of electrical equipment in digital three-dimemsional model is with respect to other three-dimensional knots
Structure, needs to take ample resources, and therefore the present invention can be greatly decreased out the negative of operand during figure and calculator memory resource
Load, can shorten 50% to 70% go out the figure time, significantly improve out figure efficiency.Meanwhile, because going out graphic platform during figure
Occupy fewer resource, decrease the probability leading to because of low memory system integrally to be collapsed.
Further, since storing more fine two-dimentional segment in present invention two dimension tile data storehouse, this two-dimentional segment can
The mechanical drawing that becomes more meticulous providing for producer, goes out and calls the mechanical drawing becoming more meticulous during figure, substitutes electrical equipment threedimensional model
Projection, improves drawing depth.
Present invention also offers a kind of system extracting two-dimentional electrical construction document from digital three-dimemsional model, as Fig. 5 institute
Show, including:
Two-dimentional tile data library module 410, the two-dimentional segment for stored electricity equipment and with electrical equipment and two dimension
The corresponding identification information of segment;
Mark module 420, for obtaining the identification information of the electrical equipment quoted in digital three-dimemsional model;
First generation module 430, is used for filtering identification information and described two dimension tile data storehouse in digital three-dimemsional model
In identification information identical electrical equipment, the first X-Y scheme is obtained according to the digital three-dimemsional model of remaining part;
Second generation module 440, for identification information in digital three-dimemsional model and described two dimension tile data storehouse
In identification information identical electrical equipment, find and the identification information pair of this electrical equipment from described two dimension tile data storehouse
The two-dimentional segment answered, obtains the second X-Y scheme;
Synthesis module 450, for according to described first X-Y scheme and the two-dimentional electrical construction document of described second X-Y scheme synthesis.
Application said system, after completing the modeling process of digital three-dimemsional model, obtains numeral by mark module 420
Change the identification information of the electrical equipment quoted in threedimensional model, filtered out in two-dimentional tile data library module according to this identification information
Store the electrical equipment of corresponding two dimension segment in 410, by the first generation module 430, three mould models of remaining part are carried out
Cut the operation such as figure, projection, generate the first X-Y scheme.
Afterwards, the electrical equipment to disappearance on the first X-Y scheme, sets information according to this electrical equipment is corresponding, from two dimension
Retrieve the two dimension segment corresponding with this identification information pre-depositing in tile data library module 410, generate the second X-Y scheme.
Then, the first X-Y scheme and the second X-Y scheme are synthesized by synthesis module 450, obtained final two dimension electricity
Gas construction drawing.
In a specific embodiment, as shown in fig. 6, said system also includes two-dimentional segment acquisition module, described two dimension
Segment acquisition module includes:
MBM 510, for obtaining the threedimensional model of this electrical equipment according to the two-dimentional drawing of electrical equipment;
Simplify module 520, for simplifying to the threedimensional model of described electrical equipment;
Locating module 530, for obtaining electrical equipment line point and initial point, described initial point is the feature of this electrical equipment
Point;
Export module 540, according to the threedimensional model of electrical equipment after simplifying and described electrical equipment line point and former
Point, generates the two-dimentional segment of this electrical equipment.
It is electric that MBM 510 sets up this according to two-dimentional drawing (can ask for the electrical equipment producer) offer of electrical equipment
The threedimensional model of equipment, it is ensured that the composition structure of threedimensional model is consistent with two-dimentional drawing with spatial relationship, disclosure satisfy that and should use tricks
The applications such as calculation, analytic statisticss and operation simulation shows.
By simplifying module 520, the threedimensional model of electrical equipment is simplified, simplifying does not affect collision detection and safety
The secondary part (such as internal structure and portion of external details) of clear distance verification.
In addition in addition it is also necessary to define electrical equipment line point and initial point, specifically, locating module 530 with wire connecting ends
Subdivision define electrical apparatus interstar connection point, at the characteristic point of electrical equipment define initial point, initial point be equipment geometry midpoint or
Center of gravity.
Export module 540, according to the threedimensional model defining after the simplification of electrical equipment line point and initial point, derives electricity
The two-dimentional segment of gas equipment.
Then the two-dimentional segment of above-mentioned derivation is stored to two-dimentional tile data library module 410, to also need to add right simultaneously
The identification information answered, for example two-dimentional segment keyword and projection angle information.
In view of the needs of electrical construction, the two-dimentional segment that export module 540 derives includes the plane graph of electrical equipment, side
Figure and sectional drawing, are stored in two-dimentional tile data library module 410.
The realization of each function of said system all can refer to the method in above-described embodiment, is not repeated herein.
Embodiment described above only have expressed the several embodiments of the present invention, and its description is more concrete and detailed, but simultaneously
Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, some deformation can also be made and improve, these broadly fall into the guarantor of the present invention
Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.