

#Install fusion 360 how to#
You might agree, life is so beautiful exactly because it is not so smoothly sometimes and we enjoy how to overcome the frustration with the code above, I got errors.

#import socketIO according to the help of įrom socketIO_client import SocketIO, LoggingNamespace #add the path to the searchable path collection My_addin_path = os.path.dirname(os.path.realpath(_file_)) Then, in my script, I tried to import it #import Fusion modules I am practicing Socket.IO with Fusion, so I firstly downloaded the package from and copied the folder socketIO_client in my add-in path. So, put your modules in the folder of your script /add-in and write some lines at the top of the codes.Į.g. Since Fusion builds the Python environment, you can actually also use relative path to import the modules dynamically. Then, what you can do without typical way? The below is a forum post where our expert shared more detail comments: If you prefer to setup with the typical way, you will have to be at your own risk. So there is a possibility that your script/add-in would not work because of the update. However, when Fusion is updated, it might update something of Python environment, particularly when it is a major release or even Fusion upgrades to a new version of Python.

The Python/lib folder is set to the system path on Fusion startup, so any packages located there should be found when imported from any script. They will be deployed to \Python\Lib\site-packages\. In theory, you could setup your modules there. %AppData%/Local/webdeploy\production\\Python. As we have known, Fusion 360 builds a Python environment at With Python, typically we run a setup to install the modules and the dependent modules this module relies on. With JavaScript, you can easily load 3 rd libraries in relative path or even web repository.
