This is a Addin for Autodesk Fusion 360 that will export a solid model file into a format that is usable by the Synthesis Unity Project.
- Materials
- Apperances
- Instances
- Joints
- Static and Dynamic components
- Mesh Quality
- Thumbnail Capture
- Local Save
- Simple Motors
- GZip compression
- Motion Links
- Complex Motors
- Sending compressed file
- File Diffs
- To build protobuf from source look at the docs here Protobuf
cd proto && sudo ./build.sh
(OSX)- `` (Windows) - Someone fill this in
- To use pre-built Python Libraries you can grab the latest here Mirabuf (usually
python.zip
)- Export all but
setup.py
toproto/proto_out
- Export all but
We use VSCode
Primarily, download it to interact with our code or use your own at your own risk.
- Open
Autodesk Fusion 360
- Select
UTILITIES
from the top bar - Click
ADD-INS
Button - Click
Add-Ins
tab at the top of Scripts and Add-Ins dialog - Press + Button under My Add-Ins
- Navigate to the containing folder for this Addin and click open at bottom - clone-directory/synthesis/exporters/SynthesisFusionAddin
- Synthesis should be an option - select it and click run at the bottom of the dialog
- There should now be a button that says Synthesis in your utilities menu
- If there is no button there may be a problem - see below for checking log file
Most of the runtime for the addin is saved under the logs
directory in this folder
- Open
logs/synthesis.log
- If nothing appears something went very wrong (make a issue on this github)
- If something appears and you cannot solve it feel free to make an issue anyway and include the file
- Open
Autodesk Fusion 360
- Select
UTILITIES
from the top bar - Click
ADD-INS
Button - Click
Add-Ins
tab at the top of Scripts and Add-Ins dialog - Press + Button under My Add-Ins
- Navigate to the containing folder for this Addin and click open at bottom - clone-directory/synthesis/exporters/SynthesisFusionAddin
- Synthesis should be an option - select it and click
Debug
at the bottom of the dialog- This is in a dropdown with the Run Button
- This should open VSCode - Now run with
FN+5
- Now you may add break points or debug at will
Packaging is mainly for compressing the files into a smaller footprint
Contact us for information on how to use the packaging script to obfuscate all of the files using pyminifier
.
We format using a Python formatter called black
- install by
pip3 install black
orpip install black
- use
black ./src
, Formats all files in src directory
Note: black will always ignore files in the proto/proto_out folder since google formats those
-
Pre-requisites (VS Code) (Fusion 360) (PROTOC - provide a link (through pip3)) (Windows & OSX) (git submodule update)
-
How to Build (1. build protos, 2. Open Fusion, etc.)
-
How to Debug (Where is log file - how to read it)
-
How to package (Currently TBD)
-
How to use the software - you could attach screenshots (general how to use not really a tutorial) (if linking screenshots, you need to create a sample false issue and drag and drop to get link)