File: index.html

package info (click to toggle)
pcb-rnd 3.1.7b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,108 kB
  • sloc: ansic: 213,400; yacc: 6,241; sh: 4,698; awk: 3,016; makefile: 2,254; lex: 1,166; python: 519; xml: 261; lisp: 154; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (65 lines) | stat: -rw-r--r-- 3,253 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> pcb-rnd developer manual - lihata file formats</title>
<meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
</head>
<body>
<h1> pcb-rnd native file formats </h1>
<p>
The native file format of pcb-rnd is <a href="http://repo.hu/projects/lihata">
lihata </a> based. Lihata is a generic markup language that describes how
a tree can be serialized into a file format. What the tree contains and
what each node means is up to the user (pcb-rnd in this case). This document
describes how the lihata trees are interpreted by pcb-rnd.
<p>
This document is halfway in between the low level lihata document and the
high level <a href="../../user/02_model/index.html"> data model </a>
specification. It is assumed that the reader is familiar with both: the
lihata interface plugin doesn't do anything on its own, it only takes
the data model from the memory and the lihata document on disk and
converts the syntax between the two.
<p>
The following table is a summary of the native file formats the <b>core</b>
handles. Various plugins will handle their own file formats, often also
lihata based - those are each documented at the corresponding. Note:
pcb-rnd does not try to recognize the purpose of the file by the file name,
but by the root node name - files can be named anything, there's no
"extension"; there are some files that are found by name (typically config
files) - these are marked with bold.
<p>
<table border=1 cellspacing=0>

<tr> <th> typical filename     <th> root node
	<th> purpose (and documentation)

<tr> <td> foo.lht              <td> ha:pcb-rnd-board-v*
	<td> <a href="tree.html#/lht_tree_doc/roots/pcb-rnd-board-v*">Printed circuit board</a>, self-contained
	<br><a href="pcb-rnd-board-v.svg"> (struct drawing) </a>
	<br><a href="examples/board.lht"> (sample file) </a>

<tr> <td> bar.lht, bar.fp      <td> li:pcb-rnd-subcircuit-v*
	<td> <a href="tree.html#/lht_tree_doc/roots/pcb-rnd-subcircuit-v*">A subcircuit</a>, self-contained, most often used as a footprint
	<br><a href="pcb-rnd-subcircuit-v.svg"> (struct drawing) </a>
	<br><a href="examples/subc.lht"> (sample file) </a>

<tr> <td> times.lht            <td> li:pcb-rnd-font-v1
	<td> <a href="tree.html#/lht_tree_doc/roots/pcb-rnd-font-v1">Vector font</a>
	<br><a href="pcb-rnd-font-v1.svg"> (struct drawing) </a>

<tr> <td> <b>conf_core.lht<b>   <td> li:pcb-rnd-conf-v1
	<td> <a href="tree.html#/lht_tree_doc/roots/pcb-rnd-conf-v1">A configuration subtree</a>: system config (e.g. /usr/share/pcb-rnd/conf_core.lht) or user config (~/.pcb-rnd/conf_core.lht)
	<br><a href="pcb-rnd-conf-v1.svg"> (struct drawing) </a>
	<br><a href="examples/conf.lht"> (sample file) </a>

<tr> <td> <b>project.lht<b>    <td> ha:geda-project-v1
	<td> <a href="tree.html#/lht_tree_doc/roots/geda-project-v1">A project file</a> that describes configuration and source file names for various software
	<br><a href="geda-project-v1.svg"> (struct drawing) </a>

<tr> <td> <b>menu-default.lht<b>   <td> ha:
	<td> <a href="tree.html#/lht_tree_doc/roots/menu">The main menu system</a>, including popup menus, all key and mouse bindings

</table>

</body>
</html>