Skip to content

Commit

Permalink
Cleanup after refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
callendorph committed Sep 30, 2024
1 parent 85823d2 commit 08981ba
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/landpatterns/VirtualLP.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -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: \<DOC>
Expand Down
12 changes: 10 additions & 2 deletions src/landpatterns/keep-outs.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ in the virtual LP scene graph.
<DOC>
public defmulti build-keep-out (kc:KeepoutCreator, vp:VirtualLP -- side:Side = Top) -> False



doc: \<DOC>
Keepout Creator for Intra-pad Keepouts

Expand All @@ -41,8 +39,18 @@ This type is used to contruct these keepouts on any layer
of the board design.
<DOC>
public defstruct IntraPadKeepOut <: KeepoutCreator :
doc: \<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)`
<DOC>
layer-set:Tuple<LayerIndex> with:
ensure => ensure-not-empty!
default => [LayerIndex(0)]

doc: \<DOC>
Shrink the created keepout
Expand Down
5 changes: 4 additions & 1 deletion src/landpatterns/silkscreen.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 08981ba

Please sign in to comment.