Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A multi-element Gerber file parsing and rendering method for improving drawing precision

A file parsing and primitive technology, applied in the field of Gerber file parsing and drawing, can solve problems such as single primitive information, improve drawing accuracy, ensure complete extraction and preservation, and high practical value.

Active Publication Date: 2019-01-18
NORTHWESTERN POLYTECHNICAL UNIV +1
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the published literature, the data processing method of Gerber files mostly uses the data structure of linked list, which has certain disadvantages in the process of data access and sorting, and there are also problems in accuracy; the primitive information for parsing and drawing is single , there are only two types of primitives, straight line and circle, and there are no related reports about other primitives

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A multi-element Gerber file parsing and rendering method for improving drawing precision
  • A multi-element Gerber file parsing and rendering method for improving drawing precision
  • A multi-element Gerber file parsing and rendering method for improving drawing precision

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0204] Example 1: Parse a straight-line data block of the Gerber file and get the following information:

[0205] Circular primitives are retrieved, with numbers 36, 37, and 38, and outer diameters of 0.185170, 0.090441, and 0.045020;

[0206] Call the No. 36 primitive and draw a separate primitive at the coordinates of (0.44931, 0.37002); move the primitive to (2.69586, 0.34359), draw a straight line with (2.69586, 0.34359) as the starting point and (2.69586, 4.78383) as the end point; (0.71361, 2.24655) draws a straight line as the starting point (6.71322, 2.24655) as the end point;

[0207] Call the No. 37 primitive, draw a separate primitive at the coordinates of (9.46194, 0.55503); move the primitive to (11.60277, 0.50217), draw a straight line with (11.60277, 0.50217) as the starting point (11.60277, 4.73097) as the end point;

[0208] Call the No. 38 primitive, move the primitive to (9.38265, 1.74438), draw a straight line with (9.38265, 1.74438) as the start...

example 2

[0210] Example 2: Parse a data block of a Gerber file containing a polygon with filled rounded corners, and obtain the following information:

[0211] A circular primitive is retrieved, the number is 40, and the outer diameter is 0.040441;

[0212] Call the No. 40 primitive;

[0213] Draw a straight line with (1.34793, 0.63432) as the starting point (10.22841, 0.63432) as the end point, draw an arc line with (10.22841, 0.63432) as the starting point, and (10.99488, 1.3215) as the end point. The relative coordinates of the arc center relative to the arc starting point are (- 0.23787, 0.95148);

[0214] Draw a straight line with (10.99488, 1.3215) as the starting point (10.99488, 2.40513) as the end point, draw an arc line with (10.99488, 2.40513) as the starting point, and (10.22841, 3.1716) as the end point. The relative coordinates of the arc center to the arc starting point are (- 1.00434, -0.18501);

[0215] Draw a straight line with (10.22841, 3.1716) as the...

example 3

[0219] Example 3: Parse a data block containing ellipses, sectors, arcs and regular polygons in a Gerber file, and get the following information:

[0220] The ellipse primitive is retrieved, numbered 57; the size of the X direction is 3.09231, and the size of the Y direction is 1.34793;

[0221] A polygon primitive is retrieved, numbered 30, side length 1.29507, number of sides 6; rotation angle 120°;

[0222] A circular primitive is retrieved, the number is 36, and the outer diameter is 0.040441;

[0223] Call the No. 36 primitive, draw an arc with (10.12269, 0.42288) as the starting point and (11.52348, 1.92939) as the end point, and the relative coordinates of the arc center relative to the arc starting point are (-0.58146, 1.77081); use (11.52348, 1.92939) as Starting point, (8.27259, 1.92939) as the end point and (8.27259, 1.92939) as the starting point, (10.12269, 0.42288) as the end point to draw a straight line; complete fan drawing;

[0224] Draw an arc w...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a multi-element Gerber file analysis and drawing method for improving drawing precision.Aiming at the single problem of Gerber file element analysis and drawing by domestic software at present, the data information of Gerber file is analyzed, and the data is analyzed, extracted and sorted by regular expression, and the analytical drawing of ellipse, arc, sector, regular polygon and rounded rectangle is realized. As you save the Gerber file data, for the data analyzed and sorted out, the storage structure is optimized, the structure and dynamic array are used to solve theproblem of data storage, and the complex data structure such as linked list is abandoned, which ensures the complete extraction and preservation of Gerber file information, and improves the flexibility of image data processing and analysis. Aiming at the problem of data loss after Gerber file data coordinates are converted into pixel coordinates, a solution is proposed to improve the image rendering accuracy.

Description

technical field [0001] The invention relates to an analysis and drawing technology of Gerber files, in particular to the analysis and drawing technology of RS-274X version Gerber files in the industry standard format of printed circuit boards. Background technique [0002] In industries such as surface mount, it is necessary to obtain surface information such as printed circuit board pads and wiring according to Gerber files, which can be used as standard comparison data for production quality inspection. Gerber files are a file format originally developed by Gerber for the optical plotters produced by the company, and later evolved into the standard optical drawing format files of the American Electronics Industry Association, and are now mostly used in the printed circuit board manufacturing industry. The printed circuit board manufacturing department usually produces printed circuit boards based on the Gerber files provided by the user or the enterprise design department....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/50
CPCG06F30/39
Inventor 齐敏王子彤魏效昱张国安
Owner NORTHWESTERN POLYTECHNICAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products