request : open push button and closed push button #128
Comments
|
Notice that I did the "stems" differently on purpose so that labels are naturally aligned on horizontal lines of switches. |
Add the normally closed push-button; fixes #128
|
I like these however I think it would be nice to have a closed variant of the normally open push button and vice versa. The difference would be that for the closed normally open button the contact would be at the top of both terminal dots and for the opened normally closed button the gap would be below the terminal circles. |
|
For me it would be most important that the text/labels remain at the same height. As their position depends on the anchors I think it would be best to make the stem longer and maintain the same anchor position. Decoupling the anchor from the stam seems like a bad idea (to me at least). |
|
It is possible to have both things (I can fake the size of the stem); I mean, it is possible to have the stem "going down" and maintain the label position. Or at least I think ;-) |
|
I just realized that these buttons are path styles and not nodes so I think they do not even have anchors accessible from the outside. So if they do not allow one to put something at the stem manually I think it would be nice to keep the stem size and move everything down. Otherwise I would have imagined people attaching things (e.g. lines) to the steam which would either shift or get disconnected when they are moved down but as this does not even seem possible I am in favour of keeping the stem length the same. |
You can access anchors! Just name the path object: |
|
Oh that is great to know. Than I am personally in favour of having the upper end of the stem stay in the same position. |
Also, add a "tip" anchor to this. Suggested by @septatrix in circuitikz#128 (comment)


Hi, Great library.
I guess currently there is only one
push buttonstyle. I needed push button in bothopenandclosedconfiguration. I was able to create them by changingbipoles/pushbutton/heightparameter.I guess having every switch in
openandclosedstyles would be great.The text was updated successfully, but these errors were encountered: