Skip to content

add diode fab polarity symbols#679

Open
techmannih wants to merge 9 commits into
mainfrom
fab
Open

add diode fab polarity symbols#679
techmannih wants to merge 9 commits into
mainfrom
fab

Conversation

@techmannih

Copy link
Copy Markdown
Member

This PR updates diode footprints to use a shared fabrication-layer polarity/orientation symbol in the footprint output without changing diode pin polarity or schematic behavior.

Changes

  • add a shared diode fabrication helper for footprint-level polarity/orientation graphics
  • apply the fabrication-layer diode symbol across diode footprint families
  • keep the symbol pointing toward the cathode side

Scope

  • footprint/fabrication output only
  • no diode core polarity changes

@techmannih techmannih requested a review from seveibar as a code owner July 3, 2026 08:52
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@seveibar

seveibar commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

oof this is 100x as much code

Comment thread src/fn/melf.ts
import { length } from "circuit-json"
import {
createManualDiodeFabricationNotes,
diodeFabricationTuningPresets,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??? remove

Comment thread src/fn/melf.ts
padHeight: length.parse(parameters.pw),
bodyWidth: length.parse(parameters.w),
bodyHeight: length.parse(parameters.h),
tuning: diodeFabricationTuningPresets.wideThickStroke,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inline this object in each location- do not create an unnecessarily cyclic dependency (we never use this pattern where you have a referenced dict inside a common utility- a common utility SHOULD NOT CONTAIN specific references)

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.

2 participants