diff --git a/src/landpatterns/VirtualLP.stanza b/src/landpatterns/VirtualLP.stanza index f7b63680..db502e1d 100644 --- a/src/landpatterns/VirtualLP.stanza +++ b/src/landpatterns/VirtualLP.stanza @@ -10,6 +10,7 @@ defpackage jsl/landpatterns/VirtualLP: import jsl/design/Classable import jsl/geometry/box import jsl/landpatterns/courtyard + import jsl/landpatterns/leads import jsl/landpatterns/thermal-pads doc: \ diff --git a/src/landpatterns/keep-outs.stanza b/src/landpatterns/keep-outs.stanza index b98c72e0..90ed3431 100644 --- a/src/landpatterns/keep-outs.stanza +++ b/src/landpatterns/keep-outs.stanza @@ -25,8 +25,6 @@ in the virtual LP scene graph. public defmulti build-keep-out (kc:KeepoutCreator, vp:VirtualLP -- side:Side = Top) -> False - - doc: \ Keepout Creator for Intra-pad Keepouts @@ -41,8 +39,18 @@ This type is used to contruct these keepouts on any layer of the board design. public defstruct IntraPadKeepOut <: KeepoutCreator : + doc: \ + Set of copper layers where the keepout will be placed. + The most obvious layer would be the top layer underneath + the component. But for some applications, we might want + to add keepouts in the reference plane underneath the + component as well. + + The default value is the top layer `LayerIndex(0)` + layer-set:Tuple with: ensure => ensure-not-empty! + default => [LayerIndex(0)] doc: \ Shrink the created keepout diff --git a/src/landpatterns/silkscreen.stanza b/src/landpatterns/silkscreen.stanza index 1a2a64f6..2deafd4e 100644 --- a/src/landpatterns/silkscreen.stanza +++ b/src/landpatterns/silkscreen.stanza @@ -11,7 +11,10 @@ defpackage jsl/landpatterns/silkscreen: import jsl/errors import jsl/geometry/box import jsl/geometry/LineRectangle - import jsl/landpatterns/framework + import jsl/landpatterns/VirtualLP + import jsl/landpatterns/helpers + import jsl/landpatterns/leads + import jsl/landpatterns/package-body public defn default-silk-width () -> Double : clearance(current-rules(), MinSilkscreenWidth)