-
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…
-
Featurescript selection of In-Context entities from an assembly
Prologue: This is a long one, but I feel like the background of my thought process will be helpful communicating my question and I'm hoping that someone here can help me wrap my head around how in-context works. Inciting Problem: My goal was to make a featurescript that evaluates using a query that automatically includes…
-
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…
-
Any efficient ways to make a cutlist from a cabinet drawing?
Im trying to guage the possibilities of using OnShape for woodworking. One of the functions im missing is the ability to select all my parts, and put the dimensions in a list or a table. Is there any featurescripts that can do this? I've seen the "frame" workflow, but that seems very inconvenient when you've allready drawn…
-
Adding FeatureScript Syntax Support to VSCode
I do a lot of vibe coding of FeatureScript using Codex and VSCode. I've wanted better FeatureScript syntax highlighting support for VSCode. Codex and ChatGPT developed a .VSIX extension which you can install. It knows the syntax and standard library and it will use sticky scrolling to show headers of functions and other…
-
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: Cut List Pro
Hello, I've always wanted a simple to use tool for generating cut lists for weldments and decided to have a go at creating one. I came up with what I call Cut List Pro. Cut List Pro eliminates the repetitive task of manually sorting structural members, producing cut lists in seconds. Sorts by member type, then size, then…
-
New Feature: Tween Curve (WIP)
This is a bit of work in progress at the moment but it's semi functional and I need to work on other tools that this tool is the backbone of. Posting now for public comment. Introducing Tween Curve Simply select input curve A and input curve B and input a tween value between 0 and 1 and this tool outputs an approximate…
-
Custom Feature: Heat Set Insert (Threaded inserts for 3D Printed Parts)
Custom Feature: Heat Set Insert I wanted to learn FeatureScript, so I created a new custom feature to place cavities for heat set inserts into 3d Printed parts quickly and easily. I have been really happy with it and have found that it really speeds up my designs, so I wanted to share it out! Right now, it includes…
-
Custom Feature: Pulleys with custom tooth profiles
BackstorySome months back I ran into some challenges with the standard OnShape tooling when it came to modelling a belt and set of pulleys. I took to the forum for help, where I was pointed to a series of custom FeatureScript solutions. Namely: This parts studio with a custom belt (though the pitch is wrong). I liked the…
-
AI generated FeatureScript for a modular kitchen cabinet designer based on IKEA dimensions.
I always wanted to play with some featurescript and found Claude is really good at generating it. All of this started with me wanting to design our new kitchen with Onshape. I realized I don't want to recreate each cabinet so I asked Claude to go find all the dimensions and variants of IKEA kitchens and it found the IKEA…
-
Most usefull FeatureScripts.
Hi, I am lazy to search through this discussion so its there any table (summarize) of all usefull feturescripts . Just not to start the same work twice… THX Petr
-
Two Manufacturing FeatureScripts: Automatic Laser Overcuts & Extended Slots _ Custom Features
Full disclosure - I'm a fixture / tooling designer, not a software developer. I iterated a custom FS last year using AI. I started with the CNC overcut feature that Hendrik_Kueck posted here in 2023 but for my work flow, what I really wanted was an overcut feature specifically for a Laser. To that end - I wanted the…
-
Custom Feature: Query Variable+
-Link to feature up front- Query Variable has been a game changer for more programmatic workflows that save me from needing to develop custom scripts when I can instead pass other existing features through a QV and get results that way. That being said, there are some more powerful querying techniques which haven't yet…
-
New FeatureScript: UnMachine
UnMachine removes holes, pockets and other machined geometry from parts to create a before machined state. Also has option to add stock where needed. All in one command. Ideal for use with a pre-machined and machined configuration arrangement, allow one feature suppression control. Check it out here and sign up for a free…
-
Partial Sheet Metal Hem
Battled with this one for a while before landing on a solution. There's no partial hem capability built in, but the same can be achieved by notching the bend relief at each end of the partial hem then hemming the remainder. Posting it here in the hopes that anyone struggling with the same problem can find it since my…