oshw_logo/cvlp_format.txt

61 lines
2.7 KiB
Plaintext
Raw Normal View History

// CuVoodoo Land Pattern files (.cvlp) define the land pattern (aka. footprint) of electronic components (used in printed circuit boards)
// it is intended to be used in web applications, thus it uses the JSON file format
// it can then be rendered to various other formats, such as SVG, Gerber-X, gEDA pcb, KiCAD, or eagleCAD
{
// name of the land pattern (for the electronic component)
"name": "CuVoodoo Land Pattern template",
// name of the author
"author": "King Kevin",
// version of the file
"version": 0,
// date of creation (RFC 3339 seconds format)
"date": "2015-04-11 13:58:46+02:00",
// unit of dimensions
"unit": "mm",
// the parts of the land pattern
"elements" : [
{
"type": "line", // a line (on silk screen layer)
"x1": 0, // start horizontal position of line
"y1": 0, // start vertical position of line
"x2": 100, // end horizontal position of line
"y2": 100, // end vertical position of the line
"thickness": 10, // thickness of line
"round": true, // round or square edges to start/stop of line (adds thickness/2 to line)
},
{
"type": "arc", // a circle arc (on silk screen layer)
"x": 50, // center horizontal position of circle
"y": 50, // center vertical position of circle
"radius": 20, // radius of circle
"start": 0, // start point of arc (0=east, 90=south, 180=west, 270=north)
"angle": 0, // angle of clockwise arc (can be negative)
"thickness": 10, // thickness of trace
"round": true, // round or square edges to start/stop of line (adds thickness/2 to arc)
},
{
"type": "pad" // a pad (on copper layer)
"number": 0, // pad name/number
"x1": 0, // start position of pad
"y1": 0, // start position of pad
"x2": 100, // end position of pad
"y2": 100, // end position of pad
"thickness": 10, // thickness of copper pad
"clearance": 5, // clearance of pad (added to each side of copper)
"soldermask": 11, // thickness of solder mask opening (generally >= copper thickness)
"round": true, // round or square edges to start/stop of pad (adds thickness/2 to pad)
},
{
"type": "pin" // a pin with a drill hole (on copper layer)
"number": 0; // pin name/number
"x": 50, // center horizontal position of pin
"y": 50, // center vertical position of pin
"thickness": 30, // diameter/width of copper pin (>= drill diameter/width)
"drill": 20, // diameter/width of drill
"clearance": 5, // clearance of pad (added to each side of copper)
"soldermask": 35, // thickness of solder mask opening (generally >= copper thickness)
"round": true, // shape of pin: round or square
}
]
}