kicad 8 compat

This commit is contained in:
U-CAD\userC
2024-11-09 11:08:47 +01:00
parent 84b9f1e6d8
commit 89c86cc368
3 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -8,8 +8,6 @@ from . import FabricationPositions
from . import MoveToLayer
from . import PcbToDxf
from . import Snap2Grid
from . import checking3Dmodels