CN109658415A - A kind of drawing dividing method, electronic equipment and storage medium - Google Patents

A kind of drawing dividing method, electronic equipment and storage medium Download PDF

Info

Publication number
CN109658415A
CN109658415A CN201811608028.8A CN201811608028A CN109658415A CN 109658415 A CN109658415 A CN 109658415A CN 201811608028 A CN201811608028 A CN 201811608028A CN 109658415 A CN109658415 A CN 109658415A
Authority
CN
China
Prior art keywords
axis
symbol
line
index wire
dividing method
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
Application number
CN201811608028.8A
Other languages
Chinese (zh)
Other versions
CN109658415B (en
Inventor
曾开发
李涛涛
李永鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Chenxi Information Technology Group Co.,Ltd.
Original Assignee
Fujian Chenxi Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujian Chenxi Information Technology Co Ltd filed Critical Fujian Chenxi Information Technology Co Ltd
Priority to CN201811608028.8A priority Critical patent/CN109658415B/en
Priority to CN202010781312.6A priority patent/CN112037224B/en
Publication of CN109658415A publication Critical patent/CN109658415A/en
Application granted granted Critical
Publication of CN109658415B publication Critical patent/CN109658415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a kind of drawing dividing method, electronic equipment and storage medium, identifies the axis symbol in two-dimentional drawing, the coordinate range for determining every figure is accorded with according to axis;The present invention determines the coordinate range of every figure by identification axis symbol, to realize the automatic segmentation of drawing;Since axis accords with for other opposite lines, feature is obvious, and identification is high, so recognition efficiency and accuracy are higher during drawing segmentation;Meanwhile axis symbol is in the edge placement of every figure, defines the coordinate range of every figure whereby, and it is simple and effective, so that segmentation efficiency is higher higher with accuracy;In addition, axis symbol can also be used to judge axis and marking line, building element is judged by axis, is provided convenience with subsequent overmolded.

Description

A kind of drawing dividing method, electronic equipment and storage medium
Technical field
The present invention relates to Project Cost Field, in particular to a kind of drawing dividing method, electronic equipment and storage medium.
Background technique
Project cost just refers to the construction price of engineering, refers to that the construction for completing an engineering is desired or actually required Full payment summation is also believed to the construction cost of engineering, and as one engineering expectation payment of construction or actual delivery is complete Portion's investment in fixed assets expense.
In the calculating process of project cost, designer designs an engineering, goes out two dimension generally by CAD design Drawing, account valuation personnel calculate project amount by three-dimensional budget software by this two-dimentional drawing.Existing three-dimensional budget is soft Part can only all calculate the model of oneself software, so account valuation personnel need through overmolded tool with by two-dimentional conversion of drawings The buildings model needed for software.
When carrying out overmolded, we split firstly the need of by a complete engineering drawing, then respectively to its component Classification integration is carried out, a complete architectural engineering drawing overmolded could be come out.As it can be seen that drawing segmentation be during overmolded not The important step that can or lack.However, existing traditional overmolded software needs user to be gone manually by point of drawing a piece of paper on the market It cuts out, whole process is extremely cumbersome, inefficient.
Summary of the invention
The technical problems to be solved by the present invention are: a kind of drawing dividing method, electronic equipment and storage medium are provided, The segmentation to drawing can be automatically performed.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows:
A kind of drawing dividing method, comprising steps of
S1, identify that the axis in two-dimentional drawing accords with;
S2, the coordinate range for determining every figure is accorded with according to the axis.
In order to solve the above-mentioned technical problem, the another technical solution that the present invention uses are as follows:
A kind of electronic equipment, including memory, processor and be stored on the memory and can transport on a processor The step of capable computer program, the processor realizes a kind of above-mentioned drawing dividing method when executing the computer program.
In order to solve the above-mentioned technical problem, another technical solution that the present invention uses are as follows:
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of a kind of above-mentioned drawing dividing method is realized when row.
The beneficial effects of the present invention are: a kind of drawing dividing method, electronic equipment and storage medium pass through identification two The axis symbol in drawing is tieed up, the coordinate range of every figure is determined according to axis symbol, to realize the automatic segmentation of drawing;Due to axis Accord with for other opposite lines, feature is obvious, and identification is high, so during drawing segmentation recognition efficiency and accuracy compared with It is high;Meanwhile axis symbol is in the edge placement of every figure, defines the coordinate range of every figure whereby, and it is simple and effective, so that segmentation Efficiency is higher higher with accuracy;In addition, axis symbol can also be used to judge axis and marking line, judge to build structure by axis Part is provided convenience with subsequent overmolded.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of drawing dividing method of the embodiment of the present invention;
Fig. 2 be the present embodiments relate to two-dimentional drawing floor map;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment of the embodiment of the present invention.
Label declaration:
1, a kind of electronic equipment;2, processor;3, memory;4, axis accords with;5, axis;6, marking line;7, axis accords with index wire; 8, the map title.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached Figure is explained.
The most critical design of the present invention is: determining every figure according to axis symbol by identifying the axis symbol in two-dimentional drawing Coordinate range.
Please refer to Fig. 1 to Fig. 2, a kind of drawing dividing method, comprising steps of
S1, identify that the axis in two-dimentional drawing accords with;
S2, the coordinate range for determining every figure is accorded with according to the axis.
Wherein, the axis on architectural drawing refers to the important components such as main wall column and roof beam structure position baseline, horizontally away from From crying " standard width of a room in an old-style house ", fore-and-aft distance is " depth ", using the lower left corner as starting point coordinate on drawing.For indicating that the symbol of axis is referred to as Axis net.
As can be seen from the above description, the beneficial effects of the present invention are: by identifying the axis symbol in two-dimentional drawing, accorded with according to axis The coordinate range of every figure is determined, to realize the automatic segmentation of drawing;Since axis accords with for other opposite lines, feature Obviously, identification is high, so recognition efficiency and accuracy are higher during drawing segmentation;Meanwhile axis symbol is in every figure Edge placement, define the coordinate range of every figure whereby, it is simple and effective so that segmentation efficiency is higher higher with accuracy; In addition, axis symbol can also be used to judge axis and marking line, building element is judged by axis, is provided with subsequent overmolded It is convenient.
Further, the step S1 specifically: identify circle all in two-dimentional drawing, judge it is described it is round it is interior whether There are English character or Arabic characters, and if it exists, the circle comprising English character or Arabic character is then determined as axis symbol.
Wherein, the main composition of axis symbol includes round and number.When axis symbol, which is used to, indicates that transverse plane positions cabling, i.e., Arabic characters are waited including 1,2,3 ... in inside for lateral shaft symbol, lateral shaft symbol, when axis symbol is used to indicate that fore-and-aft plane positioning is walked When line, as longitudinal axis is accorded with, and the inside of longitudinal axis symbol includes that A, B, C ... wait capitalization English character.
As can be seen from the above description, judging that axis accords with, and can rapidly and effectively determine all axis by round and number Symbol.
Further, the step S2 specifically:
S21, all axis are identified according to axis symbol, if executing step according to the unidentified axis out of axis symbol Rapid S22;
S22, all marking lines are identified according to axis symbol, axis is generated according to the marking line;
S23, the axis with overlapping relation is formed into an axis net, determines the coordinate range of each axis net;
S24, the coordinate range of each axis net is expanded into the first numerical value outward, to obtain the coordinate range of every figure, institute Stating the first numerical value is any value in [500 millimeters, 3000 millimeters].
Wherein, in the two-dimentional drawing of architectural engineering, axis primarily serves the effect of positioning.For structure chart, base All there is axis in the drawing in sheet;For architectural drawing, axis is all not present in drawing substantially.
As can be seen from the above description, after determining axis symbol, in order to further identify building element and more clearly define The coordinate range of every figure needs to identify the axis in figure, and for the figure for having axis, axis is identified by axis symbol i.e. Can, and for the figure of not axis, above-mentioned technical proposal generates axis by marking line, to be conducive to subsequent structure Part identifies and more clearly defines the coordinate range of every figure.
Further, all axis are identified according to axis symbol in the step S21 specifically:
S211, each axis symbol using itself as the center of circle, with (0,1000 millimeter] in any value be radius, referred to Lead screens range, and all line segments intersected with index wire screening range are put into index wire set to be confirmed;
S212, a line segment is selected from the index wire set to be confirmed as the first line segment, judges first line segment It whether is unique one line segment intersected with corresponding first axle symbol, if so, first line segment is that first axle accords with index wire, Otherwise continue to select a line segment from index wire set to be confirmed and be judged, until obtaining first axle symbol index wire;
S213, from the index wire set to be confirmed, index wire will be accorded with the first axle and be in same figure layer and extremely It is few to accord with index wire labeled as axis in the parallel all line segments of any line segment of same figure layer;
S214, in the index wire set to be confirmed with the first axle symbol index wire be not at same figure layer or with institute Not parallel other line segments of all line segments for stating index wire set to be confirmed successively execute step S212 and step S213, until All line segments of the index wire set to be confirmed judge to finish, and obtain axis symbol index wire set;
S215, the line segment conllinear with any axis symbol index wire in axis symbol index wire set is labeled as axis.
Wherein, axis symbol index wire is the line that axis symbol is extended for indicating axis, and under normal circumstances, axis symbol is accorded with axis Index wire is directly connected to, but there is also be not directly connected between the two.
As can be seen from the above description, axis symbol needs to expand certain range to screen shaft symbol index wire, to avoid omission;It is right Intersection line segment therein is judged that Rule of judgment is that figure layer adds structure, it is ensured that it belongs to axis symbol index wire;Pass through Wherein one intersection line segment is judged, then other line segments are directly determined by same figure layer and parallel relation, so as to Improve recognition efficiency;And and be marked as axis symbol index wire be not at same figure layer or other phases not parallel with all line segments Intersection section is then judged, to avoid omitting.
Further, the step S22 specifically:
S221, each axis symbol using itself as the center of circle, with (0,1000 millimeter] in any value be radius, marked It infuses line and screens range, will intersect with marking line screening range and there is Arabic character on the vertical two sides of line segment direction All line segments be labeled as marking line, obtain marking line set, and record marking line and axis symbol corresponding relationship;
S222, longest first marking line of length is found out from the corresponding marking line of each axis symbol, from all the Longest second marking line of length is found out in one marking line, and the identical axis symbol of first marking line is connected in series, is obtained Line is accorded with to same row's axis;
S223, vertical point will be accorded in the first marking line with respective shaft as starting point, accords with place towards with respective shaft Extend auxiliary segment with the perpendicular and direction far from respective shaft symbol in the direction of row's axis symbol line, the auxiliary segment encounter from Termination when other auxiliary segments extended in other first marking lines, and the length of the auxiliary segment is less than or equal to the second mark Line.
Wherein, respective shaft symbol refers to the corresponding relationship accorded with from the step S221 marking line just recorded and axis, i.e., for each For a first marking line, respective shaft symbol may be it is multiple, multiple respective shafts symbol requires to extend auxiliary segment.While length is most The first long marking line is that the axis symbol accorded on line in head and the tail both ends with row's axis is attached, i.e., with all axis on row's axis symbol line Symbol requires to extend auxiliary segment along vertical with the first marking line and far from oneself direction, at this point, auxiliary segment is exactly The line segment extended from each axis symbol, as axis.
As can be seen from the above description, axis is determined by marking line, it is all to guarantee by the longest marking line of length Axis symbol can be extended out axis corresponding with oneself, to can also generate axis by marking line on the figure of no axis Line, to form axis net;The length for limiting auxiliary segment, extends in other figures to avoid auxiliary segment.
Further, the step S24 specifically:
Maximum abscissa the first numerical value of increase of each axis net is to obtain upper limit abscissa, each described axis net Minimum abscissa subtract the first numerical value to obtain lower limit abscissa, the maximum ordinate of each axis net increases by the first number Value is to obtain upper limit ordinate;The minimum ordinate of each axis net subtracts the first numerical value to obtain lower limit ordinate, often The coordinate range for opening figure includes upper limit abscissa, lower limit abscissa, upper limit ordinate and the lower limit ordinate of corresponding axis net.
As can be seen from the above description, expanding a certain range by axis net to define the coordinate range of figure, it is partitioned into guarantee The integrality of every figure.
Further, after the step S2 further include:
S3, all texts are filtered out in the coordinate range of every figure, judge whether the lower section of the text is provided with one To two lines and whether include preset kind title, a word marking to two lines and comprising preset kind title will be provided with For the map title, and record the coordinate range of every figure and the corresponding relationship of the map title.
Wherein, preset kind title such as floor information and building element information etc..
As can be seen from the above description, being judged by preset kind title and one to the two features of two lines, record is every The coordinate range of figure and the corresponding relationship of the map title are opened, in order to subsequent modeling.
Further, after the step S3 further include:
S4, extract floor information from the map title, by the coordinate range of every figure, the map title, floor information and including The element type of axis symbol, which is imported into tree control and XML, to be stored and is shown.
As can be seen from the above description, drawing segmentation of the invention refers to the coordinate range that every figure has been determined on software and right One whole Zhang Erwei drawing is divided into independent figure by the information answered on software, and these figures are further through the map title, floor information And the information such as axis symbol are corresponded to each other, in order to subsequent modeling.
As shown in figure 3, a kind of electronic equipment, including memory, processor and it is stored on the memory and can be The computer program run on processor, the processor realize a kind of above-mentioned drawing segmentation side when executing the computer program The step of method.
As can be seen from the above description, the beneficial effects of the present invention are: by identifying the axis symbol in two-dimentional drawing, accorded with according to axis The coordinate range of every figure is determined, to realize the automatic segmentation of drawing;Since axis accords with for other opposite lines, feature Obviously, identification is high, so recognition efficiency and accuracy are higher during drawing segmentation;Meanwhile axis symbol is in every figure Edge placement, define the coordinate range of every figure whereby, it is simple and effective so that segmentation efficiency is higher higher with accuracy; In addition, axis symbol can also be used to judge axis and marking line, building element is judged by axis, is provided with subsequent overmolded It is convenient.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of a kind of above-mentioned drawing dividing method is realized when row.
As can be seen from the above description, the beneficial effects of the present invention are: by identifying the axis symbol in two-dimentional drawing, accorded with according to axis The coordinate range of every figure is determined, to realize the automatic segmentation of drawing;Since axis accords with for other opposite lines, feature Obviously, identification is high, so recognition efficiency and accuracy are higher during drawing segmentation;Meanwhile axis symbol is in every figure Edge placement, define the coordinate range of every figure whereby, it is simple and effective so that segmentation efficiency is higher higher with accuracy; In addition, axis symbol can also be used to judge axis and marking line, building element is judged by axis, is provided with subsequent overmolded It is convenient.
Please refer to Fig. 1 and Fig. 2, the embodiment of the present invention one are as follows:
A kind of drawing dividing method, comprising steps of
S1, identify that the axis in two-dimentional drawing accords with 4;
S2, the coordinate range that every figure is determined according to axis symbol 4.
Please refer to Fig. 1 and Fig. 2, the embodiment of the present invention two are as follows:
A kind of drawing dividing method, on the basis of the above embodiment 1, step S1 specifically: identify institute in two-dimentional drawing Some circles judge in circle with the presence or absence of English character or Arabic character, and if it exists, then will comprising English character or I The circle of primary character is determined as axis symbol 4.
As shown in Fig. 2, respectively including 1-1,1-15,1-A and 1-E in circle, wherein 1 and 15 be Arabic character, A It is English character with E, then can determines that round plus 1-1, round plus 1-15, round plus 1-A and round plus 1-E pel are axis Symbol 4.
Please refer to Fig. 1 and Fig. 2, the embodiment of the present invention three are as follows:
A kind of drawing dividing method, on the basis of the above embodiment 1, step S2 specifically:
S21, all axis 5 are identified according to axis symbol 4, if thening follow the steps according to the unidentified axis 5 out of axis symbol 4 S22;
S22, all marking lines 6 are identified according to axis symbol 4, axis 5 is generated according to marking line 6;
S23, the axis 5 with overlapping relation is formed into an axis net, the coordinate range of each axis net is determined, in this reality It applies in example, as shown in Fig. 2, if axis 5 will not intersect not in same figure, so can determine with overlapping relation Axis 5 is scheduled on same figure;
S24, the coordinate range of each axis net is expanded into the first numerical value outward, to obtain the coordinate range of every figure, the One numerical value is any value in [500 millimeters, 3000 millimeters].
It should be noted that in actual architectural drawing, due to that can be carried out by features such as figure layer and colors Different line segments are distinguished, and in the present embodiment, for ease of description, the axis symbol index wire 7 in Fig. 2 is just arranged to dotted line;Separately Outside, two lines section collinearly refers to that two lines section is located on the same line.
Wherein, all axis 5 are identified according to axis symbol 4 in step S21 specifically:
S211, each axis symbol 4 using itself as the center of circle, with (0,1000 millimeter] in any value for radius, obtain Index wire screens range, and all line segments intersected with index wire screening range are put into index wire set to be confirmed;
S212, a line segment is selected from index wire set to be confirmed as the first line segment, judges whether the first line segment is only One by one item and corresponding first axle symbol intersection line segment, if so, the first line segment be first axle accord with index wire, otherwise continue to It selects a line segment in confirmation index wire set to be judged, until obtaining first axle symbol index wire;
S213, from index wire set to be confirmed, will with first axle accord with index wire be in same figure layer and at least be in The parallel all line segments of any line segment of same figure layer accord with index wire 7 labeled as axis;
S214, in index wire set to be confirmed with first axle symbol index wire be not at same figure layer or with guide to be confirmed Other not parallel line segments of all line segments of line set successively execute step S212 and step S213, until index wire to be confirmed All line segments of set judge to finish, and obtain axis symbol index wire set;
S215, the line segment conllinear with any axis symbol index wire 7 in axis symbol index wire set is labeled as axis 5, such as Fig. 2 institute Show, in the present embodiment, axis symbol index wire 7 is used to connect axis 5 and axis symbol 4.
Wherein, step S22 specifically:
S221, each axis symbol 4 using itself as the center of circle, with (0,1000 millimeter] in any value for radius, obtain Marking line screens range, will intersect with marking line screening range and has Arabic character on the vertical two sides of line segment direction All line segments are labeled as marking line 6, obtain marking line set, and record the corresponding relationship of marking line 6 and axis symbol 4;In this implementation In example, as shown in Fig. 2, the marking line 6 that distance is X1 is respectively 1-1 with number, the axis symbol 4 that number is 1-15 has corresponding close System, the axis symbol 4 that the marking line 6 that distance is Y1 is respectively 1-E with number, number is 1-A have corresponding relationship;
S222, longest first marking line of length is found out in marking line 6 corresponding to each axis symbol 4, from all Longest second marking line of length is found out in first marking line, and the identical axis symbol 4 of the first marking line is connected in series, is obtained Line is accorded with row's axis;
S223,4 vertical points will be accorded in the first marking line with respective shaft as starting point, will be accorded with where 4 towards with respective shaft The direction perpendicular and far from respective shaft symbol 4 in direction of same row's axis symbol line extend auxiliary segment, auxiliary segment encounter from Termination when other auxiliary segments extended in other first marking lines, and the length of auxiliary segment is less than or equal to the second marking line.
Wherein, step S24 specifically:
The maximum abscissa of each axis net increases by the first numerical value to obtain upper limit abscissa, and the minimum of each axis net is horizontal Coordinate subtracts the first numerical value to obtain lower limit abscissa, and the maximum ordinate of each axis net increases by the first numerical value to obtain the upper limit Ordinate;The minimum ordinate of each axis net subtracts the first numerical value to obtain lower limit ordinate, the coordinate range packet of every figure Include upper limit abscissa, lower limit abscissa, upper limit ordinate and the lower limit ordinate of corresponding axis net.
Please refer to Fig. 1 and Fig. 2, the embodiment of the present invention four are as follows:
A kind of drawing dividing method, on the basis of the above embodiment 1, after step S2 further include:
S3, all texts are filtered out in the coordinate range of every figure, judge whether the lower section of text is provided with one to two Bar line and whether include preset kind title will be provided with one to two lines and be figure comprising the word marking of preset kind title Name 8, and record the coordinate range of every figure and the corresponding relationship of the map title 8;
S4, floor information is extracted from the map title, by the coordinate range of every figure, the map title, floor information and including axis accord with Element type imported into tree control and XML and stored and shown.
In the present embodiment, as shown in Fig. 2, the map title of first figure is five-ten three layers of flat method construction drawing of column, wherein five- 13 layers are floor information, and column is preset kind title, and the map title of first figure is expressed as the column of layer 5 to the 13rd layer Body figure.
Referring to figure 3., the embodiment of the present invention five are as follows:
A kind of electronic equipment 1, including memory 3, processor 2 and be stored on memory 3 and can be transported on processor 2 Capable computer program, processor 2 realize a kind of drawing segmentation side any in embodiment one to four when executing computer program The step of method.
The present invention is embodiment six are as follows:
A kind of computer readable storage medium is stored thereon with computer program, when computer program is executed by processor The step of realizing a kind of drawing dividing method any in embodiment one to four.
In conclusion a kind of drawing dividing method, electronic equipment and storage medium provided by the invention, pass through identification two The axis symbol in drawing is tieed up, axis and marking line are determined by axis symbol, axis is generated by marking line in the case where no axis Line, to form independent axis net one by one, each independent axis net just represents each and every one each independent figure, to realize The automatic segmentation of drawing.Wherein, for the identification of axis symbol, identify axis and marking line by axis symbol, feature is obvious, distinguishes Knowledge and magnanimity are high, so as to effectively improving recognition efficiency and accuracy;Meanwhile axis symbol is in the edge placement of every figure, axis covers The middle position for having covered every figure determines the coordinate range of every figure by this axis net expanded scope, simple and effective, makes score It is higher higher with accuracy to cut efficiency;In addition, axis can be used to judge building element, provide convenience for subsequent overmolded, I.e. it is more accurate and be convenient for the technical solution of subsequent overmolded to provide a kind of more efficient, segmentation effect by the present invention.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include In scope of patent protection of the invention.

Claims (10)

1. a kind of drawing dividing method, which is characterized in that comprising steps of
S1, identify that the axis in two-dimentional drawing accords with;
S2, the coordinate range for determining every figure is accorded with according to the axis.
2. a kind of drawing dividing method according to claim 1, which is characterized in that the step S1 specifically: identification two Circle all in drawing is tieed up, is judged described round interior with the presence or absence of English character or Arabic character, and if it exists, then will include The circle of English character or Arabic character is determined as axis symbol.
3. a kind of drawing dividing method according to claim 1, which is characterized in that the step S2 specifically:
S21, all axis are identified according to axis symbol, if thening follow the steps according to the unidentified axis out of axis symbol S22;
S22, all marking lines are identified according to axis symbol, axis is generated according to the marking line;
S23, the axis with overlapping relation is formed into an axis net, determines the coordinate range of each axis net;
S24, the coordinate range of each axis net is expanded into the first numerical value outward, to obtain the coordinate range of every figure, described One numerical value is any value in [500 millimeters, 3000 millimeters].
4. a kind of drawing dividing method according to claim 3, which is characterized in that according to the axis in the step S21 Symbol identifies all axis specifically:
S211, each axis symbol using itself as the center of circle, with (0,1000 millimeter] in any value be radius, obtain index wire Range is screened, all line segments intersected with index wire screening range are put into index wire set to be confirmed;
S212, a line segment is selected from the index wire set to be confirmed as the first line segment, whether judges first line segment It is the line segment of unique one and the symbol intersection of corresponding first axle, if so, first line segment is that first axle accords with index wire, otherwise Continuation is selected a line segment from index wire set to be confirmed and is judged, until obtaining first axle symbol index wire;
S213, from the index wire set to be confirmed, will with the first axle accord with index wire be in same figure layer and at least with The parallel all line segments of any line segment in same figure layer accord with index wire labeled as axis;
S214, in the index wire set to be confirmed with the first axle symbol index wire be not at same figure layer or with it is described to Confirm that other not parallel line segments of all line segments of index wire set successively execute step S212 and step S213, until described All line segments of index wire set to be confirmed judge to finish, and obtain axis symbol index wire set;
S215, the line segment conllinear with any axis symbol index wire in axis symbol index wire set is labeled as axis.
5. a kind of drawing dividing method according to claim 3, which is characterized in that the step S22 specifically:
S221, each axis symbol using itself as the center of circle, with (0,1000 millimeter] in any value be radius, obtain marking line Range is screened, will be intersected and on the vertical two sides of line segment direction with marking line screening range with the institute of Arabic character Wired segment mark is denoted as marking line, obtains marking line set, and records the corresponding relationship of marking line and axis symbol;
S222, longest first marking line of length is found out from the corresponding marking line of each axis symbol, from the first all marks Longest second marking line of length is found out in note line, the identical axis symbol of first marking line is connected in series, is obtained same It arranges axis and accords with line;
S223, same row of the vertical point as starting point, towards where with respective shaft symbol will be accorded in the first marking line with respective shaft Auxiliary segment is extended in the perpendicular and direction far from respective shaft symbol in the direction of axis symbol line, and the auxiliary segment is being encountered from other Termination when other auxiliary segments extended in the first marking line, and the length of the auxiliary segment is less than or equal to the second marking line.
6. a kind of drawing dividing method according to claim 3, which is characterized in that the step S24 specifically:
The maximum abscissa of each axis net increases by the first numerical value to obtain upper limit abscissa, each described axis net is most Small abscissa subtracts the first numerical value to obtain lower limit abscissa, the maximum ordinate of each axis net increase the first numerical value with Obtain upper limit ordinate;The minimum ordinate of each axis net subtracts the first numerical value to obtain lower limit ordinate, every figure Coordinate range include corresponding axis net upper limit abscissa, lower limit abscissa, upper limit ordinate and lower limit ordinate.
7. a kind of drawing dividing method according to claim 1, which is characterized in that after the step S2 further include:
S3, all texts are filtered out in the coordinate range of every figure, judge whether the lower section of the text is provided with one to two Bar line and whether include preset kind title will be provided with one to two lines and be figure comprising the word marking of preset kind title Name, and record the coordinate range of every figure and the corresponding relationship of the map title.
8. a kind of drawing dividing method according to claim 7, which is characterized in that after the step S3 further include:
S4, extract floor information from the map title, by the coordinate range of every figure, the map title, floor information and including axis accord with Element type imported into tree control and XML and stored and shown.
9. a kind of electronic equipment, including memory, processor and it is stored on the memory and can runs on a processor Computer program, it is characterised in that: the processor is realized when executing the computer program as any in claim 1-8 A kind of the step of item drawing dividing method.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program It is realized when being executed by processor as described in any one of claim 1-8 the step of a kind of drawing dividing method.
CN201811608028.8A 2018-12-27 2018-12-27 Drawing segmentation method, electronic device and storage medium Active CN109658415B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811608028.8A CN109658415B (en) 2018-12-27 2018-12-27 Drawing segmentation method, electronic device and storage medium
CN202010781312.6A CN112037224B (en) 2018-12-27 2018-12-27 Method for generating axis according to marking line, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811608028.8A CN109658415B (en) 2018-12-27 2018-12-27 Drawing segmentation method, electronic device and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202010781312.6A Division CN112037224B (en) 2018-12-27 2018-12-27 Method for generating axis according to marking line, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109658415A true CN109658415A (en) 2019-04-19
CN109658415B CN109658415B (en) 2020-07-07

Family

ID=66117069

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201811608028.8A Active CN109658415B (en) 2018-12-27 2018-12-27 Drawing segmentation method, electronic device and storage medium
CN202010781312.6A Active CN112037224B (en) 2018-12-27 2018-12-27 Method for generating axis according to marking line, electronic equipment and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010781312.6A Active CN112037224B (en) 2018-12-27 2018-12-27 Method for generating axis according to marking line, electronic equipment and storage medium

Country Status (1)

Country Link
CN (2) CN109658415B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116189194A (en) * 2023-04-27 2023-05-30 北京中昌工程咨询有限公司 Drawing enhancement segmentation method for engineering modeling

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115329420B (en) * 2022-07-18 2023-10-20 北京五八信息技术有限公司 Marking generation method and device, terminal equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446999A (en) * 2008-12-24 2009-06-03 南京大学 Automatic checking method for dimension line marking error in engineering drawing
CN101673410A (en) * 2008-09-12 2010-03-17 中国科学院计算技术研究所 Vector building drawing based method for reconstructing three-dimensional model
CN102750553A (en) * 2012-06-28 2012-10-24 北京中科广视科技有限公司 Recognizing method of wall plane profile
US20130103361A1 (en) * 2011-10-20 2013-04-25 Hon Hai Precision Industry Co., Ltd. Computing device, storage medium and method for processing dimension numbers using the computing device
CN103150751A (en) * 2013-01-10 2013-06-12 江苏易图地理信息工程有限公司 Three-dimensional modeling method for achieving building inside and outside integration in digital map
CN106372292A (en) * 2016-08-29 2017-02-01 浙江大学城市学院 Calculation method for building settlement caused by shield tunnel construction
CN107045526A (en) * 2016-12-30 2017-08-15 许昌学院 A kind of pattern recognition method of electronics architectural working drawing
CN108197348A (en) * 2017-12-11 2018-06-22 杭州品茗安控信息技术股份有限公司 Surface member error correction processing method and processing device in a kind of architectural engineering
CN108596066A (en) * 2018-04-13 2018-09-28 武汉大学 A kind of character identifying method based on convolutional neural networks
CN108648194A (en) * 2018-04-23 2018-10-12 清华大学 Based on the segmentation of CAD model Three-dimensional target recognition and pose measuring method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4068596B2 (en) * 2003-06-27 2008-03-26 株式会社東芝 Graphic processing method, graphic processing apparatus, and computer-readable graphic processing program
JP4771807B2 (en) * 2005-12-27 2011-09-14 富士通株式会社 Computer-aided design apparatus, program and method thereof
CN100476350C (en) * 2007-10-17 2009-04-08 南京大学 Automatic positioning method for global coordinate system under multiple-association engineering chart environment
CN104680578A (en) * 2015-02-13 2015-06-03 上海同筑信息科技有限公司 BIM-based axis labeling method and system
CN107145655B (en) * 2017-04-25 2020-12-08 南京南瑞集团公司 Method for establishing power grid equipment vector primitive symbolic model containing topological information
CN108268743B (en) * 2018-02-09 2021-02-02 广州大学 Well automatic identification method and system based on building drawings

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673410A (en) * 2008-09-12 2010-03-17 中国科学院计算技术研究所 Vector building drawing based method for reconstructing three-dimensional model
CN101446999A (en) * 2008-12-24 2009-06-03 南京大学 Automatic checking method for dimension line marking error in engineering drawing
US20130103361A1 (en) * 2011-10-20 2013-04-25 Hon Hai Precision Industry Co., Ltd. Computing device, storage medium and method for processing dimension numbers using the computing device
CN102750553A (en) * 2012-06-28 2012-10-24 北京中科广视科技有限公司 Recognizing method of wall plane profile
CN103150751A (en) * 2013-01-10 2013-06-12 江苏易图地理信息工程有限公司 Three-dimensional modeling method for achieving building inside and outside integration in digital map
CN106372292A (en) * 2016-08-29 2017-02-01 浙江大学城市学院 Calculation method for building settlement caused by shield tunnel construction
CN107045526A (en) * 2016-12-30 2017-08-15 许昌学院 A kind of pattern recognition method of electronics architectural working drawing
CN108197348A (en) * 2017-12-11 2018-06-22 杭州品茗安控信息技术股份有限公司 Surface member error correction processing method and processing device in a kind of architectural engineering
CN108596066A (en) * 2018-04-13 2018-09-28 武汉大学 A kind of character identifying method based on convolutional neural networks
CN108648194A (en) * 2018-04-23 2018-10-12 清华大学 Based on the segmentation of CAD model Three-dimensional target recognition and pose measuring method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马成 等: "基于工程基于CAD图纸的BIM模型轴网生成方法研究", 《土木建筑工程信息技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116189194A (en) * 2023-04-27 2023-05-30 北京中昌工程咨询有限公司 Drawing enhancement segmentation method for engineering modeling

Also Published As

Publication number Publication date
CN112037224B (en) 2024-03-22
CN109658415B (en) 2020-07-07
CN112037224A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN100458780C (en) Layout processing method, layout processing apparatus, and layout processing program
US7246306B2 (en) Web information presentation structure for web page authoring
CN111046784A (en) Document layout analysis and identification method and device, electronic equipment and storage medium
CN108470021A (en) The localization method and device of table in PDF document
CN101901494B (en) Method and system for automatically realizing map lettering
EP1732012B1 (en) Method of identifying redundant text in an electronic document
US11288845B2 (en) Information processing apparatus for coloring an image, an information processing program for coloring an image, and an information processing method for coloring an image
CN109658415A (en) A kind of drawing dividing method, electronic equipment and storage medium
CN106021718A (en) Drawing method and device used for engineering drawing in CATIA (Computer-graphics Aided Three-dimensional Interactive Application)
CN109754460A (en) A kind of automatic overmolded method, electronic equipment and storage medium
CN111460927A (en) Method for extracting structured information of house property certificate image
CN108228998A (en) Computer based on WEB acts improperly design system
CN108399288B (en) Device for automatically adding decorative elements in planar design
CN110413962A (en) Rimless form analysis technology in file and picture
CN113989585A (en) Medium-thickness plate surface defect detection method based on multi-feature fusion semantic segmentation
Burget Layout based information extraction from html documents
Jia et al. Logo design process and method of intellectual property big data in the digital media era
CN111079742A (en) Method for accurately positioning text block of text area image in scanning test paper
CN112084103A (en) Interface test method, device, equipment and medium
CN114139701A (en) Neural network model training method for boundary line extraction and related equipment
CN113901540A (en) Door and window surface building drawing type and door and window automatic identification method
CN102938156B (en) Planar note configuration method based on integral images
CN107229687A (en) A kind of batch is converted to dft file the system and method for DWG file
CN109800478B (en) Method for identifying signal machine in railway drawing
CN110852229A (en) Method, device and equipment for determining position of text area in image and storage medium

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: The invention relates to a drawing division method, an electronic device and a storage medium

Effective date of registration: 20210128

Granted publication date: 20200707

Pledgee: China Merchants Bank Co.,Ltd. Fuzhou branch

Pledgor: FUJIAN CHENXI INFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2021350000019

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Floor 6, building 1, G area, Fuzhou Software Park, 89 software Avenue, Gulou District, Fuzhou City, Fujian Province 350000

Patentee after: Fujian Chenxi Information Technology Group Co.,Ltd.

Address before: Floor 6, building 1, G area, Fuzhou Software Park, 89 software Avenue, Gulou District, Fuzhou City, Fujian Province 350000

Patentee before: FUJIAN CHENXI INFORMATION TECHNOLOGY Co.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220311

Granted publication date: 20200707

Pledgee: China Merchants Bank Co.,Ltd. Fuzhou branch

Pledgor: FUJIAN CHENXI INFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2021350000019