T
tscircuit•3mo ago
Mustafa7

@Abse do you know what is this prop

@Abse do you know what is this prop showSilkscreenPinLabels?
24 Replies
shibo
shibo•3mo ago
Shouldnt it be hideSilkscreenPinLabels? As showing them is the default?
Mustafa7
Mustafa7OP•3mo ago
idk its already there in many common components ig I checked its only available for pinheader component
Seve
Seve•3mo ago
yea probably should be hideSilkscreenPinLabels
Mustafa7
Mustafa7OP•2mo ago
@Seve @Seve so the prop should be the same asa earlier? And the pinlabels should be hidden by default?
Seve
Seve•2mo ago
yea i think so, that's how other software does it
Mustafa7
Mustafa7OP•2mo ago
@Seve i think a lot of boards will have to be updated after this gets merged
Seve
Seve•2mo ago
your PR is good but make sure to update the tests, a lot of them should have to appropriate prop so that the pin labels are visible
Mustafa7
Mustafa7OP•2mo ago
@Seve showSilkscreenPinlabels prop is only available for pinheader. I just noticed that pinrow is being used in chip, jumper etc in core. So should i update the props to include it?
Seve
Seve•2mo ago
yea that sounds right @Mustafa7 i'm looking at this a bit more if the user is specifying that the footprint has a particular silkscreen, we should show the silkscreen even if they don't specify this prop. This prop controls what happens if they don't specify a footprint so it doesn't go on chip
Mustafa7
Mustafa7OP•2mo ago
Only pinrow footprint shows pinlabels right?
Seve
Seve•2mo ago
if the user specifies a footprint, this prop doesn't effect anything it's only when we generate a footprint from props that this comes into effect
Seve
Seve•2mo ago
only for this function
No description
Mustafa7
Mustafa7OP•2mo ago
@Seve
Seve
Seve•2mo ago
@Mustafa7 no that's wrong getImpliedFootprintString should just return _hidesilkscreenpinlabels on the pinrow. There may be a footprinter issue (does it not let you disable pin labels)
Mustafa7
Mustafa7OP•2mo ago
@Seve
Mustafa7
Mustafa7OP•2mo ago
@Seve this as well was a 1 star?🥲
Mustafa7
Mustafa7OP•2mo ago
@Seve merge pls

Did you find this page helpful?