Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
FeatureScript
Discussion List
-
Custom Feature: Cable/Wire Routing
Cable/Wire Routing: https://cad.onshape.com/documents/3599036701247d65f0106997 There have been many wiring custom features created over the years, each using a different approach and each having different strengths, but none focused on the end-to-end process. This new set of custom features takes the best ideas from those…
-
Custom Feature: Mold & Die Design
On Thursday, 12/12/19, I hosted a webinar to talk about mold design methodologies in Onshape and to introduce 4 new custom features. The replay of the webinar can be found here. As the names suggest, these custom features automate the creation of core and cavity geometry. A number of Onshape users have already beta-tested…
-
Feature Studio Keyboard Shortcuts
For those of us who do a lot of custom feature coding, shortcuts can be very handy. Attached is a PDF of all the ones you didn't know existed! These will be added to the help documentation in the future.
-
New Feature: Multi-Mirror
I often work with symmetrical designs in multi-part studios, and many times I have a number of parts to mirror across multiple planes. With the standard mirror feature, I have to use a new feature for each part x the number of planes to mirror about. That means if I have 3 parts to mirror about the top, right, and front…
-
Parametric Cycloidal Drive Featurescript
Hello, I've made a parameterized cycloidal drive generation script that I've found very useful, and I thought I'd share it in case anyone else was interested. I'd love any feedback 🙂 https://cad.onshape.com/documents/8b3df8cee04d69a41c0ee558/w/896df62751b78bc0bd9e2148/e/6a0d9aecc7ada0f635581c7a
-
Playing with custom curve tools again
Wrote my own curvature and deviation analysis tools to find better ways to fit clean curves to noisy STL sections. Curvature is the smoother one, Deviation is the wavier one. Max allowed deviation is the square wave. They kinda work, but I would love these to be native with the visualization options I worked into mine.
-
ThreadLab: Can't do a 0,75mm pitch (But can do 0,74 and 0,76!)
I did a simple little cap for a connector, recently. It is to have a 0,75mm pitch thread on one end and I thought: Hey, easy going! But then: I cannot make it do a 0,75mm pitch, though it has no issues doing a 0,74mm or 0,76mm or whatever else I tried. Just no 0,75mm. What might be going on here?
-
Niche feature script.
Link To Feature I know this is a somewhat niche feature, but it is something I've wanted for years. I like the fact that with the MCP, I can now create things like this even though I have no coding experience. Just thought I would share it in case anyone else could find a use for it. Warning: I have not done extensive…
-
New features for measurement: Relative Measure, Euler to MC, and MC to Euler
Announcing: Relative Measure, Euler → MC, and MC → Euler Written by Joshua Newth (former Part Studios dev, now at Reframe Systems) and Greg Brown (Head of Product at Onshape). What’s new Relative Measure — Get X, Y, Z displacements between two points relative to any coordinate system (mate connector), not just the world…
-
New FeatureScript: Pocket Holes
Hi everybody, I would like to share my first FeatureScript: Pocket Holes. The feature is very straight forward: * Choose entry face * Choose exit face * Select vertices where the pocket holes will be created * Select thickness of part that will have the pocket holes You can find the FeatureScript…
-
Custom Feature: Amalgam Tag and Amalgamate
Are you like me and use Point Derive for everything? The ability to draw a part studio in one document and copy and paste functional geometry all over a different document is a huge force multiplier for quickly and precisely generating complex parts that adhere to centralized standards and document control schemes. For…
-
Configuring cable weight via FeatureScript: override mass directly, or override material density?
I'm building a FeatureScript feature to configure cables & tubes (many different types). For each cable type we know the weight per unit length (kg/m), the cross-sectional area, and the length — from which the total weight follows directly. My question: what's the better approach for getting the correct weight on the part…
-
Custom Feature: OnlyTabs - A premium sheet metal tab and slot feature
-Link to feature up front- A long time ago in the distant year of late 2024 our sheet metal obsessed production company was evaluating our CAD options and found ourselves checking out Onshape as an alternative to our old licenses of Solidworks. There were two main barriers in the way of our adoption, support for sheet…
-
Custom Feature: Dovetail Joint
I've developped a complete custom feature to help 3D printing assembly design. Dovetail Joint Created By: Nicolas Barret Link: OnShape document link A custom FeatureScript that generates male and female dovetail joints between touching solid bodies. Tailored for 3D printing assemblies, it automates the boolean cuts and…
-
New Feature Script for generating Hex Bolt and Nut automatically
Hi, please review and validate my FeatureScript for genererating automatically Hex Bolt and Nut. Feature script name: TornilloHexagonalParametrico
-
How to draw BSP thread
In Europe we use BSP pipe thread instead op NPT thread widely used in the USA. How can I make the BSP available in the hole tool?
-
What can we actually build with the Onshape FeatureScript MCP Server?
We’ve been testing the new Onshape FeatureScript MCP Server and honestly, it’s been interesting to see how far it can go. 😎 Instead of asking AI to generate a complete CAD model from a text prompt, we used it to create custom Onshape Features for things we would normally have to build manually. For example, we created: An…
-
New Custom Tool : SVG to Sketch
Hey all — long-time Onshape user, wanted to share something I've been building and using in production. The problem: Getting vector artwork (logos, cutout profiles, panel designs, icons) into Onshape as real, editable sketch geometry is annoying. DXF import can be inconsistent, and manually retracing SVGs with the sketch…
-
Auto layout update request
Anyone willing to try the new capabilities to expand on auto layout to allow for nested layouts. So if you have a big cutout and there's open space in the middle, could other parts be fit inside there? As long as the interference check deems there's no interference.
-
Custom Feature: Custom Font Text
Link to feature This feature is a fork of the Text feature and allows you to upload custom fonts to use with it. How To Visit https://bladecoding.github.io/facetype.js/ to convert a TTF font to a JSON file. Import the JSON file into your document. Add a Custom Font Text feature and select the JSON file Configure the rest…
-
New FeatureScript: Plastic Threads
Hi everyone, I've recently been messing around with FeatureScript and decided to make a thread feature for 3D-printed plastic parts. The general concept came from the ThreadCreator script written by David Cowden almost 8 years ago. His script works really well and has even more configurability than mine but I wanted to tap…
-
New Polyhedra Generator Feature
Link to Polyhedra Generator I first made this feature in late 2023, and the recent FeatureScript MCP sparked a rewrite with some big speed improvements. Instead of building every face one at a time, the feature now builds only the part of a shape its rotational symmetry cannot repeat and patterns out the rest, so even the…
-
Wildly varying regen times with instantiate
I've got a feature that instantiates configured geometry from Part Studios in previous Version of the same doc. Three addInstance calls into one instantiator, then a single instantiate. Regen times swing by roughly 8x and I haven't been able to find a repeatable pattern. What I'm seeing Regen lands at either ~200ms or…
-
New Features: MC to Transform, Transform to MC
Link to feature Somewhat similar to some features from @jnewth (see this thread), these two features will measure the transform between two mate connectors (and store a variable and custom table), and the other will generate a new mate connector from an existing one with a transform variable (or entered values). Unlike the…
-
New Feature: End Cap Plus
New feature built with help from ChatGPT Sol and Onshape MCP. https://cad.onshape.com/documents/bd99601ff5b8641af79ceafa/v/aaa9be724e67cb3e33ed481d/e/cc5bfce1df64a3b5a595ee9b Description: Use the standard End cap workflow with manual face selection, or automatically discover and cap every unobstructed open end of hollow…
-
Auto Layout updated to V3.1: oriented parts!
Added an option per some forum requests to allow specified orientation of parts. Parts will still need to be of equal thickness, but for all parts of a given thickness selecting a face as a "face to orient" will ensure that face is nested facing downwards, allowing for 2.5- or 3-axis machining on a router. All parts…
-
Custom Feature: Tweep
-Link to feature up front- Look, standard sweeps are boring. They have no drama. They have no torque. They just follow the path like a good little obedient feature. I got tired of it. So I made Tweep. It’s a Sweep. It Twists. It’s Tweep. Do you want your geometry to look like a churro that gave up on life? Do you need a…
-
Can FS make derivable sketches?
As the title says. Is there any way to derive the sketches (as sketches, not extracted curves) made by a custom feature?
-
New Sketch Function: Hershey Text
Link to Hershey Text I have seen a few improvement requests related to adding single line fonts for CNC engraving. After some research I found these 31 single line or "Hershey Fonts" available online here, and an explanation on how to decode them. I converted the data into a CSV for FeatureScript to interpret and tried to…
-
Regeneration Error while using an imported CSV Sheet
Hi I am new to using the custom feature for wiring created in OnShape. I have been stumped because I am unsure what I am doing wrong. Importing the CSV that I made from Excel works fine, but I keep getting the regeneration error when I try to import Wire Data into the Part Studio. I have already created a Variable Studio…
-
Highlight elements while editing without regeneration impact
I'd like to be able to highlight geometry for user reference while they're editing a FeatureScript but without impacting the overall regeneration performance. The closest way I know of doing this is with debug(), but that adds ~1ms regeneration per face or vector and ~6ms per direction even during normal part regeneration…
-
Sketch plane axis orientation
I am currently working on this part. The idea that I'm trying to make work is for the end of the gray part to be parallel to the face of the blue part as the angle of the blue part changes. I made a plane parallel to the blue part's face and drew the sketch on it. It looked good until the angle rotated past 135 degrees.…
-
Displaying calculated values in the user interface
Hi I just finished the featurescript fundamentals tutorial and are trying to make my first feature by myself, which is a gear generator. I want to display some calculated values in the user interface where the user enters the input parameters to help them select the input parameters. To be a little more concrete, there's a…
Categories
Popular Tags
- featurescript 876
- drawings 602
- assembly 439
- sketch 425
- assemblies 376
- improvements 357
- help 326
- part studio 321
- configurations 302
- feature script 295
- Sheet Metal 292
- drawing 253
- how to 247
- feature request 239
- mate connectors 232
- loft 215
- export 207
- dimensions 197
- api 195
- sketching 194
- extrude 193
- voting 187
- variables 176
- improvement requests 173
- mates 162