-
Custom Feature - Batch Hole to Slot
I made a FeatureScript custom feature for converting selected circular holes into slotted holes without editing the original sketches. Use case Mechanical plates, motor mounts, bearing plates, gearbox plates, laser/waterjet/CNC parts, and adjustment slots. Very handy when it comes to first version prototypes where one have…
-
MCP Support Coming Soon
@GregBrown Added a new video on his YouTube channel. This time demoing a “blend” corner custom feature (I’ve also seen these called “suitcase corners”). The real star of the show is that it was all coded with the help of Claude using the MCP server which is in development. Can’t wait for this to be released.…
-
Custom Feature: Friction fit (interference fit) quick sketch tool
I started adding a small ridge or notch in items that I need to fit together snugly but where I don't trust the tolerance of my printer. I found it tedious to manually sketch 2-4 small ridges to extrude up the side of every box, so I have created a feature studio that does this automatically, adding a sketch to the centre…
-
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…
-
New Feature: Text path
Here is my latest custom feature: Text path. The purpose of this custom feature is to lay out characters, words, or number sequences following a geometric arrangement (clock faces, wheels, dials) or alignment. You can watch a demo video…
-
Custom Feature: Butcher Sheet Metal - A Low Effort Sheet Metal Splitting Feature
-Link to feature up front- You ever find yourself yourself working on sheet metal parts and get to the very end of a build, go to send your parts out for fabrication and only realize at the last minute that your flat patterns are too big to fit on the laser bed? Then have to hack and cut to pieces the final product with…
-
Mold Parts with Outline and Boolean
my Problem is, that i need a male and a female Part. The easyest way to do this is to take the original part, extrude its outline and subtract the part from the extrusion to create the male part, however as soon as the Geometry becomes a bit complex, the boolean stops working! Have you had this problem too or do you know a…
-
New Featurescript: PP Surface Text 2.0
We are pleased to announce that version 2.0 of our Surface Text creator Featurescript is now available. Add the feature to your toolbar by searching for "PP Surface Text", or open this document: https://cad.onshape.com/documents/cad175bd2990f3c9314a1c10/w/05ec37b276b1dd333f6afc16/e/08c7b53ee50a34dc6966a026 New Features: *…
-
Creating a sketch in a new coordinate system and rotating it
Hi guys! I am going to create a custom feature which would make an engraving logo on a flat round surface with parametric radius. For that purpose I need: 1. Create a coordinate system. 2. Create a plane based on that coordinate system. 3. Create a sketch. 4. Rotate it. But my code doesn't work and breaks when I assign a…
-
New Custom Feature: Beans
Ever needed to fill your part with beans? now you can. https://cad.onshape.com/documents/e5d7fa14c8575cfc7c1f66b6/ let me know if you have any questions.
-
New custom feature: Arbitrary gear path
hey all! another janky feature from the smidchens household - take whatever path you want (elliptical, polygonal, spline…) and generate gear teeth along that path using local curvature to drive involute profile. snag it here: https://cad.onshape.com/documents/8f033780ed64a1971e38c2a9/
-
Can you define an area field in the Feature definition
For some reason we have the "AreaBoundSpec" but no ability to implement it the same way as a length paramater in a feature definition. Am I missing something??
-
opSplitFace with Plane or Mate Connectors
I can't get it to work with a plane or with a Mate Connector. Does anyone have an example of a working set of parameters I can look at? I'm confused as to what I'm doing wrong. I should elaborate. Both the mate connectors and/or planes are created within the Featurescript. Out of bodyTools, planeTools, faceTools, etc.…
-
Custom Features for Additive Manufacturing: Hose barbs, luer locks, threads, dovetail o-ring grooves
Hiya folks! Coming in hot with my first, second, third, and fourth FeatureScript drops. These are all designed to help designers to who want to use 3D printing, particularly with an emphasis on part consolidation (my company, Inkbit, is very excited about providing 3D printing as a real production technology) . Rather than…
-
Intersect Views (New Custom Feature!)
Intersect Views (New Custom Feature!) https://cad.onshape.com/documents/1755463e12cab51e4a5de51f/w/07865f22b67cc44e473c99a3/e/302fb7288b77057ca30414fb How to add a custom feature to your tool bar:
-
Why is this draft failing? In general, opDraft vs. draft?
Howdy, I am working on a taper lock bushing feature script and cant get the draft for my taper to work. I've tried many variations of opDraft and draft but no success with either. The link to my public document is here and there's a screenshot of my current draft attempt/error warning below. That is my immediate issue, but…
-
Maintaining a stable body id when copying flat pattern body into standard part studio edit space
I have a feature that contains an option which allows the user to copy the flat pattern of a sheet metal part into the standard part studio editing space. The problem I have been having is, any time the part studio is edited and a new feature is added or removed which interacts with the parent sheet metal body, the flat…
-
New Feature: Braided Curve
Hey all! Wanted to model some braided wires for fun, and couldn't find a custom feature to generate the braid paths. Slapped one together real quick, snag it here: https://cad.onshape.com/documents/e522ae0e05eda848c8b5a692 Eventually I'll add options for more than 3 strands (right now the logic is all kinda hard-coded for…
-
Gear Lab - Cylindrical, Bevel, Face Gears
Yup, it's another custom feature for gears. I had previously used Neil Cooke's excellent 'Spur Gear' feature [Link], but I wanted the ability to generate bevel and face gears as well. I only learned about Bob Tipton's great bevel gear FS after I had nearly finished this. I fear that my "Gear Lab" custom feature is largely…
-
opSplitFailing for some reason
Hello, I cannot figure out this error. It is a relatively simple bit of code. I can see that the bodies variable is a valid body (using debug entities) Additionally, I can split using the planes created using opPlane. The error is: @opSplitPart : SPLIT_SELECT_TARGETS Code: FeatureScript 2960; import(path :…
-
Featurescript UI Question
Hello everyone. This is my first featurescript. I am attempting to expand on @jeff_brown304 's Camel project, by making an improved CAM drill tool. The intent is to have the user select a cylindrical hole surface, and subsequently unhide portions of the UI that correspond to different features that the hole may have. For…
-
Custom Feature: Gridfinity Parametric Generator
Hi! I created a custom feature to generate Gridfinity bins, either completely solid (so you can make cutouts), or hollowed with customisable features like labels, finger sliders, etc. I saw another version of something similar posted here, but some of its dimensions are off and I also ran into issues when stacking the…
-
Best practice when updating and versioning a FeatureScript
Community, I searched the forum, but did not find any messages that address my question. I have successfully created a FeatureScript, versioned, and shared it with my FIRST Robotics teams. Now I want to make enhancements. Are these the best steps for a new FeatureScript version? Create a new Feature Studio in the original…
-
Set Property (New Custom Feature!) 🆕
Set Property (New Custom Feature!) Set Property allows you to: * Dynamically set the properties of your part or multiple parts. * Set custom properties. Tips: * Custom property ID's are found in your company settings. * Right click on any value input to convert it to expression. This means you can use variables to drive…
-
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…
-
PLEASE explain "externally disambiguated" / "transient" / "robust" / "tracked" / "unstable" ID's etc
It has been years and we still don't have foundational knowledge of how featurescript operates. From what I can see in the forums most of us dev's have been wasting hours upon hours guessing and testing. This post and others are "weak-sauce" at best. We all know about: -"forEachEntity" -"makeRobustQuery" etc, etc and may…
-
Custom Feature: Tangent Fill
FeatureScript link I've been using SolidWorks a lot lately (not by choice) and one of the features I found that is nice is the Tangent option in the Filled Surface feature for when you're filling in patches in places where fillets leave sharp pinch points. Now, while the native Onshape Fill already does this, it's a PITA…
-
Help with featurescript subtraction
link: https://cad.onshape.com/documents/a8c134757a29b9f4453f6e31/w/6b12b36328a688485352be68/e/984235c5f06469cc73216905 I think my code's probably super messy, so sorry. So, I'm trying to make a featurescript that will make holes in the end of square tubes. I got it to make a sketch with a circle, and Extrude it through…