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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> sch-rnd - FAQ </title>
<meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<!--AUTO head begin-->
<link rel="icon" href="resources/logo16.png">
<!--AUTO head end-->
</head>
<body>
<!--AUTO navbar begin-->
<table border=0 cellspacing=2 cellpadding=10 bgcolor="#eeeeee" width="100%">
<tr>
<th align=center bgcolor="#ccc0cc"> <a href="index.html"> Main </a>
<th align=center bgcolor="#ccc0cc"> <a href="doc.html">Doc</a> & <a href="faq.html">FAQ</a> & <a href="http://repo.hu/cgi-bin/pool.cgi?project=sch-rnd-aux">Knowledge pool</a> & <a href="tutorial">Tutorial</a>
<th align=center bgcolor="#ccc0cc"> <a href="state.html"> Current state </a>
<th align=center bgcolor="#ccc0cc"> <a href="http://repo.hu/cgi-bin/pcb-rnd-people.cgi?cmd=events">Events</a> & <a href="http://www.repo.hu/cgi-bin/pcb-rnd-people.cgi?cmd=timeline">timeline</a>
<td align=right width="60%"> <font size="+2"><i>sch-rnd</i></font> <img src="resources/logo32.png" alt="[sch-rnd logo]">
</table>
<!--AUTO navbar end-->
<br>
<!--content-->
<h1> sch-rnd FAQ </h1>
<p>
If you are coming from gEDA (gschem, Lepton-EDA), please also read
<a href="faq_geda.html">the sch-rnd-from-geda FAQ</a>
<p>
Note: in sch-rnd hotkeys are typically multi-stroke: you need to press multiple
keys one after another, in a sequence. Sch-rnd documents hotkeys using the {}
syntax. For example {e p} means "press e, release, then press p, release", same
as if you wanted to type "ep". Rarely modifiers are also used: {t shift-p},
which means "press t, release, press shift then p, release both", like if
you wanted to type "tP".
<h2 id="export"> 1. export and forward annotation </h2>
<h3 id="export_netlist"> 1.1. how to export a netlist </h3>
<p>
GUI: File menu, export project, select a netlist format on the left (e.g. tedax or spice)
<p>
CLI: sch-rnd -x <i>format</i> <i>files</i>; format is e.g. tedax or spice
(use sch-rnd --help to get a list); <i>files</i> is either project.lht
(if your project has one) or a list of paths to sheet files
<h2 id="editing"> 2. editing </h2>
<h3> 2.1. How to edit attributes of symbols and wirenets? </h3>
<p>
<ul>
<li> use the attribute editor: right click over the object, pick edit attributes menu
<li> there are hotkeys to make quick edits on the object under the mouse cursor; for
the full list, look in the Attributes menu; the most commonly used ones are:
<ul>
<li> {a a} for editing name (of a symbol or wirenet)
<li> {a v} for editing value (of a symbol)
<li> {a f} for editing footprint (of a symbol)
<li> {a d} for editing devmap (of a symbol)
</ul>
<li> use the property editor: right click over the object, pick edit properties menu
<li> select multiple objects and use hotkey {e p} to edit all them at once
<li> use an <a href="user/06_features/attribute_table/">external editor to edit attribute tables</a> (e.g. a spreadsheet application)
</ul>
<h3> 2.2. I get little filled rectangles insead of text... </h3>
<p>
That happens with <i>dyntext</i> text objects. Dyntext means the text string
is rendered from attribute value(s). When this goes wrong, and the attribute
value is missing the text ends up as an empty string. To avoid confusion of
invisible objects, sch-rnd refuses to render empty string as invisible and
draws a small filled rectangle instead.
<p>
The typical reasons for this happening:
<ul>
<li> a perfectly good dyntext referring to a perfectly good abstract attribute but the last compilation failed (for whatever unrelated reason); see the message log for compilation error, fix up your data, compile again and the text will render correctly
<li> the attribute referred by the dyntext object is not available; maybe the attribute is deleted; press {e t} over the square to pop up the text edit dialog that will show which atrtibute it is trying to address; right click over the rectangle and select the tree view menu to see in which group object (e.g. symbol or wirenet) the dyntext is
</ul>
<h2 id="editing"> 3. data model </h2>
<h3> 3.1. What's a concrete model? </h3>
<p>
Approximately: drawing objects and attributes on sheets. This is how the
circuit looks like to the human eye. For example in a PCB workflow
a quad opamp is often drawn as four separate <i>symbols</i>, all four
having the same name ("refdes", e.g. U5) and different slot attribute
to tell which one is which slot.
<h3> 3.2. What's an abstract model? </h3>
<p>
Approximately: the <i>meaning</i> of a concrete model. The abstract model
is what the computer thinks the schematics means. The netlist and other
non-graphical output is typically derived from the abstract model. Using
the above PCB workflow example of the quad opamp, the abstract model
contains it as a single <i>component</i> called U5, without any slot
attribute.
<p>
More explanation on the abstract model is available in the
<a href="http://repo.hu/cgi-bin/pool.cgi?project=sch-rnd-aux&cmd=show&node=vs_geda#abst">
vs_geda pool node</a>
<h3> 3.3. How to set the refdes? How to set the netname? </h3>
<p>
In the cschem data model sch-rnd uses, it is called <i>name</i>, not refdes
or netname. Set the name attribute.
</body>
</html>
|