CN104537176B - It is a kind of to judge the method that technique edges are entered in wiring board profile milling - Google Patents

It is a kind of to judge the method that technique edges are entered in wiring board profile milling Download PDF

Info

Publication number
CN104537176B
CN104537176B CN201410847271.0A CN201410847271A CN104537176B CN 104537176 B CN104537176 B CN 104537176B CN 201410847271 A CN201410847271 A CN 201410847271A CN 104537176 B CN104537176 B CN 104537176B
Authority
CN
China
Prior art keywords
milling
line segment
circle
coordinate
enter
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.)
Active
Application number
CN201410847271.0A
Other languages
Chinese (zh)
Other versions
CN104537176A (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.)
Huizhou King Brother Circuit Technology Co Ltd
Shenzhen Jinbaize Electronic Technology Co Ltd
Xian King Brother Circuit Technology Co Ltd
Original Assignee
Huizhou King Brother Circuit Technology Co Ltd
Shenzhen Jinbaize Electronic Technology Co Ltd
Xian King Brother Circuit 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 Huizhou King Brother Circuit Technology Co Ltd, Shenzhen Jinbaize Electronic Technology Co Ltd, Xian King Brother Circuit Technology Co Ltd filed Critical Huizhou King Brother Circuit Technology Co Ltd
Priority to CN201410847271.0A priority Critical patent/CN104537176B/en
Publication of CN104537176A publication Critical patent/CN104537176A/en
Application granted granted Critical
Publication of CN104537176B publication Critical patent/CN104537176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The present invention relates to circuit board manufacturing area, a kind of method that technique edges are entered in judgement wiring board profile milling before profile graphic designs, sets a zero point, rectangular coordinate system is set up, to ensure that profile frame line is all horizontal or vertical;Set up in the form of multilevel hash table and preserve the outline drawing of Customer design, if arc then preserves central coordinate of circle;Hash table is traveled through in a circulating manner, obtains whether the two ends of all profile frame lines need milling whether to enter when some processes side, milling are entered simultaneously toward the side judged result that also milling is entered;These line segments are connected according to the estimate of situation at all profile frame line two ends to form the design outline closed figure that production needs.The present invention judge wiring board profile milling enter technique edges method have the advantages that fast and automatically, it is accurate.

Description

It is a kind of to judge the method that technique edges are entered in wiring board profile milling
Technical field
It is more particularly to a kind of to judge the method that technique edges are entered in wiring board profile milling the present invention relates to circuit board manufacturing area.
Background technology
At present in the graphic designs designed with technique edges, when having outline edge raised or being recessed, toward work Skill side milling, which enters and enters certain distance toward two side millings, just can ensure that plate profile in kind meets data figure, at present in what situation Lower milling is entered, milling is entered in what situations and side is while the judgement that technique edges are entered in milling is still judged by human eye, it is impossible to ensured in kind and pre- Phase design configuration is consistent, and technique edges design is slow, extremely influences delivery efficiency, and be easily caused scrap, customer complaint etc. is asked Topic.
The content of the invention
Present invention offer is a kind of fast and automatically, accurately to judge that the method for technique edges is entered in wiring board profile milling.
Present disclosure is:
It is a kind of to judge the method that technique edges are entered in wiring board profile milling, comprise the following steps:
The first step, before profile graphic designs, sets a zero point, rectangular coordinate system is set up, to ensure profile frame line all It is horizontal or vertical;
Second step, with the rising of profile frame line, stop x, y-coordinate save as the first order of Hash table, with first order Hash table The other line segments met with it for rising, finding out centered on stop in the setting margin of tolerance of every line segment of middle preservation rise, only Point x, y-coordinate, set up in the form of multilevel hash table and preserve the outline drawing of Customer design, if arc then preserves the center of circle and sat simultaneously Mark;
Whether the 3rd step, travels through Hash table in a circulating manner, obtain the two ends of all profile frame lines and need milling to enter portion Whether simultaneously toward the side judged result that also milling is entered when division technique side, milling are entered;
4th step, line line meets depending on the then size of foundation intersecting point coordinate and non-profile frame line other end coordinate, bank Meet then according to friendship(Cut)Depending on the size of the central coordinate of circle of point coordinates and arc, specific determination methods are illustrated by accompanying drawing;
5th step, connects these line segments to form production needs according to the estimate of situation at all profile frame line two ends Design outline closed figure.
Judge that situation is entered in the milling for being stored in the line segment AB of the first order profile frame line of Hash table A ends:If AB is only first Belong to a certain section of circumscribed rectangle side, if then point A(Or B)Four summits of not circumscribed rectangle one of them when, this point Position should milling enter the segment distance of technique edges one, it is the value corresponding to key that A point coordinates is then taken out from the Hash table second level, i.e., with The list of line segment or the coordinate of arc that the point coordinates meets, the searching loop list,
If line segment AB is vertical, that line segment traversed(It is set to AC)C point Y-coordinate compared with A point Y-coordinate And obtain a result(If A is line segment AB lower end and Y_a>If Y_c or A are line segment AB upper end and Y_a<Y_c, should be toward side milling Enter, otherwise do not enter toward side milling);
If what is traversed is arc(It is set to AOC), with regard to comparison point A and the center of circle(If A is line segment AB upper end, if center of circle O is outside Cut beyond rectangle and Y_a<Y_o or center of circle O are within circumscribed rectangle and Y_a>It should enter during Y_o toward side milling;
If A is line segment AB lower end, if center of circle O is beyond circumscribed rectangle and Y_a>Y_o or center of circle O are within circumscribed rectangle And Y_a<It should enter during Y_o toward side milling, if line segment AB is horizontal, that line segment traversed(It is set to AC)C points X Coordinate is compared and obtained a result with A point Y-coordinate;
If A is line segment AB left end and X_a>If X_c or A are line segment AB right-hand members and X_a<X_c, should enter toward side milling, Otherwise do not enter toward side milling;
If what is traversed is arc(It is set to AOC), with regard to comparison point A and the center of circle(If A is line segment AB left end, if center of circle O is outside Cut beyond rectangle and X_a>X_o or center of circle O are within circumscribed rectangle and X_a<It should enter during X_o toward side milling;
If A is line segment AB right-hand member, if center of circle O is beyond circumscribed rectangle and X_a<X_o or center of circle O are within circumscribed rectangle And X_a>It should enter during X_o toward side milling), once being learnt during traversal certainly needs milling to enter, then can jump out this traversal, then goes to judge Situation is entered in the milling of another end points or other profile frame line.
The present invention judges that wiring board profile milling enters the methods of technique edges and uses the obtained design outline figure of methods described complete Meet actual production wiring board in milling profile entirely, the feed of milling cutter takes into full account that what milling cutter itself size brought actually mills out The influence that profile is not inconsistent with customer requirement, majority milling cutter diameter is 1mm at present, if the wiring board profile of client is not the square of rule Shape(Most cases are such), then because milling cutter itself is round, run into re-entrant angle corner position will the non-milling of residual fraction arrive, so as to lead Reality and different design are caused, and then causes product is unqualified to be forced to do over again or even scrap or customer complaint, is judged by the method Go out these re-entrant angles position should many millings enter after technique edges, above-mentioned adverse consequences can be avoided completely, additionally, due to it is all judgement all by Program voluntarily judges, it is to avoid the mistake that human intervention is caused, while whole results can be obtained the short time, then is about to this certainly by program A little line segments connect into final design profile figure according to judged result, can significant increase CAM personnel design efficiency and correctness.
Brief description of the drawings
Fig. 1 judges that wiring board contour structures schematic diagram in the methods of technique edges is entered in wiring board profile milling for the present invention;
Fig. 2 judges that the structure that the side of wiring board four in the methods of technique edges enters work side with milling is entered in wiring board profile milling for the present invention Schematic diagram;
Fig. 3 is left side lower middle portion partial enlarged drawing in Fig. 2;
Fig. 4 is the enlarged drawing of corner position in Fig. 2.
Embodiment
The present invention is further described with reference to specific embodiment:
It is a kind of to judge the method that technique edges are entered in wiring board profile milling, comprise the following steps:
The first step, before profile graphic designs, sets a zero point, rectangular coordinate system is set up, to ensure profile frame line all It is horizontal or vertical;
Second step, with the rising of profile frame line, stop x, y-coordinate save as the first order of Hash table, with first order Hash table The other line segments met with it for rising, finding out centered on stop in the setting margin of tolerance of every line segment of middle preservation rise, only Point x, y-coordinate, set up in the form of multilevel hash table and preserve the outline drawing of Customer design, if arc then preserves the center of circle and sat simultaneously Mark;
Whether the 3rd step, travels through Hash table in a circulating manner, obtain the two ends of all profile frame lines and need milling to enter portion Whether simultaneously toward the side judged result that also milling is entered when division technique side, milling are entered;
4th step, line line meets depending on the then size of foundation intersecting point coordinate and non-profile frame line other end coordinate, bank Meet then according to friendship(Cut)Depending on the size of the central coordinate of circle of point coordinates and arc, specific determination methods are illustrated by accompanying drawing;
5th step, connects these line segments to form production needs according to the estimate of situation at all profile frame line two ends Design outline closed figure.
Judge that situation is entered in the milling for being stored in the line segment AB of the first order profile frame line of Hash table A ends:If AB is only first Belong to a certain section of circumscribed rectangle side, if then point A(Or B)Four summits of not circumscribed rectangle one of them when, this point Position should milling enter the segment distance of technique edges one, it is the value corresponding to key that A point coordinates is then taken out from the Hash table second level, i.e., with The list of line segment or the coordinate of arc that the point coordinates meets, searching loop list, if line segment AB is vertical, is traversed That line segment(It is set to AC)C point Y-coordinate compared with A point Y-coordinate and obtained a result(If A is line segment AB lower end and Y_a> If Y_c or A are line segment AB upper end and Y_a<Y_c, should enter toward side milling, otherwise not enter toward side milling);If what is traversed is arc (It is set to AOC), with regard to comparison point A and the center of circle(If A is line segment AB upper end, if center of circle O is beyond circumscribed rectangle and Y_a<Y_o or Center of circle O is within circumscribed rectangle and Y_a>It should enter during Y_o toward side milling;If A is line segment AB lower end, if center of circle O is circumscribed Beyond rectangle and Y_a>Y_o or center of circle O are within circumscribed rectangle and Y_a<It should enter during Y_o toward side milling, if line segment AB is water Flat, then that line segment traversed(It is set to AC)C point X-coordinate compared with A point Y-coordinate and obtained a result;If A is line segment AB left end and X_a>If X_c or A are line segment AB right-hand members and X_a<X_c, should enter toward side milling, otherwise not enter toward side milling; If what is traversed is arc(It is set to AOC), with regard to comparison point A and the center of circle(If A is line segment AB left end, if center of circle O circumscribed rectangle with Outer and X_a>X_o or center of circle O are within circumscribed rectangle and X_a<It should enter during X_o toward side milling;If A is line segment AB right-hand member, If center of circle O is beyond circumscribed rectangle and X_a<X_o or center of circle O are within circumscribed rectangle and X_a>Should be toward side milling during X_o Enter), once being learnt during traversal certainly needs milling to enter, then can jump out this traversal, then go to judge another end points or other profile side Situation is entered in the milling of wire.
With reference to instantiation, the profile of wiring board in the design of the present invention, wiring board profile as shown in Figure 1, figure is described Wire 1, is provided with one or more recessed position 2 in four sides of profile wire 1, recessed position 2 can for semicircle or fillet or Right angle.Wherein the lower left corner for the present invention will set 0. 11, if it is exactly this in fact that we, which connect profile frame line, The circumscribed rectangle of wiring board.
Plus the profile after technique edges is as shown in Fig. 2 it is exactly technique edges 5 than those parts that upper figure has more, in recessed position 2 The recessed position of upper correspondence is exactly that work side 6 is entered in so-called milling, and having most of position also side, also a segment distance, such as fillet phase are entered in milling Work side 6 is entered in corresponding milling;Some do not enter toward side milling, and work side 6 is entered in such as corresponding milling in right angle:
Fig. 3 is Fig. 2 lower middle portion partial enlargements, and such as icon shows:Line segment AB is exactly a certain section of profile frame line, it is understood that It is the left side of the circumscribed rectangle of wiring board certain is a bit of, and AB be it is vertical, due to A points do not fall circumscribed rectangle some Summit, thus at A points should milling enter technique edges, concurrently there are the arc AOC met with AB in A points, and the circumscribed square of point O assist sides Outside shape and Y_a<Y_o, therefore certain distance should be entered to B end mills.
In addition, to B points position, (as shown in Figure 4) is checked in amplification, this figure is the enlarged drawing of the corner position of B points there, is passed through Amplification, it is understood that corner is really the false arc connected into by multistage line segment, then now judge that the milling of B points position enters situation then Should judge the mode that line segment meets with line segment:Because B points all do not fall within certain of the circumscribed rectangle of wiring board profile as A points On individual summit, thus B points should milling enter the segment distance of technique edges one, and line segment AB and line segment BP meets at B points, due to AB be it is vertical, And X_b<X_p, therefore B points should be while milling be entered toward another section of line segment AB(This example is A ends)A segment distance is entered in milling.
It can accurately show that situation is entered in all millings according to the method described before, and the method for above-mentioned derivation can pass through program To realize, so CAM personnel designed lines plate profile the efficiency that will significantly improve, improve design and compatible degree.
The foregoing is only a preferred embodiment of the present invention, not makees any formal limitation to the present invention;It is all The those of ordinary skill of the industry can be shown in by specification accompanying drawing and described above and swimmingly implement the present invention;But, it is all Those skilled in the art without departing from the scope of the present invention, using disclosed above technology contents The equivalent variations for a little variation, modification and evolution made, are the equivalent embodiment of the present invention;Meanwhile, it is all according to the present invention The variation, modification and evolution of any equivalent variations made to above example of substantial technological etc., still fall within the present invention's Within the protection domain of technical scheme.

Claims (2)

1. a kind of judge the method that technique edges are entered in wiring board profile milling, it is characterised in that comprises the following steps:
The first step, before profile graphic designs, sets a zero point, rectangular coordinate system is set up, to ensure that profile frame line is all water Flat or vertical;
Second step, with the rising of profile frame line, stop x, y-coordinate save as the first order of Hash table, to be protected in first order Hash table The rising of the other line segments met with it for rising, finding out centered on stop in the setting margin of tolerance for the every line segment deposited, stop x, y Coordinate, sets up in the form of multilevel hash table and preserves the outline drawing of Customer design, if arc then preserves central coordinate of circle simultaneously;
Whether the 3rd step, travels through Hash table in a circulating manner, obtain the two ends of all profile frame lines and need milling to enter part work Whether simultaneously toward the side judged result that also milling is entered when skill side, milling are entered;
4th step, line line meets depending on the then size of foundation intersecting point coordinate and non-profile frame line other end coordinate, and bank meets Then depending on the size of the central coordinate of circle of foundation intersecting point coordinate and arc, or the center of circle that bank meets then according to point of contact coordinate and arc is sat Depending on target size;
5th step, connects these line segments according to the estimate of situation at all profile frame line two ends to form setting for production needs Count profile closed figure.
2. according to claim 1 judge the method that technique edges are entered in wiring board profile milling, it is characterised in that:Judgement has been stored in Situation is entered in the milling at the line segment AB of the first order profile frame line of Hash table A ends:If AB first only belongs to circumscribed rectangle side A certain section, if then four summits of the not circumscribed rectangle of point A or B one of them when, this position should milling enter technique edges one Segment distance, it is the value corresponding to key that A point coordinates is then taken out from the Hash table second level, i.e., the line segment met with the point coordinates or The list of the coordinate of arc, the searching loop list,
If line segment AB is vertical, that line segment AC traversed C point Y-coordinate is compared with A point Y-coordinate and draws knot Really, if A is line segment AB lower end and Y_a>If Y_c or A are line segment AB upper end and Y_a<Y_c, should enter, otherwise not toward side milling Enter toward side milling;
If that traverse is arc AOC, with regard to comparison point A and the center of circle, if A is line segment AB upper end, if center of circle O is beyond circumscribed rectangle And Y_a<Y_o or center of circle O are within circumscribed rectangle and Y_a>It should enter during Y_o toward side milling;
If A is line segment AB lower end, if center of circle O is beyond circumscribed rectangle and Y_a>Y_o or center of circle O are within circumscribed rectangle and Y_ a<It should enter during Y_o toward side milling, if line segment AB is horizontal, that line segment AC traversed C point X-coordinate and A points Y Coordinate compares and obtained a result;
If A is line segment AB left end and X_a>If X_c or A are line segment AB right-hand members and X_a<X_c, should enter, otherwise toward side milling Do not enter toward side milling;
If that traverse is arc AOC, with regard to comparison point A and the center of circle, if A is line segment AB left end, if center of circle O is beyond circumscribed rectangle And X_a>X_o or center of circle O are within circumscribed rectangle and X_a<It should enter during X_o toward side milling;
If A is line segment AB right-hand member, if center of circle O is beyond circumscribed rectangle and X_a<X_o or center of circle O are within circumscribed rectangle and X_ a>It should enter during X_o toward side milling, once being learnt during traversal certainly needs milling to enter, then jump out this traversal, then go to judge the other end Situation is entered in the milling of point or other profile frame line.
CN201410847271.0A 2014-12-31 2014-12-31 It is a kind of to judge the method that technique edges are entered in wiring board profile milling Active CN104537176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410847271.0A CN104537176B (en) 2014-12-31 2014-12-31 It is a kind of to judge the method that technique edges are entered in wiring board profile milling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410847271.0A CN104537176B (en) 2014-12-31 2014-12-31 It is a kind of to judge the method that technique edges are entered in wiring board profile milling

Publications (2)

Publication Number Publication Date
CN104537176A CN104537176A (en) 2015-04-22
CN104537176B true CN104537176B (en) 2017-09-05

Family

ID=52852703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410847271.0A Active CN104537176B (en) 2014-12-31 2014-12-31 It is a kind of to judge the method that technique edges are entered in wiring board profile milling

Country Status (1)

Country Link
CN (1) CN104537176B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111390248B (en) * 2020-03-18 2021-12-10 广州兴森快捷电路科技有限公司 Processing method and device for circuit board convex angle, computer equipment and storage medium
CN113490337B (en) * 2021-07-15 2022-07-26 广东通元精密电路有限公司 CAM-based (computer-aided manufacturing) -based LED (light-emitting diode) circuit board shape processing method without technical edge

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699446A (en) * 2009-11-03 2010-04-28 福建星网锐捷网络有限公司 Chamfering method and device for planar graph in printed circuit board
CN103179796A (en) * 2013-03-05 2013-06-26 泰和电路科技(惠州)有限公司 Circuit board manufacturing method and circuit board manufactured by same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678878B2 (en) * 2002-03-04 2004-01-13 Daniel J. Smith Intelligent milling path creation for panelization abstract

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699446A (en) * 2009-11-03 2010-04-28 福建星网锐捷网络有限公司 Chamfering method and device for planar graph in printed circuit board
CN103179796A (en) * 2013-03-05 2013-06-26 泰和电路科技(惠州)有限公司 Circuit board manufacturing method and circuit board manufactured by same

Also Published As

Publication number Publication date
CN104537176A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN104703044B (en) A kind of picture barrage dissemination method
CN107748950A (en) A kind of AGV dispatching methods of single major trunk roads
CN104537176B (en) It is a kind of to judge the method that technique edges are entered in wiring board profile milling
CN106775600A (en) The processing method and processing device of HTML5 canvas painting canvas
US9606776B2 (en) Programming device
CN103365492A (en) Multi-point touch identification method for infrared touch screen
CN103295227B (en) A kind of circle detection method based on gradient direction segmentation
CN104401016B (en) A kind of method that substandard products are repaired by 3 D-printing
CN104977745A (en) Substrate for liquid crystal display panel and liquid crystal display panel cutting method
US8719757B2 (en) Method to enhance double patterning routing efficiency
CN115249324A (en) Method and device for determining position to be stacked in stack shape and computing equipment
CN107632306A (en) A kind of wire obstacle safe distance detection method for considering trees lodging
CN103065306B (en) The disposal route of graph data and device
US20180292686A1 (en) Display unit process control method and system
CN207319065U (en) A kind of AGV path tracks of list main orbit
US9389605B2 (en) Method of generating a numerical control program, apparatus for the same, and program for causing a computer to execute the method
CN109152220B (en) Adhesive film windowing control method and device based on cutting layer
CN103646898A (en) Method for detecting defects of wafer with the use of electron beam
CN105081583B (en) A kind of method for improving Precision of Laser Cutting
CN104199807B (en) A kind of figure composition method
US10162909B2 (en) Device placement automatic calculation apparatus
CN104461577A (en) Flow chart display method based on HTML5 graph drawing program
CN104378929A (en) Circuit board production method
CN112950748B (en) Building drawing splicing method and related device
EP4343505A1 (en) Method and apparatus for sensing area separation during floating control, and floating control remote controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Lin Yingsheng

Inventor after: Feng Yingming

Inventor after: Chen Chun

Inventor after: Wu Shoukun

Inventor after: Chen Shengjie

Inventor after: Zhang Yizong

Inventor after: Liu Min

Inventor before: Feng Ying

Inventor before: Feng Yingming

Inventor before: Chen Chun

Inventor before: Wu Shoukun

Inventor before: Chen Shengjie

Inventor before: Zhang Yizong

Inventor before: Liu Min

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant