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):
|
class APIViewProvider(BaseViewProvider):
|
||||||
ICON = 'icon_footprint_browser.svg'
|
ICON = 'kicad/icon_footprint_browser.svg'
|
||||||
TYPE = 'KiConnect::API'
|
TYPE = 'KiConnect::API'
|
||||||
|
|
||||||
def __init__(self, viewprovider):
|
def __init__(self, viewprovider):
|
||||||
|
|
|
@ -180,7 +180,7 @@ class BoardObject(BaseObject):
|
||||||
|
|
||||||
class BoardViewProvider(BaseViewProvider):
|
class BoardViewProvider(BaseViewProvider):
|
||||||
TYPE = 'KiConnect::Board'
|
TYPE = 'KiConnect::Board'
|
||||||
ICON = 'board.svg'
|
ICON = 'kicad/board.svg'
|
||||||
|
|
||||||
def makeBoard(parent, kicad_board, polygon):
|
def makeBoard(parent, kicad_board, polygon):
|
||||||
feature = App.ActiveDocument.addObject('App::DocumentObjectGroupPython', 'Board')
|
feature = App.ActiveDocument.addObject('App::DocumentObjectGroupPython', 'Board')
|
||||||
|
|
|
@ -74,7 +74,7 @@ class BoardSketchObject(BaseObject):
|
||||||
|
|
||||||
class BoardSketchViewProvider(BaseViewProvider):
|
class BoardSketchViewProvider(BaseViewProvider):
|
||||||
TYPE = 'KiConnect::BoardSketch'
|
TYPE = 'KiConnect::BoardSketch'
|
||||||
#ICON = 'board.svg'
|
#ICON = 'kicad/board.svg'
|
||||||
|
|
||||||
def makeBoardSketch(parent, kicad_board, polygon):
|
def makeBoardSketch(parent, kicad_board, polygon):
|
||||||
feature = App.ActiveDocument.addObject('Sketcher::SketchObjectPython', 'BoardSketch')
|
feature = App.ActiveDocument.addObject('Sketcher::SketchObjectPython', 'BoardSketch')
|
||||||
|
|
|
@ -19,7 +19,7 @@ class CopperObject(BaseObject):
|
||||||
TYPE = 'KiConnect::Copper'
|
TYPE = 'KiConnect::Copper'
|
||||||
|
|
||||||
class CopperViewProvider(BaseViewProvider):
|
class CopperViewProvider(BaseViewProvider):
|
||||||
ICON = 'show_all_copper_layers.svg'
|
ICON = 'kicad/show_all_copper_layers.svg'
|
||||||
TYPE = 'KiConnect::Copper'
|
TYPE = 'KiConnect::Copper'
|
||||||
|
|
||||||
class Copper():
|
class Copper():
|
||||||
|
|
|
@ -73,7 +73,7 @@ class PartsObject(BaseObject):
|
||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
class PartsViewProvider(BaseViewProvider):
|
class PartsViewProvider(BaseViewProvider):
|
||||||
ICON = 'icon_footprint_browser.svg'
|
ICON = 'kicad/icon_footprint_browser.svg'
|
||||||
TYPE = 'KiConnect::Parts'
|
TYPE = 'KiConnect::Parts'
|
||||||
|
|
||||||
def makeParts(parent):
|
def makeParts(parent):
|
||||||
|
|
Loading…
Add table
Reference in a new issue