save plugins Fusion 360
This commit is contained in:
24
ControllByPs4/ControllByPs4.py
Normal file
24
ControllByPs4/ControllByPs4.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# Assuming you have not changed the general structure of the template no modification is needed in this file.
|
||||
from . import commands
|
||||
from .lib import fusion360utils as futil
|
||||
|
||||
|
||||
def run(context):
|
||||
try:
|
||||
# This will run the start function in each of your commands as defined in commands/__init__.py
|
||||
commands.start()
|
||||
|
||||
except:
|
||||
futil.handle_error('run')
|
||||
|
||||
|
||||
def stop(context):
|
||||
try:
|
||||
# Remove all of the event handlers your app has created
|
||||
futil.clear_handlers()
|
||||
|
||||
# This will run the start function in each of your commands as defined in commands/__init__.py
|
||||
commands.stop()
|
||||
|
||||
except:
|
||||
futil.handle_error('stop')
|
||||
Reference in New Issue
Block a user