From 6a02577a937399be1c2bc699d2745a7bfaa8a2fb Mon Sep 17 00:00:00 2001 From: Brian Silverman Date: Wed, 9 Dec 2020 21:14:56 -0800 Subject: [PATCH] Be more specific about what expand-polygon can do 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. --- parameter-programs.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/parameter-programs.rst b/parameter-programs.rst index a272bbd..af8439b 100644 --- a/parameter-programs.rst +++ b/parameter-programs.rst @@ -146,7 +146,10 @@ expand-polygon ``expand-polygon [ ... ]`` 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) -----------------------------------------------