
FeatureScript is easy. Even if you’ve never coded before, Adam gets you up and running with 15 mins of free video goodness.
If you missed Adam’s Everything You Need to Know About FeatureScript video, we’d recommend watching that first. That will give you a flavor for what FeatureScript can do, and why we think it’s so valuable.
This video’s goal is very different: instead of demonstrating what FS can do, we’ll be showing you just how easily you can do it.
View FeatureScript Intro Video (FREE)
To view the video tutorial, click the gumroad link above. (It’s free. Hit zero (0) in the suggested price field.)
The video walks through some high-level FeatureScript basics. The code we build is below. It’s short and sweet, but it covers some really important concepts. We’ll walk through it step by step, talking about some workflow tips for making the most of the FeatureScript Integrated Development Environment (IDE) along the way.
There’s much more to come. In the next installment we’ll build an actual tool you can use in your daily grind.
Have fun!
Adam
FeatureScript 347; import(path : "onshape/std/geometry.fs", version : "347.0"); annotation { "Feature Type Name" : "Quick Cube" } export const quickCube = defineFeature(function(context is Context, id is Id, definition is map) precondition { annotation { "Name" : "Cube Size" } isLength(definition.cubeSize, LENGTH_BOUNDS); } { cube(context, id, { "sideLength" : definition.cubeSize }); });
Read Onshape FeatureScript Tutorial: Building Your First Feature at SolidSmack.