10.3. Circuits

Anableps capabilities and layout make it specially apt for drawing circuits and diagrams.

../_images/cutandfold1.png

Example of an electrical circuit (see code here)

circuit c {

    layout l {
    :             d1
    :
    :    t1
    :                               c1
    :             p1
    :    t2                         c2
    :
    :             gnd
    }

    transistor.pnp t1: .beta 200
    transistor.pnp t2: .beta 100
    resistor r1: 500Ohms :
    node: .from t1.b : .to p1.anode : .thickness 2
    node: .from p1.catode : .to gnd : color red
    node: .from
}

10.3.1. Exporting circuits

Electrical circuits can be exported to the following formats, in addition to the image formats: pspice,

10.3.2. Electric Components

Transistors: PNP, NPN, JFET, Mosfet, Diodes: varactor, gunn diode, zenner diode, simple diode Resistances: Others:

For the full catalogue, see the library section.

10.3.3. Pneumatic circuits

10.3.3.1. Components:

Valves: Pumps: Sensors: Others:

For a full catalogue see the library section “Pneumatic components”

10.3.4. Hidraulic circuits

10.3.5. Examples:

components:

layout l {



}


circuit c1
{
    layout {


    }


}