This shows you the differences between two versions of the page.
gnucap:user:netlist_import_and_export:qucs [2025/05/06 08:29] felixs qucs nodes, nets etc. |
gnucap:user:netlist_import_and_export:qucs [2025/06/27 09:07] (current) felixs net label update |
||
---|---|---|---|
Line 26: | Line 26: | ||
In a legacy schematic, a net is a line in the block enclosed by ''<Wires>'' and ''</Wires>''. The net | In a legacy schematic, a net is a line in the block enclosed by ''<Wires>'' and ''</Wires>''. The net | ||
- | <410 170 570 170 "dc_voltage" 560 130 117>. | + | <410 170 570 170 "" 0 0 0> |
- | + | ||
will be translated to | will be translated to | ||
- | (* S0_x1=410, S0_y1=170, S0_x2=570, S0_y2=170 *) net #() dc_voltage ( n_410_170, n_570_170 ); | + | (* S0_x1=410, S0_y1=170, S0_x2=570, S0_y2=170 *) net #() net42 ( n_410_170, n_570_170 ); |
+ | |||
+ | where ''net42'' is a unique identifier. Labels, as in | ||
+ | |||
+ | <410 170 570 170 "dc_voltage" 560 130 117>. | ||
- | If the label is empty we insert a unique identifier. | + | are actually used as nodes, but with an additional position irrelevant to the model. This can be expressed using a third net port as follows. |
+ | |||
+ | (* S0_x1=410, S0_y1=170, S0_x2=570, S0_y2=170, S0_qucs_x=560, S0_qucs_y=130, S0_qucs_arg=117 *) net #() net43 ( n_410_170, n_570_170, dc_voltage ); | ||
==== Orientation ==== | ==== Orientation ==== |