Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add App Specific Keepout Generator #179

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Conversation

callendorph
Copy link
Contributor

This allows us to create keepouts outside of pcb-component definitions but have them track a particular instance in the layout.

Screenshot 2024-09-30 145802

Example:

  inst USBC : connectors/components/USB/USBTypeC/device

  ; Construct Pour Keepouts on applicable layers
  val KO = KeepoutOverlay(Rectangle(3.0, 4.0))
  make-keepout-overlay(
    KO, USBC.J,
    layer-set = [LayerIndex(0), LayerIndex(2), LayerIndex(3)]
    name = "USBC-Keepout"
    )

This adds a tool to create keepouts in an
application specific way. For example, sometimes
we may want to create keepouts on specific layers
that are not generic to all board uses. This
allows constructing these on an application
specific basis.
@callendorph callendorph merged commit 18fe170 into main Oct 1, 2024
1 check 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.

2 participants