FeatureScript

Discover the power of custom parametrics

Ever wish you could change the way your CAD system’s features work? FeatureScript is a new programming language that lets you create new features that look, feel and behave just like Onshape’s built-in features.

It’s the same language used by Onshape’s development team, that’s now available to you.

feature spotlight

You don’t have to be a programmer to benefit from FeatureScript. Here are features created by Onshape to use right away.

Fit Spline

Fit Spline

Takes 1 or more splines and fits one spline through them.

USE IT
Beams

Beams

This custom feature creates structural steel frames.

USE IT
Port Feature

Port Feature

This custom feature creates SAE J1926 straight thread ports.

USE IT
Airfoil

Airfoil

These custom features create Aerofoils from NACA 4 digit standard or any Aerofoil in the UIUC Aerofoil Database, loft between them and then break the created wing into structural components.

USE IT
Lap Joint

Lap Joint

This custom feature creates a lap joint between two parts with rectangular sections.

USE IT
Point Pattern

Point Pattern

This custom feature will pattern parts at sketch vertices.

USE IT
Wiring

Wiring

This custom feature creates wire bundles that go through sketch points in 3D space.

USE IT
Spur Gear

Spur Gear

This custom feature creates mathematically correct spur gears with optional center bore hole and keyway.

USE IT
 

START USING CUSTOM FEATURES

You can start enjoying any of the new features in the Feature Library right away. Just follow these easy steps:

  1. Click the "+" icon in the far right of the toolbar
  2. Click the "FeatureScript Samples" filter in the "Add custom features" dialog
  3. Select a Document and choose the feature to add. An icon will be added to the toolbar
  4. Select the icon in the toolbar

FeatureScript has been designed with security in mind. To protect you, FeatureScript runs in a tight sandbox and limits the impact of the feature to the Part Studio in which it is used. Learn more about FeatureScript security

 

WRITE YOUR OWN CUSTOM FEATURES

New Onshape features can now be created in Onshape’s new “Feature Studio,” a user-friendly development environment with a powerful editor, in-line help and documentation.

learn featurescript

If you can't find what you are looking for in our Documentation, feel free to reach out via the forum.

visit the forum
Onshape has released the source code for our entire library of features

view the source code