Skip to content

Commit

Permalink
updated to addin framework
Browse files Browse the repository at this point in the history
  • Loading branch information
tapnair committed Oct 31, 2016
1 parent 8945f74 commit af38720
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions NESTER.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"id": "3b330997-dbbb-4cfa-8050-5ea0685a73a6",
"author": "Patrick Rainsberry",
"description": {
"": "Base Class for a Fusion Addin"
"": "Basic Nesting Add-in for FUsion 360"
},
"version": "",
"version": "2.0",
"runOnStartup": false,
"supportedOS": "windows|mac",
"editEnabled": true
Expand Down
8 changes: 4 additions & 4 deletions NESTER.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from . import f360NesterCommand
from . import NesterCommand

commandName1 = 'f360Nester'
commandName1 = 'Nester'
commandDescription1 = 'Basic Nesting for Fusion 360'
commandResources1 = './resources'
cmdId1 = 'cmdID_f360Nester'
cmdId1 = 'cmdID_Nester'
myWorkspace1 = 'FusionSolidEnvironment'
myToolbarPanelID1 = 'SolidScriptsAddinsPanel'

debug = False

newCommand1 = f360NesterCommand.f360NesterCommand(commandName1, commandDescription1, commandResources1, cmdId1, myWorkspace1, myToolbarPanelID1, debug)
newCommand1 = NesterCommand.NesterCommand(commandName1, commandDescription1, commandResources1, cmdId1, myWorkspace1, myToolbarPanelID1, debug)



Expand Down
2 changes: 1 addition & 1 deletion NesterCommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def arrangeComponents(objects, plane, edge, spacing):
# mysnapshots = design.snapshots
# mysnapshots.add()

class f360NesterCommand(Fusion360CommandBase.Fusion360CommandBase):
class NesterCommand(Fusion360CommandBase.Fusion360CommandBase):
def onPreview(self, command, inputs):
pass
def onDestroy(self, command, inputs, reason_):
Expand Down
Binary file added __pycache__/Fusion360CommandBase.cpython-33.pyc
Binary file not shown.
Binary file added __pycache__/NesterCommand.cpython-33.pyc
Binary file not shown.

0 comments on commit af38720

Please sign in to comment.