Symbol Statements
Symbols are definitions of the schematic representation of a part. The JITX OCDB has a large collection of predefined symbols you can use. The make-box-symbol() is a powerful tool to quickly create a consistent looking part library. For more information, see the symbol reference.
For more unusual components where box symbols may not apply, you can draw symbols the same way you can draw any collections of shapes in JITX. On imported components, the symbols may appear as collections of lines, shapes, and text.
Example, Wurth 760390012
pcb-symbol c-760390012-symbol :
pin p[1] at Point(-5.08, 7.62) with :
direction = Left
length = 2.54
number-size = 0.609
name-size = 0.609
pin p[2] at Point(-5.08, 0.0) with :
direction = Left
length = 2.54
number-size = 0.609
name-size = 0.609
pin p[3] at Point(-5.08, -7.62) with :
direction = Left
length = 2.54
number-size = 0.609
name-size = 0.609
pin p[6] at Point(5.08, 7.62) with :
direction = Right
length = 2.54
number-size = 0.609
name-size = 0.609
pin p[5] at Point(5.08, 0.0) with :
direction = Right
length = 2.54
number-size = 0.609
name-size = 0.609
pin p[4] at Point(5.08, -7.62) with :
direction = Right
length = 2.54
number-size = 0.609
name-size = 0.609
layer("foreground") = Text(">VALUE", 0.762, SW, loc(-5.08, 7.62 + 0.3))
layer("foreground") = Text(">REF", 0.762, SW, loc(-5.08, 7.62 + 0.3 + 0.762 + 0.3))
layer("foreground") = Circle(Point(-3.175, 6.604), 0.254)
layer("foreground") = Circle(Point(-3.175, -1.016), 0.254)
layer("foreground") = Circle(Point(2.667, -1.016), 0.254)
layer("foreground") = Circle(Point(2.667, 6.604), 0.254)
layer("foreground") = Line(0.254, [Point(-0.635, 8.0), Point(-0.635, -0.508)])
layer("foreground") = Line(0.254, [Point(0.635, 8.0), Point(0.635, -0.508)])
layer("foreground") = Line(0.254, [Point(-0.635, 0.381), Point(-0.635, -8.128)])
layer("foreground") = Line(0.254, [Point(0.635, 0.381), Point(0.635, -8.128)])
layer("foreground") = Line(0.254, [Point(-2.54, 7.62), Point(-5.08, 7.62)])
layer("foreground") = Line(0.254, [Point(-2.54, 0.0), Point(-5.08, 0.0)])
layer("foreground") = Line(0.254, [Point(-2.54, -7.62), Point(-5.08, -7.62)])
layer("foreground") = Line(0.254, [Point(2.54, -7.62), Point(5.08, -7.62)])
layer("foreground") = Line(0.254, [Point(2.54, 0.0), Point(5.08, 0.0)])
layer("foreground") = Line(0.254, [Point(2.54, 7.62), Point(5.08, 7.62)])
Statements
Here is the list of all of the statements you can use in a pcb-symbol
:
Statement | Description |
---|---|
backend-substitution | Backend Substition |
description | Description |
layer | Layer |
name | Name |
ports | Ports |
preferred-orientation | Preferred Orientation |