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.

Watch it Here

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.

static1.squarespace

Author

Adam O'Hern is an industrial designer, designing products ranging from laptops to power tools, classroom toys to bathroom fixtures, and pro audio gear to guitar tuners. In 2008 he founded cadjunkie.com, and in 2010 co-founded EvD Media with Josh Mings of SolidSmack.com, and the two collaborate on the EngineerVsDesigner.com podcast.