Create your first useful Onshape feature: a hex nut. I walk you step-by-step through building 58 lines of simple, human-readable code, explaining helpful tips and tricks along the way.
Onshape FeatureScript: Hex Nut
This will be the first in a series of videos using a simple hex nut as the foundation. Through these, we’ll cover all of the basic concepts needed for creating full-fledged Onshape features. The video content explains the overall process, with full text descriptions, code, and comments available in the body of the post.
We think Onshape FeatureScript is a big deal. Over time we hope Onshape will add more ways to write FeatureScript, including visual programming, macro recording, and other ways of easing the transition. In the near term, writing code is a great way to make your Onshape work exponentially faster by collapsing common sequences of features into a single reusable feature.
I’m not using Onshape in my work yet for lack of surfacing features. Once Onshape adds surfacing, I’ll be all over it.