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
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.
This custom feature creates SAE J1926 straight thread ports.
This custom feature creates a surface that originates from a selection of edges, and is always parallel to a selected plane.
This custom feature simulates a ray of light reflecting off objects and refracting through them.
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.
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.