CN110362942A - A kind of generation method on PCB track side generates system and relevant apparatus - Google Patents

A kind of generation method on PCB track side generates system and relevant apparatus Download PDF

Info

Publication number
CN110362942A
CN110362942A CN201910656825.1A CN201910656825A CN110362942A CN 110362942 A CN110362942 A CN 110362942A CN 201910656825 A CN201910656825 A CN 201910656825A CN 110362942 A CN110362942 A CN 110362942A
Authority
CN
China
Prior art keywords
sheet frame
rectangular
length
track side
pcb
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.)
Withdrawn
Application number
CN201910656825.1A
Other languages
Chinese (zh)
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910656825.1A priority Critical patent/CN110362942A/en
Publication of CN110362942A publication Critical patent/CN110362942A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/392Floor-planning or layout, e.g. partitioning or placement

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Architecture (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a kind of generation method on PCB track side, comprising: obtains graph data, and determines sheet frame figure from graph data;It judges whether there is and the isometric wide rectangle of sheet frame figure;If so, determining that sheet frame figure corresponds to rectangular length;PCB track side is generated according to length and DFM parameter of regularity;Wherein, DFM parameter of regularity includes width of PCB track while with rectangular distance and PCB track.By determining the sheet frame figure in graph data, PCB track side can be generated automatically according to rectangular length and DFM parameter of regularity, automatically create track side in the long side of sheet frame.PCB track side can be automatically created, without manually surveying and drawing, human cost is saved, improves the design production efficiency of PCB.The application also provide a kind of PCB track while generation system, a kind of computer readable storage medium and generating device when a kind of PCB track, there is above-mentioned beneficial effect.

Description

A kind of generation method on PCB track side generates system and relevant apparatus
Technical field
This application involves electronic fields, the in particular to a kind of generation method on PCB track side, generation system and related dress It sets.
Background technique
In existing automation PCBA production technology, the design of the track side of pcb board be it is essential, it can be assisted Pcb board carries out plug-in unit limp, welding wave crest, therefore in PCB layout design, it is necessary to design this track side, current one As track side design be all have artificial manual measurement then draw, need to expend at least one manpower and the time specially do this Item work.Therefore the problem of PCBA production efficiency is those skilled in the art's urgent need to resolve how is improved.
Summary of the invention
The purpose of the application is to provide a kind of generation method on PCB track side, generation system, a kind of computer-readable storage Medium and a kind of PCB track side generating device can reduce human cost when PCB production, improve production efficiency.
In order to solve the above technical problems, the application provides a kind of generation method on PCB track side, specific technical solution is such as Under:
Graph data is obtained, and determines sheet frame figure from the graph data;
It judges whether there is and the isometric wide rectangle of the sheet frame figure;
If so, determining that the sheet frame figure corresponds to rectangular length;
PCB track side is generated according to the length and DFM parameter of regularity;
Wherein, the DFM parameter of regularity includes PCB track side and the rectangular distance and the PCB track The width on side.
Wherein, determine that all sheet frame figures include: from the graph data
All sheet frame figures are determined from graph data according to sheet frame attribute.
Wherein, generating PCB track side according to the length and DFM parameter of regularity includes:
A rectangle frame is respectively drawn in the rectangular long side two sides according to the length and DFM parameter of regularity;
Wherein, the length of the rectangle frame and the rectangular equal length, the width of the rectangle frame is institute State the width on PCB track side.
Wherein it is determined that the sheet frame figure corresponds to rectangular length includes:
Obtain the coordinate that the sheet frame figure corresponds to rectangular four vertex;
The rectangular length is calculated according to the coordinate on four vertex.
The application also provides a kind of generation system on PCB track side, comprising:
Module is obtained, for obtaining graph data, and determines sheet frame figure from the graph data;
Judgment module, for judging whether there is and the isometric wide rectangle of the sheet frame figure;
Determining module determines that the sheet frame figure corresponds to rectangular length if be judged as YES for the judgment module Degree;
Track side generation module, for generating PCB track side according to the length and DFM parameter of regularity;
Wherein, the DFM parameter of regularity includes PCB track side and the rectangular distance and the PCB track The width on side.
Wherein, the acquisition module includes:
Figure determination unit, for determining all sheet frame figures from graph data according to sheet frame attribute.
Wherein, track side generation module includes:
Track side generation unit, for each in the rectangular long side two sides according to the length and DFM parameter of regularity Draw a rectangle frame;
Wherein, the graphical boxes are rectangle, and the length of the rectangle frame and the rectangular equal length are described The width of rectangle frame is the width on PCB track side.
Wherein, the determining module includes:
Acquiring unit corresponds to the coordinate on rectangular four vertex for obtaining the sheet frame figure;
Computing unit, for the rectangular length to be calculated according to the coordinate on four vertex.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey The step of generation method as described above is realized when sequence is executed by processor.
The application also provides a kind of PCB track side generating device, including memory and processor, has in the memory Computer program, the processor realize the step of generation method as described above when calling the computer program in the memory Suddenly.
The application provides a kind of generation method on PCB track side, comprising: obtains graph data, and from the graph data Middle determining sheet frame figure;It judges whether there is and the isometric wide rectangle of the sheet frame figure;If so, determining the sheet frame figure Shape corresponds to rectangular length;PCB track side is generated according to the length and DFM parameter of regularity;Wherein, the DFM rule Then parameter includes width of PCB track while with the rectangular distance and the PCB track.
The application passes through the sheet frame figure determined in graph data, can be automatically according to length when sheet frame image is rectangle Rectangular length and DFM parameter of regularity generate PCB track side, automatically create track side with the long side in sheet frame.It can be automatic PCB track side is created, without manually surveying and drawing, human cost is saved, improves the design production efficiency of PCB.The application also mentions For a kind of PCB track while generation system, a kind of computer readable storage medium and generating device when a kind of PCB track, have Above-mentioned beneficial effect, details are not described herein again.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the generation method on PCB track side provided by the embodiment of the present application;
Fig. 2 is sheet frame pictorial diagram provided by the embodiment of the present application;
Fig. 3 is a kind of generation schematic diagram on PCB track side provided by the embodiment of the present application;
Fig. 4 is that rectangle length provided by the embodiment of the present application determines schematic diagram;
Fig. 5 is the generation schematic diagram on another kind PCB track side provided by the embodiment of the present application;
Fig. 6 is a kind of flow chart of the generation method on PCB track side provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of flow chart of the generation method on PCB track side provided by the embodiment of the present application, it should Generation method includes:
S101: obtaining graph data, and sheet frame figure is determined from the graph data;
This step is intended to determine the sheet frame figure in graph data.At this for how to determine the sheet frame figure in graph data Shape is not construed as limiting, it is preferred that sheet frame figure can be determined according to sheet frame attribute.Since sheet frame attribute is line, with algorithm or journey The figure of all line attributes on sequence scanning patter interface, can be obtained all sheet frame figures.
S102: it judges whether there is and the isometric wide rectangle of the sheet frame figure;If so, into S103;
This step is intended to judge whether sheet frame figure is approximately rectangle, and approximate rectangle should be isometric etc. with sheet frame figure It is wide.Referring to fig. 2, the four sheet frame figures illustrated in Fig. 2 can be approximated to be rectangle.Particularly, when each angle of sheet frame figure Usually there is corresponding isometric wide rectangle when being right angle.Herein for how to judge sheet frame figure with the presence or absence of corresponding etc. Long wide rectangle is not especially limited, such as can be by the corresponding inscribed rectangle that judges the circumscribed circle of the sheet frame figure Whether there are the modes that part side is overlapped to judge the sheet frame figure with the presence or absence of rectangle, or by sheet frame figure with sheet frame figure The both ends polishing extended line of sunk area is handled to obtain corresponding to isometric wide rectangle.
S103: determine that the sheet frame figure corresponds to rectangular length;
This step is it needs to be determined that sheet frame figure corresponds to rectangular length.It should be noted that the rectangular length and width Be not to be exceeded sheet frame figure most greatly enhance and it is wide.Due to only adding in the rectangular two sides long edge position when generating PCB track side Add, therefore need to only determine rectangular length, using the length as PCB track side.
In the actual operation process, the data on four side of rectangle are usually first obtained, then determine length.
S104: PCB track side is generated according to the length and DFM parameter of regularity;
It should be noted that DFM parameter of regularity includes width of PCB track while with rectangular distance and PCB track. The DFM parameter of regularity actually refers to the usual standard that requirement or this field is made of PCBA manufacturer.For PCB patch The general requirement of technique, the track of PCB can be between 2-2.5mm while will be from pcb board, and track hem width degree will be generally in 4- Between 5mm.
It can be according to the length and DFM parameter of regularity in the rectangular length specifically, generating PCB track side Respectively draw a rectangle frame in side two sides;
Wherein, the length of rectangle frame and the rectangular equal length, the width of the rectangle frame are the PCB The width on track side.
The PCB track side of generation is actually also respectively to draw a graphical boxes, attribute in the long side two sides of the sheet frame image It is generally also line, as PCB track side.
Referring to Fig. 3, sheet frame figure each in Fig. 2 is generated corresponding PCB track side by Fig. 3.
The embodiment of the present application provides a kind of generation method on PCB track side, by determining the sheet frame figure in graph data Shape can generate PCB track side automatically according to rectangular length and DFM parameter of regularity when sheet frame image is rectangle, with Track side is automatically created in the long side of sheet frame.PCB track side can be automatically created, without manually surveying and drawing, saves manpower Cost improves the design production efficiency of PCB.
Based on the above embodiment, determine that the sheet frame figure corresponds to rectangle as preferred embodiment, in step S103 Length include:
S1031: the coordinate that the sheet frame figure corresponds to rectangular four vertex is obtained;
S1032: the rectangular length is calculated according to the coordinate on four vertex.
The embodiment of the present application is further intended to limit how to determine rectangular length.Rectangular four tops are obtained first The coordinate of point.It is easily understood that being not construed as limiting herein for the position of establishing of coordinate system, coordinate system is established in any case, only Meeting opposite vertexes coordinate has an impact, without will affect rectangular physical length.
After obtaining four apex coordinates, calculating available two different numerical value two-by-two is respectively length and width.
In practical applications, the corresponding technical solution of the application can be integrated in script or software in the form of code In, by taking script as an example, then a kind of specific implementation process can be such that
All displays are first shut off, sheet frame figure are only opened, since sheet frame attribute is line, with script scans graphical interfaces The figure of upper all line attributes, obtains sheet frame figure.Judge whether sheet frame figure can be approximated to be rectangle.If sheet frame figure It can be approximated to be rectangle, obtain rectangular four number of edges evidence.Again by the form bullet of rectangular four number of edges interfaces windows accordingly It shows out, as shown in figure 4, four edge lengths that engineer can show according to window at this time judge the position where long side, then The value of spacing1 and spacing2 is inputted, spacing1 refers to distance of the sheet frame apart from track side, and spacing2 is referred to The width value on track side.Such as Fig. 5, the two values can require to be inputted according to specific DFM rule, and the length on track side is The length of rectangular long side thus;It is drawn automatically according to size and required distance in the two sides of long side after regular numeral input Making an attribute is " Line " graphical boxes, the track side of as PCB.
A kind of generation system on PCB track side provided by the embodiments of the present application is introduced below, life described below Reference can be corresponded to each other with a kind of generation method on above-described PCB track side at system.
Referring to Fig. 6, the application also provides a kind of generation system on PCB track side, comprising:
Module 100 is obtained, for obtaining graph data, and determines sheet frame figure from the graph data;
Judgment module 200, for judging whether there is and the isometric wide rectangle of the sheet frame figure;
It is rectangular to determine that the sheet frame figure corresponds to if be judged as YES for the judgment module 200 for determining module 300 The length of shape;
Track side generation module 400, for generating PCB track side according to the length and DFM parameter of regularity;
Wherein, the DFM parameter of regularity includes PCB track side and the rectangular distance and the PCB track The width on side.
Based on the above embodiment, as preferred embodiment, the acquisition module 100 includes:
Figure determination unit, for determining all sheet frame figures from graph data according to sheet frame attribute.
Based on the above embodiment, as preferred embodiment, track side generation module 400 includes:
Track side generation unit, for each in the rectangular long side two sides according to the length and DFM parameter of regularity Draw a rectangle frame;
Wherein, the graphical boxes are rectangle, and the length of the rectangle frame and the rectangular equal length are described The width of rectangle frame is the width on PCB track side.
Based on the above embodiment, as preferred embodiment, the determining module 300 includes:
Acquiring unit corresponds to the coordinate on rectangular four vertex for obtaining the sheet frame figure;
Computing unit, for the rectangular length to be calculated according to the coordinate on four vertex.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program It is performed the step of generation method on a kind of PCB track side provided by above-described embodiment may be implemented.The storage medium can To include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), the various media that can store program code such as magnetic or disk.
Present invention also provides a kind of PCB track side generating devices, may include memory and processor, the memory In have computer program above-described embodiment may be implemented when the processor calls the computer program in the memory A kind of generation method step on provided PCB track side.Certain PCB track side generating device can also include various nets Network interface, the components such as power supply.Specific implementation process can refer to is integrated in the corresponding technical solution of the application in the form of code Implementation content when script or software.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For embodiment provide system and Speech, since it is corresponding with the method that embodiment provides, so being described relatively simple, related place is referring to method part illustration ?.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and above embodiments are said It is bright to be merely used to help understand the present processes and its core concept.It should be pointed out that for the ordinary skill of the art For personnel, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these improvement It is also fallen into the protection scope of the claim of this application with modification.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of generation method on PCB track side characterized by comprising
Graph data is obtained, and determines sheet frame figure from the graph data;
It judges whether there is and the isometric wide rectangle of the sheet frame figure;
If so, determining that the sheet frame figure corresponds to rectangular length;
PCB track side is generated according to the length and DFM parameter of regularity;
Wherein, the DFM parameter of regularity includes the PCB track while with the rectangular distance and the PCB track Width.
2. generation method according to claim 1, which is characterized in that determine all sheet frame figures from the graph data Include:
All sheet frame figures are determined from graph data according to sheet frame attribute.
3. generation method according to claim 1, which is characterized in that generate institute according to the length and DFM parameter of regularity Stating PCB track side includes:
A rectangle frame is respectively drawn in the rectangular long side two sides according to the length and DFM parameter of regularity;
Wherein, the graphical boxes are rectangle, and the length of the rectangle frame and the rectangular equal length are described rectangular The width of shape frame is the width on PCB track side.
4. generation method according to claim 1, which is characterized in that determine that the sheet frame figure corresponds to rectangular length Include:
Obtain the coordinate that the sheet frame figure corresponds to rectangular four vertex;
The rectangular length is calculated according to the coordinate on four vertex.
5. a kind of generation system on PCB track side characterized by comprising
Module is obtained, for obtaining graph data, and determines sheet frame figure from the graph data;
Judgment module, for judging whether there is and the isometric wide rectangle of the sheet frame figure;
Determining module determines that the sheet frame figure corresponds to rectangular length if be judged as YES for the judgment module;
Track side generation module, for generating PCB track side according to the length and DFM parameter of regularity;
Wherein, the DFM parameter of regularity includes the PCB track while with the rectangular distance and the PCB track Width.
6. generation system according to claim 5, which is characterized in that the acquisition module includes:
Figure determination unit, for determining all sheet frame figures from graph data according to sheet frame attribute.
7. generation system according to claim 5, which is characterized in that track side generation module includes:
Track side generation unit, for respectively being drawn according to the length and DFM parameter of regularity in the rectangular long side two sides One rectangle frame;
Wherein, the graphical boxes are rectangle, and the length of the rectangle frame and the rectangular equal length are described rectangular The width of shape frame is the width on PCB track side.
8. generation system according to claim 5, which is characterized in that the determining module includes:
Acquiring unit corresponds to the coordinate on rectangular four vertex for obtaining the sheet frame figure;
Computing unit, for the rectangular length to be calculated according to the coordinate on four vertex.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of processor realizes generation method according to any one of claims 1-4 when executing.
10. a kind of PCB track side generating device, which is characterized in that including memory and processor, have meter in the memory Calculation machine program, the processor are realized as described in claim any one of 1-4 when calling the computer program in the memory Generation method the step of.
CN201910656825.1A 2019-07-19 2019-07-19 A kind of generation method on PCB track side generates system and relevant apparatus Withdrawn CN110362942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910656825.1A CN110362942A (en) 2019-07-19 2019-07-19 A kind of generation method on PCB track side generates system and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910656825.1A CN110362942A (en) 2019-07-19 2019-07-19 A kind of generation method on PCB track side generates system and relevant apparatus

Publications (1)

Publication Number Publication Date
CN110362942A true CN110362942A (en) 2019-10-22

Family

ID=68221261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910656825.1A Withdrawn CN110362942A (en) 2019-07-19 2019-07-19 A kind of generation method on PCB track side generates system and relevant apparatus

Country Status (1)

Country Link
CN (1) CN110362942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069762A (en) * 2020-09-17 2020-12-11 北京华大九天软件有限公司 Method for determining direction of slotted hole based on cartoon shape

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069762A (en) * 2020-09-17 2020-12-11 北京华大九天软件有限公司 Method for determining direction of slotted hole based on cartoon shape

Similar Documents

Publication Publication Date Title
WO2016141685A1 (en) Telecommunications engineering drawing generation method and drawing design client
CN109299675B (en) Electrical drawing based distribution box identification method and device
CN104571829A (en) Display control method of terminal and terminal
CN109324796A (en) Quick interface arrangement method and device
US20230068025A1 (en) Method and apparatus for generating road annotation, device and storage medium
CN105528333B (en) A kind of method and apparatus of document optimization display
CN110941937A (en) Electronic device, package rendering generation method, and computer-readable storage medium
CN110362942A (en) A kind of generation method on PCB track side generates system and relevant apparatus
US9747708B2 (en) Method for generating writing data and an electronic device thereof
CN103606179A (en) Animation image display method and device
CN104423919A (en) Image processing method and electronic equipment
CN108171794B (en) Plane view projection method, device, equipment and medium based on three-dimensional model
CN109408566A (en) A kind of intelligence chart recommended method and device
US20120306871A1 (en) Method and apparatus for redrawing widget
CN115618468B (en) Revit-based door and window large-scale pattern rapid drawing method, storage medium and equipment
CN113221499B (en) Mask layout generation method and device, computer equipment and storage medium
CN114924822B (en) Screenshot method and device of three-dimensional topological structure, electronic equipment and storage medium
JP2014215769A (en) Drawing generation apparatus, drawing generation method and program
CN101201866A (en) System and method for managing circuit laying document
CN110264401A (en) Continuous type image magnification method, device and storage medium based on radial basis function
CN115481268A (en) Parallel line wall data identification method, device, equipment and storage medium
CN109407955A (en) User interface interaction method, computer installation, computer readable storage medium
CN114328783A (en) Map data output method, map data processing method and device and electronic equipment
CN113128168A (en) Pad parameter checking and correcting method and device, computer equipment and storage medium
US20140375646A1 (en) Dynamic alteration of guides based on resolution changes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20191022