GithubHelp home page GithubHelp logo

aranch / shortcutitpy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lf-/shortcutitpy

0.0 0.0 0.0 35 KB

[UNMAINTAINED but probably works] Fusion 360 add-in to make it possible to add shortcuts for things that previously could not be shortcut

License: MIT License

Python 100.00%

shortcutitpy's Introduction

ShortcutItPy

/!\ This add-in is not actively maintained because I don't use Fusion /!\

It probably still works simply because it's not doing anything complicated. I can't really help with anything except what I remember because I can't run Fusion on my computer.


This small add-in for Fusion 360 adds icons to some commands and puts them in a panel so you can add shortcuts for them.

How to install it: https://knowledge.autodesk.com/support/fusion-360/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to-install-an-ADD-IN-and-Script-in-Fusion-360.html

demo image

Currently the commands include:

  • Isolate
  • Unisolate
  • Unisolate All
  • Find in Browser (the add-in must be re-run after startup to list this, not sure why. The shortcut stays across startups though so it's not a problem)
  • Find in Window (NOTE: both Find in Window and Find in Browser seem to only appear once a context menu containing them has been opened)
  • Remove
  • Activate Component
  • Set Orbit Center
  • Reset Orbit Center

If you want me to add another, please file an issue on this repository or make a pull request to add it.

Contributing

Thanks for the interest in this repository! To add a command, first find its name. I ship a script in DumpCmdDefs/ which can do this. Copy this directory into your Scripts folder and run the script. It will dump out all the commands with their internal IDs to a txt file.

Once you have found the command you want to add, include it in the needCmdDefs tuple in ShortcutItPy.py. This tuple is formatted in the following format: (CommandName, IconsDir). Commands need to have icons so the shortcut option is shown. If a command already has an icon, simply put None in place of the IconsDir as we don't need to add one.

Stop and start the extension in Fusion, then try the command. Not every command will actually work if you put it in a menu unfortunately. If it works, please commit it and send it in as a pull request! I'd love to see what is useful to you.

Legal

The iconography used is Adwaita from the GNOME project. It is licensed under either LGPLv3 or CC-BY-SA, and so are my modifications.

The code in this project is licensed under the MIT license unless otherwise specified in the file header.

shortcutitpy's People

Contributors

lf- avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.