Compare commits
2 commits
6311cdef48
...
5fc603ab50
Author | SHA1 | Date | |
---|---|---|---|
|
5fc603ab50 | ||
|
ebd6e5709c |
5 changed files with 5 additions and 5 deletions
|
@ -98,7 +98,7 @@ class APIObject(BaseObject):
|
|||
|
||||
|
||||
class APIViewProvider(BaseViewProvider):
|
||||
ICON = 'icon_footprint_browser.svg'
|
||||
ICON = 'kicad/icon_footprint_browser.svg'
|
||||
TYPE = 'KiConnect::API'
|
||||
|
||||
def __init__(self, viewprovider):
|
||||
|
|
|
@ -180,7 +180,7 @@ class BoardObject(BaseObject):
|
|||
|
||||
class BoardViewProvider(BaseViewProvider):
|
||||
TYPE = 'KiConnect::Board'
|
||||
ICON = 'board.svg'
|
||||
ICON = 'kicad/board.svg'
|
||||
|
||||
def makeBoard(parent, kicad_board, polygon):
|
||||
feature = App.ActiveDocument.addObject('App::DocumentObjectGroupPython', 'Board')
|
||||
|
|
|
@ -74,7 +74,7 @@ class BoardSketchObject(BaseObject):
|
|||
|
||||
class BoardSketchViewProvider(BaseViewProvider):
|
||||
TYPE = 'KiConnect::BoardSketch'
|
||||
#ICON = 'board.svg'
|
||||
#ICON = 'kicad/board.svg'
|
||||
|
||||
def makeBoardSketch(parent, kicad_board, polygon):
|
||||
feature = App.ActiveDocument.addObject('Sketcher::SketchObjectPython', 'BoardSketch')
|
||||
|
|
|
@ -19,7 +19,7 @@ class CopperObject(BaseObject):
|
|||
TYPE = 'KiConnect::Copper'
|
||||
|
||||
class CopperViewProvider(BaseViewProvider):
|
||||
ICON = 'show_all_copper_layers.svg'
|
||||
ICON = 'kicad/show_all_copper_layers.svg'
|
||||
TYPE = 'KiConnect::Copper'
|
||||
|
||||
class Copper():
|
||||
|
|
|
@ -73,7 +73,7 @@ class PartsObject(BaseObject):
|
|||
print(e)
|
||||
|
||||
class PartsViewProvider(BaseViewProvider):
|
||||
ICON = 'icon_footprint_browser.svg'
|
||||
ICON = 'kicad/icon_footprint_browser.svg'
|
||||
TYPE = 'KiConnect::Parts'
|
||||
|
||||
def makeParts(parent):
|
||||
|
|
Loading…
Add table
Reference in a new issue