featurescript
Discussion List
-
Adding Numbers and valueWithUnits (map)
Hi I'm trying to assign a variable value which is the addition of two other values where one is a number and the other is the output of an acos(), which makes it a valueWithUnits. The problem is something similar to: var ay = 5 + acos(100/102); Which gives the error as seen on the screenshot. How can the output of an…
-
Custom Feature - Dado Rabbet Featurescript
Hello - My first attempt at publishing a Featurescript. This was written primarily by Cursor with some final tweaking by me. Cursor is amazing! Love to hear feedback on it. Units are in inches. https://cad.onshape.com/documents/651ec1d7562dc5fb6d0d49f0/
-
Custom table issues
So I have been using Claude to write a couple of custom feature scripts. It has worked well for the tools, but then I realized that I needed custom tables to get info into my drawings. Claude wrote the custom table script, and it works with one hiccup. If I use the tool to create two or more parts in a parts studio, I can…
-
Automatically Updated Part Number to Match Part Name
We have been using Onshape at my company for many years now but are only now looking to integrate release management into our workflows. As such, we have developed our own part and assembly naming convention that helps us to manage our designs. Now that we are looking to use release management, it would be very useful (and…
-
Custom Feature: Material & Grain definition + Grain Layout for sheet goods
TL;DR: FS kit to tag parts with material, finish and grain direction + a grain-oriented-layout feature, ready for a drawing callouts and CNC file prep. Material and Grain definition - try it out and come back with suggestions. I'm releasing it hoping people will fork it and build on it. I'll keep improving it and keep the…
-
having trouble getting this flatten part thing to work
with the help of an AI custom feature i was able to create this nice flower shape, but now I want to be able to flatten the part using the back as a reference to be flat, that way I can print it and thermoform it to the desired shape. I've been trying to get Claude to make another custom feature to do this but it keeps not…
-
FS generated sketch to be accessible in Asseblies
Aloha All, I am trying to write a FS that generates a sketch that is accessible from within Assemblies. What I am seeing is that a feature is generated with the sketch I have devised but this "sketch" isn't available to insert into an Assembly. Is there a way to create a sketch in FS that shows up as an actual sketch…
-
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
-
Custom Feature: Worm Gear v2.0 – Now Supporting Globoid Worm Gears!
Hi everyone, I'm Younseo Lee from Seoul National University, KOREA. First of all, thank you for your interest in my previous Worm Gear Feature Script! I've been working on some improvements and new features, and I'm happy to share Worm Gear update! Use Custom Feature: Worm Gear ←Link The biggest update is Globoid Worm…
-
ChatGPT Atlas for FeatureScript vibe coding
OpenAI has introduced ChatGPT Atlas, which is their own web browser with built in ChatGPT agent functionality. So far this is MacOS only, but Windows is in development. https://openai.com/index/introducing-chatgpt-atlas/ What this means potentially is that you can use ChatGPT to vibe code FeatureScript. So far I'm not…
-
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…
-
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…
-
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…
-
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 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…
-
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…
-
How can I give students access to certain feature scripts and drawing templates by default?
Hello! I work as a lab tech in the engineering department at a CC and I have been looking for ways to help my students get set up for prototyping on our specific manufacturing equipment more seamlessly. We have a CAD class that teaches onshape, and several intro to engineering courses that involve students developing a…
-
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…
-
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…