← Back to community index
# contributor·Active

shibo - @Krishna regarding https://github.com/t...

mention regarding https://github.com/tscircuit/altium to circuit json/pull/52

Started by shiboSep 19, 202610 messages

Discussion

Last active last month · plain text
shibooriginal post
<@1362486994583687421> regarding https://github.com/tscircuit/altium-to-circuit-json/pull/52
shibo
why does your PR have no svg snapshot changes after you added is_hidden?
Krishna
I tried adding is_hidden to circuit-json and tried to use it on atium-tocircuit-json (i taught this was correct approach) pr #52 now handles nameon/commenton directly in altium-to-circuit-json
shibo
your issue was that is_hidden is not supported by any other repo, for example circuit-to-svg won't hide the silkscreen
Krishna
yes
shibo
and I doubt we should delete the silkscreen if it's hidden
shibo
if you want to change circuit-json please give your proposal to Seve
Krishna
Ok, I won’t remove the hidden silkscreen because that would lose data. <@757706909351411845> I’d like to add is_hidden?: boolean to Circuit JSON: (https://github.com/tscircuit/circuit-json/pull/807) If that approach is correct, I will update circuit-to-svg to skip hidden text when rendering. and then I will update altium-to-circuit-json#52 to map with altiums NAMEON and COMMENTON values to is_hidden and regenerate the svg snapshots.
Krishna
<@757706909351411845> Could you please confirm whether this is the right approach?
Sapphire
<:warning:892823499205406760> Please avoid using excessive mentions, as it creates unnecessary notifications and disrupts others — use mentions only when truly needed to keep the discussion focused and respectful; repeated misuse may lead to moderation action.

Want to add to the conversation?

Reply in Discord so your notes stay connected to the source.
Continue in Discord ↗