/onshape-keyboard-enhancements

Helpful keyboard shortcuts for Onshape (like shift+9 for trimetric view)

Primary LanguageJavaScript

Javawizard's Onshape Keyboard Enhancements

Javawizard's Onshape Keyboard Enhancements is a Tampermonkey script (read: simplified browser extension) that adds some additional keyboard shortcuts to Onshape.

JOKE adds the following keyboard shortcuts:

  • shift + 8: Switch to Dimetric view (analogous to Onshape's native shift + 7 for Isometric view)
  • shift + 9: Switch to Trimetric view (ditto)
  • + enter (mac) or ctrl + enter (windows): Commit the current feature. This is the same as just pressing enter except that it also works when sketching (where the Enter key is normally intercepted to commit sketch features like dimensions and seemingly can't be used to commit the sketch itself).

With more to come. (Open an issue if there are any others you'd like to see!)

Installation

First, install the Tampermonkey browser add-on for Chrome (also available for Edge, Safari, Firefox, and Opera). This lets you install "userscripts": small, self contained extensions like this one.

Then open the JOKE userscript file. If you've installed Tampermonkey correctly, it should prompt you to install it as a userscript:

Installation screenshot

Click the "Install" button. (It may take you to a blank page; don't worry, the install still completed successfully.)

Then head on over to cad.onshape.com as you normally would (and/or refresh any existing Onshape tabs you already have open). Open a document, then try pressing shift + 8 and then shift + 9 to confirm everything's working as it should be - and you're off to the races!

Bugs

Feel free to open an issue if you discover any bugs or if you have any enhancement requests.