CN105138793A - Rapid distribution line drawing method - Google Patents

Rapid distribution line drawing method Download PDF

Info

Publication number
CN105138793A
CN105138793A CN201510575034.8A CN201510575034A CN105138793A CN 105138793 A CN105138793 A CN 105138793A CN 201510575034 A CN201510575034 A CN 201510575034A CN 105138793 A CN105138793 A CN 105138793A
Authority
CN
China
Prior art keywords
point
metafile
angle
parameter
intelligent interface
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
CN201510575034.8A
Other languages
Chinese (zh)
Other versions
CN105138793B (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.)
Net Qingyun County Shandong Electric Co Of State
State Grid Corp of China SGCC
Original Assignee
Net Qingyun County Shandong Electric Co Of State
State Grid Corp of China SGCC
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 Net Qingyun County Shandong Electric Co Of State, State Grid Corp of China SGCC filed Critical Net Qingyun County Shandong Electric Co Of State
Priority to CN201510575034.8A priority Critical patent/CN105138793B/en
Publication of CN105138793A publication Critical patent/CN105138793A/en
Application granted granted Critical
Publication of CN105138793B publication Critical patent/CN105138793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the technical field of power distribution networks, in particular to a rapid distribution line drawing method. The method includes the steps of S1, establishing a component document library, a parameter document and a layer initiating document; S2, calling the component document library, reading a component link list generated through component documents in the component document library, calling the parameter document, reading parameter information, containing an intelligent comparison table, of the parameter document, calling the layer initiating document, and loading layer information of the layer initiating document onto a corresponding layer generated in CAD; S3, calling the component documents of an entity object according to the component link list, instantiating the component documents into component symbols, inserting the component symbols into the corresponding layer in the CAD, starting a preset intelligent interface in drawing, and inserting pole and tower appurtenance between the component symbols in reference to the intelligent comparison table. By setting the intelligent interface, the pole and tower appurtenance is automatically generated in the drawing process, and the power distribution network drawing efficiency is improved.

Description

A kind of distribution network line QuickDraw method
Technical field
The present invention relates to distribution network technology field, particularly relate to a kind of distribution network line QuickDraw method.
Background technology
Power distribution network refers to from power transmission network and accepts electric energy and after being assigned to distribution substation, by the network of distribution line to customer power supply.The mains voltage grade of China's distribution network line is 10kV and 0.4kV.Wherein, it is various to relate to that T connects branched line, double circuit line, high-low pressure joint uses the patterns such as circuit.So distribution network line design is complicated, diversity is strong.Different regions standard is different, and landform distinct methods is different.
But the drafting mode of existing power distribution network software support is single, can not the drafting of simultaneously compatible various ways, as, order is drawn, decile is equidistantly drawn and coordinate imports and draws, and cause when drawing distribution network line, working method is inflexible, inefficiency and poor compatibility.Trace it to its cause and be: order is drawn and is applicable to bar one design, the Distribution system design that difficulty is suitable for long transmission line is drawn, and decile equidistantly draws lucky head it off.Meanwhile, can adopt the survey data of GPS device, import to draw by coordinate and improve drawing quality and efficiency, three is combined with each other and just can raises the efficiency.Its inefficient reason is also, automatically can not insert supporting shaft tower adjunct according to the corresponding conditions (as angle) in drawing process.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of distribution network line QuickDraw method, solves distribution network line in prior art and draw inefficient problem.
For achieving the above object and other relevant objects, the invention provides a kind of distribution network line QuickDraw method, comprising:
S1, sets up metafile storehouse, sets up parameter document, sets up layer initialization document;
S2, call described metafile storehouse, read the pel linked list that in described metafile storehouse, metafile generates, call described parameter document, read the parameter information of described parameter document, wherein said parameter information comprises the intelligent table of comparisons, calls described layer initialization document, and the map data mining platform loading described layer initialization document generates corresponding layer in CAD;
S3, the metafile of corresponding entity object is called according to described pel linked list, described metafile being instantiated as figure metasymbol inserts in the corresponding layer of CAD, and in drafting, start the intelligent interface pre-set, between described figure metasymbol, shaft tower adjunct is inserted with reference to the described intelligent table of comparisons, wherein, described entity object comprises shaft tower, shaft tower adjunct and wire;
S4, based on described entity object, mark engineering information;
S5, according to the zooming parameter received, adjusts the scaling of described metafile, mark word and label symbol.
Preferably, in described step S1, specifically comprise:
Described metafile storehouse comprises shaft tower and the metafile corresponding to shaft tower adjunct;
Described layer initialization document comprises pel layer, bar number mark layer, wire size mark layer, annotation layer and wire layer, and the layer of every type is suitable for storing corresponding metafile, mark word, label symbol and wire;
Described parameter document comprises word height parameter, comprises figure metasymbol and inserts size parameter; Described parameter document also comprises ultimate range wire parameter and the intelligent table of comparisons.
Preferably, the described intelligent table of comparisons specifically comprises pel chained list, bar head correspondence table correspondingly with bracing wire is shown, the corresponding relation that described pel chained list is terminal, corner, strain insulator, straight line reinforcement, bracing wire, T connect metafile in symbol and described metafile storehouse; The corresponding table of described bar head is angular range and the corresponding relation adding which kind of bar head, wherein, is added to straight line reinforcement, strain insulator and corner from large to small successively according to angle; Described bracing wire correspondence table is angular range and the corresponding relation adding bracing wire quantity, wherein, is added to 1 bracing wire, 2 from large to small successively bracing wire, 1 bracing wire according to angle.
Preferably, described intelligent interface comprises the first intelligent interface, the second intelligent interface, the 3rd intelligent interface, the 4th intelligent interface, the 5th intelligent interface and the 6th intelligent interface, is specially:
Described first intelligent interface,
Step S3.1.1, is 1 by benefit bar parameter C1 set, exits the first intelligent interface, return information;
Described second intelligent interface,
Step S3.2.1, judges whether buffer Pc exists, and when there is buffer Pc, then entering described 3rd intelligent interface, when there is not buffer Pc, entering next step;
Step S3.2.2, according to the vector point Pa point of drafting and the coordinate of Pb point, calculating rod head inserts angle A and angle B is inserted in bracing wire;
Step S3.2.3, judges whether described benefit bar parameter C1 exists, if when there is benefit bar parameter C1, then inserts terminal pole head symbol, if there is no during bar parameter C1, then insert terminal T and connect symbol, wherein, described bar head symbol or described T connect symbol, and its insertion point is pa point, and insertion angle is A;
Step S3.2.4, at vector point pa point with angle B, inserts bracing wire figure metasymbol;
Step S3.2.5, gives buffer Pc, until exit the second intelligent interface, return information by the value of vector point Pa point;
Described 3rd intelligent interface,
Step S3.3.1, calculates the angle C between line segment Pa-Pc and line segment Pa-Pb;
Step S3.3.2, mates angle C in the described intelligent table of comparisons, if angle C is in angular range, then selects the metafile needing to insert according to the angle value of angle C;
Step S3.3.3, calculates the medium line of line segment Pa-Pc and line segment Pa-Pb, relative to the angle D of plot space;
Step S3.3.4, will select backstage pel instantiation, be inserted into pa point according to angle D;
Step S3.3.5, mates angle C in the described intelligent table of comparisons, if angle C is in angular range, then adds bracing wire quantity and inserts bracing wire metafile;
Step S3.3.5.1, when interpolation 1 is bracing wire, by described 1 metafile instantiation corresponding for bracing wire, generates corresponding figure metasymbol, according to the reverse direction of angle D, described figure metasymbol is inserted to pa point;
Step S3.3.5.2, when interpolation 2 is bracing wire, by described 2 metafile instantiation corresponding for bracing wire, generating corresponding figure metasymbol, is angle in the opposite direction of the medium line of line segment Pa-Pc and line segment Pa-Pb, inserts Pa point;
Step S3.3.5.3, resets buffer pc, makes its value equal a pa, exit the 3rd intelligent interface;
Described 4th intelligent interface,
Step S3.4.1, calculates line segment Pb-Pa angle E in a coordinate system, according to angle E, at Pb place, inserts terminal symbol;
Step S3.4.2, according to the opposite direction of angle E, at Pb place, inserts bracing wire symbol;
Step S3.4.3, empties buffer Pc, exits the 4th intelligent interface, and return information;
Described 5th intelligent interface,
Step S3.5.1 calculates line segment pc-pa angle F in a coordinate system, according to angle F, at pa place, inserts terminal symbol;
Step S3.5.2, according to the opposite direction of angle F, at Pa place, inserts symbol of leaving behind;
Step S3.5.3, empties buffer Pc, exits the 5th intelligent interface, and return information.
Described 6th intelligent interface,
Give buffer Pc by the value of vector point Pa point, exit the 6th interface, return information;
Preferably, the drafting mode of described generation drafting figure comprises order drafting, coordinate imports drafting and decile is equidistantly drawn, and wherein, described order is plotted as draws according to bar one line of graphical pointv order or backward; Described coordinate imports to be plotted as and obtains planimetric coordinates point according to GPS, reads coordinate points successively and draws; Described decile is equidistantly plotted as the quantity such as circuit is divided into or equidistant some line segments, adds shaft tower pel at described line segment end points.
Preferably, described intelligent interface is embedded in described order and draws and coordinate importing drafting, selects to start corresponding intelligent interface, insert correspondingly shaft tower adjunct according to the scope of bracing wire angle, shaft tower angle in the intelligent table of comparisons in corresponding drawing process.
Preferably, described order is drawn, and is specially:
Step S4.1, draws starting point Pa;
Step S4.2, when starting benefit bar, then adds shaft tower at Pa point, activates the first intelligent interface;
Step S4.3, when drawing lower some Pb point, at Pb point-rendering shaft tower, connects Pa point to the wire of Pb point, activates the second intelligent interface;
Step S4.4, resets starting point pa point, gives pa point, return step S4.3 by the planimetric coordinates value of pb point;
Step S4.5, when receiving drawing the finish command, activates the 4th intelligent interface in Intelligent Drawing;
Step S4.6, exits Graphics Mode.
Preferably, described coordinate imports to be drawn, and is specially:
S5.1, obtain planimetric coordinates point (X, Y) that GPS derives, by planimetric coordinates point (X, Y) for be stored in document successively, assignment N equals 1;
S5.2, reads N number of planimetric coordinates point, by its planimetric coordinates point assignment Pa point, and at the corresponding shaft tower symbol of described Pa point-rendering;
S5.3, reads N+1 planimetric coordinates point, by its planimetric coordinates point assignment Pb point, and at the corresponding shaft tower symbol of described pa point-rendering;
S5.4, judges whether the spacing of Pa point and Pb point is greater than ultimate range wire parameter,
When described distance is greater than ultimate range wire parameter, return step S5.8;
When described distance is not more than ultimate range wire parameter, the wire between link Pa point and Pb point; Activate the 6th intelligent interface, give Pa point by the planimetric coordinates value of Pb point;
S5.5, reads next planimetric coordinates point, by its planimetric coordinates point assignment Pb point, and at the corresponding shaft tower symbol of described pb point-rendering;
S5.6, whether the spacing of the pa point and pb point that rejudge new assignment is greater than ultimate range wire parameter,
When described distance is greater than ultimate range wire parameter, activates the 5th intelligent interface, return step S5.8;
When described distance is not more than ultimate range wire parameter, link the wire between the Pa point of new assignment and Pb point; Activate the 3rd intelligent interface;
S5.7, resets the planimetric coordinates point of Pa point, gives Pa point, and return step S5.5 by the planimetric coordinates point of Pb point;
S5.8, by the planimetric coordinates point assignment of pb point in pa point, gives N by the value of current reading line number, returns step S5.3.
Preferably, the batch also comprising metafile is replaced, the step that described metafile batch is replaced, and is specially:
Obtain the metafile title be replaced, determine to replace metafile title;
According to the replacement region determined, read the title of the metafile in described replacement region one by one, and the ratio of described metafile, position and angle;
To be replaced metafile successively and convert replacement metafile to, and keep original ratio, position and angle, and deletion is replaced metafile.
Preferably, adjust the step of the scaling of the metafile of described drafting figure, mark word and label symbol in described step S5, specifically comprise:
When adjusting described bar word, mark word, line length mark word, obtaining and needing corresponding word in adjustment layer, according to resize ratio size, searching the size of each word, centered by this word, adjust the display specification of each word one by one;
When adjusting described metafile, obtaining and needing corresponding metafile in adjustment layer, according to resize ratio size, searching the size of each metafile, centered by this metafile, adjust the display specification of each metafile one by one.
As mentioned above, distribution network line QuickDraw method of the present invention, has following beneficial effect:
By realizing the pel Fast Drawing of distribution network line and mark fast on the basis of software of CAD; First figure is divided into entity object and markup information two parts, the drafting that order is drawn, decile is equidistantly drawn and coordinate introductory technique method for drafting has come entity object in distribution network line can be used, user friendly random combination; Secondly, when drawing power distribution network, by starting the Intelligent Drawing interface be arranged in drafting mode, realize the appendicular automatic interpolation of shaft tower in power distribution network; Wherein, by embedding intelligent interface, bracing wire, bar head figure metasymbol can automatically be added according to angle; Finally, according to the regulating parameter received and alternative parameter, batch replaces the scaling that pel meets and adjusts the figure metasymbol of described drafting figure, mark word and label symbol, arrives the effect optimized rapidly and draw.
Accompanying drawing explanation
Fig. 1 is shown as the distribution network line QuickDraw method flow diagram that the embodiment of the present invention provides.
The power distribution network order that Fig. 2 is shown as the embodiment of the present invention to be provided draws the process flow diagram embedding intelligent interface.
The distribution network line coordinate that Fig. 3 is shown as the embodiment of the present invention to be provided imports to draw and embeds intelligent interface process flow diagram.
Fig. 4 be shown as intelligence that inventive embodiments provides can in the principle flow chart of the 3rd intelligent interface.
Fig. 5 is shown as the equidistant drawing mode process flow diagram of distribution network line decile that the embodiment of the present invention provides.
Fig. 6 is shown as the embodiment of the present invention and provides the power distribution network figure utilizing method described in Fig. 1 to obtain drafting.
Fig. 7 is shown as the module map of software function interface in embodiment of the present invention power distribution network Intelligent Drawing.
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Embodiment 1
Refer to Fig. 1, a kind of distribution network line QuickDraw method that the present embodiment provides, comprise the following steps:
S1, sets up metafile storehouse, sets up parameter document, sets up layer initialization document;
Wherein, the set of the figure metasymbol of described metafile storehouse corresponding to shaft tower and shaft tower adjunct, comprising various shaft tower symbol file, various bar head symbol file, various guy-line equipment symbol files etc.;
Described parameter document comprises word height parameter, comprises figure metasymbol and inserts size parameter; Described parameter document also comprises ultimate range wire parameter and the intelligent table of comparisons.
Described layer initialization document comprises pel layer, bar number mark layer, wire size mark layer, annotation layer and wire layer, and the layer of every type is suitable for storing corresponding metafile, mark word, label symbol and wire;
S2, call described metafile storehouse, read the pel linked list that in described metafile storehouse, metafile generates, call described parameter document, read the parameter information of described parameter document, wherein said parameter information comprises the intelligent table of comparisons, calls described layer initialization document, and the map data mining platform loading described layer initialization document generates corresponding layer in CAD;
Described pel linked list, be the All Files in scintigram meta file storehouse when initialization, the linking relationship table generated in internal memory, is convenient to during for drawing call backstage pel symbol file.
The described intelligent table of comparisons specifically comprises pel chained list, bar head correspondence table correspondingly with bracing wire is shown, the corresponding relation that described pel chained list is terminal, corner, strain insulator, straight line reinforcement, bracing wire, T connect metafile in symbol and described metafile storehouse; The corresponding table of described bar head is angular range and the corresponding relation adding which kind of bar head, wherein, is added to straight line reinforcement, strain insulator and corner from large to small successively according to angle; Described bracing wire correspondence table is angular range and the corresponding relation adding bracing wire quantity, wherein, is added to 1 bracing wire, 2 from large to small successively bracing wire, 1 bracing wire according to angle.
Described layer, is read the map data mining platform in layer initialization document when initialization, and sets up corresponding layer at plot space, when the object of this layer is drawing, drawing element can better be sorted out management.
S3, the metafile of corresponding entity object is called according to described pel linked list, described metafile being instantiated as figure metasymbol inserts in the corresponding layer of CAD, and in drafting, start the intelligent interface pre-set, between described figure metasymbol, shaft tower adjunct is inserted with reference to the described intelligent table of comparisons, wherein, described entity object comprises shaft tower, shaft tower adjunct and wire;
S4, based on described entity object, generates engineering information mark;
Wherein, with reference to power distribution network notation methods, mark engineering information, described mark comprises bar number mark, wire size mark, legend mark and out of Memory mark, and out of Memory mark is used for engineering information in particular cases, as crossed over river, house etc.
S5, according to the zooming parameter received, adjusts the scaling of described metafile, mark word and label symbol.
Wherein, when adjusting described bar word, mark word, line length mark word, obtaining and needing corresponding word in adjustment layer, according to resize ratio size, searching the size of each word, centered by this word, adjust the display specification of each word one by one;
When adjusting described metafile, obtaining and needing corresponding metafile in adjustment layer, according to resize ratio size, searching the size of each metafile, centered by this metafile, adjust the display specification of each metafile one by one.
In the present embodiment, the bar word in figure, mark word, line length mark word is drawn by adjustment, according to the scaling of the parameters received, the word of correspondence is adjusted one by one, and the adjustment mode in the present embodiment is not the scalable manner of traditional C AD, can't with certain coordinate points of whole drafting figure for reference point, carry out unified convergent-divergent, but for each word, as a reference point with the center of each word, carry out convergent-divergent.Not only more attractive in appearance after adjustment, be convenient to check, conveniently derive printing.
Wherein, described intelligent interface comprises the first intelligent interface, the second intelligent interface, the 3rd intelligent interface, the 4th intelligent interface, the 5th intelligent interface and the 6th intelligent interface, is specially:
Described first intelligent interface,
Step S3.1.1, is 1 by benefit bar parameter C1 set, exits the first intelligent interface, return information;
Described second intelligent interface,
Step S3.2.1, judges whether buffer Pc exists, and when there is buffer Pc, then entering described 3rd intelligent interface, when there is not buffer Pc, entering next step;
Step S3.2.2, according to the vector point Pa point of drafting and the coordinate of Pb point, calculating rod head inserts angle A and angle B is inserted in bracing wire;
Step S3.2.3, judges whether described benefit bar parameter C1 exists, if when there is benefit bar parameter C1, then inserts terminal pole head symbol, if there is no during bar parameter C1, then insert terminal T and connect symbol, wherein, described bar head symbol or described T connect symbol, and its insertion point is pa point, and insertion angle is A;
Step S3.2.4, at vector point pa point with angle B, inserts bracing wire figure metasymbol;
Step S3.2.5, gives buffer Pc, until exit the second intelligent interface, return information by the value of vector point Pa point;
Described 3rd intelligent interface,
Step S3.3.1, calculates the angle C between line segment Pa-Pc and line segment Pa-Pb;
Step S3.3.2, mates angle C in the described intelligent table of comparisons, if angle C is in angular range, then selects the metafile needing to insert according to the angle value of angle C;
Step S3.3.3, calculates the medium line of line segment Pa-Pc and line segment Pa-Pb, relative to the angle D of plot space;
Step S3.3.4, will select backstage pel instantiation, be inserted into pa point according to angle D;
Step S3.3.5, mates angle C in the described intelligent table of comparisons, if angle C is in angular range, then adds bracing wire quantity and inserts bracing wire metafile;
Step S3.3.5.1, when interpolation 1 is bracing wire, by described 1 metafile instantiation corresponding for bracing wire, generates corresponding figure metasymbol, according to the reverse direction of angle D, described figure metasymbol is inserted to pa point;
Step S3.3.5.2, when interpolation 2 is bracing wire, by described 2 metafile instantiation corresponding for bracing wire, generating corresponding figure metasymbol, is angle in the opposite direction of the medium line of line segment Pa-Pc and line segment Pa-Pb, inserts Pa point;
Step S3.3.5.3, resets buffer pc, makes its value equal a pa, exit the 3rd intelligent interface;
Described 4th intelligent interface,
Step S3.4.1, calculates line segment Pb-Pa angle E in a coordinate system, according to angle E at Pb place, inserts terminal symbol;
Step S3.4.2, according to the opposite direction of angle E, inserts bracing wire symbol at Pb place;
Step S3.4.3, empties buffer Pc, exits the 4th intelligent interface, and return information;
Described 5th intelligent interface,
Step S3.5.1 calculates line segment pc-pa angle F in a coordinate system, according to angle F, inserts terminal symbol at pa place;
Step S3.5.2, according to the opposite direction of angle F, at Pa place, inserts symbol of leaving behind;
Step S3.5.3, empties buffer Pc, exits the 5th intelligent interface, and return information.
Described 6th intelligent interface,
Give buffer Pc by the value of vector point Pa point, exit the 6th interface, return information.
Wherein, the drafting mode of described generation drafting figure comprises order drafting, coordinate imports drafting and decile is equidistantly drawn, and wherein, described order is plotted as draws according to bar one line of graphical pointv order or backward; Described coordinate imports to be plotted as and obtains planimetric coordinates point according to GPS, reads coordinate points successively and draws; Described decile is equidistantly plotted as the quantity such as circuit is divided into or equidistant some line segments, adds shaft tower pel at described line segment end points.
Described intelligent interface is embedded in described order and draws and coordinate importing drafting, selects to start corresponding intelligent interface, insert correspondingly shaft tower adjunct according to the scope of bracing wire angle, shaft tower angle in the intelligent table of comparisons in corresponding drawing process.In the present embodiment, by combined with intelligent interface in drafting mode, the condition started according to intelligent interface, inserts corresponding shaft tower adjunct, inherently improves the efficiency of the power distribution network of Intelligent Drawing.
Embodiment 2
As shown in Figure 2, the power distribution network order provided for the embodiment of the present invention draws the process flow diagram embedding intelligent interface, specific as follows:
Step S4.1, draws starting point Pa;
Step S4.2, when starting benefit bar, then adds shaft tower at Pa point, activates the first intelligent interface; Wherein, the effect of the first intelligent interface is 1 by benefit bar parameter C1 set;
Step S4.3, when drawing lower some Pb point, at Pb point-rendering shaft tower, connect Pa point to the wire of Pb point, activate the second intelligent interface, wherein, acting as of second intelligent interface judges whether buffer Pc exists, and whether exists according to buffer Pc, determines whether activation the 3rd intelligent interface;
Particularly, when buffer Pc does not exist, then according to the vector point Pa point of drafting and the coordinate of Pb point, first, angle B is inserted in calculating rod head insertion angle A and bracing wire; Secondly, judge whether described benefit bar parameter C1 exists, when there is benefit bar parameter C1, then insert terminal pole head symbol, when there is not bar parameter C1, then insert terminal T and connect symbol (described bar head symbol or described T connect symbol, its insertion point is pa point, and insertion angle is A); Again, at vector point pa point with angle B, insert bracing wire figure metasymbol; Finally, buffer Pc is given by the value of vector point Pa point.
Particularly, when buffer pc exists, first, the angle C between line segment Pa-Pc and line segment Pa-Pb is calculated; In the described intelligent table of comparisons, mate angle C, if angle C is in angular range, then select the metafile needing to insert according to the angle value of angle C; Secondly, the medium line of line segment Pa-Pc and line segment Pa-Pb is calculated, relative to the angle D of plot space; Backstage pel instantiation will be selected, be inserted into pa point according to angle D; Finally, in the described intelligent table of comparisons, mate angle C, if angle C is in angular range, then judges bracing wire quantity and insert corresponding bracing wire figure metasymbol;
When interpolation 1 is bracing wire, by described 1 metafile instantiation corresponding for bracing wire, generate corresponding figure metasymbol, according to the reverse direction of angle D, described figure metasymbol is inserted to pa point;
When interpolation 2 is bracing wire, by described 2 metafile instantiation corresponding for bracing wire, generating corresponding figure metasymbol, is angle in the opposite direction of the medium line of line segment Pa-Pc and line segment Pa-Pb, inserts Pa point;
Reset buffer pc, make its value equal a pa.
Step S4.4, resets starting point pa point, gives pa point, return step S4.3 by the planimetric coordinates value of pb point;
Step S4.5, when receiving drawing the finish command, activates the 4th intelligent interface in Intelligent Drawing, and wherein, acting as of the 4th intelligent interface calculates line segment Pb-Pa angle E in a coordinate system, inserts terminal symbol according to angle E at Pb point place;
According to the opposite direction of angle E, at Pb place, insert bracing wire symbol, meanwhile, empty buffer Pc;
Step S4.6, exits Graphics Mode.
In the present embodiment, in drawing in order, embed the first intelligent interface to the 4th intelligent interface, wherein, the first intelligent interface is for starting when starting and mend bar, second intelligent interface is in the 3rd intelligent interface and associates use, starts at the end of the 4th intelligent interface order.For making when drawing distribution network line, according to coordinate, the angle of graphical pointv and whether there is the concrete conditions such as buffer, judge whether that insertion rod head, bracing wire, T connect the shaft tower adjuncts such as symbol, when fundamentally solving power distribution network drafting, need manually to add corresponding shaft tower adjunct, improve the efficiency of drawing power distribution network.
Embodiment 3
As shown in Figure 3, the distribution network line coordinate provided for the embodiment of the present invention imports drafting embedding intelligent interface process flow diagram, and details are as follows:
S5.1, obtain planimetric coordinates point (X, Y) that GPS derives, by planimetric coordinates point (X, Y) for be stored in document successively, assignment increases progressively successively from N equals 1;
S5.2, reads N number of planimetric coordinates point, by its planimetric coordinates point assignment Pa point, and at the corresponding shaft tower symbol of described Pa point-rendering;
S5.3, reads N+1 planimetric coordinates point, by its planimetric coordinates point assignment Pb point, and at the corresponding shaft tower symbol of described pa point-rendering;
S5.4, judges whether the spacing of Pa point and Pb point is greater than ultimate range wire parameter, and wherein, described ultimate range wire parameter is define in parameter document;
When described distance is greater than ultimate range wire parameter, skip to step S5.8;
When described distance is not more than ultimate range wire parameter, the wire between link Pa point and Pb point; Activate the 6th intelligent interface, it act as: give buffer pc by the value of pa point.After exiting the 6th intelligent interface, give Pa point by the planimetric coordinates value of Pb point;
S5.5, reads next planimetric coordinates point, by its planimetric coordinates point assignment Pb point, and at the corresponding shaft tower symbol of described pb point-rendering;
S5.6, whether the spacing of the pa point and pb point that rejudge new assignment is greater than ultimate range wire parameter,
When described distance is greater than ultimate range wire parameter, activate the 5th intelligent interface, it act as: calculate line segment pc-pa angle F in a coordinate system, according to angle F, at pa place, inserts terminal symbol; According to the opposite direction of angle F, at Pa place, insert symbol of leaving behind; Empty buffer Pc, skip to step S5.8;
When described distance is not more than ultimate range wire parameter, link the wire between the Pa point of new assignment and Pb point; Activate the 3rd intelligent interface;
Particularly, when buffer exists, first, the angle C between line segment Pa-Pc and line segment Pa-Pb is calculated; In the described intelligent table of comparisons, mate angle C, if angle C is in angular range, then select the metafile needing to insert according to the angle value of angle C; Secondly, the medium line of line segment Pa-Pc and line segment Pa-Pb is calculated, relative to the angle D of plot space; Backstage pel instantiation will be selected, be inserted into pa point according to angle D; Finally, in the described intelligent table of comparisons, mate angle C, if angle C is in angular range, then adds bracing wire quantity and insert bracing wire metafile;
When interpolation 1 is bracing wire, by described 1 metafile instantiation corresponding for bracing wire, generate corresponding figure metasymbol, according to the reverse direction of angle D, described figure metasymbol is inserted to pa point;
When interpolation 2 is bracing wire, by described 2 metafile instantiation corresponding for bracing wire, generating corresponding figure metasymbol, is angle in the opposite direction of the medium line of line segment Pa-Pc and line segment Pa-Pb, inserts Pa point;
Reset buffer pc, make its value equal a pa.
S5.7, resets the planimetric coordinates point of Pa point, gives Pa point, and return step S5.5 by the planimetric coordinates point of Pb point;
S5.8, by the planimetric coordinates point assignment of pb point in pa point, the value current (index line value) being read line number gives N, returns step S5.3.
In the present embodiment, the coordinate embedding intelligent interface imports during the order drawing and embed intelligent interface is drawn following difference:
The first, initial shaft tower does not relate to intelligent interface and inserts, and starting intelligent interface is from thirdly inserting.
The second, when distance between two points is greater than the setting of ultimate range wire, then current pa point is used as terminal shaft tower, and carries out intelligent terminal insertion.
3rd, embed Intelligent restarting function, after exceeding the setting of ultimate range wire, restart intelligent program, more below for new starting point starts to draw.
As shown in Figure 4, for the principle flow chart of the 3rd intelligent interface that the embodiment of the present invention provides, when the order of a-b-c has drawn c point in order, start intelligent interface, by point (a, b, c) angle α is calculated, and vectorial angle β, by angular range angle α matching stub head correspondence shown and in bracing wire correspondence table, calculate corresponding bar head type and bracing wire quantity, now, intelligent interface can calculate according to bracing wire quantity and insert angle γ or (γ 1, γ 2), again by mating with pel chained list, choose corresponding bar header file and bracing wire file successively in the background.By its metafile instantiation, be inserted into b point place respectively according to angle beta, gamma (γ 1, γ 2), wherein, M represents that angle pole head, the N chosen represents the bracing wire chosen in the drawings.
Embodiment 4
The present embodiment describes consistency operation and the relative theory of distribution network line QuickDraw method in detail:
Distribution network line figure is decomposed, comprises three part compositions: Part I is entity object, represents in drawing with component symbol, and entity object exists with entity at engineering site.It comprises shaft tower, shaft tower adjunct, wire.Part II is markup information: the information marked engineering, understands drawing for engineering staff is more convenient.It comprises legend, bar number mark, line segment length mark, special pel mark and line length mark etc.Part III is other information: other mark and necessary component.It comprises the explanatory note etc. of picture frame, geographic position Background, Engineering Notice and specific position.
The method is optimized the drafting of entity object and the drafting of markup information, can increase work efficiency, and draws under being applicable to multiple situation.
Its backstage and principle as follows:
Adopt straight line to represent in wire when drawing, and be plotted in corresponding wire layer, according to several layer that layer is initially set up, described metafile symbol is inserted in corresponding layer successively according to type.
Wherein, layer initialization document is read in the foundation of layer; The every provisional capital of inside documents stores a map data mining platform; Layer comprises following several respectively:
Wire size layer (uniquely): for storing the wire size information in markup information.
Bar layer (uniquely): for storing the bar information in markup information.
Mark layer (uniquely): for storing other information such as legend in markup information.
Pel layer (uniquely): for storing shaft tower, the appendicular symbol of shaft tower.
Wire layer (multiple): for storing the wire of drafting, each wire layer represents a kind of wire type.
When starting plotter program and carrying out initialization, read the information in layer initialization document, and set up corresponding layer according to information, the drawing process of figure metasymbol, all complete based in corresponding layer.
Be stored in the foundation of the metafile in pel storehouse, backstage and call as follows:
Shaft tower and appendicular symbol plotting thereof are become independently cad file being stored in pel storehouse, backstage.
The naming rule of its cad file is " type _ index number _ designation .dwg "
File needs to be divided into 5 classes according to design, is respectively: shaft tower, mobile jib head, secondary bar head, bracing wire and equipment; Different letter can be adopted to represent to distinguish, namely name with alphabetical G, D, F, L, S beginning respectively.
During program initialization, read the title of all cad files in pel storehouse, backstage.And title is resolved, classified, and chained address is stored in internal memory for subsequent use.Then user uses the mode of Selective type-> index to select; When metafile is selected, be inserted into specifying the pel of metafile in the pel layer of foreground.
The method is simple, flexibly, the present invention is that framework forms on after this stylobate plinth, is efficient basis, backstage of drawing.
Embodiment 5
The present embodiment provides the concrete drawing process of four kinds of Graphics Modes, specific as follows:
Order drawing mode: it is exactly first draw No. 1 bar that described order is drawn, then specified angle and distance draw No. 2 bars, draws out No. 3, No. 4 etc. by that analogy.This pattern is applicable to scene and all designs each shaft tower, the method for drafting after all measuring angle and distance between bar and bar.
But special circumstances sometimes, accessible in kilometer range as thousands of in plains region, then the mode of carrying out equidistant segmentation according to the mode of distance to a declared goal 50 or 60 meter of one bar designs, and use order is drawn then very bothersome in this case.So draw following method for drafting:
The equidistant drawing mode of decile: as shown in Figure 5, first use order draws method, draws and line the point of mark that needs several in circuit.
As drawn terminal, corner, and wire link is carried out to it.This wire may have hundreds of rice or several kilometers long.Re-use equidistant point-score, carry out being divided into some decile line segments, and add shaft tower.If connecting wire is 175 meters, if equidistantly divide by 50 meters, there will be the situation of 50-50-50-25 rice, inharmonious; The number point-score such as should to use, be divided into 3 parts to divide equally by 175 meters, form the situation of 58.3-58.3-58.3 rice.
Coordinate imports drawing mode: under current technical status, and some line exploration can use GPS device location.Coordinate imports drawing mode and provides a kind of method coordinate points being converted to wiring diagram.
With bar drawing mode: because distribution network line belongs to 10kV and 0.4kV circuit, in its reality, there is many situations of joint using.It is specific as follows that what the present embodiment provided joint use drawing mode:
First, select to need the line style with bar, when selecting the scope inside conductor joint used in the drawings, need the position of drawing to pull to same bar line.By aforesaid operations, in the relevant position pulled and in the line style layer selected, generate the wire of same bar, afterwards, manually add the adjuncts such as bracing wire.
Embodiment 6
The present embodiment provides the detailed process of adding annotation:
After completing the drawing process to entity object, in order to be easier to understand it, need to mark drawing.
Conducting line segment length mark: in figure, wire represents with the straight line of physical length, and in corresponding wire layer.All straight lines in chosen area in all wire layer, travel through each root wire, and computational length and angle.No matter wire be where to, ensure that the insertion position of word is forever all above wire by angle calculation, and not overlapping conductors.
Bar labelled notation: drawing shaft tower represents with G class pel symbol, and in pel layer.Bar number refers to the numbering of shaft tower, allows user find out line alignment and position relationship easily.
First user inputs initial bar numeral, pull out a line of reference at plot space along shaft tower path again, line of reference starting point is position pa, and pel layer is chosen all G class pels on line of reference, and calculating the distance of they and position pa point, row distance of going forward side by side is from little to large sequence.From initial bar number numeral, the mode cumulative successively according to sequence adds bar number.If have selected incremental mode, then according to sequence successively cumulative bar numeral, first do not carry out interpolation bar number, only bar number is added to last G class pel.
Add legend: legend is a kind of explanatory note to entity object symbol in engineering drawing.User can be made to find out very clearly, the actual entities object of the correspondence of often kind of symbology in figure.
Whether all graphics primitive objects within the scope of selected zone, exist straight line according in selection traversal often kind of wire layer, if existed, then remember the layer style of its correspondence.According to all graphics primitive objects in selection pel layer, and recursive traversal is carried out to it, draw the number of applications using the type of graphics primitive object and every type.In annotation layer, with graphics primitive object title, graphics primitive object, quantity for form, be arranged in order out all used graphics primitive objects.And thereunder in the mode that wire layer title, straight-line segment are a line, continue to arrange out used wire downwards.And give straight-line segment attribute according to the layer style of above-mentioned collection.
Pel marks: mark special pel, be specially when some Special Graphs metasymbol needs to carry out explanatory note separately, use this order, clicks pel entity symbol, marks its pel title, be placed to appointment correct position.
Other marks, as conductor area length mark: mark line length in region being carried out to length and model.Be specially and utilize every bar conductor length in the method pickup area when needing to embody the length of circuit in region in drawing, and calculate summation, add correct position to, save computing time.
Embodiment 7 is replaced and modify feature
As shown in Figure 6, utilize method described in Fig. 1 to obtain the power distribution network figure drawn for embodiment provides, after completing drafting, may occur that character and graphic ratio is inharmonious, or a large amount of mistake in phenomenon of figure metasymbol in drawing.Therefore, need the wire size to part, bar number, word height, figure metasymbol ratio adjust or batch replaces the method for pel, specific as follows:
The batch of metafile is replaced, the step that described metafile batch is replaced,
Obtain the metafile title be replaced, determine to replace metafile title;
According to the replacement region determined, read the title of the metafile in described replacement region one by one, and the ratio of described metafile, position and angle;
To be replaced metafile successively and convert replacement metafile to, and keep original ratio, position and angle, and deletion is replaced metafile.
In the present embodiment, region is replaced by choosing in advance, obtain the metafile title be replaced, determine to replace metafile title, in feasible region, the unified of metafile title is replaced, improve the replacement efficiency of metafile in distribution network line, meanwhile, efficiency drawn by the also covert power distribution network that improves.
Wherein, word height control: select corresponding layer, chooses all words in this layer, inputs new word height, travels through all words, and to revise its height attributes be new height.The adjustment principle of the same wire size, bar number is identical, does not repeat one by one at this.
Wherein, the ratio of figure metasymbol adjustment: select all figure metasymbols needing adjustment in pel layer in region, the proportionate relationship new according to input, starts this functional module, travels through all figure metasymbols chosen, and to revise its ratio be new ratio.
When a large amount of word height is improper, word height adjustment in batches compare adjust one by one more simple and convenient.
In order to coordinate the aesthetic property after printing, when circuit is long, need to use vast scale pel; When circuit is too short, need to use small scale pel, therefore, the ratio adjustment of figure metasymbol can conveniently realize.
If user due to careless or design need to change time, may occur that a large amount of pels needs to replace.Such as change 15 meters of bars all in figure into 12 meters of bars, adopt pel batch to replace order and be more prone to realize.
Embodiment 8 operation interface is shown
Please refer to Fig. 7, is the module map of software function interface in embodiment of the present invention power distribution network Intelligent Drawing, selecting, completing corresponding function by operating all functions in this interface.Such as, " LL " can select coordinate to import drafting, order is drawn, " ZNHT " can select Intelligent Drawing switch, " ADL, ADD, ADF, ADS and ADG " be corresponding in turn to interpolation bracing wire, bar head, adjunct, equipment, shaft tower, " TT " is mark bar number, " TL " is mark wire size, " TH " is for replacing pel, " XX " equidistantly draws for decile, " JC " is bug check, " TB " comprises independent pel mark, region line length mark, legend generates, the displacement of fixed point geometric ratio, " ALLS " is pel proportion adjustment, " TLS " is batch modification wire size, " TTS " is batch modification bar number, " Outto " is for statistical study and derive, " 2 grades " are represented as adjustable Intelligent Drawing grade, " 10KV240 " is represented as and can selects wire type, " 1 bar 15 is non-" is represented as and can selects shaft tower model.
In sum, the present invention is a kind of distribution network line QuickDraw method.On the basis that simple and easy backstage is built, utilization order is drawn, decile is equidistantly drawn, coordinate imports the used in combination of drafting, and embeds Intelligent Drawing method, improves the drawing efficiency of power distribution network entity object.Mark way fast by detailed engineering information, improve the annotating efficiency of engineering information.By the amendment of word pel ratio and batch replacement function, improve the work efficiency of revisions on drawings.Can realize QuickDraw, mark fast, the feature of Modify rapidly and optimization, the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. a distribution network line QuickDraw method, is characterized in that, described method at least comprises:
S1, sets up metafile storehouse, sets up parameter document, sets up layer initialization document;
S2, call described metafile storehouse, read the pel linked list that in described metafile storehouse, metafile generates, call described parameter document, read the parameter information of described parameter document, wherein said parameter information comprises the intelligent table of comparisons, calls described layer initialization document, and the map data mining platform loading described layer initialization document generates corresponding layer in CAD;
S3, the metafile of corresponding entity object is called according to described pel linked list, described metafile being instantiated as figure metasymbol inserts in the corresponding layer of CAD, and in drafting, start the intelligent interface pre-set, between described figure metasymbol, shaft tower adjunct is inserted with reference to the described intelligent table of comparisons, wherein, described entity object comprises shaft tower, shaft tower adjunct and wire;
S4, based on described entity object, generates engineering dimensioning information;
S5, according to the zooming parameter received, adjusts the scaling of described metafile, mark word and label symbol.
2. distribution network line QuickDraw method according to claim 1, is characterized in that, in described step S1, specifically comprise:
Described metafile storehouse comprises shaft tower and the metafile corresponding to shaft tower adjunct;
Described layer initialization document comprises pel layer, bar number mark layer, wire size mark layer, annotation layer and wire layer, and the layer of every type is suitable for storing corresponding metafile, mark word, label symbol and wire;
Described parameter document comprises word height parameter, comprises figure metasymbol and inserts size parameter; Described parameter document also comprises ultimate range wire parameter and the intelligent table of comparisons.
3. distribution network line QuickDraw method according to claim 2, it is characterized in that, the described intelligent table of comparisons specifically comprises pel chained list, bar head correspondence table correspondingly with bracing wire is shown, the corresponding relation that described pel chained list is terminal, corner, strain insulator, straight line reinforcement, bracing wire, T connect metafile in symbol and described metafile storehouse; The corresponding table of described bar head is angular range and the corresponding relation adding which kind of bar head, wherein, is added to straight line reinforcement, strain insulator and corner from large to small successively according to angle; Described bracing wire correspondence table is angular range and the corresponding relation adding bracing wire quantity, wherein, is added to 1 bracing wire, 2 from large to small successively bracing wire, 1 bracing wire according to angle.
4. distribution network line QuickDraw method according to claim 2, it is characterized in that, described intelligent interface comprises the first intelligent interface, the second intelligent interface, the 3rd intelligent interface, the 4th intelligent interface, the 5th intelligent interface and the 6th intelligent interface, is specially:
Described first intelligent interface,
Step S3.1.1, is 1 by benefit bar parameter C1 set, exits the first intelligent interface, return information;
Described second intelligent interface,
Step S3.2.1, judges whether buffer Pc exists, and when there is buffer Pc, then entering described 3rd intelligent interface, when there is not buffer Pc, entering next step;
Step S3.2.2, according to the vector point Pa point of drafting and the coordinate of Pb point, calculating rod head inserts angle A and angle B is inserted in bracing wire;
Step S3.2.3, judges whether described benefit bar parameter C1 exists, if when there is benefit bar parameter C1, then inserts terminal pole head symbol, if there is no during bar parameter C1, then insert terminal T and connect symbol, wherein, described bar head symbol or described T connect symbol, and its insertion point is pa point, and insertion angle is A;
Step S3.2.4, at vector point pa point with angle B, inserts bracing wire figure metasymbol;
Step S3.2.5, gives buffer Pc, until exit the second intelligent interface, return information by the value of vector point Pa point;
Described 3rd intelligent interface,
Step S3.3.1, calculates the angle C between line segment Pa-Pc and line segment Pa-Pb;
Step S3.3.2, mates angle C in the described intelligent table of comparisons, if angle C is in angular range, then selects the metafile needing to insert according to the angle value of angle C;
Step S3.3.3, calculates the medium line of line segment Pa-Pc and line segment Pa-Pb, relative to the angle D of plot space;
Step S3.3.4, will select backstage pel instantiation, be inserted into pa point according to angle D;
Step S3.3.5, mates angle C in the described intelligent table of comparisons, if angle C is in angular range, then adds bracing wire quantity and inserts bracing wire metafile;
Step S3.3.5.1, when interpolation 1 is bracing wire, by described 1 metafile instantiation corresponding for bracing wire, generates corresponding figure metasymbol, according to the reverse direction of angle D, described figure metasymbol is inserted to pa point;
Step S3.3.5.2, when interpolation 2 is bracing wire, by described 2 metafile instantiation corresponding for bracing wire, generating corresponding figure metasymbol, is angle in the opposite direction of the medium line of line segment Pa-Pc and line segment Pa-Pb, inserts Pa point;
Step S3.3.5.3, resets buffer pc, makes its value equal a pa, exit the 3rd intelligent interface;
Described 4th intelligent interface,
Step S3.4.1, calculates line segment Pb-Pa angle E in a coordinate system, according to angle E, at Pb place, inserts terminal symbol;
Step S3.4.2, according to the opposite direction of angle E, at Pb place, inserts bracing wire symbol;
Step S3.4.3, empties buffer Pc, exits the 4th intelligent interface, and return information;
Described 5th intelligent interface,
Step S3.5.1 calculates line segment pc-pa angle F in a coordinate system, according to angle F, at pa place, inserts terminal symbol;
Step S3.5.2, according to the opposite direction of angle F, at Pa place, inserts symbol of leaving behind;
Step S3.5.3, empties buffer Pc, exits the 5th intelligent interface, and return information.
Described 6th intelligent interface,
Give buffer Pc by the value of vector point Pa point, exit the 6th interface, return information.
5. distribution network line QuickDraw method according to claim 1, it is characterized in that, the drafting mode of described generation drafting figure comprises order drafting, coordinate imports drafting and decile is equidistantly drawn, and wherein, described order is plotted as draws according to bar one line of graphical pointv order or backward; Described coordinate imports to be plotted as and obtains planimetric coordinates point according to GPS, reads coordinate points successively and draws; Described decile is equidistantly plotted as the quantity such as circuit is divided into or equidistant some line segments, adds shaft tower pel at described line segment end points.
6. distribution network line QuickDraw method according to claim 5, it is characterized in that, described intelligent interface is embedded in described order and draws and coordinate importing drafting, select to start corresponding intelligent interface in corresponding drawing process, insert correspondingly shaft tower adjunct according to the scope of bracing wire angle, shaft tower angle in the intelligent table of comparisons.
7. according to the distribution network line QuickDraw method described in claim 3 to 6, it is characterized in that, described order is drawn, and is specially:
Step S4.1, draws starting point Pa;
Step S4.2, when starting benefit bar, then adds shaft tower at Pa point, activates the first intelligent interface;
Step S4.3, when drawing lower some Pb point, at Pb point-rendering shaft tower, connects Pa point to the wire of Pb point, activates the second intelligent interface;
Step S4.4, resets starting point pa point, gives pa point, return rapid S4.3 by the planimetric coordinates value of pb point;
Step S4.5, when receiving drawing the finish command, activates the 4th intelligent interface in Intelligent Drawing;
Step S4.6, exits Graphics Mode.
8. according to the distribution network line QuickDraw method described in claim 3 to 6, it is characterized in that, described coordinate imports to be drawn, and is specially:
S5.1, obtain planimetric coordinates point (X, Y) that GPS derives, by planimetric coordinates point (X, Y) for be stored in document successively, assignment N equals 1;
S5.2, reads N number of planimetric coordinates point, by its planimetric coordinates point assignment Pa point, and at the corresponding shaft tower symbol of described Pa point-rendering;
S5.3, reads N+1 planimetric coordinates point, by its planimetric coordinates point assignment Pb point, and at the corresponding shaft tower symbol of described pa point-rendering;
S5.4, judges whether the spacing of Pa point and Pb point is greater than ultimate range wire parameter,
When described distance is greater than ultimate range wire parameter, return step S5.8;
When described distance is not more than ultimate range wire parameter, the wire between link Pa point and Pb point; Activate the 6th intelligent interface, give Pa point by the planimetric coordinates value of Pb point;
S5.5, reads next planimetric coordinates point, by its planimetric coordinates point assignment Pb point, and at the corresponding shaft tower symbol of described pb point-rendering;
S5.6, whether the spacing of the pa point and pb point that rejudge new assignment is greater than ultimate range wire parameter,
When described distance is greater than ultimate range wire parameter, activates the 5th intelligent interface, return step S5.8;
When described distance is not more than ultimate range wire parameter, link the wire between the Pa point of new assignment and Pb point; Activate the 3rd intelligent interface;
S5.7, resets the planimetric coordinates point of Pa point, gives Pa point, and return step S5.5 by the planimetric coordinates point of Pb point;
S5.8, by the planimetric coordinates point assignment of pb point in pa point, gives N by current index line number value, returns step S5.3.
9. distribution network line QuickDraw method according to claim 1, is characterized in that, the batch also comprising metafile is replaced, the step that described metafile batch is replaced, and is specially:
Obtain the metafile title be replaced, determine to replace metafile title;
According to the replacement region determined, read the title of the metafile in described replacement region one by one, and the ratio of described metafile, position and angle;
To be replaced metafile successively and convert replacement metafile to, and keep original ratio, position and angle, and deletion is replaced metafile.
10. distribution network line QuickDraw method according to claim 1, is characterized in that, adjusts the step of the scaling of the metafile of described drafting figure, mark word and label symbol, specifically comprise in described step S5:
When adjusting described bar word, mark word, line length mark word, obtaining and needing corresponding word in adjustment layer, according to resize ratio size, searching the size of each word, centered by this word, adjust the display specification of each word one by one;
When adjusting described metafile, obtaining and needing corresponding metafile in adjustment layer, according to resize ratio size, searching the size of each metafile, centered by this metafile, adjust the display specification of each metafile one by one.
CN201510575034.8A 2015-09-11 2015-09-11 Distribution network line QuickDraw method Active CN105138793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510575034.8A CN105138793B (en) 2015-09-11 2015-09-11 Distribution network line QuickDraw method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510575034.8A CN105138793B (en) 2015-09-11 2015-09-11 Distribution network line QuickDraw method

Publications (2)

Publication Number Publication Date
CN105138793A true CN105138793A (en) 2015-12-09
CN105138793B CN105138793B (en) 2018-09-11

Family

ID=54724140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510575034.8A Active CN105138793B (en) 2015-09-11 2015-09-11 Distribution network line QuickDraw method

Country Status (1)

Country Link
CN (1) CN105138793B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI627598B (en) * 2016-08-23 2018-06-21 崑山科技大學 Method and graphical man-machine interface having sheath induced voltages and sheath circulating currents for calculation of transmission and distribution lines
CN108305303A (en) * 2018-01-18 2018-07-20 武汉智博创享科技股份有限公司 The method and system that the orthogonal logic chart of optical cable is drawn automatically
CN109145045A (en) * 2018-09-13 2019-01-04 广东电网有限责任公司 Electric network operation data multidimensional degree analysis method and system based on artificial intelligence technology
CN110096782A (en) * 2019-04-24 2019-08-06 中国石油天然气集团有限公司 A kind of oil-gas pipeline engineering power cable minute design method
CN110188434A (en) * 2019-05-21 2019-08-30 国网山东省电力公司德州供电公司 A kind of framework method of Distribution system design platform
CN110415317A (en) * 2019-07-08 2019-11-05 国网江苏省电力有限公司南京市高淳区供电分公司 A kind of efficient distribution network structure drafting method
CN110490952A (en) * 2019-08-23 2019-11-22 常州市龙星工业自动化系统有限公司 A kind of method for drafting of welding procedure figure
CN110826731A (en) * 2019-10-21 2020-02-21 浙江浙能嘉华发电有限公司 Digital management method and management system for electrical equipment of thermal power plant
CN111767362A (en) * 2020-07-06 2020-10-13 河北省地矿局第二地质大队 Intelligent drawing method of geological map legend
CN111815147A (en) * 2020-07-01 2020-10-23 广东信通通信有限公司 Tower pole sorting method and device, storage medium and computer equipment
CN111897503A (en) * 2020-06-28 2020-11-06 通号城市轨道交通技术有限公司 Display control method and display control terminal
CN112560206A (en) * 2020-11-23 2021-03-26 国网山东省电力公司青岛供电公司 Method and system for automatically drawing power transmission line edge layout by CAD
CN113177096A (en) * 2021-03-25 2021-07-27 北京城建智控科技有限公司 Electronic map data generation method and system based on forward sequence calculation and reverse sequence check
CN115526015A (en) * 2022-11-03 2022-12-27 北京国科恒通科技股份有限公司 Command interaction-based power grid diagram generation method, device, medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499109A (en) * 2008-07-24 2009-08-05 杨志华 Power distribution management information graphic system
CN102902847A (en) * 2012-09-17 2013-01-30 华北电力大学 Transmission grid single line diagram automatic design method based on combination primitives
CN103559355A (en) * 2013-11-11 2014-02-05 国家电网公司 SVG (Scalable Vector Graphics) technology-based distribution network modeling system
CN103838925A (en) * 2014-03-04 2014-06-04 国网安徽省电力公司 Computer information technology based power net rack graph drawing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499109A (en) * 2008-07-24 2009-08-05 杨志华 Power distribution management information graphic system
CN102902847A (en) * 2012-09-17 2013-01-30 华北电力大学 Transmission grid single line diagram automatic design method based on combination primitives
CN103559355A (en) * 2013-11-11 2014-02-05 国家电网公司 SVG (Scalable Vector Graphics) technology-based distribution network modeling system
CN103838925A (en) * 2014-03-04 2014-06-04 国网安徽省电力公司 Computer information technology based power net rack graph drawing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丁宝等: ""基于自定义图元和自定义属性的配电网图形系统的设计与实现"", 《中国高等学校电力系统及其自动化专业第二十二届学术年会》 *
傅月龙等: ""利用CAD制作线路走向图"", 《农村电工》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI627598B (en) * 2016-08-23 2018-06-21 崑山科技大學 Method and graphical man-machine interface having sheath induced voltages and sheath circulating currents for calculation of transmission and distribution lines
CN108305303A (en) * 2018-01-18 2018-07-20 武汉智博创享科技股份有限公司 The method and system that the orthogonal logic chart of optical cable is drawn automatically
CN109145045A (en) * 2018-09-13 2019-01-04 广东电网有限责任公司 Electric network operation data multidimensional degree analysis method and system based on artificial intelligence technology
CN110096782A (en) * 2019-04-24 2019-08-06 中国石油天然气集团有限公司 A kind of oil-gas pipeline engineering power cable minute design method
CN110188434A (en) * 2019-05-21 2019-08-30 国网山东省电力公司德州供电公司 A kind of framework method of Distribution system design platform
CN110188434B (en) * 2019-05-21 2020-01-21 国网山东省电力公司德州供电公司 Architecture method of power distribution network design platform
CN110415317A (en) * 2019-07-08 2019-11-05 国网江苏省电力有限公司南京市高淳区供电分公司 A kind of efficient distribution network structure drafting method
CN110490952B (en) * 2019-08-23 2023-03-14 常州市龙星工业自动化系统有限公司 Drawing method of welding process diagram
CN110490952A (en) * 2019-08-23 2019-11-22 常州市龙星工业自动化系统有限公司 A kind of method for drafting of welding procedure figure
CN110826731A (en) * 2019-10-21 2020-02-21 浙江浙能嘉华发电有限公司 Digital management method and management system for electrical equipment of thermal power plant
CN111897503A (en) * 2020-06-28 2020-11-06 通号城市轨道交通技术有限公司 Display control method and display control terminal
CN111815147A (en) * 2020-07-01 2020-10-23 广东信通通信有限公司 Tower pole sorting method and device, storage medium and computer equipment
CN111815147B (en) * 2020-07-01 2023-12-19 广东信通通信有限公司 Tower pole sequencing method and device, storage medium and computer equipment
CN111767362A (en) * 2020-07-06 2020-10-13 河北省地矿局第二地质大队 Intelligent drawing method of geological map legend
CN112560206A (en) * 2020-11-23 2021-03-26 国网山东省电力公司青岛供电公司 Method and system for automatically drawing power transmission line edge layout by CAD
CN113177096A (en) * 2021-03-25 2021-07-27 北京城建智控科技有限公司 Electronic map data generation method and system based on forward sequence calculation and reverse sequence check
CN113177096B (en) * 2021-03-25 2021-11-26 北京城建智控科技股份有限公司 Electronic map data generation method and system based on forward sequence calculation and reverse sequence check
CN115526015A (en) * 2022-11-03 2022-12-27 北京国科恒通科技股份有限公司 Command interaction-based power grid diagram generation method, device, medium and equipment
CN115526015B (en) * 2022-11-03 2023-02-03 北京国科恒通科技股份有限公司 Command interaction-based power grid diagram generation method, device, medium and equipment

Also Published As

Publication number Publication date
CN105138793B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN105138793A (en) Rapid distribution line drawing method
CN107479792B (en) Intelligent grid forecast correction method and system
CN105046032A (en) Method and system for drawing power distribution network based on CAD
CN107679276B (en) Generation method and device of power system tide wiring diagram and electronic equipment
CN105354022A (en) Generation method and device of page layout file
CN103345885A (en) Method and device for configuring box wiring and method for configuring split-joint-type display screen
CN105320811A (en) Method for establishing topological connected model of urban underground electricity pipe network
CN102999671A (en) Computer design method of standard distribution network line
CN113486424B (en) Method and model for realizing Revit room modeling and naming annotation based on Dynamo
CN106126489A (en) A kind of report file dynamic chart edit methods and system
CN105550247A (en) SVG standard customizable graphic symbol based power system graphic display method
CN109656654A (en) The edit methods and computer readable storage medium of large-size screen monitors scene
CN103020362B (en) A kind of based on the disposal route of CAD platform to the wire harness of electronic product
CN109739490A (en) Quick electrical component model creating method based on QT graph framework
CN105578043A (en) Picture composition method and device for photographing of camera
CN111506997A (en) Power engineering quantity calculation method based on BIM
CN109086515B (en) Modeling method for primary equipment drawing information in SSD (solid State drive) of intelligent substation based on SVG (scalable vector graphics)
CN103020343A (en) Dynamic primitive implementation method for comprehensively reflecting power grid operation condition
CN104391965A (en) Method for graphically displaying ICD [IED (intelligent electronic device) capability description] virtual terminals of intelligent substations
CN104573208A (en) GIS (Geographic Information System)-based distribution network wiring diagram mapping method
CN103268383A (en) Intelligent-device relationship graph generating method based on IEC61850 transformer substation
CN104200035A (en) Electrical aided design method and system
CN113378069B (en) Main and distribution network automatic drawing method based on intelligent recommendation algorithm
CN111159480B (en) Graph drawing method based on power grid GIS data
CN111080749B (en) Multi-source measurement labeling method and device in power distribution network wide-area measurement control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant