A kind of automatic method for making pcb board set jigsawTechnical field
The present invention relates to pcb board to produce and process technical field, more particularly to a kind of automatic side for making pcb board set jigsawMethod.
Background technology
When PCB engineerings make, the method for traditional set jigsaw carries out jigsaw by hand in engineering Software for producing, in handNeeding largely to carry out coordinate calculating in dynamic jigsaw and data calculate, continuous repetitive operation makes one easy fatigue, loosens quality,It can not ensure the efficiency and correctness of operation, therefore existing method can not meet the need that efficiently quickly PCB engineerings makeAsk.
The content of the invention
In view of the drawbacks described above of the prior art, the technical problems to be solved by the invention are to provide a kind of automatic makingThe method of pcb board set jigsaw, to solve the deficiencies in the prior art.
To achieve the above object, the present invention provides a kind of automatic method for making pcb board set jigsaw, including following stepSuddenly:
Step 1, read shape data in PCB file laminations, the coordinate and appearance and size of shape data is analyzed, by jigsawThe form that parameter is filled in, to make the old process of pcb board set jigsaw, there is provided interface for users fills in jigsaw parameter;
Step 2, user fill in jigsaw parameter, including:The number of jigsaw X-direction and Y-direction, the addition of technique edges after jigsawParameter, technique edges upper Positioning holes and the parameter of cursor point addition after technique edges addition, pre-compensates for after location hole and the addition of cursor pointParameter;
When step 3, the automatic pcb board set jigsaw orders of execution, program first detects the correctness that user fills in jigsaw parameter,The jigsaw parameter built-in command without exception for sending engineering Software for producing is to engineering Software for producing.
Further, shape data includes drilling attribute, line properties, shape category in the PCB file laminations of the step 1Property.
Further, the step 3 engineering Software for producing performs external program by script interfaces.
Further, step 3 program first detects the correctness that user fills in parameter, and parameter is without exception to send engineering systemMake the built-in command of software to engineering Software for producing, be specially:The jigsaw parameter program mould filled in reference to shape data and userIntend jigsaw, when finding that jigsaw data fill in abnormal when simulating jigsaw, interface prompt user fills in abnormal data, and user fills out againWrite data or confirm that data are without exception, after simulating jigsaw, the parameter of program combination simulation will instruct and parameter is input to workJourney Software for producing, engineering Software for producing receive instruction and execute instruction, instruct the automatic set jigsaw that is finished to make and finish.
Further, described program combines the parameter simulated and instruction is input to engineering Software for producing with parameter, is by mouldThe jigsaw parameter integration drawn up is writing the built-in command in engineering Software for producing, parameter is filled up to built-in command to togetherIn be sent to engineering Software for producing, engineering Software for producing receives and execute instruction.
Further, before step 2 user fills in jigsaw parameter, program first routinely fills in the ginseng of all jigsaw dataNumber, user only need to confirm and change parameter.
The beneficial effects of the invention are as follows:
1st, go out shape data by reading shape file information analysis, analyze the size and coordinate of shape, user does not have toOneself coordinates computed and take measurements.
2nd, allow user to fill in jigsaw data and parameter in the form of interface, first insert conventional parameter in advance, user only needsConfirm and change partial parameters;
3rd, realize complicated and cumbersome set jigsaw, become simplified as and standardize, user only needs simply reallyRecognize and change parameter, confirm to perform, program will calculate cumbersome jigsaw, and setting coordinate, and the addition of set technique edges figure, is pressedStep is finished, and avoids omission or the generation of error situation caused by engineering staff neglects in numerous and diverse parameter setting and operation;
4th, substantial amounts of PCB engineerings Production Time can be saved, is obviously improved engineering producing efficiency, shortens the research and development week of productPhase, accelerates the listing paces of product.
It is described further below with reference to the technique effect of design of the attached drawing to the present invention, concrete structure and generation, withIt is fully understood from the purpose of the present invention, feature and effect.
Brief description of the drawings
Fig. 1 is the flow chart of the present invention.
Embodiment
As shown in Figure 1, a kind of automatic method for making pcb board set jigsaw, comprises the following steps:
Step 1, read shape data in PCB file laminations, the coordinate and appearance and size of shape data is analyzed, by jigsawThe form that parameter is filled in, to make the old process of pcb board set jigsaw, there is provided interface for users fills in jigsaw parameter;
Step 2, user fill in jigsaw parameter, including:The number of jigsaw X-direction and Y-direction, the addition of technique edges after jigsawParameter, technique edges upper Positioning holes and the parameter of cursor point addition after technique edges addition, pre-compensates for after location hole and the addition of cursor pointParameter;
When step 3, the automatic pcb board set jigsaw orders of execution, program first detects the correctness that user fills in jigsaw parameter,The jigsaw parameter built-in command without exception for sending engineering Software for producing is to engineering Software for producing.
In the present embodiment, shape data includes drilling attribute, line properties, shape in the PCB file laminations of the step 1Attribute.First find the layer of its profile, read the file data of shape layer, analyze the coordinate of shape, the size of shape, afterThe coordinate of some other addition of the jigsaw coordinate of other layers of face and adding technology side etc., all with this shape data position basis.In addition, step 1 is described to make the old process of pcb board set jigsaw, there is provided interface for users fills in jigsaw parameter, thanAs first done X, the jigsaw of Y-direction of single plate, then do the addition of the technique edges after jigsaw, then interface must be first fill in jigsaw X,The parameter of Y-direction number, then be the parameter for the parameter and point of addition for filling in adding technology side size.
In the present embodiment, the step 3 engineering Software for producing performs external program by script interfaces.
In the present embodiment, step 3 program first detects the correctness that user fills in parameter, parameter transmission engineering without exceptionThe built-in command of Software for producing is specially to engineering Software for producing:The jigsaw parameter program filled in reference to shape data and userJigsaw is simulated, when finding that jigsaw data fill in abnormal when simulating jigsaw, interface prompt user fills in abnormal data, and user is againFill in data or confirm that data are without exception, after simulating jigsaw, the parameter of program combination simulation will instruct and parameter is input toEngineering Software for producing, engineering Software for producing receive instruction and execute instruction, instruct the automatic set jigsaw that is finished to make and finish.Wherein, shape data is the related data of needs are obtained and analyzed before user fills in parameter shape, coordinate and size,Simulation jigsaw is carried out in conjunction with the parameter that user fills in, can be to the parameter detecting of user, such as user while simulating jigsawThe technique edges width filled in is on shape side after jigsaw plus the width of 5mm, then the parameter of filling in of technique edges location hole isFill in the distance addition of 8mm on the shape side after jigsaw, then technique edges location hole can be thus added to the outer of effective plateFace, here it is an abnormal parameters, it is necessary to remind user in the form of interface.
In the present embodiment, described program combine simulation parameter by instruct and parameter is input to engineering Software for producing, be byThe jigsaw parameter integration simulated is writing the built-in command in engineering Software for producing to together, and parameter is filled up to inside refers toEngineering Software for producing is sent in order, engineering Software for producing receives and execute instruction.
In the present embodiment, before step 2 user fills in jigsaw parameter, program first routinely fills in all jigsaw dataParameter, user only need to confirm and change parameter.
The present invention operation principle be:By in PCB engineering design softwares, such as genesis, in PCB engineering design softwaresIn script exploitation port, by the lamination in PCB engineering design softwares into row information read, read shape layer and be identifiedWith reading data, the data of shape layer are analyzed, after the data for analyzing needs, using this data as jigsaw coordinate and are addedAdd other addition basic datas such as technique edges, interface display needs the parameter of jigsaw, and program first inserts conventional parameter, Yong Huke in advanceTo make corresponding modification according to actual conditions, program simulation jigsaw after parameter, some run into during simulation jigsaw have been confirmedParameter is filled in abnormal, and interface prompt rewrites or confirms that parameter is errorless, and program combines the parameter of simulation jigsaw, passes through engineeringThe script interfaces of Software for producing send instructions to engineering Software for producing, and engineering Software for producing receives instruction and execute instruction, refers toMake the set jigsaw that is finished make to finish.
Preferred embodiment of the invention described in detail above.It should be appreciated that those of ordinary skill in the art withoutNeed creative work to conceive according to the present invention and make many modifications and variations.Therefore, all technologies in the artPersonnel are available by logical analysis, reasoning, or a limited experiment on the basis of existing technology under this invention's ideaTechnical solution, all should be in the protection domain being defined in the patent claims.