T
tscircuit•3mo ago
Abse

Schematic symbol

@Rishabh does this look right for the down symbol
No description
56 Replies
Rishabh
Rishabh•3mo ago
No description
Rishabh
Rishabh•3mo ago
I think this is the correct format for right
Abse
AbseOP•3mo ago
it should be 1 , 2 ,3 right the 3 should be in the right ?
Rishabh
Rishabh•3mo ago
Yeah, that is fine too
Abse
AbseOP•3mo ago
ok let me edit them
Abse
AbseOP•3mo ago
@Rishabh
No description
Abse
AbseOP•3mo ago
did I get it right ?
Rishabh
Rishabh•3mo ago
Lgtm! cc @Seve
Seve
Seve•3mo ago
yea looks right! ship!
Seve
Seve•3mo ago
Afk but trust 🫡
Abse
AbseOP•3mo ago
@Rishabh the meger is blocked by your requsted changes can you approve it ? NVM I got it
Techmannih
Techmannih•3mo ago
@Rishabh @Seve this seems incorrect? what do you think?
No description
Techmannih
Techmannih•3mo ago
left one is old version and right is latest version
Techmannih
Techmannih•3mo ago
I think old is correct according to this
No description
Seve
Seve•3mo ago
I think the right side is wrong yes Could be a symbols repo issue
Techmannih
Techmannih•3mo ago
yeah just need to change the pin no
Seve
Seve•3mo ago
In your test, make sure that your connections object is like {{ emitter: “net.emitter” }} not {{ pin1: “net.emitter” }}, i think you did it right iirc
Techmannih
Techmannih•3mo ago
@Seve this will be npn
No description
No description
Techmannih
Techmannih•3mo ago
this will be pnp
No description
No description
Techmannih
Techmannih•3mo ago
@Rishabh I was just fixing the anchor text. is this for text?
No description
Rishabh
Rishabh•3mo ago
I would say, it's better you fix the pinLabels as well. Hardly would take 2min and we need to follow the correct practice for labels
Techmannih
Techmannih•3mo ago
is the pin label incorrect?
Rishabh
Rishabh•3mo ago
pin numbers, take a reference from some of the symbols @Abse has done
Abse
AbseOP•3mo ago
I can help you @Rishabh should we remove the horz and vert variants ?
Rishabh
Rishabh•3mo ago
Mmm.. not sure if we need those for backwards compatibility. I think just keep it
Abse
AbseOP•3mo ago
yeah my thoughts exactly
Abse
AbseOP•3mo ago
GitHub
Symbol Conventions · Issue #305 · tscircuit/schematic-symbols
Always travel from lower to higher, in the direction of the symbol. INCREASE in the direction of the symbol For example, if the symbol is "right", then we have pin1 on the left and pin2 o...
Abse
AbseOP•3mo ago
check this and let me know I can also review your PR before calling for Rishabh
Abse
AbseOP•3mo ago
@Techmannih no right version ?
Techmannih
Techmannih•3mo ago
right version have not anchor issue that why which is not updating
No description
Abse
AbseOP•3mo ago
ok looks good to me the ports label follow the conventions the number increase in the direction of the symbol @Rishabh wait @Techmannih why are you not using modifySumbol ? rotateSymbol is deprecated you can use one of my PRs as a reference
Techmannih
Techmannih•3mo ago
I am not using rotateSymbol, which is already there
No description
Abse
AbseOP•3mo ago
yeah but can't you fix it it's easy we keep using deprecated methods I'm working on a refactor for the script to use the new methods but for now we should fix them manually
Techmannih
Techmannih•3mo ago
yeah sure
Techmannih
Techmannih•3mo ago
@Rishabh
No description
Abse
AbseOP•3mo ago
you switched them to modifySymbol ? if so I think this is good
Rishabh
Rishabh•3mo ago
All are anti-clockwise. Make sure the pin number is increasing in the clockwise direction
Abse
AbseOP•3mo ago
@Rishabh I think thie is an old rule no ? I think @Seve said the largest number will be in the direction of the symbol no ? (that is what I thought)
Techmannih
Techmannih•3mo ago
yeah, but some pin label wrong as rishabh suggested? I got confused due to this how about now? @Rishabh
No description
Abse
AbseOP•3mo ago
now I don't think this is right , I think the down variant should have the 3 in the bottom ?
Techmannih
Techmannih•3mo ago
.
Rishabh
Rishabh•3mo ago
It's not possible to have the largest always towards the direction. Checkout the example which you did
No description
Techmannih
Techmannih•3mo ago
yeah got it so hopefully this is correct?
Rishabh
Rishabh•3mo ago
Follow the convention of rotation, it should be clockwise
Techmannih
Techmannih•3mo ago
@Rishabh https://github.com/tscircuit/schematic-symbols/pull/329 @Rishabh can you check it not @Rishabh merge ?
Rishabh
Rishabh•3mo ago
Yes
Techmannih
Techmannih•3mo ago
@Rishabh https://github.com/tscircuit/core/pull/1074 @Seve do I need to fix this in the core, or should I update the pin numbering in the symbol? @Rishabh I think this symbol also not following the clockwise, should i need to fix it before assigning the pin no to transistor's pin label
Rishabh
Rishabh•3mo ago
Yeah, go ahead and fix the direction
Techmannih
Techmannih•3mo ago
No description
Techmannih
Techmannih•2mo ago
@Rishabh there is 3 pin how to identify left to right bit confusing . what ahould be the correct order of them?
No description
Rishabh
Rishabh•2mo ago
The symbol is right, so the pin number 1 should be the left most and the order of pin number increases in the direction of right
Techmannih
Techmannih•2mo ago
@Rishabh is it correct now?
No description
Rishabh
Rishabh•2mo ago
Looks about right to me

Did you find this page helpful?