Kicad utility main window BZR3976.png

Kicad/Print version – Wikibooks, open books for an open world

KiCad is an open supply software program suite for EDA (Digital Design Automation)

Kicad

Introduction
Set up and configuration
Use

File Codecs

Schematic Information Format
Schematic Libraries Information Format
Board File Format

Show choices

It’s endorsed to set your show/graphics card to make use of 24 or 32 bits per pixel.
The 16-bit mode will work for Eeschema, however in Pcbnew the show won’t perform appropriately below Linux on this mode.

Initialization of the default configuration

A default configuration file (kicad.professional) is equipped in C:Program Information (x86)KiCadsharetemplate. It serves because the template for every new venture. It may be modified or added to if essential, often for the record of libraries to load. Run Eeschema by way of kicad or straight (Linux command; /usr/native/kicad/bin/eeschema). Replace the configuration after which reserve it in /usr/native/kicad/template/kicad.professional

With Home windows, so as to add a brand new library with Eeschema, go to Preferences –> Library –> Click on on the Add button. Discover the brand new library file (.lib extension), spotlight it & click on the Open button. Click on the OK button when finished.

Ideas of use

To be able to handle merely a venture, i.e. all of the information it constitutes (representing schematics, printed circuit boards, supplementary libraries, manufacturing information for phototracing, drilling and automated element placement), it is suggested to create a venture:
Create a working listing for the venture (utilizing kicad or by different means).
On this listing, use kicad to create the venture file (file .professional) by way of the icon.

 It's strongly advisable to make use of the identical title for the venture and its listing.

Kicad creates a file with a .professional extension that maintains numerous parameters referring to venture administration (such because the filename of the principal schematic, record of libraries used within the schematics and PCBs). The default names of each the principal schematic and the printed circuit board are based mostly upon the title of the venture. Thus, if a venture known as instance was created in a listing known as instance, the default information created can be:

instance.professional venture administration file.

instance.sch principal schematic file.

instance.brd printed circuit board file.

instance.xxx numerous information created by the opposite utility applications.

instance.cache.lib cache file of the libraries used within the schematic (backup of the parts used)

Fundamental Window

The primary window consists of a tree view of the venture, a pane containing buttons used to run the varied utilities, and a message window.

The menu and the toolbar can be utilized to create, learn and save venture information (*.professional).

Kicad utility main window BZR3976.png

Utility launch pane

The launch pane

Venture tree view

The project tree

Double-clicking on Kicad utility tree view eeschema file.png runs the schematic editor, on this case opening the file interf_u.sch

Double-clicking on Kicad utility tree view pcbnew file.png runs the structure editor, on this case opening the file interf_u.brd

Double-clicking on Kicad utility tree view cvpcb file.png runs the footprint assign program (Cvpcb), on this case opening the file interf_u.web

Proper (picture) clicking permits information operations

Toolbar

Kicad utility toolbar new project.png

Create a configuration file for a brand new venture. If the template kicad.professional is present in kicad/template, it’s copied into the working listing.

Kicad utility toolbar open project.png Open an present venture.

Kicad utility toolbar save project.png Replace (save) the present configuration.

Kicad utility toolbar archive project.png Create a zipper archive of the entire venture (schematic information, libraries, pcb, and so on).

Kicad utility toolbar refresh tree.png Redraw the tree record (helpful after a tree change).

KiCad creates and makes use of information of a number of totally different codecs.[1]

  • Information that finish in “.sch” are schematics.
  • Information that finish in “.lib” are schematic symbols library information.
  • Information that finish in “-cache.lib” are schematic symbols library information, too. This file is an area copy of symbols used within the present venture the file is known as for.
  • Information that finish in “.professional” are venture information
  • Information that finish in “.dcm” add documentation to symbols within the library file with the identical title. The “.dcm” file comprises the outline, key phrases and docfilename whereas the “.lib” file comprises details about how the image is drawn, the pins et cetera.
  • Information that finish in “.000”, “.bak”, “.bck” are outdated backup information (do not archive them).
  • Information that finish in “.brd” are PCB structure information.
  • Information that finish in “.cmp” are footprint data information which are modified by the PCBNew program
  • Information that finish in “.erc” are output from the schematic digital guidelines test (ERC).
  • Information that finish in “.gcd” …
  • Information that finish in “.lst”, “.web” are netlist output from the schematic (do not archive them).
  • Information that finish in “.kicad_mod”, usually in folders with names that finish in “.fairly”, are the 2014(?) model of modules (a KiCad “module” is known as a “footprint” or a “decal” in different CAD software program), one footprint per file, numerous information in all the “.fairly” library.
  • Information that finish in “.mod” are module libraries (a KiCad “module” is known as a “footprint” or a “decal” in different CAD software program)
  • Information that finish in “.mdc” cache a brief abstract of some frequently-referenced bits of information from the corresponding “.mod” file of the identical title (do not archive them).
  • Information that finish in “.dsn” are regenerated from the “.kicad_pcb” file each time you hit the “autoroute” button after which hit the “Export a Specctra Design (*.dsn) file” (do not archive them).
  • Information that finish in “.ses” are session information output from the autorouter (do not archive them).
  • The “.git” folder comprises information for revision management. (In the event you use “.git” with KiCad,

you might wish to use a “.ignore” file based mostly on https://github.com/github/gitignore/blob/grasp/KiCad.gitignore ).

Some individuals are engaged on making it very straightforward for folks, once they make enhancements to the KiCad footprint libraries and schematic image libraries, to push any enhancements to GitHub and routinely pull any enhancements different folks have constructed from GitHub.
Some such libraries embody:

Models

Sizes and coordinates are given in complete numbers of thousandths of an inch (1/1000 inch). Coordinates could also be unfavourable by prefixing a hyphen () to the numeric worth. Word that Y coordinates are optimistic in a downward route with respect to the web page origin.

Angles are given in complete numbers of tenths of levels (1/10°), specifying a rotation counter-clockwise.

Examples

Worth Distance Angle
1 0.001 inches 0.1° counter-clockwise
200 0.200 inches 20.0° counter-clockwise
3599 3.599 inches 359.9° counter-clockwise
-1234 -1.234 inches invalid (unfavourable worth)
36000 36.000 inches invalid (over 359.9°)

Syntax Description Model
EESchema Schematic File Model ver [date] ver is 1 or 2

date is just current in some variations of Model 2 information?

LIBS: library_list not used, for data solely
EELAYER nn mm nn and mm should not used, reserved
EELAYER END
$Descr measurement w h measurement = A4..A0 or A..E 1
measurement = A4..A0, A..E, or Person. w = width (mils), h = top (mils). w and h are ignored until measurement = Person 2
Sheet m n m is the present sheet quantity, n is the overall variety of sheets. It seems that a sheet won’t seem within the venture record until it’s m = 1.
string Title subject 1
Title “string” Title subject 2
Date “string” Situation Date subject
Rev “string” Revision subject
Comp “string” Firm subject
Comment1 “string Comment1 subject
Comment2 “string Comment2 subject
Comment3 “string Comment3 subject
Comment4 “string Comment4 subject
$EndDescr

Instance of Model 1

EESchema Schematic Spins Model 1
LIBS:brooktre, cypress, ttl, energy, linear, reminiscence, xilinx, fool, aaci, INTEL, particular, gadget, dsp
EELAYER 20 0
EELAYER END
$Descr A3 16535 11700
Sheet 1 4
""
Date "28 DEC 1996"
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr

A later instance:

EESchema Schematic File Model 2  date 4/15/2011 3:59:54 PM
LIBS:mylib
LIBS:transistors
LIBS:someotherlib
EELAYER 25 0
EELAYER END
$Descr A4 11700 8267
Sheet 1 1
Title "DC Provide"
Date "15 apr 2011"
Rev "1"
Comp "Circuits R Us"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr

Instance from KiCad model 4.0.6:

EESchema Schematic File Model 2 LIBS:74xgxx LIBS:74xx LIBS:ac-dc EELAYER 25 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr

Description of a element

Format:

$Comp

L title reference

U N mm time_stamp

P posx posy

Record of fields:

F field_numbertextual contentorientation posX posY measurement flags hor_justify fashion <“field_name”>(see under)

1 posx posy (redundant: not used (hmm… utilized in 4.0.6 perhaps P appears not for use. Greatest to maintain these in sync))

A B C D ( orientation matrix with A, B, C, D = – 1, Zero or 1)

$EndComp

Description of the fields:

F n “textual content” orientation posX posY measurement flags hor_justify fashion <“field_name”>

with n = field_number (reference_field = 0, value_field = 1, footprint_field = 2, datasheet_field = 3, user_defined_fields = 4..12)

orientation = H (horizontal) or V (vertical).

posX posY = textual content place in mils

measurement = character measurement in mils (0,001”)

flags = abcd

a=
b=
c=
d= Visibility 0=Seen 1=Invisible

hor_justify = L (left), C (middle), R (proper)

fashion = xyz

x=vertical justify [T (top), C (center), B (bottom)
y=text_style_1 N (Normal), I (cursive)
z=text_style_2 N (normal), B (bold)

field_name = only used for user defined fields (field_number > 4)

Example:

$Comp
L CONN_3 JP3
U 1 1 329879E1
P 1200 2000
F 0 “JP3” H 1250 2200 60 0000 L CNN
F 1 “CONN_3” V 1350 2000 50 0000 L CNN
F 2 "" H 1450 1800 60  0000 C CNN
F 3 "" H 1550 1600 60  0000 C CNN
F 4 "20%" H 1650 1400 60  0000 C CNN "Tolerance"
      1 1200 2000
     - 1 0 0 - 1 
$EndComp

Description of a NoConnect symbol

Format:

NoConn ~ posx posy

Example:

NoConn ~ 13400 5500

Description of a hierarchical sheet symbol

Format:

$Sheet

S posx posy dimx dimy

List of Sheet Labels

$EndSheet

Format of Sheet Labels:

Fn “text” forms side posx posy dimension

With:

n = sequence number (0..x).

n = 0: name of the corresponding schematic file.

n = 1: name of the sheet of hierarchy.

form = I (input) O (output)

side = R (right) or L (left).

Example:

$Sheet
S 1800 1600 1500 1500
F0 “PROGALIM.SCH” 60
F1 “PROGALIM.SCH” 60
F2 “CLK” O R 3300 1800 60 
F3 “/RESET” O R 3300 2000 60 
F4 “VPWR” O R 3300 2700 60 
F5 “/HALT” O R 3300 2100 60 
F6 “TRANSF1” I L 1800 1900 60 
F7 “TRANSF2” I L 1800 2000 60 
F8 “3.84MH” O R 3300 2200 60 
$EndSheet

Description of a text note

Format:

Text Notes posx posy orientation dimension ~

Text

Example:

Text Notes 2100 3250 1 60 ~
TOTO

Description of a Global Label

Format:

Text GLabel posx posy orientation dimension shape

Text

Example:

Text GLabel 3100 2500 2 60 UnSpc
TITI
Text GLabel 3150 2700 1 60 3State
3STATES
Text GLabel 2750 2800 0 60 UnSpc
BIDI
Text GLabel 2750 2650 0 60 Output
GLABELOUT
Text GLabel 2750 2400 0 60 Input
RESET

Description of a Hierarchical label

Format:

Text HLabel posx posy orientation dimension shape

Text

Example:

Text HLabel 3400 2000 0 60 Input
/RESET

Description of a label

Format:

Text Label posx posy orientation dimension ~

Text

Example:

Text Label 3400 2000 0 60 ~
/RESET

Description of a junction

Format:

Connection ~ posx posy

Example:

Connection ~ 13300 6500

Description of a wire segment (Wire)

Format:

Wire Wire Line

startx starty endx endy

Example:

Wire Wire Line
3300 1800 3900 1800

Description of a Bus segment

Format:

Wire Bus Line

startx starty endx endy

Example:

Wire Bus Line
3900 5300 4500 5300

Description of a dotted line segment

Format:

Wire Notes Line

startx starty endx endy

Example:

Wire Notes Line 
2850 3350 2850 3050

Description of a bus entry

Format:

For an entry wire/bus :

Wire Wire Bus

startx starty endx endy

For an entry bus/bus :

Wire Bus Bus

startx starty endx endy

Example:

Wire/Bus:

Entry Wire Bus
4100 2300 4200 2400

Bus/Bus:

Entry Bus Bus
4400 2600 4500 2700

Units

Sizes and coordinates are given in mils (1/1000 inch)

Headings

Format:

EESchema-LIBRARY Version 2.0 24/1/1997-18:9:6
description of the components
# End Library

Description of a component

The format is as follows :

DEF name reference unused text_offset draw_pinnumber draw_pinname unit_count units_locked option_flag

F0 reference posx posy text_size text_orient visibility htext_justify vtext_justify

F1 name posx posy text_size text_orient visibility htext_justify vtext_justify

F2 ???

F3 ???

$FPLIST

footprint list

$ENDFPLIST

ALIAS name1 name2 name3
fields list

DRAW

list graphic elements and pins

ENDDRAW

ENDDEF

Example:

DEF BNC P 0 40 Y NR 1 L NR
F0 “P” 10.120 60 H V L C
F1 “BNC” 110 - 60 40 V V L C
DRAW
C 0 0 70 0 1 0
C 0 0 20 0 1 0
X Ext. 2 0 - 200 130 U 40 40 1 1 P
X In 1 - 150 0.130 R 40 40 1 1 P
ENDDRAW
ENDDEF

Description of DEF

This is the component definition line.

Format:

DEF name reference unused text_offset draw_pinnumber draw_pinname unit_count units_locked option_flag

  • name = component name in library (74LS02 …), write insert preceding ‘~’ in front of the name, in the case of it does not have any unit in sch library. the preceding ‘~’ has to be ignored when reading the name.
  • reference = Reference ( U, R, IC .., which become U3, U8, R1, R45, IC4…)
  • unused = 0 (reserved)
  • text_offset = offset for pin name position
  • draw_pinnumber = Y (display pin number) or N (do not display pin number).
  • draw_pinname = Y (display pin name) or N (do not display pin name).
  • unit_count = Number of part ( or section) in a component package. Limit is 26 (shown as chars form A to Z).
  • units_locked = = L (units are not identical and cannot be swapped) or F (units are identical and therefore can be swapped) (Used only if unit_count > 1)
  • option_flag = N (normal) or P (component type “power”)

Description of F0 and F1

F0 is the component reference line. F1 is the component name line.

Format:

F0 reference posx posy text_size text_orient visibile htext_justify vtext_justify

F1 name posx posy text_size text_orient visibility htext_justify vtext_justify

  • reference = Reference ( U, R, IC .., which become U3, U8, R1, R45, IC4…)
  • name = component name in library (74LS02 …)
  • posx, posy = position of the text label
  • text_size = Size of the displayed text
  • text_orient = Displayed text orientation (V=Vertical, H=Horizontal(default))
  • visible = Is label displayed (I=Invisible, V=Visible(default))
  • htext_justify = Horizontal text justify (L=Left, R=Right, C=Centre(default))
  • vtext_justify = Vertical text justify (T=Top, B=Bottom, C=Centre(default))

Description of $FPLIST

This line exists if one or more footprints are specified. Footprint names can have wildcards.

Description of ALIAS

This line exists only if the component has alias names.

Format:

ALIAS name1 name2 name3…

Description of DRAW

Lists graphic elements and pins. Each line defines a single element. The line starts with a single character indicating the type e.g. P indicates a polygon. The following items are commonly used in some of the elements:

  • posx, posy = Position of the graphic element
  • unit = unit no. in case of multiple units
  • convert = In case of variations in shape for units, each variation has a number. 0 indicates no variations. For example, an inverter may have two variations – one with the bubble on the input and one on the output.
  • thickness = line thickness
  • fill = fill colour (F=filled with foreground colour, f=filled with background colour, N=Not filled(default))

A record (Arc)

A posx posy radius start_angle end_angle unit convert thickness fill startx starty endx endy

  • posx, posy = centre of the circle part of which is the arc
  • radius = radius of the lost arc
  • start_angle = start angle of the arc in tenths of degrees
  • end_angle = end angle of the arc in tenths of degrees
  • startx, starty = coordiantes of the start of the arc
  • endx, endy = coordinates of the end of the arc

C record (Circle)

C posx posy radius unit convert thickness fill

  • posx, posy = centre of the circle
  • radius = radius of the circle

P record (Polyline)

The polyline has a series of points. It need not described a closed shape i.e. a polygon. To do this make the first pair the same as the last pair.

P point_count unit convert thickness (posx posy)* fill

  • point_count = no. of coordinate pairs. posx and posy are repaeated these many times.

S record (Rectangle)

S startx starty endx endy unit convert thickness fill

  • startx, starty = Starting corner of the rectangle
  • endx, endy = End corner of the rectangle

T record (Text)

T direction posx posy text_size text_type unit convert text text_italic text_hjustify text_vjustify

  • direction = Direction of text(0=Horizintal, 900=Vertical(default))
  • text_size = Size of the text
  • text_type = ???
  • text = Text to be displayed. All ~ characters are replaced with spaces. in case having one or more spaces in the text, double quote enclosed like “some thing”.
  • text_italic = “Italic” or “Normal”
  • text_bold = 0 to normal 1 to bold
  • text_hjustify = C(Center), L(Left) or R(Right)
  • text_vjustify = C(Center), B(Bottom) or T(Top)

X record (Pin)

X name num posx posy length direction name_text_size num_text_size unit convert electrical_type [pin_type]

  • title = title displayed on the pin
  • num = pin no. displayed on the pin
  • posx = Place X similar models because the size
  • posy = Place Y similar models because the size
  • size = size of pin
  • route = R for Proper, L for left, U for Up, D for Down
  • name_text_size = Textual content measurement for the pin title
  • num_text_size = Textual content measurement for the pin quantity
  • unit_num = Unit quantity reference (see REF ‘unit_count’)
  • convert = (Zero if widespread to the representations, if not 1 or 2)
  • electrical_type = Elec. Kind of pin (I=Enter, O=Output, B=Bidi, T=tristate,P=Passive, U=Unspecified, W=Energy In, w=Energy Out, C=Open Collector, E=Open Emitter, N=Not Related)
  • [pin_type] = Kind of pin or “Graphic Type” (N=Not Seen, I=Invert (hole circle), C=Clock, IC=Inverted Clock, L=Low In (IEEE), CL=Clock Low, V=Low Out (IEEE), F=Falling Edge, NX=Non Logic). Optionally available : when not specified makes use of “Line” graphic fashion.

Word : this part describes the “outdated” .brd file format (file model 1 or 2).

Normal Info

Layer numbering

0. Again – Solder

1. Internal _back

2. Inner_front

3. Internal

5. Internal

6. Internal

7. Internal

8. Internal

9. Internal

10. Internal

11. Internal

12. Internal

13. Internal

14. Internal

15. Entrance – Part

16. Adhesive/glue Again

17. Adhesive/glue Entrance

18. Solder Paste Again

19. Solder Paste Entrance

20. SilkScreen Again

21. SilkScreen Entrance

22. SolderMask Again

23. SolderMask Entrance

24. Drawings

25. Feedback

26. ECO1

27. ECO2

28. Edge Cuts

First line of description

$GENERAL

$SHEETDESCR

$SETUP block

$EQUIPOT

$MODULE

Normal description

Area Description

Drawings

All bodily models are in mils (1/1000th inch) until in any other case famous. The default layer quantity for graphic segments is 21, which corresponds to SilkS_Front.

DS x1 y1 x2 y2 width layer

Attracts a line section from (x1, y1) to (x2, y2) with width width on the layer quantity specified.

DC x1 y1 x2 y2 width layer

Attracts a circle whose middle is (x1, y1), and whose radius is specified by the section (x1, y1) – (x2, y2) with line width width on the layer quantity specified.

DA x1 y1 x2 y2 angle width layer

Attracts a round arc. Heart is at (x1, y1). The arc’s place to begin is (x2, y2). The size of the arc sweeps clockwise (for optimistic angles) from right here by the variety of levels specified by (angle / 10).

Tkind x y top width angle stroke layer mirror seen layer italic Textual content

Attracts the textual content Textual content as both reference textual content (kind=0), worth textual content (kind=1), or person textual content (kind=2) at place (x, y), rotated counterclockwise (angle / 10) levels, on layer quantity layer. Every character will probably be top excessive, width broad, and strokes will probably be stroke thick. Textual content will probably be mirrored (mirror=M) or not (mirror=N), italic (italic=I) or not (italic=N), and visual by default (seen=V) or invisible by default (seen=I).

Pad Descriptions

$SHAPE3D

$PAD

A pad is often a copper space for electrical connection to {an electrical} element. It has an non-obligatory gap for through-hole parts, or could also be outlined as an space on a single copper layer for surface-mount parts. It can be used as a thermal connection for warmth distribution, or as a gap for mounting or different makes use of.

ShpadNumform xSize ySize yBaseIncrease xBaseIncrease angle

Defines the pad’s dominant form. padNum defines the pad quantity. The form of the pad (form) might be round (C), ovate (O), rectangular (R), or trapezoidal (T) with its measurement specified by xSize and ySize. (Word that for round pad shapes xSize and ySize should be equal.) The pad is rotated at an angle of angle. For trapezoidal shapes, yBaseIncrease specifies how a lot taller the pad’s left edge is from its proper, and xBaseIncrease specifies how a lot wider the pad’s backside is from its prime; xSize and ySize then specify the dimensions of the pad at its middle and the trapezoidal impact will increase one edge and reduces the opposite.

Dr dia xOffset yOffset

Defines the pad’s drilled gap offset from the pad’s place by (xOffset,yOffset) with a diameter of dia. To specify no gap, specify dia as 0. Word that the drilled gap might be positioned offset from the middle of the pad’s form (Sh) though pcbnew requires the drilled gap be positioned on the pad itself.

At kind flag layers

Defines the pad’s attributes. The pad kind is specified by kind and might be STD for the standard pad with a gap, SMD for a surface-mount pad, CONN for a connector, or HOLE for a gap. flag is N (unknown perform). layers specifies the lively layers as a 32-bit hexadecimal quantity with main zeroes such that lively layers are indicated by a 1 bit and inactive by 0.

Ne unknownnetName

Defines the web title as netName. There are different choices specified by the unknown flag: it seems that unknown is Zero in a module library and has a numeric worth apart from Zero when positioned and related in a board file.

Po x y

Defines the place of the pad as (x,y). That is the purpose that traces should terminate for pcbnew to verify connection to a pad.

Graphic gadgets

$DRAWSEGMENT

Is available in Po, De pairs. Instance:

   Po 0 73000 59250 63250 59250 150
   De Zero 0 900 Zero 0

Po perform x1 y1 x2 y2 width

De ? ? ? ? ?

Line

In a Po line, perform is 0.

Circle

In a Po line, perform is 1. (x1,y1) defines the middle of the circle and (x2,y2) is some extent on the circumference.

Arc

In a Po line, perform is 2. (x1,y1) defines the middle of the circle for the arc. (x2,y2) is the beginning level for a 90° clockwise arc.

Arc

$TEXTPCB

Tetextual content

Defines textual content because the string to render.

nlnewLineText

If current after Te, renders newLineText on the road after textual content. This may be repeated a number of instances for a number of new strains. It is usually widespread to don’t have any nl entries if textual content is to suit on one line solely.

Po x y top width thickness angle

Defines the place of the textual content as (x,y) with a top of top, a width of width, a thickness of thickness, and an angle of angle. Though the person interface solely helps angles of 0, 900, 1800, and 2700, different angles might be entered within the board file.

De layerNum mirror 0 fashion

Defines the choices for the textual content. The textual content is rendered on layer layerNum. If mirror is 1, the textual content is rendered regular; whether it is Zero it’s mirrored. Setting fashion to Regular renders the textual content regular and Italic renders the textual content italic.

$MIRE

$COTATION

Observe, vias and Zone part

$TRACK

Is available in Po, De pairs. Instance:

Po 0 38900 95200 39500 95800 80 -1
De Zero Zero 1 0 80000

Po perform x1 y1 x2 y2 width ?

  • perform should be 0 (solely straight line segments, no arcs or circles as in $DRAWSEGMENT)

De layer ? web ? flags

flags bitfield: Unknown size (in all probability 32 bit), printed as hex with main 0’s truncated.

Binary: ???? ???? al?? ???? ???? ???? ???? ????

a = Autorouted Flag
l = (Section?) Locked Flag

 

Instance: (open a brand new .brd file, add a monitor, reserve it – after which insert/substitute the modifications under in a textual content editor; no nets are assigned)

(FIXME: add an instance of “(kicad_pcb (model 3)”.)

PCBNEW-BOARD Model 1 date 2012-03-18T07:15:54 CET
# Created by Pcbnew(2010-00-09 BZR 23xx)-stable
$GENERAL
LayerCount 6
Ly 1FFF801F
EnabledLayers 1FFF801F
....
$TRACK
# grey monitor (Inner4 - jumper layer):
Po 0 32000 25250 32000 23250 80 -1
De Three Zero Zero Zero 0
#
# purple monitor (entrance layer):
Po 0 24250 10750 24250 25250 80 -1
De 15 Zero Zero Zero 0
#
# inexperienced monitor (again layer):
Po 0 24250 25250 30000 25250 80 -1
De Zero Zero Zero Zero 0
#
# by way of between purple and inexperienced monitor:
Po 3 24250 25250 24250 25250 350 -1
De 15 1 Zero Zero 0
#
$EndTRACK
...

$ZONE

$CZONE_OUTLINE

$EndBOARD

Historic notes

Model Three and later

As of 2013, the PCBnew software creates “.kicad_pcb” information that start with “(kicad_pcb (model 3)”, and for information from KiCad 4.0.x, “(kicad_pcb (model 4)”.

All distances are in millimeters. If the gap isn’t an integer variety of millimeters, the gap will probably be indicated with a decimal level. For instance, the overwhelming majority of PCBs have a board thickness of 1/16 inch ~= 1.6 mm,[2] so Model 3/Four board information usually have a line

   (thickness 1.6002)

(The inner PCBnew unit of size is now an integer a number of of 1 nanometer, which permits illustration of metric models and imperial models right down to 1/100 mil = 1/100,000 inch.[3][4])

Model 2

Earlier variations of the PCBnew software create “.brd” information that start with “PCBNEW-BOARD Model 2”. Such information usually have a line:

   Models mm

indicating that each one distances are in millimeters. If the gap isn’t an integer variety of millimeters, the gap will probably be indicated with a decimal level. For instance, the overwhelming majority of PCBs have a board thickness of 1/16 inch ~= 1.6 mm,[2]
so Model 2 board information usually have a line:

   BoardThickness 1.6002

Model 1

The earliest (?) variations of the PCBnew software created “.brd” information that start with “PCBNEW-BOARD Model 1”. Such information have all distances in integer multiples of some tiny reference unit. Sometimes such information have a line:

   InternalUnit 0.000100 INCH

indicating that each one distances are in integer multiples of 1/10,000 of an inch, which was as soon as the inner PCBnew unit of size.[5] For instance, the overwhelming majority of PCBs have a board thickness of 1/16 inch ~= 0.063 inch,[2]
so Model 1 board information usually have a line:

   BoardThickness 630

Model 1.3, Three November 2008
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software program Basis, Inc.

Everyone seems to be permitted to repeat and distribute verbatim copies of this license doc, however altering it’s not allowed.

0. PREAMBLE

The aim of this License is to make a guide, textbook, or different useful and helpful doc “free” within the sense of freedom: to guarantee everybody the efficient freedom to repeat and redistribute it, with or with out modifying it, both commercially or noncommercially. Secondarily, this License preserves for the writer and writer a solution to get credit score for his or her work, whereas not being thought-about liable for modifications made by others.

This License is a form of “copyleft”, which implies that by-product works of the doc should themselves be free in the identical sense. It enhances the GNU Normal Public License, which is a copyleft license designed free of charge software program.

We’ve got designed this License as a way to use it for manuals free of charge software program, as a result of free software program wants free documentation: a free program ought to include manuals offering the identical freedoms that the software program does. However this License isn’t restricted to software program manuals; it may be used for any textual work, no matter material or whether or not it’s revealed as a printed e book. We suggest this License principally for works whose objective is instruction or reference.

1. APPLICABILITY AND DEFINITIONS

This License applies to any guide or different work, in any medium, that comprises a discover positioned by the copyright holder saying it may be distributed below the phrases of this License. Such a discover grants a world-wide, royalty-free license, limitless in period, to make use of that work below the circumstances acknowledged herein. The “Doc”, under, refers to any such guide or work. Any member of the general public is a licensee, and is addressed as “you”. You settle for the license in the event you copy, modify or distribute the work in a method requiring permission below copyright legislation.

A “Modified Model” of the Doc means any work containing the Doc or a portion of it, both copied verbatim, or with modifications and/or translated into one other language.

A “Secondary Part” is a named appendix or a front-matter part of the Doc that offers completely with the connection of the publishers or authors of the Doc to the Doc’s general topic (or to associated issues) and comprises nothing that might fall straight inside that general topic. (Thus, if the Doc is partly a textbook of arithmetic, a Secondary Part might not clarify any arithmetic.) The connection could possibly be a matter of historic reference to the topic or with associated issues, or of authorized, industrial, philosophical, moral or political place concerning them.

The “Invariant Sections” are sure Secondary Sections whose titles are designated, as being these of Invariant Sections, within the discover that claims that the Doc is launched below this License. If a piece doesn’t match the above definition of Secondary then it’s not allowed to be designated as Invariant. The Doc might comprise zero Invariant Sections. If the Doc doesn’t determine any Invariant Sections then there are none.

The “Cowl Texts” are sure quick passages of textual content which are listed, as Entrance-Cowl Texts or Again-Cowl Texts, within the discover that claims that the Doc is launched below this License. A Entrance-Cowl Textual content could also be at most 5 phrases, and a Again-Cowl Textual content could also be at most 25 phrases.

A “Clear” copy of the Doc means a machine-readable copy, represented in a format whose specification is out there to most people, that’s appropriate for revising the doc straightforwardly with generic textual content editors or (for photographs composed of pixels) generic paint applications or (for drawings) some extensively out there drawing editor, and that’s appropriate for enter to textual content formatters or for automated translation to a wide range of codecs appropriate for enter to textual content formatters. A replica made in an in any other case Clear file format whose markup, or absence of markup, has been organized to thwart or discourage subsequent modification by readers isn’t Clear. A picture format isn’t Clear if used for any substantial quantity of textual content. A replica that isn’t “Clear” is known as “Opaque”.

Examples of appropriate codecs for Clear copies embody plain ASCII with out markup, Texinfo enter format, LaTeX enter format, SGML or XML utilizing a publicly out there DTD, and standard-conforming easy HTML, PostScript or PDF designed for human modification. Examples of clear picture codecs embody PNG, XCF and JPG. Opaque codecs embody proprietary codecs that may be learn and edited solely by proprietary phrase processors, SGML or XML for which the DTD and/or processing instruments should not usually out there, and the machine-generated HTML, PostScript or PDF produced by some phrase processors for output functions solely.

The “Title Web page” means, for a printed e book, the title web page itself, plus such following pages as are wanted to carry, legibly, the fabric this License requires to look within the title web page. For works in codecs which shouldn’t have any title web page as such, “Title Web page” means the textual content close to probably the most distinguished look of the work’s title, previous the start of the physique of the textual content.

The “writer” means any individual or entity that distributes copies of the Doc to the general public.

A piece “Entitled XYZ” means a named subunit of the Doc whose title both is exactly XYZ or comprises XYZ in parentheses following textual content that interprets XYZ in one other language. (Right here XYZ stands for a selected part title talked about under, similar to “Acknowledgements”, “Dedications”, “Endorsements”, or “Historical past”.) To “Protect the Title” of such a piece whenever you modify the Doc implies that it stays a piece “Entitled XYZ” in response to this definition.

The Doc might embody Guarantee Disclaimers subsequent to the discover which states that this License applies to the Doc. These Guarantee Disclaimers are thought-about to be included by reference on this License, however solely as regards disclaiming warranties: another implication that these Guarantee Disclaimers might have is void and has no impact on the that means of this License.

2. VERBATIM COPYING

It’s possible you’ll copy and distribute the Doc in any medium, both commercially or noncommercially, offered that this License, the copyright notices, and the license discover saying this License applies to the Doc are reproduced in all copies, and that you simply add no different circumstances in any way to these of this License. It’s possible you’ll not use technical measures to hinder or management the studying or additional copying of the copies you make or distribute. Nevertheless, you might settle for compensation in change for copies. In the event you distribute a big sufficient variety of copies you need to additionally observe the circumstances in part 3.

You may additionally lend copies, below the identical circumstances acknowledged above, and you might publicly show copies.

3. COPYING IN QUANTITY

In the event you publish printed copies (or copies in media that generally have printed covers) of the Doc, numbering greater than 100, and the Doc’s license discover requires Cowl Texts, you need to enclose the copies in covers that carry, clearly and legibly, all these Cowl Texts: Entrance-Cowl Texts on the entrance cowl, and Again-Cowl Texts on the again cowl. Each covers should additionally clearly and legibly determine you because the writer of those copies. The entrance cowl should current the total title with all phrases of the title equally distinguished and visual. It’s possible you’ll add different materials on the covers as well as. Copying with modifications restricted to the covers, so long as they protect the title of the Doc and fulfill these circumstances, might be handled as verbatim copying in different respects.

If the required texts for both cowl are too voluminous to suit legibly, you must put the primary ones listed (as many as match fairly) on the precise cowl, and proceed the remainder onto adjoining pages.

In the event you publish or distribute Opaque copies of the Doc numbering greater than 100, you need to both embody a machine-readable Clear copy together with every Opaque copy, or state in or with every Opaque copy a computer-network location from which the final network-using public has entry to obtain utilizing public-standard community protocols an entire Clear copy of the Doc, freed from added materials. In the event you use the latter possibility, you need to take fairly prudent steps, whenever you start distribution of Opaque copies in amount, to make sure that this Clear copy will stay thus accessible on the acknowledged location till no less than one 12 months after the final time you distribute an Opaque copy (straight or by means of your brokers or retailers) of that version to the general public.

It’s requested, however not required, that you simply contact the authors of the Doc nicely earlier than redistributing any massive variety of copies, to present them an opportunity to give you an up to date model of the Doc.

4. MODIFICATIONS

It’s possible you’ll copy and distribute a Modified Model of the Doc below the circumstances of sections 2 and three above, offered that you simply launch the Modified Model below exactly this License, with the Modified Model filling the function of the Doc, thus licensing distribution and modification of the Modified Model to whoever possesses a duplicate of it. As well as, you need to do these items within the Modified Model:

  1. Use within the Title Web page (and on the covers, if any) a title distinct from that of the Doc, and from these of earlier variations (which ought to, if there have been any, be listed within the Historical past part of the Doc). It’s possible you’ll use the identical title as a earlier model if the unique writer of that model provides permission.
  2. Record on the Title Web page, as authors, a number of individuals or entities liable for authorship of the modifications within the Modified Model, along with no less than 5 of the principal authors of the Doc (all of its principal authors, if it has fewer than 5), until they launch you from this requirement.
  3. State on the Title web page the title of the writer of the Modified Model, because the writer.
  4. Protect all of the copyright notices of the Doc.
  5. Add an applicable copyright discover in your modifications adjoining to the opposite copyright notices.
  6. Embrace, instantly after the copyright notices, a license discover giving the general public permission to make use of the Modified Model below the phrases of this License, within the type proven within the Addendum under.
  7. Protect in that license discover the total lists of Invariant Sections and required Cowl Texts given within the Doc’s license discover.
  8. Embrace an unaltered copy of this License.
  9. Protect the part Entitled “Historical past”, Protect its Title, and add to it an merchandise stating no less than the title, 12 months, new authors, and writer of the Modified Model as given on the Title Web page. If there isn’t a part Entitled “Historical past” within the Doc, create one stating the title, 12 months, authors, and writer of the Doc as given on its Title Web page, then add an merchandise describing the Modified Model as acknowledged within the earlier sentence.
  10. Protect the community location, if any, given within the Doc for public entry to a Clear copy of the Doc, and likewise the community areas given within the Doc for earlier variations it was based mostly on. These could also be positioned within the “Historical past” part. It’s possible you’ll omit a community location for a piece that was revealed no less than 4 years earlier than the Doc itself, or if the unique writer of the model it refers to provides permission.
  11. For any part Entitled “Acknowledgements” or “Dedications”, Protect the Title of the part, and protect within the part all of the substance and tone of every of the contributor acknowledgements and/or dedications given therein.
  12. Protect all of the Invariant Sections of the Doc, unaltered of their textual content and of their titles. Part numbers or the equal should not thought-about a part of the part titles.
  13. Delete any part Entitled “Endorsements”. Such a piece might not be included within the Modified model.
  14. Don’t retitle any present part to be Entitled “Endorsements” or to battle in title with any Invariant Part.
  15. Protect any Guarantee Disclaimers.

If the Modified Model consists of new front-matter sections or appendices that qualify as Secondary Sections and comprise no materials copied from the Doc, you might at your possibility designate some or all of those sections as invariant. To do that, add their titles to the record of Invariant Sections within the Modified Model’s license discover. These titles should be distinct from another part titles.

It’s possible you’ll add a piece Entitled “Endorsements”, offered it comprises nothing however endorsements of your Modified Model by numerous events—for instance, statements of peer overview or that the textual content has been authorized by a corporation because the authoritative definition of an ordinary.

It’s possible you’ll add a passage of as much as 5 phrases as a Entrance-Cowl Textual content, and a passage of as much as 25 phrases as a Again-Cowl Textual content, to the tip of the record of Cowl Texts within the Modified Model. Just one passage of Entrance-Cowl Textual content and certainly one of Again-Cowl Textual content could also be added by (or by means of preparations made by) anyone entity. If the Doc already features a cowl textual content for a similar cowl, beforehand added by you or by association made by the identical entity you might be appearing on behalf of, you might not add one other; however you might substitute the outdated one, on express permission from the earlier writer that added the outdated one.

The writer(s) and writer(s) of the Doc don’t by this License give permission to make use of their names for publicity for or to say or indicate endorsement of any Modified Model.

5. COMBINING DOCUMENTS

It’s possible you’ll mix the Doc with different paperwork launched below this License, below the phrases outlined in part Four above for modified variations, offered that you simply embody within the mixture the entire Invariant Sections of the entire unique paperwork, unmodified, and record all of them as Invariant Sections of your mixed work in its license discover, and that you simply protect all their Guarantee Disclaimers.

The mixed work want solely comprise one copy of this License, and a number of an identical Invariant Sections could also be changed with a single copy. If there are a number of Invariant Sections with the identical title however totally different contents, make the title of every such part distinctive by including on the finish of it, in parentheses, the title of the unique writer or writer of that part if identified, or else a novel quantity. Make the identical adjustment to the part titles within the record of Invariant Sections within the license discover of the mixed work.

Within the mixture, you need to mix any sections Entitled “Historical past” within the numerous unique paperwork, forming one part Entitled “Historical past”; likewise mix any sections Entitled “Acknowledgements”, and any sections Entitled “Dedications”. You need to delete all sections Entitled “Endorsements”.

6. COLLECTIONS OF DOCUMENTS

It’s possible you’ll make a set consisting of the Doc and different paperwork launched below this License, and substitute the person copies of this License within the numerous paperwork with a single copy that’s included within the assortment, offered that you simply observe the principles of this License for verbatim copying of every of the paperwork in all different respects.

It’s possible you’ll extract a single doc from such a set, and distribute it individually below this License, offered you insert a duplicate of this License into the extracted doc, and observe this License in all different respects concerning verbatim copying of that doc.

7. AGGREGATION WITH INDEPENDENT WORKS

A compilation of the Doc or its derivatives with different separate and impartial paperwork or works, in or on a quantity of a storage or distribution medium, is known as an “combination” if the copyright ensuing from the compilation isn’t used to restrict the authorized rights of the compilation’s customers past what the person works allow. When the Doc is included in an combination, this License doesn’t apply to the opposite works within the combination which aren’t themselves by-product works of the Doc.

If the Cowl Textual content requirement of part Three is relevant to those copies of the Doc, then if the Doc is lower than one half of all the combination, the Doc’s Cowl Texts could also be positioned on covers that bracket the Doc inside the combination, or the digital equal of covers if the Doc is in digital type. In any other case they need to seem on printed covers that bracket the entire combination.

8. TRANSLATION

Translation is taken into account a form of modification, so you might distribute translations of the Doc below the phrases of part 4. Changing Invariant Sections with translations requires particular permission from their copyright holders, however you might embody translations of some or all Invariant Sections along with the unique variations of those Invariant Sections. It’s possible you’ll embody a translation of this License, and all of the license notices within the Doc, and any Guarantee Disclaimers, offered that you simply additionally embody the unique English model of this License and the unique variations of these notices and disclaimers. In case of a disagreement between the interpretation and the unique model of this License or a discover or disclaimer, the unique model will prevail.

If a piece within the Doc is Entitled “Acknowledgements”, “Dedications”, or “Historical past”, the requirement (part 4) to Protect its Title (part 1) will usually require altering the precise title.

9. TERMINATION

It’s possible you’ll not copy, modify, sublicense, or distribute the Doc besides as expressly offered below this License. Any try in any other case to repeat, modify, sublicense, or distribute it’s void, and can routinely terminate your rights below this License.

Nevertheless, in the event you stop all violation of this License, then your license from a specific copyright holder is reinstated (a) provisionally, until and till the copyright holder explicitly and at last terminates your license, and (b) completely, if the copyright holder fails to inform you of the violation by some cheap means previous to 60 days after the cessation.

Furthermore, your license from a specific copyright holder is reinstated completely if the copyright holder notifies you of the violation by some cheap means, that is the primary time you have got acquired discover of violation of this License (for any work) from that copyright holder, and also you remedy the violation previous to 30 days after your receipt of the discover.

Termination of your rights below this part doesn’t terminate the licenses of events who’ve acquired copies or rights from you below this License. In case your rights have been terminated and never completely reinstated, receipt of a duplicate of some or the entire similar materials doesn’t provide you with any rights to make use of it.

10. FUTURE REVISIONS OF THIS LICENSE

The Free Software program Basis might publish new, revised variations of the GNU Free Documentation License every now and then. Such new variations will probably be related in spirit to the current model, however might differ intimately to deal with new issues or considerations. See http://www.gnu.org/copyleft/.

Every model of the License is given a distinguishing model quantity. If the Doc specifies {that a} explicit numbered model of this License “or any later model” applies to it, you have got the choice of following the phrases and circumstances both of that specified model or of any later model that has been revealed (not as a draft) by the Free Software program Basis. If the Doc doesn’t specify a model variety of this License, you might select any model ever revealed (not as a draft) by the Free Software program Basis. If the Doc specifies {that a} proxy can resolve which future variations of this License can be utilized, that proxy’s public assertion of acceptance of a model completely authorizes you to decide on that model for the Doc.

11. RELICENSING

“Large Multiauthor Collaboration Web site” (or “MMC Web site”) means any World Large Net server that publishes copyrightable works and in addition offers distinguished services for anyone to edit these works. A public wiki that anyone can edit is an instance of such a server. A “Large Multiauthor Collaboration” (or “MMC”) contained within the website means any set of copyrightable works thus revealed on the MMC website.

“CC-BY-SA” means the Inventive Commons Attribution-Share Alike 3.Zero license revealed by Inventive Commons Company, a not-for-profit company with a principal workplace in San Francisco, California, in addition to future copyleft variations of that license revealed by that very same group.

“Incorporate” means to publish or republish a Doc, in complete or partly, as a part of one other Doc.

An MMC is “eligible for relicensing” whether it is licensed below this License, and if all works that have been first revealed below this License someplace apart from this MMC, and subsequently included in complete or partly into the MMC, (1) had no cowl texts or invariant sections, and (2) have been thus included previous to November 1, 2008.

The operator of an MMC Web site might republish an MMC contained within the website below CC-BY-SA on the identical website at any time earlier than August 1, 2009, offered the MMC is eligible for relicensing.

To make use of this License in a doc you have got written, embody a duplicate of the License within the doc and put the next copyright and license notices simply after the title web page:

Copyright (c) YEAR YOUR NAME.
Permission is granted to repeat, distribute and/or modify this doc
below the phrases of the GNU Free Documentation License, Model 1.3
or any later model revealed by the Free Software program Basis;
with no Invariant Sections, no Entrance-Cowl Texts, and no Again-Cowl Texts.
A replica of the license is included within the part entitled “GNU
Free Documentation License”.

In case you have Invariant Sections, Entrance-Cowl Texts and Again-Cowl Texts, substitute the “with…Texts.” line with this:

with the Invariant Sections being LIST THEIR TITLES, with the
Entrance-Cowl Texts being LIST, and with the Again-Cowl Texts being LIST.

In case you have Invariant Sections with out Cowl Texts, or another mixture of the three, merge these two options to go well with the state of affairs.

In case your doc comprises nontrivial examples of program code, we suggest releasing these examples in parallel below your selection of free software program license, such because the GNU Normal Public License, to allow their use in free software program.


  1. “KiCad File Codecs”.
  2. abc Sensible Electronics/PCB Structure#Board Thickness and Layers

  3. “KiCad: Inside unit system”.
  4. “All dimensions are saved as integer nanometers.”–“Pcbnew reference guide”.

  5. “KiCad: Convert Inside CPB Models to 1nm”.

Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *