Skip to content

Commit

Permalink
Be more specific about what expand-polygon can do
Browse files Browse the repository at this point in the history
As discussed in horizon-eda/horizon-pool-convention#13, it's complicated and I made some incorrect assumptions after reading this. I think making it clear here will reach anybody who goes looking.

The question of how much detail to specify in horizon-pool-convention seems separate to me, because the docs for the parameter program commands should be clear on their own.
  • Loading branch information
bsilver8192 authored Dec 10, 2020
1 parent 1eb0160 commit 6a02577
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion parameter-programs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ expand-polygon

``expand-polygon [ <parameter class> <x0> <y0> <x1> <y1> ... <xn> <yn> ]``
Pops expansion. Expands the polyon specified by the coordinates in the
argument by the dimension popped from the stack.
argument by the dimension popped from the stack. This expansion will
work for any polygon, including concave shapes (which will become convex
at the appropriate expansion). Note that some shapes produce interior
holes at certain expansions, which may not be what is intended.

Example program (from SMD rectangular padstack)
-----------------------------------------------
Expand Down

0 comments on commit 6a02577

Please sign in to comment.