kicad 8 compat
This commit is contained in:
@ -30,7 +30,7 @@ from pcbnew import *
|
||||
import base64
|
||||
from wx.lib.embeddedimage import PyEmbeddedImage
|
||||
import os
|
||||
___version___="1.2.5"
|
||||
___version___="1.2.6"
|
||||
|
||||
from . import Move2LayerDlg
|
||||
|
||||
@ -154,7 +154,8 @@ class move_to_draw_layer( pcbnew.ActionPlugin ):
|
||||
if modal_result == wx.ID_OK:
|
||||
LayerName = aParameters.m_comboBoxLayer.GetStringSelection()
|
||||
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)
|
||||
else:
|
||||
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)
|
||||
How to use:
|
||||
- move to GAL
|
||||
- select some draw objects
|
||||
- select some DRAW objects
|
||||
- call the plugin
|
||||
- select the new layer
|
||||
- selected draw objects will be moved to new layer
|
||||
|
@ -8,8 +8,6 @@ from . import FabricationPositions
|
||||
|
||||
from . import MoveToLayer
|
||||
|
||||
from . import PcbToDxf
|
||||
|
||||
from . import Snap2Grid
|
||||
|
||||
from . import checking3Dmodels
|
||||
|
Reference in New Issue
Block a user