CN100476349C - Automatic calculation method for global coordinate system under multiple-association engineering chart environment - Google Patents
Automatic calculation method for global coordinate system under multiple-association engineering chart environment Download PDFInfo
- Publication number
- CN100476349C CN100476349C CNB2007101340015A CN200710134001A CN100476349C CN 100476349 C CN100476349 C CN 100476349C CN B2007101340015 A CNB2007101340015 A CN B2007101340015A CN 200710134001 A CN200710134001 A CN 200710134001A CN 100476349 C CN100476349 C CN 100476349C
- Authority
- CN
- China
- Prior art keywords
- coordinate system
- theta
- engineering
- sin
- lines
- 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.)
- Expired - Fee Related
Links
- 238000004364 calculation method Methods 0.000 title abstract description 10
- 238000000034 method Methods 0.000 claims abstract description 26
- 239000011159 matrix material Substances 0.000 claims abstract description 10
- 238000004513 sizing Methods 0.000 claims description 9
- 230000009466 transformation Effects 0.000 claims description 8
- 238000013519 translation Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 abstract description 6
- 238000013461 design Methods 0.000 abstract description 2
- 238000011960 computer-aided design Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 2
- 206010049244 Ankyloglossia congenital Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003447 ipsilateral effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- 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/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention provides an automatic calculation method of a world coordinate system under the condition of a multiple associative engineering drawing. The basic starting point of the invention is that an orthogonalaxes net, a local logical coordinate system and a world logical coordinate system are gradually combined through a dimension line in an automatic identification engineering drawing and a corresponding transformational matrix is recorded, at last, the world coordinate system is generated. The invention has the advantages that an association diagram drawn in different scales and directions is input in the CAD environment, a world coordinate system of a project can be automatically generated; the world coordinate system is a premise condition for accurately calculating various engineering data and other relevant engineering application, the method can save large quantity of manual calculation expense, and an error caused by the manual calculation is effectively reduced, to improve the auxiliary design efficiency of a computer. The method has high generality, and can be applied in various engineering fields.
Description
Technical field
The present invention relates to the computing method of global coordinate system in a kind of engineering drawing, the automatic calculating method that particularly a kind of global coordinate system under multiple-association engineering chart environment is.
Background technology
Cad technique has been widely applied to a plurality of engineerings field that comprises machinery, manufacturing, building, electronics, chemical industry, road and bridge at present.In many engineerings are used, (calculate), often need go out the global logic coordinate under many associated diagrams environment according to the drawing coordinate Calculation in a certain CAD engineering drawing as project data such as preliminary budget, bids.And an engineering project often is made up of many association engineering charts; Also may further be divided into related zone on independent on some figures, the content in same engineering drawing, to describe not ipsilateral.Three-view diagram such as the expression mechanical part is described (can describe in the zones of different of an engineering drawing, also can be divided into three engineering drawings and describe); And want architectural appearance of complete description and indoor design thereof, often need tens of the engineering drawings that are mutually related.According to described content difference, these association engineering charts can adopt different dimension of picture and ratio to draw respectively, as can in certain figure, drawing the detail section of certain engineering object in detail with vast scale, and this project object only schematically shows its position and profile with less ratio in other figure, direction rotation, offset etc. also may occur.Therefore, a certain drawing coordinate in the given engineering drawing can not be directly used in the various project data of accurate Calculation, must be transformed under the multiple-association engineering chart integration condition, be the global logic coordinate of foundation with dimension line length mark character string.This transfer process need a series of engineering drawing compare mutually, with reference to and coordinate conversion, artificial calculating very easily produces error, and efficient is lower.
Summary of the invention
The objective of the invention is defective, the automatic calculating method that provides a kind of global coordinate system under multiple-association engineering chart environment to be at the prior art of above-mentioned CAD engineering drawing coordinate system computing method.
In order to realize purpose of the present invention, the automatic calculating method that a kind of global coordinate system under multiple-association engineering chart environment provided by the invention is, it is characterized in that further comprising the steps of: (1) gets an engineering drawing, and this figure is calculated initial threshold d after the input engineering project; (2) calculate the free graticule that is comprised among this project figure; (3) the free lines that are parallel to each other and projection is overlapping are sorted from left to right or from the bottom to top; (4) if two adjacent parallel free lines are shared certain middle part vertical bar, and can search virgule, then generate candidate's dimension line at the intersection point place; (5) generate the dimension line group by one group of candidate's dimension line of sharing certain free lines; (6) respectively with dimension line group and the length character string pairing that closes on; (7) to each dimension line group, find all perpendicular dimension line groups, and get from its nearest, generate an orthogonal axes net by counterclockwise order; (8) compare each orthogonal axes net, get the local logic coordinate system of an orthogonal axes net of its sizing scope maximum as this project figure; Write down translation, rotation and the scale transformation matrix M of other orthogonal axes net with respect to the local logic coordinate system
1(9) judge whether all engineering drawings travel through end in the described engineering project, if judged result is for being then to skip to step (11); (10) if above-mentioned judged result for not, is then returned step (1); (11) compare each local logic coordinate system, the local logic coordinate system of getting sizing scope maximum is as the global logic coordinate system; Write down translation, rotation and the scale transformation matrix M of other local logic coordinate system with respect to the global logic coordinate system
2Generate global coordinate system.
In the step (1) of the automatic calculating method that described global coordinate system under multiple-association engineering chart environment is, the computing method of threshold value d are the average height of character string among this project figure.
In the step (2) of the automatic calculating method that described global coordinate system under multiple-association engineering chart environment is, also further may further comprise the steps: (a) in this project figure, straight-line segment is carried out end points and connect inspection, if the two-end-point place does not have crossing lines, then mark its be free lines, otherwise be labeled as the eliminating lines; (b) if certain free lines length less than 0.5d, or greater than 3d, then is labeled as the eliminating lines; (c) if certain free lines middle part does not have the lines that intersect vertically, then be labeled as the eliminating lines.
In the step (3) and step (4) of the automatic calculating method that described global coordinate system under multiple-association engineering chart environment is, described parallel free lines v
iAnd v
jThe angular error threshold value be calculated as follows:
Length (v wherein
i), length (v
j) be lines v
i, v
jLength.
In the step (3) of the automatic calculating method that described global coordinate system under multiple-association engineering chart environment is, the projection overlay defining of two parallel lines is that overlap length accounts for than short-term bar length ratio greater than 0.3 and smaller or equal to 1.
In the step (4) of the automatic calculating method that described global coordinate system under multiple-association engineering chart environment is, virgule length should be less than d and greater than 0.2d.
In the step (8) of the automatic calculating method that described global coordinate system under multiple-association engineering chart environment is, M
1Be calculated as follows:
(x wherein
1, y
1) be the original point position point coordinate of a certain orthogonal axes net in this figure local logic coordinate system, θ
1Be the be rotated counterclockwise angle of this orthogonal axes net with respect to this figure local logic coordinate system.
In the step (11) of the automatic calculating method that described global coordinate system under multiple-association engineering chart environment is, M
2Be calculated as follows:
(x wherein
2, y
2) be the relative coordinate of the initial point of a certain local logic coordinate system with respect to the global logic coordinate origin, θ
2Be the be rotated counterclockwise angle of this local logic coordinate system with respect to the global logic coordinate system.
Beneficial effect: the present invention in the CAD environment, import one group in varing proportions, the associated diagram drawn of direction, and generate the global coordinate system be convenient to the engineering project discerning and calculate as requested, save a large amount of artificial computing costs, reduced the error that artificial coordinates computed frenulum comes.Effectively improve computer-aided design (CAD) efficient.This method has high generality, applicable to various engineering fields.
Description of drawings
Fig. 1: process flow diagram of the present invention.
Fig. 2: the exemplary plot of detected two the dimension line groups of the present invention.
Fig. 3: dimension line and sizing length character string pairing exemplary plot in the dimension line group.
Fig. 4: the exemplary plot of an actual engineering drawing.
Fig. 5: the figure as a result after the present invention discerns Fig. 4 local logic coordinate system.
Embodiment
The basic point of departure of the automatic calculating method of global coordinate system under multiple-association engineering chart environment system is by the dimension line among the automatic recognitive engineering figure, progressively be combined into orthogonal axes net, local logic coordinate system and global logic coordinate system and write down corresponding transformation matrix, generate world coordinates at last.
Below in conjunction with accompanying drawing the present invention is done more detailed explanation:
As shown in Figure 1.Step 1 among Fig. 1 is an initial actuating.Step 2 input one engineering project wherein comprises one group of associated diagram.Step 3 is got wherein engineering drawing.
This formula has been considered the influence to parallel angle threshold of free line segment length and the average character string height of this figure, wherein 3 be initial threshold (unit: degree).The overlapping determination methods of projection is: the overlap length of the free lines of row of making even, divided by in two parallel free lines than short-term bar length, if the gained ratio is then overlapping for projection greater than 0.3 and smaller or equal to 1, otherwise got rid of.
Whether step 7 is searched for the shared perpendicular line in centre position in one group of relevant parallel free lines of step 6 gained, and have virgule to exist from the further detection of its intersection point, if success then generates candidate's dimension line.Wherein virgule is defined as length less than d and greater than the straight-line segment of 0.2d.On gained candidate dimension line basis, one group of interconnected candidate's dimension line that step 8 will be shared the middle part perpendicular line is combined as a dimension line group, sharing the middle part perpendicular line with this then is benchmark, the shortest length mark character string of detection range in vertical range threshold value 1.5*d scope, and one by one with this dimension line group in dimension line pairing.Fig. 2 has provided automatic detected two dimension line groups, wherein sizing length character string not pairing as yet.Fig. 3 has finished dimension line and the pairing of sizing length character string in the dimension line group on Fig. 2 basis.Sizing length character string is used for the overall length on the description logic, but not drawing coordinate length.
The step 9 of Fig. 1 travels through gained dimension line group with counterclockwise order in this project figure, and generates an orthogonal axes net by two quadratures and close dimension line group.Fig. 4 represents the exemplary plot of an actual engineering drawing, specifically is the board plane figure among the Structural Engineering figure.
(x wherein
1, y
1) be the original point position point coordinate of a certain orthogonal axes net in this figure local logic coordinate system, θ
1Be the be rotated counterclockwise angle of this orthogonal axes net with respect to this figure local logic coordinate system.The as a result figure of Fig. 5 after the identification of local logic coordinate system; Click and to choose whole local logic coordinate system (wherein correspondingly-sized line, dimension line group, orthogonal axes net all are selected state).
Repeating step 3 is to step 10, and is processed until all engineering drawings, and generates local logic coordinate system separately.Step 11 judges whether to have traveled through all association engineering charts then, if judged result then continues next association engineering chart of traversal for not; If judged result is for being, carry out step 12, get wherein represent the scope maximum a local logic coordinate system as the global logic coordinate system, the local logic coordinate system of other each figure is by with respect to the corresponding transformation matrix with the convergent-divergent relation record of translation, rotation of this global logic coordinate system.This matrix can be calculated as follows:
(x wherein
2, y
2) be the relative coordinate of the initial point of a certain local logic coordinate system with respect to the global logic coordinate origin, θ
2Be the be rotated counterclockwise angle of this local logic coordinate system with respect to the global logic coordinate system.Generate the global coordinate system of engineering project under the multiple-association engineering chart environment with this.
Claims (6)
1, the automatic calculating method of a kind of global coordinate system under multiple-association engineering chart environment system is characterized in that after the input engineering project, and is further comprising the steps of:
(1) gets an engineering drawing, and this figure is calculated initial threshold d;
(2) calculate the free graticule that is comprised among this project figure;
(3) the free lines that are parallel to each other and projection is overlapping are sorted from left to right or from the bottom to top;
(4) if two adjacent parallel free lines are shared certain middle part vertical bar, and can search virgule, then generate candidate's dimension line at the intersection point place;
(5) generate the dimension line group by one group of candidate's dimension line of sharing certain free lines;
(6) respectively with dimension line group and the length character string pairing that closes on;
(7) to each dimension line group, find all perpendicular dimension line groups, and get from its nearest, generate an orthogonal axes net by counterclockwise order;
(8) compare each orthogonal axes net, get the local logic coordinate system of an orthogonal axes net of its sizing scope maximum as this project figure; Write down translation, rotation and the scale transformation matrix M of other orthogonal axes net with respect to the local logic coordinate system
1
(9) judge whether all engineering drawings travel through end in the described engineering project, if judged result is for being then to skip to step (11);
(10) if above-mentioned judged result for not, is then returned step (1);
(11) compare each local logic coordinate system, the local logic coordinate system of getting sizing scope maximum is as the global logic coordinate system; Write down translation, rotation and the scale transformation matrix M of other local logic coordinate system with respect to the global logic coordinate system
2Generate global coordinate system;
In the described step (1), threshold value d is the average height of character string among this project figure;
Described step (2) also further may further comprise the steps: (a) in this project figure, straight-line segment is carried out end points and connect to check, if the two-end-point place does not have crossing lines, then mark its be free lines, otherwise be labeled as the eliminating lines; (b) if certain free lines length less than 0.5d, or greater than 3d, then is labeled as the eliminating lines; (c) if certain free lines middle part does not have the lines that intersect vertically, then be labeled as the eliminating lines.
2, the automatic calculating method of global coordinate system under multiple-association engineering chart environment as claimed in claim 1 system is characterized in that step (3) and parallel free lines v described in the step (4)
iAnd v
jThe angular error threshold value be calculated as follows:
Length (v wherein
i), length (v
j) be lines v
i, v
jLength.
3, the automatic calculating method of global coordinate system under multiple-association engineering chart environment as claimed in claim 1 system is characterized in that in step (3), the projection overlay defining of two parallel lines is that overlap length accounts for than short-term bar length ratio greater than 0.3 and smaller or equal to 1.
4, the automatic calculating method of global coordinate system under multiple-association engineering chart environment as claimed in claim 1 system is characterized in that in step (4), virgule length should be less than d and greater than 0.2d.
5, the automatic calculating method of global coordinate system under multiple-association engineering chart environment as claimed in claim 1 system is characterized in that, in step (8), and M
1Be calculated as follows:
(x wherein
1, y
1) be the original point position point coordinate of a certain orthogonal axes net in this figure local logic coordinate system, θ
1Be the be rotated counterclockwise angle of this orthogonal axes net with respect to this figure local logic coordinate system.
6, the automatic calculating method of global coordinate system under multiple-association engineering chart environment as claimed in claim 1 system is characterized in that, in step (11), and M
2Be calculated as follows:
(x wherein
2, y
2) be the relative coordinate of the initial point of a certain local logic coordinate system with respect to the global logic coordinate origin, θ
2Be the be rotated counterclockwise angle of this local logic coordinate system with respect to the global logic coordinate system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101340015A CN100476349C (en) | 2007-10-17 | 2007-10-17 | Automatic calculation method for global coordinate system under multiple-association engineering chart environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101340015A CN100476349C (en) | 2007-10-17 | 2007-10-17 | Automatic calculation method for global coordinate system under multiple-association engineering chart environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101144710A CN101144710A (en) | 2008-03-19 |
CN100476349C true CN100476349C (en) | 2009-04-08 |
Family
ID=39207357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007101340015A Expired - Fee Related CN100476349C (en) | 2007-10-17 | 2007-10-17 | Automatic calculation method for global coordinate system under multiple-association engineering chart environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100476349C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102034253A (en) * | 2010-12-31 | 2011-04-27 | 北京数码大方科技有限公司 | Dimension driving method and device of computer aided design (CAD) |
CN102750553B (en) * | 2012-06-28 | 2015-06-17 | 北京中科广视科技有限公司 | Recognizing method of wall plane profile |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1563889A (en) * | 2004-03-26 | 2005-01-12 | 清华大学 | Laser tracking inertia combined measuring system and its measuring method |
CN1605830A (en) * | 2004-11-11 | 2005-04-13 | 天津大学 | Large-scale three dimensional shape and appearance measuring and splicing method without being based on adhesive mark |
EP1531322A2 (en) * | 2003-11-13 | 2005-05-18 | Matsushita Electric Industrial Co., Ltd. | Map display apparatus |
CN1797409A (en) * | 2004-12-30 | 2006-07-05 | *** | Method for automatic obtaining engineering parameter values of sampling points in graph by using computer |
CN1824443A (en) * | 2006-04-03 | 2006-08-30 | 西安交通大学 | Construction method of multi cylinder milling enveloped single screw compressor tooth face type wire |
-
2007
- 2007-10-17 CN CNB2007101340015A patent/CN100476349C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1531322A2 (en) * | 2003-11-13 | 2005-05-18 | Matsushita Electric Industrial Co., Ltd. | Map display apparatus |
CN1563889A (en) * | 2004-03-26 | 2005-01-12 | 清华大学 | Laser tracking inertia combined measuring system and its measuring method |
CN1605830A (en) * | 2004-11-11 | 2005-04-13 | 天津大学 | Large-scale three dimensional shape and appearance measuring and splicing method without being based on adhesive mark |
CN1797409A (en) * | 2004-12-30 | 2006-07-05 | *** | Method for automatic obtaining engineering parameter values of sampling points in graph by using computer |
CN1824443A (en) * | 2006-04-03 | 2006-08-30 | 西安交通大学 | Construction method of multi cylinder milling enveloped single screw compressor tooth face type wire |
Also Published As
Publication number | Publication date |
---|---|
CN101144710A (en) | 2008-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109993827B (en) | Elevation view identification method for converting building drawing into three-dimensional BIM model | |
JP2019133646A (en) | Method and apparatus for determining matching relationship between point cloud data | |
CN107169214A (en) | A kind of BUILDINGS MODELS design method | |
CN100476350C (en) | Automatic positioning method for global coordinate system under multiple-association engineering chart environment | |
CN101976461A (en) | Novel outdoor augmented reality label-free tracking registration algorithm | |
CN111854758A (en) | Indoor navigation map conversion method and system based on building CAD (computer-aided design) drawing | |
CN101446999B (en) | Automatic checking method for dimension line marking error in engineering drawing | |
CN115115859A (en) | Long linear engineering construction progress intelligent identification and analysis method based on unmanned aerial vehicle aerial photography | |
Almatared et al. | Digital twin in the architecture, engineering, and construction industry: A bibliometric review | |
CN102506812B (en) | VT checking method for stability judgment of reference points in deformation monitoring | |
CN100476349C (en) | Automatic calculation method for global coordinate system under multiple-association engineering chart environment | |
Wang et al. | An overview of a leader journal in the field of transport: A bibliometric analysis of “Computer-Aided Civil and Infrastructure Engineering” from 2000 to 2019 | |
Fornos | Digital models applied to the analysis, intervention and management of architectural heritage | |
Yin et al. | An automated layer classification method for converting CAD drawings to 3D BIM models | |
CN107369373A (en) | A kind of method that composite mapping is carried out using multi-scale line feature map | |
Lu et al. | 3D reconstruction of detailed buildings from architectural drawings | |
CN111932612B (en) | Intelligent vehicle vision positioning method and device based on second-order hidden Markov model | |
CN105741280A (en) | Fuzzy mathematic vector regional evaluation method and apparatus | |
Goes et al. | Design coordination with Building Information Modeling: a case study | |
CN109086528B (en) | Method for automatically naming netty roads in civil3d according to ordering rule | |
CN116311007A (en) | Node space analysis-based identification method and binding quality evaluation method for missed binding reinforcement nodes | |
Zhang et al. | Concrete surface crack recognition based on coordinate attention neural networks | |
CN108137128A (en) | For determining the method and system of connecting element manufacture size | |
Ye et al. | An improved algorithm for triangle to triangle intersection test | |
CN115659102B (en) | Urban underground comprehensive pipeline data resource management system based on visualization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090408 Termination date: 20101017 |