혹시 Circuitikz용 IEC nc, no, co 스위치를 갖고 있는 사람이 있나요?

혹시 Circuitikz용 IEC nc, no, co 스위치를 갖고 있는 사람이 있나요?

E1218에서 E1220까지를 참조하고 다음과 같은 개선 사항을 통해 더 나은 기호가 필요합니다.

  • 움직이는 슬라이더의 길이는 같아야 합니다.
  • co는 E1224처럼 대칭이어야 합니다.
  • 나중에 접촉 수정자를 추가해야 합니다(특히 E1229-E1232).
  • 또한 슬라이더에 기계적 특성을 추가할 수 있어야 합니다.

슬라이더는 작동 시 항상 시계 방향으로 움직여야 합니다.

나는 또한 첨부한다IEC 기호 참조참고로 아주 오래된 버전입니다.

여기에 이미지 설명을 입력하세요

여기에 이미지 설명을 입력하세요

다음은 현재 스위치 기호의 정렬을 확인하는 해킹된 코드입니다.

여기에 이미지 설명을 입력하세요

    \begin{circuitikz}
    { % 
    \coordinate (a) at (-1,0);
    \draw (a)
%   node {X}%debug
    ++(-1,-0.25) node [anchor=east] {$U_n$} 
    to[short, o-] 
    ++(1,0)
    ++(-1,1.25) node [anchor=east] {$U_c$} 
    to[short, o-]
    ++(1,0)
    ++(-1,1) node [anchor=east] {$U_b$} 
    to[short, o-]
    ++(1,0)
    ++(-1,1) node [anchor=east] {$U_a$} 
    to[short, o-]
    ++(1,0);
    }
    \draw (-1,1) -- (-1,0.25);
    \draw (0.00,+0.25) to[nos,l=$\ $, ] ++(-1,0);
    \draw (0.00,-0.0)node[ocirc]{} to[nos,l=$\ $, ] ++(-1,0);
    \draw (-0.05,-0.25) to[ncs,l=$\ $,mirror, ] ++(-1,0);
    \end{circuitikz}

나는 이제 최종 코드에 가깝지 않은 현재의 요구 사항을 충족할 조잡한 디자인을 수행했습니다.

{% no nc co switch
\coordinate (a) at (-0,01);
\draw (a)
node {x}%debug
to[short, -o] ++(-0.25,0);%fixed contact
{%
\draw[thick]($(a)+(-0.25,0)$) -- ++(-0.5,-0.225);%nc wiper
\draw ($(a)+(-0.75,-0.225)$) -- ++(-0.045,0.11);%early
\draw ($(a)+(-0.75,-0.225)$) -- ++(+0.045,-0.11);%late
}
{%
\draw[thick]($(a)+(-0.25,0)$) -- ++(-0.55,+0.05);%centre nc wiper
\draw ($(a)+(-0.8,+0.05)$) -- ++(0.01,0.11);%early
\draw ($(a)+(-0.8,+0.05)$) -- ++(-0.01,-0.11);%late
}
{%
\draw[thick]($(a)+(-0.25,0)$) -- ++(-0.5,-0.25);%no wiper
\draw ($(a)+(-0.75,-0.25)$) -- ++(-0.045,0.11);%early
\draw ($(a)+(-0.75,-0.25)$) -- ++(+0.045,-0.11);%late
}
\draw (a) ++(-0.625,-0.125) |- ++(-0.375,-0.125);%nc contact 
\draw (a) ++(-0.625,0.125) |- ++(-0.375,-0.125);%centre nc contact 
\draw(a) ++(-1,+0.25) -- ++(0.275,0);%no contact
\draw(a) ++(-1,+0) -- ++(0.25,0);%centre no contact
}

여기에 이미지 설명을 입력하세요

관련 정보