Above - Created with Onshape’s FeatureScript, “Hex Infill” is a customized CAD feature designed to save material and time when 3D printing parts. FeatureScript is the first open programming language for adding new parametric CAD features. Although “Hex Infill” is a user-written feature, it behaves exactly like Onshape’s own built-in features.
Recognizing that the design challenges for each industry and every company are different, Onshape is introducing FeatureScript, a new open programming language that lets CAD users create their own built-in parametric features or modify existing ones.
Ever wish you could change the way your CAD system’s features work? FeatureScript lets you do just that. It is the same language used to develop all of Onshape’s current features (Extrude, Fillet, Shell, Loft, etc.) and has already been used millions of times by Onshape users without even realizing it.
By making FeatureScript public – available to all Free, Professional and Enterprise Customers – full-cloud Onshape is now offering the first truly customizable parametric CAD feature set.
"This is the first time that a professional CAD system has made the implementation of its parametric features open and extensible,” says Ilya Baran, Onshape’s Director of FeatureScript. “In the past, the only way to change your feature toolbar would be to submit an enhancement request to your CAD vendor and wait forever. And most of those requests are never fulfilled. FeatureScript swings the pendulum back and puts you in control.”
“In traditional desktop-installed CAD systems, it is possible to write add-on or macro features, but they are never as good as the built-in ones,” he adds. “FeatureScript offers the first opportunity to create features that are first-class citizens – as much a part of the system as the ones the development team wrote themselves.”
Under the open source MIT License, Onshape is also sharing the FeatureScript source code for all of its own features, allowing customers to copy, modify or adapt them as they see fit. 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.
Possible uses for FeatureScript include:
“For 30 years, feature-based modeling has relied on a limited set of off-the-shelf features. With FeatureScript, we are ushering in a new era of custom parametrics,” says Onshape founder Jon Hirschtick. “Our early adopters have proven that with the ability to use custom features that they write or have others write for them, they’re able to significantly speed up their design process.”
“Customers who develop new features in FeatureScript are free to do with them as they please,” he adds. “Some may wish to sell them or share them with the community. Others might choose to keep their FeatureScript features proprietary as a competitive advantage.”
Fast Radius CEO Mitch Free is using FeatureScript for his additive manufacturing company, which specializes in large-scale 3D-printed production runs of industrial parts, molds and prototypes. Fast Radius (formerly CloudDDM) is using a custom feature called “Hex Infill,” which fills a solid object with a hollow hexagon pattern to reduce material used and printing time.
“I think FeatureScript will help us create unique tools to differentiate ourselves from our competitors in the 3D printing space and give more options to our customers,” Free says. “Sometimes it’s reduced cost, sometimes it’s reduced weight or reduced running time with the machines.”
“Being able to customize features will allow us to get more utilization out of our equipment because we can print parts faster,” he adds. “I think we could get 30-40 percent more utilization.”
Rami Rintaluoma, founder and CEO of Rintaluoma, Ltd., a Finland-based furniture manufacturer, recently added a new Onshape FeatureScript feature called “Dowel/Minifix” or DMF.
Many Rintaluoma cabinets and closets are self-assembled and require wooden dowels and Minifix cam lock fasteners to attach or stabilize panels. With just one click, the custom DMF feature automatically places dowels, dowel holes and cam lock fastener holes on the appropriate faces of a furniture assembly. Multiple repetitive individual extrudes, chamfers, etc. have been replaced with one powerful DMF feature.
“FeatureScript is saving me so many hours that it changes my complete workflow,” says Rintaluoma. “The Dowel/Minifix feature just became my most used tool in Onshape.”
“I'm thrilled that a small Finnish furniture company can now have its own features in world-class CAD,” he adds. “I would say the game has totally changed.”
For more detailed examples of new Onshape features created with FeatureScript, visit: onshape.com/featurescript#featured
To watch an introductory video on how to get started with FeatureScript, visit: onshape.com/featurescript