This shows you the differences between two versions of the page.
|
gnucap:user:netlist_import_and_export:geda [2025/05/14 05:54] felixs describe net override handling |
gnucap:user:netlist_import_and_export:geda [2025/11/12 05:42] (current) felixs Non-circuit items, text |
||
|---|---|---|---|
| Line 154: | Line 154: | ||
| In older schematics ad-hoc solutions and workarounds indicating port connections can be found. For example the ''device=spice-IO'' attribute has been in wide use. Some heuristics cover some of these, but they should not be relied on. | In older schematics ad-hoc solutions and workarounds indicating port connections can be found. For example the ''device=spice-IO'' attribute has been in wide use. Some heuristics cover some of these, but they should not be relied on. | ||
| + | ===== Non-circuit items ===== | ||
| + | ==== Text ==== | ||
| + | Text objects store a given positive number of lines. We can store lines in a string attribute. Here, a line ends with a newline character. | ||
| + | The x/y coordinates refer to the left end of the baseline of the first line of text, and this may require some guesswork. Other attributes are named as in the manual. | ||
| + | Identifiers for text are arbitrary, but assigned uniquely. Text items such as | ||
| + | |||
| + | T 1000 100 9 10 1 0 0 0 1 | ||
| + | AAAA | ||
| + | T 2000 100 9 10 1 0 0 0 2 | ||
| + | BBBB | ||
| + | BBBB | ||
| + | T 3000 100 9 10 1 0 0 0 1 | ||
| + | CCCC | ||
| + | |||
| + | may become | ||
| + | |||
| + | (* S0_text="AAAA\n", S0_x=1000, S0_y=100, geda_color=9, geda_size=10, geda_visibility=1, geda_show_name_value=0, geda_angle=0, geda_alignment=0 *) S__text #() geda_text_1 (); | ||
| + | (* S0_text="BBBB\nBBBB\n", S0_x=2000, S0_y=314, geda_color=9, geda_size=10, geda_visibility=1, geda_show_name_value=0, geda_angle=0, geda_alignment=0 *) S__text #() geda_text_2 (); | ||
| + | (* S0_text="CCCC\n", S0_x=3000, S0_y=100, geda_color=9, geda_size=10, geda_visibility=1, geda_show_name_value=0, geda_angle=0, geda_alignment=0 *) S__text #() geda_text_3 ();. | ||