Try the Onshape FeatureScript Snippet Library & Cheat
A searchable FeatureScript snippet library and cheat sheet for Onshape: feature skeletons, UI parameters, sketch and extrude, fillets, booleans, patterns.
- Free to use
- No signup
- Nothing to install
- Runs in your browser
To pattern a body: copy the 'Linear pattern with a loop' snippet, paste it into your feature body after the extrude, and change definition.count and definition.spacing parameters in the precondition.Open the Onshape FeatureScript Snippet Library & Cheat
Illustration. Open the tool for the real thing.
What is the Onshape FeatureScript Snippet Library & Cheat?
FeatureScript is Onshape's language for writing your own parametric features. The documentation is complete but dense; what students and makers need is a short list of patterns that work. This library collects them: the minimal feature skeleton, dialog parameters (lengths, angles, counts, booleans, selections with filters, enums with conditional fields), creating geometry from a sketch with extrude, filleting, boolean operations, linear patterns built with a loop, moving and deleting bodies, query functions and set operations, looping over selections and measuring, validation and error messages, units and arrays, and debugging helpers.
Search by keyword or filter by topic, then copy a snippet with one click. A reference table lists the common bounds constants, entity and geometry types and units. Remember that FeatureScript and its standard library are versioned: keep the version lines Onshape generates in your Feature Studio and check the official FsDoc for exact option names.
3 steps to your result
Open the tool and follow along. Nothing to install.
What you get
Skeletons, parameters, sketch+extrude, fillet, boolean, patterns, queries, errors.
Filter by keyword or topic and copy with one click.
Bounds, units, entity and geometry types.
How to create a Feature Studio and iterate.
AZRS tools are free to open and use.
It opens in your browser, so there is nothing to download.
Used for
Pick one to see how it fits.
How it compares
A plain look at this tool next to the usual alternative.
| This 3d tool | Desktop software | |
|---|---|---|
| Install | Nothing to install | Usually an app or program to install |
| Account | No signup | Depends on the product |
| Cost | Free to use | Free or paid, depends on the product |
| Where it runs | In your browser tab | On your computer |
Questions people ask
What is FeatureScript?
A functional scripting language inside Onshape for creating custom parametric features and tools.
Where do I write it?
In a Feature Studio tab in your document.
Are these snippets version-specific?
They follow the standard library's common patterns; check the FsDoc for your version's exact parameters.
Is this an official Onshape resource?
No — it is an independent student-friendly cheat sheet.
How do I use the Onshape FeatureScript Snippet Library & Cheat?
1. Search or pick a topic. 2. Copy the snippet. 3. Paste it into a Feature Studio in Onshape. 4. Adjust names and units, then test in a Part Studio.
More free tools
Related to the Onshape FeatureScript Snippet Library & Cheat.
Try the Onshape FeatureScript Snippet Library & Cheat now
Copy-paste FeatureScript snippets: parameters, sketches, booleans, patterns, queries. Free to use.
Try it free