CN109448091A - Information extracting method, device, system and the storage medium of CAD engineering drawing - Google Patents
Information extracting method, device, system and the storage medium of CAD engineering drawing Download PDFInfo
- Publication number
- CN109448091A CN109448091A CN201811341022.9A CN201811341022A CN109448091A CN 109448091 A CN109448091 A CN 109448091A CN 201811341022 A CN201811341022 A CN 201811341022A CN 109448091 A CN109448091 A CN 109448091A
- Authority
- CN
- China
- Prior art keywords
- information
- prru
- floor
- engineering drawing
- cad engineering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000000605 extraction Methods 0.000 claims description 18
- 238000000354 decomposition reaction Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012800 visualization Methods 0.000 claims description 6
- 238000010276 construction Methods 0.000 abstract description 7
- 239000000284 extract Substances 0.000 description 13
- 238000010586 diagram Methods 0.000 description 5
- 238000007781 pre-processing Methods 0.000 description 5
- 239000010410 layer Substances 0.000 description 4
- 108010001267 Protein Subunits Proteins 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000002356 single layer Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses information extracting method, device, system and the computer readable storage medium of a kind of CAD engineering drawing, this method includes obtaining target CAD engineering drawing;It is extracted from target CAD engineering drawing and the corresponding boundary information of every floor, the attribute information of each PRRU and connecting line information corresponding with each PRRU;According to boundary information corresponding with every floor, the attribute information of each PRRU and the corresponding visualized three-dimensional graphic of connecting line information corresponding with each PRRU generation.The application being capable of more intuitive expression floor information, so as to staff can from visualized three-dimensional graphic the corresponding PRRU of quick obtaining and its connecting line information, be conducive to the statistics of PRRU and its connecting line information, human resources have been saved to a certain extent, the workload for reducing staff, improves construction efficiency.
Description
Technical field
The present embodiments relate to construction engineering technical fields, more particularly to a kind of information extraction side of CAD engineering drawing
Method, device, system and computer readable storage medium.
Background technique
CAD engineering drawing has generally comprised the plan view of all floors, plan view mainly have its floor various aspects (outer boundary,
Stair courtyard, elevator, PRRU (equipment) and its connecting line) layout information, CAD engineering drawing to each floor of building all
It is shown with floor figure, to the floor containing identical boundary, stair, elevator lay-out, will to be integrated into a repetition floor figure (more
A floor figure is shown with a floor diagram).Each floor figure can have the PRRU distribution and connecting line information of corresponding floor, such as
Fruit floor figure is to repeat floor figure, then the PRRU distribution and connecting line information all comprising its floor.
When building upstairs installs PRRU and its wiring, staff in the prior art is directly obtained from CAD engineering drawing
Each PRRU and its line information are taken, and carries out installation settings according to these information, still, since CAD engineering drawing shows
2 d plane picture, PRRU arrangement and its route are not intuitive enough relative to entire CAD engineering drawing, namely can not intuitively show
Integral arrangement situation of the PRRU in whole building building, it has not been convenient to staff to the information extraction of PRRU and its line information and
Statistical work leads to the cumbersome and time consuming of PRRU and its installation work, influences the construction efficiency of entire engineering.
In consideration of it, how providing a kind of information extracting method of CAD engineering drawing for solving above-mentioned technical problem, device, being
System and computer readable storage medium become those skilled in the art's problem to be solved.
Summary of the invention
The purpose of the embodiment of the present invention is that providing information extracting method, device, system and the computer of a kind of CAD engineering drawing
Readable storage medium storing program for executing can make the corresponding PRRU of staff's quick obtaining and its connecting line information, favorably in use
In PRRU and its statistics of connecting line information, human resources have been saved to a certain extent, reduce the workload of staff,
Improve construction efficiency.
In order to solve the above technical problems, the embodiment of the invention provides a kind of information extracting method of CAD engineering drawing, packet
It includes:
Obtain target CAD engineering drawing;
The attribute information of boundary information corresponding with every floor, each PRRU are extracted from the target CAD engineering drawing
And connecting line information corresponding with each PRRU;
According to the boundary information corresponding with every floor, each PRRU attribute information and with each PRRU
Corresponding connecting line information generates corresponding visualized three-dimensional graphic.
Optionally, described that boundary information corresponding with every floor, each PRRU are extracted from the target CAD engineering drawing
The process of attribute information and connecting line information corresponding with each PRRU includes:
Resolution process is carried out to the target CAD engineering drawing according to preset decomposition rule, obtains the floor name of each floor
Claim;
Each floor name is matched with the target CAD engineering drawing, is obtained and each floor name
The attribute information of corresponding boundary information and each PRRU;The attribute information includes PRRU number and floor name;
The attribute information of each PRRU is matched with the target CDA engineering drawing, is obtained and each described
The corresponding connecting line information of PRRU.
Optionally, the boundary information includes outer boundary coordinate information, elevator boundary coordinate information and stair courtyard side
Boundary's coordinate information;The connecting line information includes connecting line coordinate information.
Optionally, described that resolution process is carried out to the target CAD engineering drawing according to preset decomposition rule, obtain each building
The process of layer name includes:
Obtain the current plane figure in the target CAD engineering drawing;
Judge whether the current plane figure is to repeat floor plan, if so, obtaining the repetition floor plan
Name information, and obtain the floor name for repeating floor plan each floor for being included according to the name information
Claim;If it is not, then directly acquiring the corresponding floor name of the plan view;
Using next plan view in the target CAD engineering drawing as current plane figure, and return described in execution acquisition
The step of current plane figure in target CAD engineering drawing, until each plan view in the target CAD engineering drawing has traversed
Finish.
Optionally, before the acquisition target CAD engineering drawing, further includes:
Initial CAD engineering drawing is pre-processed according to naming rule is preset, obtains the target CAD engineering drawing.
Optionally, boundary information corresponding with every floor, each PRRU are being extracted from the target CAD engineering drawing
After attribute information and connecting line information corresponding with each PRRU, further includes:
Believe according to attribute of the geographical graphic markup language GML to the boundary information corresponding with every floor, each PRRU
Breath and connecting line information corresponding with each PRRU are handled, obtain meeting the GML linguistic norm, with every floor
Corresponding each boundary information, the attribute information of each PRRU and connecting line information corresponding with each PRRU;
Then, the foundation boundary information corresponding with every floor, each PRRU attribute information and with it is each
The corresponding connecting line information of the PRRU generates the process of corresponding visualized three-dimensional graphic are as follows:
Using based on WebGL3D drawing agreement to it is described meet the GML linguistic norm, it is corresponding with every floor each
Boundary information, the attribute information of each PRRU and connecting line information corresponding with each PRRU carry out visualization processing, obtain
To corresponding visualized three-dimensional graphic.
The embodiment of the present invention has also correspondingly provided a kind of information extracting device of CAD engineering drawing, comprising:
Module is obtained, for obtaining target CAD engineering drawing;
Extraction module, for extracting boundary information corresponding with every floor, each from the target CAD engineering drawing
The attribute information of PRRU and connecting line information corresponding with each PRRU;
Generation module, for according to the boundary information corresponding with every floor, each PRRU attribute information and
The corresponding visualized three-dimensional graphic of corresponding with each PRRU connecting line information generation.
Optionally, the extraction module includes:
Decomposition unit obtains each for carrying out resolution process to the target CAD engineering drawing according to preset decomposition rule
The floor name of floor;
First matching unit, for each floor name to be matched with the target CAD engineering drawing, obtain with
The attribute information of each corresponding boundary information of the floor name and each PRRU;The attribute information include PRRU number and
Floor name;
Second matching unit, for the attribute information of each PRRU to be matched with the target CDA engineering drawing,
Obtain connecting line information corresponding with each PRRU.
Optionally, the decomposition unit includes:
Subelement is obtained, for obtaining the current plane figure in the target CAD engineering drawing;
Judgment sub-unit, for judging whether the current plane figure is to repeat floor plan, if so, triggering first
Extract subelement;If it is not, then subelement is extracted in triggering second;
Described first extracts subelement, for obtaining the name information for repeating floor plan, and according to the name
Information is claimed to obtain the floor name for repeating each floor that floor plan is included;
Described second extracts subelement, for directly acquiring the corresponding floor name of the plan view;
Traversal Unit for using next plan view in the target CAD engineering drawing as current plane figure, and returns
The acquiring unit is triggered, until each plan view traversal in the target CAD engineering drawing finishes.
Optionally, the device further include:
Preprocessing module obtains the target for pre-processing according to default naming rule to initial CAD engineering drawing
CAD engineering drawing, and trigger the acquisition module.
Optionally, between the extraction module and the generation module, the device further include:
GML module, for according to geographical graphic markup language GML to the boundary information corresponding with every floor, each
The attribute information of PRRU and connecting line information corresponding with each PRRU are handled, and obtain meeting the GML language rule
The corresponding each boundary information of model and every floor, the attribute information of each PRRU and connection corresponding with each PRRU
Line information;
Then, the generation module, specifically for meeting the GML language to described using based on WebGL3D drawing agreement
Specification and the corresponding each boundary information of every floor, the attribute information of each PRRU and company corresponding with each PRRU
Wiring information carries out visualization processing, obtains corresponding visualized three-dimensional graphic.
The embodiment of the invention also provides a kind of information extracting systems of CAD engineering drawing, comprising:
Memory, for storing computer program;
Processor realizes the information extracting method of CAD engineering drawing as described above when for executing the computer program
The step of.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited on the computer readable storage medium
Computer program is contained, the computer program realizes the information extraction of CAD engineering drawing as described above when being executed by processor
The step of method.
The embodiment of the invention provides a kind of information extracting method of CAD engineering drawing, device, system and computer-readable deposit
Storage media, this method comprises: obtaining target CAD engineering drawing;Boundary corresponding with every floor is extracted from target CAD engineering drawing
Information, the attribute information of each PRRU and connecting line information corresponding with each PRRU;Believe according to boundary corresponding with every floor
Breath, the attribute information of each PRRU and the corresponding visualized three-dimensional graphic of connecting line information corresponding with each PRRU generation.
As it can be seen that the application can therefrom extract boundary information corresponding with every floor, each according to target CAD engineering drawing
The attribute information of a PRRU and connecting line information corresponding with each PRRU, and according to the information generation extracted and CAD
The corresponding visualized three-dimensional graphic of engineering drawing, keeps floor information more intuitive, so that staff can be from the visualization of 3 d
The corresponding PRRU of quick obtaining and its connecting line information, are conducive to the statistics of PRRU and its connecting line information, certain in figure
Human resources have been saved in degree, are reduced the workload of staff, are improved construction efficiency.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of the information extracting method of CAD engineering drawing provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the information extracting method of another kind CAD engineering drawing provided in an embodiment of the present invention;
Fig. 3 is a kind of visualized three-dimensional graphic provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the information extracting device of CAD engineering drawing provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of the information extracting system of CAD engineering drawing provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of information extracting method of CAD engineering drawing, device, system and computer-readable deposit
Storage media can make the corresponding PRRU of staff's quick obtaining and its connecting line information in use, be conducive to PRRU
And its statistics of connecting line information, human resources have been saved to a certain extent, are reduced the workload of staff, are improved
Construction efficiency.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, Fig. 1 is that a kind of process of the information extracting method of CAD engineering drawing provided in an embodiment of the present invention is shown
It is intended to.
This method comprises:
S110: target CAD engineering drawing is obtained;
S120: the attribute information of boundary information corresponding with every floor, each PRRU are extracted from target CAD engineering drawing
And connecting line information corresponding with each PRRU;
Specifically, including its floor in plan view due to containing the plan view of all floors in target CAD engineering drawing
Boundary information and each floor each PRRU and corresponding connecting line information, can be according to target CAD work in all the application
All PRRU that plan view in journey figure, corresponding with every floor extracts in boundary information and every floor in every floor (are set
It is standby) attribute information and its connecting line information.
S130: according to and the corresponding boundary information of every floor, the attribute information of each PRRU and corresponding with each PRRU
Connecting line information generates corresponding visualized three-dimensional graphic.
Wherein it is possible to according to the attribute information of each PRRU in the boundary information of each floor, each floor and with it is each
The corresponding connecting line information of PRRU generates corresponding with each floor included in all plan views in CAD engineering drawing visual
Change 3-D graphic, can intuitively represent in the visualized three-dimensional graphic floor outer boundary, stair courtyard and elevator and
The specific set-up mode of the connecting line of the specific location and PRRU of the corresponding each PRRU of every floor, facilitates the identification of staff
And extraction and statistics to relevant information, it is more advantageous to the workload for reducing staff, accelerates working efficiency.
As it can be seen that the application can therefrom extract boundary information corresponding with every floor, each according to target CAD engineering drawing
The attribute information of a PRRU and connecting line information corresponding with each PRRU, and according to the information generation extracted and CAD
The corresponding visualized three-dimensional graphic of engineering drawing, keeps floor information more intuitive, so that staff can be from the visualization of 3 d
The corresponding PRRU of quick obtaining and its connecting line information, are conducive to the statistics of PRRU and its connecting line information, certain in figure
Human resources have been saved in degree, are reduced the workload of staff, are improved construction efficiency.
On the basis of the above embodiments, the present embodiment has made further instruction and optimization to technical solution, specifically asks
Referring to Fig. 2:
Further, before obtaining target CAD engineering drawing in above-mentioned S110, this method further include:
S200: initial CAD engineering drawing is pre-processed according to naming rule is preset, obtains target CAD engineering drawing.
It should be noted that since each plan view in each CAD engineering drawing includes corresponding floor name, right
When each floor in target CAD engineering drawing carries out information extraction, need first to extract the floor name of each floor, then again
Each information corresponding with the floor name is proposed into target CAD engineering drawing according to each floor name.For different CAD
Engineering drawing, the possible disunity of the rule of floor designations, thus will affect the efficiency that information extraction is carried out from CAD engineering drawing,
So extract in order to more convenient to the corresponding information in target CAD engineering drawing, the present embodiment can be by pre-establishing
Default naming rule initial CAD engineering drawing corresponding for target CAD engineering drawing pre-processes, that is, will be made by CAD
The engineering drawing of completion is known as initial CAD engineering drawing, and the application is first according to default naming rule to the correlation in initial CAD engineering drawing
Name presets naming rule according to this and modifies, and obtains the target CAD engineering drawing that related name meets default naming rule, so
Corresponding information extraction is carried out according to target CAD engineering drawing again afterwards.
Specifically, the default naming rule includes the attribute names rule of the floor designations rule and PRRU in plan view.
For example, floor designations rule can be with are as follows:
It for each floor is indicated with independent floor plan, the name of corresponding floor plan is with " mF is flat
Face figure " indicates that such as 1 layer of corresponding plan view is named as " 1F plan view ";Basement band is then in front with " B ", such as basement one
Corresponding plan view is named as " B1F plan view ";Repeat floor plan share the outer boundary of a floor, stair boundary and its
Therefore whether elevator boundary can be to judge whether it is repetition floor according to boundary information, for the ease of from the name of plan view
Nominally identify it is to repeat the corresponding plan view of floor, then also need naming standard for repeating the corresponding plan view of floor,
It is indicated if it is multilayer floor with first floor, then entitled " the m-nF plan view " of corresponding plan view, such as " 4-15F plane
Figure ", in the case of identical for the floor for having isolation, name form can use " 1-4,6-8F plan view ".Basement band then exists
Front band " B ", such as " B3F plan view ", " B3-B1F plan view ".Wherein, name form can carry multiple commas simultaneously, such as
" B3-B1F, 1F, 2-8F plan view ".
The attribute names rule of PRRU (equipment) is for example are as follows:
The attribute names standard of PRRU with " number-floor number " and indicate, the Property Name of each PRRU be it is unique,
Such as " 119-1F ", wherein " 119 " indicate the corresponding number of PRRU, and the floor where " 1F " indicates this PRRU is Stall.
That is, when being pre-processed to initial CAD engineering drawing, for meeting the initial CAD work of the default naming rule
Journey figure can be directly as target CAD engineering drawing, and initial CAD engineering drawing for not meeting the default naming rule can be with
The name of each floor plan in initial CAD engineering drawing is modified accordingly according to above-mentioned default naming rule, with
And corresponding modification is carried out to each PUUR attribute information, corresponding target CAD engineering drawing can be obtained.Wherein, name rule are preset
Then it is not limited to above-mentioned specific rules, or other specific naming rules can specifically carry out according to actual needs
Setting, the application do not do particular determination.
S210: target CAD engineering drawing is obtained;
S220: the attribute information of boundary information corresponding with every floor, each PRRU are extracted from target CAD engineering drawing
And connecting line information corresponding with each PRRU;
Further, boundary information corresponding with every floor, each is extracted in above-mentioned S220 from target CAD engineering drawing
The process of PRRU attribute information and connecting line information corresponding with each PRRU, can specifically include:
Resolution process is carried out to target CAD engineering drawing according to preset decomposition rule, obtains the floor name of each floor;
It should be noted that the preset decomposition rule in the application is corresponding with default naming rule, specifically, due to
It may include repetition floor plan in each plan view in CAD engineering drawing, and marked in the title of repetition floor plan
Part floor number out, it is therefore desirable to target CAD engineering drawing is subjected to resolution process, to obtain the floor name of each floor
Claim.
Further, above-mentioned that resolution process is carried out to target CAD engineering drawing according to preset decomposition rule, obtain each building
The process of layer name, can specifically include:
Obtain the current plane figure in target CAD engineering drawing;
Judge whether current plane figure is to repeat floor plan, if so, obtaining the title letter for repeating floor plan
Breath, and the floor name for each floor that repetition floor plan is included is obtained according to name information;If it is not, then directly acquiring
The corresponding floor name of plan view;
Using next plan view in target CAD engineering drawing as current plane figure, and returns to execution and obtain target CAD work
The step of current plane figure in journey figure, until each plan view traversal in target CAD engineering drawing finishes.
It should be noted that may include multiple plan views in target CAD engineering drawing, and it is corresponding to have plenty of single layer building
Plan view has plenty of the corresponding plan view of repetition floor, so need to identify whether current plane figure is to repeat floor plan,
If so, the corresponding each floor of the repetition floor plan can be obtained according to the name information of the repetition floor plan
Floor name.For example, repeating entitled " B3-B1F, 1F, the 2-8F plan view " of floor plan, then by obtaining after extraction process
To name information, " name of floor specifically can be interrupted out, for example, " B3- by B3-B1F, 1F, 2-8F " with ", " character
It is broken into " B3-B1F ", " 1F " and " 2-8F " between B1F, 1F, 4-8F " meeting, it then again will be between the name again of floor with "-" character
It is disconnected, due to having a variety of situations by having no progeny between first time, element be independent floor (as " 1F "), some elements are still
It is to repeat floor (such as " B3-B1F ", " 2-8F "), therefore also need to judge each element obtained after decomposition, for
It is the corresponding element of independent floor, does not then deal with, directly acquires the floor name of the corresponding floor of the element, such as
" 1F " is not processed, and directly acquires " 1F " as one layer of floor name, then can be with to the corresponding element of floor is then repeated
With "-" character will name interruption, obtain the number of floor levels before and after "-", be supplemented the intermediate floor information lacked can obtain it is all
Floor name, for example, three floors: " B3F ", " B2F " and " B1F " can be decomposited after " B3-B1F " processing;" 2-8F " can be decomposed
Seven floors out: " 2F ", " 3F " ..., " 8F ";So as to obtain and repeat floor plan " B3-B1F, 1F, 2-8F plane
The corresponding each individual floor name of floor of figure ": " B3F ", " B2F ", " B1F ", " 1F ", " 2F ", " 3F " ..., " 8F ".
If current plane figure is the corresponding plan view of independent floor, the corresponding floor name of plan view is directly acquired i.e.
It can.The usual above method traverses each of target CAD engineering drawing plan view, and obtains and institute in each plan view
Including the corresponding floor name of each floor, and then obtain the floor name of every floor pair in target CAD engineering drawing.
Each floor name is matched with target CAD engineering drawing, obtains boundary letter corresponding with each floor name
The attribute information of breath and each PRRU;Attribute information includes PRRU number and floor name;
After the floor name for obtaining each floor, each floor name is matched with target CAD engineering drawing, energy
It accesses and the attribute information of the corresponding boundary information of each floor name and PRRU corresponding with each floor, that is, logical
It crosses floor name and matches plan view portion corresponding with the floor name from each plan view in target CAD engineering drawing,
According to and the corresponding plan view portion of the floor name extracts the boundary information of the floor and PRRU corresponding with the floor belongs to
Property information.
The attribute information of each PRRU is matched with target CDA engineering drawing, obtains connection corresponding with each PRRU
Line information.
After the attribute information for obtaining each PRRU in every floor, can according in the attribute information floor name and
PRRU number, matched into target CAD engineering drawing, match plan view corresponding with the floor name, then further according to
PRRU number matches the specifying information that corresponding PRRU is numbered with the PRRU, including connecting line information from the plan view.
Specifically, the boundary information in the application includes outer boundary coordinate information, elevator boundary coordinate information and stair
Courtyard boundary coordinate information;Connecting line information includes connecting line coordinate information.
It is understood that when the connecting line information of boundary information and each PRRU to every floor extracts, by
Multi-line section is belonged in CAD engineering drawing in boundary line and connecting line, each break of multi-line section has corresponding in CAD
Absolute value coordinate, so the boundary information in the application includes the corresponding coordinate information in each boundary, for example, outer boundary coordinate is believed
Breath includes the corresponding coordinate information of each break in the boundary line of outside, and elevator boundary coordinate information includes each on elevator boundary line
The corresponding coordinate information of a break, stair courtyard boundary coordinate information includes that each break on stair courtyard boundary line is corresponding
Coordinate information, connecting line information includes the corresponding coordinate information of each break on connecting line, according to each in each boundary line
The coordinate information of a break can draw out the boundary line.
Specifically, in CAD engineering drawing, all floor plans be all fasten expression in an absolute coordinate, namely
The corresponding absolute value coordinate of each break in the multi-line section of each boundary line, due in three dimensions, being built for one
Stall and second floor take identical position three-dimensional coordinate (x, y, z) should be z coordinate difference, x and y coordinates are identical.But
It is that, since the floor in CAD engineering drawing all provides in plan view, z coordinate can not obtain, it is possible to obtain
The coordinate taken is also two-dimentional (only x and y), and z coordinate can voluntarily give according to the actual situation in visualized three-dimensional graphic.
But in CAD engineering drawing, it is absolute coordinate that Stall and second floor, which take the corresponding coordinate in identical position just different,
So the coordinate of each break can be indicated accurately, the relative coordinate of each break can be extracted in the application, such as can be with
It is also absolutely to sit in CAD that an identical location point x1 and y1, x1 and y1 are selected in the corresponding plan view of each floor
Mark, therefore, the relative coordinate Δ x of each floor information may be expressed as: Δ x=x1-x, Δ y=y1-y, using relative coordinate table
The coordinate information for showing each break on boundary line can make the coordinate letter of the identical position x and y having the same of different floors
Breath.
S230: according to and the corresponding boundary information of every floor, the attribute information of each PRRU and corresponding with each PRRU
Connecting line information generates corresponding visualized three-dimensional graphic.
Further, in the category for extracting boundary information corresponding with every floor, each PRRU from target CAD engineering drawing
After property information and connecting line information corresponding with each PRRU, further includes:
According to GML pairs of geographical graphic markup language boundary information corresponding with every floor, each PRRU attribute information and
Connecting line information corresponding with each PRRU is handled, and obtains meeting GML linguistic norm, corresponding with every floor each side
Boundary's information, the attribute information of each PRRU and connecting line information corresponding with each PRRU;
It should be noted that the information extracting method of the CAD engineering drawing in the application can using based on ObjectARX and
The software realization that VS2008 writes, and can using based on WebGL3D drawing agreement according to the boundary information that extracts and respectively
The attribute information of a PRRU and connecting line information corresponding with each PRRU generate visualized three-dimensional graphic, wherein due to being based on
The data that ObjectARX and VS2008 are extracted can not directly be read based on WebGL3D drawing agreement, it is possible to logical
It crosses geographical graphic markup language GML and GML standardization processing is carried out to the information of extraction, namely sampling GML language description is extracted
The corresponding boundary information of floor arrive and every, the attribute information of each PRRU and connecting line information corresponding with each PRRU, make
Extracted information meets GML linguistic norm.
Then, above-mentioned foundation boundary information corresponding with every floor, the attribute information of each PRRU and corresponding with each PRRU
Connecting line information generate the process of corresponding visualized three-dimensional graphic, be specifically as follows:
Using based on WebGL3D drawing agreement to meet GML linguistic norm, corresponding with every floor each boundary believes
Breath, the attribute information of each PRRU and connecting line information corresponding with each PRRU carry out visualization processing, obtain accordingly may be used
Depending on changing 3-D graphic.
Specifically, being illustrated by taking visualized three-dimensional graphic shown in Fig. 3 as an example, wherein F1, F2 correspond to Stall, second floor,
The edge (contour line 11 and 12) of peripheral polygon indicates the outer boundary of floor, the rectangle 21 of the inside represent individual stair courtyards and
Elevator, hanging cylinder 31 indicates PRRU (equipment) and line 32 is the connecting line of PRRU, and the other end block 41 of line 32 is
Light current well.Multiple floors are also shown in the same way, such display effect just makes the device distribution of floor more straight
It sees, facilitates extraction and statistics of the staff to information needed.
On the basis of the above embodiments, the information that the embodiment of the present invention has also correspondingly provided a kind of CAD engineering drawing mentions
Device is taken, specifically referring to figure 4..The device includes:
Module 51 is obtained, for obtaining target CAD engineering drawing;
Extraction module 52, for extracting boundary information corresponding with every floor, each PRRU from target CAD engineering drawing
Attribute information and connecting line information corresponding with each PRRU;
Generation module 53, for according to boundary information corresponding with every floor, each PRRU attribute information and with it is each
The corresponding connecting line information of PRRU generates corresponding visualized three-dimensional graphic.
Further, extraction module 52 includes:
Decomposition unit obtains each floor for carrying out resolution process to target CAD engineering drawing according to preset decomposition rule
Floor name;
First matching unit obtains and each floor for matching each floor name with target CAD engineering drawing
The attribute information of the corresponding boundary information of title and each PRRU;Attribute information includes PRRU number and floor name;
Second matching unit, for the attribute information of each PRRU to be matched with target CDA engineering drawing, obtain with often
The corresponding connecting line information of a PRRU.
Further, decomposition unit includes:
Subelement is obtained, for obtaining the current plane figure in target CAD engineering drawing;
Judgment sub-unit, for judging whether current plane figure is to repeat floor plan, if so, triggering first is extracted
Subelement;If it is not, then subelement is extracted in triggering second;
First extracts subelement, obtains weight for obtaining the name information for repeating floor plan, and according to name information
The floor name for each floor that multiple floor plan is included;
Second extracts subelement, for directly acquiring the corresponding floor name of plan view;
Traversal Unit for using next plan view in target CAD engineering drawing as current plane figure, and returns to triggering
Acquiring unit, until each plan view traversal in target CAD engineering drawing finishes.
Further, the device further include:
Preprocessing module obtains target CAD for pre-processing according to default naming rule to initial CAD engineering drawing
Engineering drawing, and trigger and obtain module 51.Wherein, the output end of preprocessing module is connect with the input terminal for obtaining module 31.
Further, between extraction module 52 and generation module 53, the device further include:
GML module, for according to GML couples of geographical graphic markup language boundary information corresponding with every floor, each PRRU
Attribute information and connecting line information corresponding with each PRRU handled, obtain meeting GML linguistic norm, with every floor
Corresponding each boundary information, the attribute information of each PRRU and connecting line information corresponding with each PRRU;
Then, generation module 53, specifically for using based on WebGL3D drawing agreement to meet GML linguistic norm, with it is every
The corresponding each boundary information of floor, the attribute information of each PRRU and connecting line information corresponding with each PRRU carry out visual
Change processing, obtains corresponding visualized three-dimensional graphic.
It should be noted that the information extracting device of CAD engineering drawing provided in an embodiment of the present invention has and above-mentioned implementation
The identical beneficial effect of information extracting method of the CAD engineering drawing provided in example, to CAD work involved in this present embodiment
The specific introduction of the information extracting method of journey figure please refers to above method embodiment, and details are not described herein by the application.
On the basis of the above embodiments, the embodiment of the invention also provides a kind of information extracting systems of CAD engineering drawing
Specifically referring to figure 5..The system includes:
Memory 61, for storing computer program;
Processor 62, when for executing computer program the step of the realization such as information extracting method of above-mentioned CAD engineering drawing.
For example, the processor 62 in the present embodiment is for realizing acquisition target CAD engineering drawing;From target CAD engineering drawing
It extracts and the corresponding boundary information of every floor, the attribute information of each PRRU and connecting line information corresponding with each PRRU;
According to and the corresponding boundary information of every floor, the attribute information of each PRRU and connecting line information corresponding with each PRRU generate
Corresponding visualized three-dimensional graphic.
On the basis of the above embodiments, the embodiment of the invention also provides a kind of computer readable storage mediums, calculate
It is stored with computer program on machine readable storage medium storing program for executing, such as above-mentioned CAD engineering drawing is realized when computer program is executed by processor
Information extracting method the step of.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-OnlyMemory,
ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or equipment for including element.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of information extracting method of CAD engineering drawing characterized by comprising
Obtain target CAD engineering drawing;
Extracted from the target CAD engineering drawing boundary information corresponding with every floor, each PRRU attribute information and with
The corresponding connecting line information of each PRRU;
According to the boundary information corresponding with every floor, the attribute information of each PRRU and corresponding with each PRRU
Connecting line information generate corresponding visualized three-dimensional graphic.
2. the information extracting method of CAD engineering drawing according to claim 1, which is characterized in that described from the target CAD
It is extracted in engineering drawing and the corresponding boundary information of every floor, each PRRU attribute information and connecting line corresponding with each PRRU
The process of information includes:
Resolution process is carried out to the target CAD engineering drawing according to preset decomposition rule, obtains the floor name of each floor;
Each floor name is matched with the target CAD engineering drawing, is obtained corresponding with each floor name
Boundary information and each PRRU attribute information;The attribute information includes PRRU number and floor name;
The attribute information of each PRRU is matched with the target CDA engineering drawing, is obtained and each described PRRU pairs
The connecting line information answered.
3. the information extracting method of CAD engineering drawing according to claim 2, which is characterized in that the boundary information includes
Outer boundary coordinate information, elevator boundary coordinate information and stair courtyard boundary coordinate information;The connecting line information includes connecting
Wiring coordinate information.
4. the information extracting method of CAD engineering drawing according to claim 2, which is characterized in that described according to preset decomposition
Rule carries out resolution process to the target CAD engineering drawing, and the process for obtaining each floor name includes:
Obtain the current plane figure in the target CAD engineering drawing;
Judge whether the current plane figure is to repeat floor plan, if so, obtaining the name for repeating floor plan
Claim information, and obtains the floor name for repeating each floor that floor plan is included according to the name information;If
It is no, then directly acquire the corresponding floor name of the plan view;
Using next plan view in the target CAD engineering drawing as current plane figure, and returns to execution and obtain the target
The step of current plane figure in CAD engineering drawing, until each plan view traversal in the target CAD engineering drawing finishes.
5. the information extracting method of CAD engineering drawing according to claim 1, which is characterized in that in the acquisition target CAD
Before engineering drawing, further includes:
Initial CAD engineering drawing is pre-processed according to naming rule is preset, obtains the target CAD engineering drawing.
6. the information extracting method of CAD engineering drawing described in -5 any one according to claim 1, which is characterized in that from institute
State extracted in target CAD engineering drawing boundary information corresponding with every floor, each PRRU attribute information and with it is each described
After the corresponding connecting line information of PRRU, further includes:
According to geographical graphic markup language GML to the attribute information of the boundary information corresponding with every floor, each PRRU and
Connecting line information corresponding with each PRRU is handled, obtain meeting the GML linguistic norm, it is corresponding with every floor
Each boundary information, each PRRU attribute information and connecting line information corresponding with each PRRU;
Then, the foundation boundary information corresponding with every floor, each PRRU attribute information and with it is each described
The corresponding connecting line information of PRRU generates the process of corresponding visualized three-dimensional graphic are as follows:
Using based on WebGL3D drawing agreement to meet the GML linguistic norm, corresponding with every floor each boundary
Information, the attribute information of each PRRU and connecting line information corresponding with each PRRU carry out visualization processing, obtain phase
The visualized three-dimensional graphic answered.
7. a kind of information extracting device of CAD engineering drawing characterized by comprising
Module is obtained, for obtaining target CAD engineering drawing;
Extraction module, for extracting from the target CAD engineering drawing boundary information corresponding with every floor, each PRRU
Attribute information and connecting line information corresponding with each PRRU;
Generation module, for according to the boundary information corresponding with every floor, each PRRU attribute information and with it is every
The corresponding visualized three-dimensional graphic of a corresponding connecting line information generation of the PRRU.
8. the information extracting device of CAD engineering drawing according to claim 7, which is characterized in that the extraction module includes:
Decomposition unit obtains each floor for carrying out resolution process to the target CAD engineering drawing according to preset decomposition rule
Floor name;
First matching unit, for each floor name to be matched with the target CAD engineering drawing, obtain with each
The attribute information of the corresponding boundary information of floor name and each PRRU;The attribute information includes PRRU number and floor
Title;
Second matching unit is obtained for matching the attribute information of each PRRU with the target CDA engineering drawing
Connecting line information corresponding with each PRRU.
9. a kind of information extracting system of CAD engineering drawing characterized by comprising
Memory, for storing computer program;
Processor, realizing the CAD engineering drawing as described in claim 1 to 6 any one when for executing the computer program
The step of information extracting method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the letter of the CAD engineering drawing as described in claim 1 to 6 any one when the computer program is executed by processor
The step of ceasing extracting method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811341022.9A CN109448091B (en) | 2018-11-12 | 2018-11-12 | Information extraction method, device and system of CAD engineering drawing and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811341022.9A CN109448091B (en) | 2018-11-12 | 2018-11-12 | Information extraction method, device and system of CAD engineering drawing and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109448091A true CN109448091A (en) | 2019-03-08 |
CN109448091B CN109448091B (en) | 2023-05-05 |
Family
ID=65550986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811341022.9A Expired - Fee Related CN109448091B (en) | 2018-11-12 | 2018-11-12 | Information extraction method, device and system of CAD engineering drawing and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109448091B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096270A (en) * | 2019-05-06 | 2019-08-06 | 浙江精工钢结构集团有限公司 | A kind of design drawing method for splitting and system based on .NET plug-in unit |
CN110543480A (en) * | 2019-08-22 | 2019-12-06 | 盐城工学院 | hole table creating and updating system based on CAD system and use method of system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103942388A (en) * | 2014-04-18 | 2014-07-23 | 重庆市勘测院 | Large-scale building information model and three-dimensional digital city integration method |
CN107045526A (en) * | 2016-12-30 | 2017-08-15 | 许昌学院 | A kind of pattern recognition method of electronics architectural working drawing |
CN108597026A (en) * | 2018-04-09 | 2018-09-28 | 中国电子科技集团公司第二十八研究所 | A method of three-dimensional building model is quickly generated based on two-dintension CAD drawing |
-
2018
- 2018-11-12 CN CN201811341022.9A patent/CN109448091B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103942388A (en) * | 2014-04-18 | 2014-07-23 | 重庆市勘测院 | Large-scale building information model and three-dimensional digital city integration method |
CN107045526A (en) * | 2016-12-30 | 2017-08-15 | 许昌学院 | A kind of pattern recognition method of electronics architectural working drawing |
CN108597026A (en) * | 2018-04-09 | 2018-09-28 | 中国电子科技集团公司第二十八研究所 | A method of three-dimensional building model is quickly generated based on two-dintension CAD drawing |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096270A (en) * | 2019-05-06 | 2019-08-06 | 浙江精工钢结构集团有限公司 | A kind of design drawing method for splitting and system based on .NET plug-in unit |
CN110543480A (en) * | 2019-08-22 | 2019-12-06 | 盐城工学院 | hole table creating and updating system based on CAD system and use method of system |
Also Published As
Publication number | Publication date |
---|---|
CN109448091B (en) | 2023-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109191576A (en) | A kind of figure layer classification method that architectural drawing is converted to three-dimensional BIM model | |
CN104392482B (en) | Substation project project three-dimensional calculation amount model generation system and method | |
CN112613112A (en) | BIM development-based CAD (computer aided design) construction drawing reverse modeling method | |
CN112163251A (en) | Building model unitization method and device, storage medium and electronic equipment | |
CN103383556B (en) | Comprehensive pipeline data indoor and field integration real-time update method of quality control | |
US20140244219A1 (en) | Method of creating a pipe route line from a point cloud in three-dimensional modeling software | |
CN111291438B (en) | File processing method and device, electronic equipment and storage medium | |
CN109448091A (en) | Information extracting method, device, system and the storage medium of CAD engineering drawing | |
CN105677716A (en) | Computer data acquisition, processing and analysis system | |
CN109509257A (en) | Indoor floor rank components pattern forming method, terminal and storage medium | |
CN109635063A (en) | Information processing method and device for address library, electronic equipment and storage medium | |
CN115511255A (en) | Three-dimensional intelligent management method and system for intelligent park | |
CN111653268A (en) | Man-machine voice interaction system and method for shopping cabin | |
CN109271701B (en) | Water supply and drainage BIM forward design method based on reach system | |
CN109766601B (en) | Computer aided drawing method and device for electric piping | |
CN110390725B (en) | Pipeline completion map generation method, device and system | |
CN111210669A (en) | Airspace conflict resolution rule creation method and system based on deduction evaluation | |
CN107977372B (en) | Labeling method and device for face element notes | |
CN116129460A (en) | Drawing analysis method, device, equipment and storage medium | |
CN115374198A (en) | Urban global data processing method and device | |
CN115712667A (en) | Graph data fusion analysis method and device and storage medium | |
CN102467573B (en) | Digital mapping simplicity compiling method and internal sort method are auxiliary bee-line ranking method | |
CN112487124B (en) | Method for converting punctiform elements in CorelDraw map to SuperMap by using VBA | |
CN114092952A (en) | dXF format-based house type graph information extraction and vectorization method and device | |
CN204557477U (en) | Based on the cluster result system of data warehouse and OLAP technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20230505 |