Skip to content

Support 0 Ω resistor values in the component image generator - #1515

Merged
jbtronics merged 1 commit into
masterfrom
claude/part-db-issue-1508-pqk07c
Sep 1, 2026
Merged

Support 0 Ω resistor values in the component image generator#1515
jbtronics merged 1 commit into
masterfrom
claude/part-db-issue-1508-pqk07c

Conversation

@jbtronics

Copy link
Copy Markdown
Member

Entering "0" (or a 0R/0805 jumper part) was rejected everywhere the
calculator checked value > 0, even though 0 Ω "jumper" resistors are
a real, standard part. Zero is now accepted for the resistor and SMD
resistor tabs and drawn with the conventional all-black bands /
"000"/"0000" markings; the server-side ComponentValueGuesser now also
classifies parts with a 0 Ω resistance parameter or "0R" name instead
of silently skipping them. Also adds a 5 W resistor power-rating
option, as requested in the same issue.

Fixes #1508

Entering "0" (or a 0R/0805 jumper part) was rejected everywhere the
calculator checked `value > 0`, even though 0 Ω "jumper" resistors are
a real, standard part. Zero is now accepted for the resistor and SMD
resistor tabs and drawn with the conventional all-black bands /
"000"/"0000" markings; the server-side ComponentValueGuesser now also
classifies parts with a 0 Ω resistance parameter or "0R" name instead
of silently skipping them. Also adds a 5 W resistor power-rating
option, as requested in the same issue.

Fixes #1508
@jbtronics
jbtronics merged commit 8c5ca7d into master Sep 1, 2026
13 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Component Image Generator fail value of "0"

2 participants