Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

GitHub standard library mirror

javawizardjavawizard Member, csevp Posts: 13 ✭✭
Well I got annoyed one too many times at trying to track down when a feature was introduced to the standard library and decided to make an auto-updating mirror of std on GitHub.

And so, without further ado, I present to you.......

https://github.com/javawizard/onshape-std-library-mirror!

It's pretty much what you'd expect: all of the feature studios and blobs in the std doc are mirrored, complete with a commit per published version. The commit dates are accurate so you can do things like blame any of the files and see when exactly each line was changed.

There are two branches:

  • main: an unmodified mirror of the stdlib
  • without-versions: all version numbers have been stripped; diffs are much quieter since the stdlib includes version bumps to all import statements in all files every release
The repo updates automatically at the top of every hour, so new releases should be up within an hour of Onshape publishing them.

That's pretty much it! Let me know if you have any requests or thoughts. (It'd be nice to generalize this to sync arbitrary Onshape documents to GitHub, and then add some sort of bidirectional sync as a second step. Maybe next week...)

(Also, since this is bound to be asked by someone: yes this is legal. Onshape's standard library is licensed under the MIT license which permits copying and modifications subject to a few rules which I have of course followed.)

Comments

  • Options
    Caden_Armstrong_Caden_Armstrong_ Member Posts: 27 PRO
    This is great!
    Lots of secret improvements get added to featurescript that don't make it to the official release notes because they're marked "internal only", this will be a great way to find them. 
    www.smartbenchsoftware.com
    Custom FeatureScript and Onshape Integrated Applications
Sign In or Register to comment.