Onshape tutorials, including FeatureScript 101

Onshape in this library

Onshape is a parametric CAD system that runs entirely in a web browser. There is nothing to install, files live in the cloud with version history built in, and several people can work in the same document at once.

What makes Onshape especially worth learning, though, is FeatureScript. FeatureScript is the language Onshape's own features are written in, and you can use it to write custom features that sit in your toolbar and behave like the built-in ones. That turns repeated modeling chores into one-click tools, and it is a rare chance for designers to shape the software they use every day. FeatureScript 101, on this site, teaches it from scratch.

Start with the modeler

If you have never used Onshape, learn the modeler before you write any code. Custom features only make sense once you know how sketches, Part Studios, and the feature list work by hand. A beginner Onshape tutorial is being written for this hub and will be linked here when it is published. In the meantime, Onshape's own learning materials cover the basics, and anyone who has used SolidWorks will recognize most of the ideas.

Then write features

FeatureScript 101 is for designers who are comfortable modeling in Onshape and curious about automating it, even if they have never written code. It explains what FeatureScript is and how a Feature Studio works next to a Part Studio. Then it builds three features in order: a minimal cube to learn the workflow, a hex nut with parameters, and the same nut driven by a dropdown of standard metric sizes. Each step includes a short, original code sample and the habits that keep custom features from breaking later.

A longer FeatureScript tutorial covering debugging, queries, and a second complete feature is also planned for this hub.

Tutorials in this hub

The published Onshape lessons are listed here. The beginner tutorial and the longer FeatureScript tutorial will join the list when they are ready.

If you already know SolidWorks

The concepts transfer almost one to one: sketches with dimensions and constraints, extrudes and revolves, fillets, assemblies with mates, and drawings. The interface does not. Menus are arranged differently, Part Studios can hold several parts at once, and there is no local file to save. Give yourself an afternoon to get comfortable with it before judging it. The SolidWorks hub covers the desktop side of parametric modeling, and the tutorials library lists every lesson on the site. For more about the site, see the About page or go back to the homepage.