Custom Features

Use custom features created by the Onshape community, or write your own with FeatureScript: the same programming language used by Onshape developers to develop all native Onshape features.

Selected Custom Features

Freeform Spline

This custom feature allows you to create a spline in three dimensions by defining their vertexes with reference points or dimensions in the global coordinate system

Auto Layout

This custom feature automatically performs a basic nesting of planar parts onto cut sheets of specified dimensions, maintaining at least the specified spacing between parts.

Fix PCB

Automate the geometric simplification of imported electrical components attached to a single PCB.

Port Feature

This custom feature creates SAE J1926 straight thread ports.

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.

Fill Pattern

This custom feature patterns geometry within a target face while avoiding exterior boundaries and other specified keepout areas.

Ray Tracer

This custom feature simulates a ray of light reflecting off objects and refracting through them.

Spur Gear

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

Wiring

This set of custom features creates 3D wire bundles from 2D schematic data.

Start Using
Custom Features

You can immediately make use of the many custom features already written by adding them to your feature toolbar. Just follow these easy steps:

•  Click the "+" icon in the far right of the toolbar
•  Click the "FeatureScript Samples" filter in the "Add custom features" dialog
•  Select a Document and choose the feature to add. An icon will be added to the toolbar
•  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.

 

Write Your Own
Custom Features

Want to create your own custom feature? Custom features can be written within Onshape Feature Studios. A Feature Studio is an integrated development environment built right into Onshape, complete with a powerful editor, in-line help, and documentation. You can even view, copy, and adapt the source code for Onshape's native features!

For more information, see the FeatureScript documentation and visit the community forum.