-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding a message before loading the plugin with a try except
- Loading branch information
Showing
12 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
from .annular_checker import annular_check | ||
annular_check().register() | ||
import wx | ||
try: | ||
from .annular_checker import annular_check | ||
annular_check().register() | ||
except Exception as e: | ||
wx.LogMessage('annular checker plugin error\n'+str(e)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
from .fabrication_positions import generatePOS | ||
generatePOS().register() | ||
import wx | ||
try: | ||
from .fabrication_positions import generatePOS | ||
generatePOS().register() | ||
except Exception as e: | ||
wx.LogMessage('fabrication positions plugin error\n'+str(e)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
from .move_to_layer import move_to_draw_layer | ||
move_to_draw_layer().register() | ||
import wx | ||
try: | ||
from .move_to_layer import move_to_draw_layer | ||
move_to_draw_layer().register() | ||
except Exception as e: | ||
wx.LogMessage('move to layer plugin error\n'+str(e)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
from .action_menu_pcb2dxf import pcb2dxf | ||
pcb2dxf().register() | ||
import wx | ||
try: | ||
from .action_menu_pcb2dxf import pcb2dxf | ||
pcb2dxf().register() | ||
except Exception as e: | ||
wx.LogMessage('pcb to dxf plugin error\n'+str(e)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
from .snap2grid import snap_to_grid | ||
snap_to_grid().register() | ||
import wx | ||
try: | ||
from .snap2grid import snap_to_grid | ||
snap_to_grid().register() | ||
except Exception as e: | ||
wx.LogMessage('snap to grid plugin error\n'+str(e)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
from .model3d_list import checkMissing3DM | ||
checkMissing3DM().register() | ||
import wx | ||
try: | ||
from .model3d_list import checkMissing3DM | ||
checkMissing3DM().register() | ||
except Exception as e: | ||
wx.LogMessage('3D missing models checker plugin error\n'+str(e)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters