kicad 8 compat
This commit is contained in:
@ -30,7 +30,7 @@ from pcbnew import *
|
|||||||
import base64
|
import base64
|
||||||
from wx.lib.embeddedimage import PyEmbeddedImage
|
from wx.lib.embeddedimage import PyEmbeddedImage
|
||||||
import os
|
import os
|
||||||
___version___="1.2.5"
|
___version___="1.2.6"
|
||||||
|
|
||||||
from . import Move2LayerDlg
|
from . import Move2LayerDlg
|
||||||
|
|
||||||
@ -154,7 +154,8 @@ class move_to_draw_layer( pcbnew.ActionPlugin ):
|
|||||||
if modal_result == wx.ID_OK:
|
if modal_result == wx.ID_OK:
|
||||||
LayerName = aParameters.m_comboBoxLayer.GetStringSelection()
|
LayerName = aParameters.m_comboBoxLayer.GetStringSelection()
|
||||||
LayerIndex = aParameters.m_comboBoxLayer.FindString(LayerName)
|
LayerIndex = aParameters.m_comboBoxLayer.FindString(LayerName)
|
||||||
# wx.LogMessage(LayerName+';'+str(LayerIndex))
|
# LayerStdName = pcbnew.BOARD_GetStandardLayerName(LayerIndex)
|
||||||
|
# wx.LogMessage(LayerName+';'+str(LayerIndex)+';'+LayerStdName)
|
||||||
MoveToLayer(board, LayerIndex)
|
MoveToLayer(board, LayerIndex)
|
||||||
else:
|
else:
|
||||||
None # Cancel
|
None # Cancel
|
||||||
|
@ -65,7 +65,7 @@ release "1.1.0"
|
|||||||
A script to Move Selected Drawing(s) to chosen new Layer (available only in GAL)
|
A script to Move Selected Drawing(s) to chosen new Layer (available only in GAL)
|
||||||
How to use:
|
How to use:
|
||||||
- move to GAL
|
- move to GAL
|
||||||
- select some draw objects
|
- select some DRAW objects
|
||||||
- call the plugin
|
- call the plugin
|
||||||
- select the new layer
|
- select the new layer
|
||||||
- selected draw objects will be moved to new layer
|
- selected draw objects will be moved to new layer
|
||||||
|
@ -8,8 +8,6 @@ from . import FabricationPositions
|
|||||||
|
|
||||||
from . import MoveToLayer
|
from . import MoveToLayer
|
||||||
|
|
||||||
from . import PcbToDxf
|
|
||||||
|
|
||||||
from . import Snap2Grid
|
from . import Snap2Grid
|
||||||
|
|
||||||
from . import checking3Dmodels
|
from . import checking3Dmodels
|
||||||
|
Reference in New Issue
Block a user