Skip to content

Commit

Permalink
fixing small diff from 5.99 to 6
Browse files Browse the repository at this point in the history
  • Loading branch information
easyw committed Nov 26, 2021
1 parent 2ad23ce commit d424038
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions FabricationPositions/fabrication_positions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#pcbnew.GetWizardsBackTrace()


___version___="1.2.5"
___version___="1.2.6"
#wx.LogMessage("My message")
#mm_ius = 1000000.0

Expand All @@ -25,9 +25,6 @@
import base64
from wx.lib.embeddedimage import PyEmbeddedImage

reload(sys)
sys.setdefaultencoding('utf-8')

"""
execfile ("C:/kicad-wb-1602/msys64/home/userC/out3Dm/pack-x86_64/share/kicad/scripting/plugins/getpos.py")
"""
Expand Down
6 changes: 3 additions & 3 deletions Snap2Grid/snap2grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
### plugins errors
#import pcbnew;pcbnew.GetWizardsBackTrace()

__version__ = '1.2.0'
__version__ = '1.2.1'
import sys, os
import pcbnew
import datetime
Expand Down Expand Up @@ -133,8 +133,8 @@ def snap2grid(gridSizeMM,use_grid):
auxOrigin = pcb.GetAuxOrigin()
gridOrigin = pcb.GetGridOrigin()
else:
auxOrigin = pcb.GetDesignSettings().m_AuxOrigin
gridOrigin = pcb.GetDesignSettings().m_GridOrigin
auxOrigin = pcb.GetDesignSettings().GetAuxOrigin()
gridOrigin = pcb.GetDesignSettings().GetGridOrigin()
if hasattr(pcb,'GetModules'):
footprints = pcb.GetModules()
else:
Expand Down

0 comments on commit d424038

Please sign in to comment.