feature script
Discussion List
-
New FeatureScript: Self-Reversing Screw (Level-Wind Screw)
My first custom feature on Onshape! I always turn to generators like Thread Creator when designing things with screws, but I couldn't find one for a quick and easy level-wind screw. These things are popular for spool winders but they're also a neat way to get more out of a rotational axis. Most linear actuators use…
-
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…
-
Make all parts in part studio to Not Rev Mge, Exclude from BOMs, and Tessellation to Coarse
Is there a way to either Featurescript or something to automate the process of making all the parts in Part Studio to "Not revision managed" and "Exclude from all BOMs" and make the Tessellation quality to Coarse? I do this often and it would be nice to have it down with 1 click.
-
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 Manage One-off Computed Part Properties
Hello, This question has probably been asked before but I'm having trouble finding it. I'm looking for a general best-practice way to handle a part that has a custom property (or something similar) that applies to it and nothing else. I'll use the part I'm currently working on as an example, but I think this same situation…
-
cannot find a good worm gear featurescript
Hello again, I am looking for a worm gear to worm gear drive on a 12 mm shaft (maybe 10mm) to be a 1:1 at 45 degrees. I want to 3d print this and I only found 2 feature scripts dealing with this. The first was a globoid worm drive, which is honestly a bit weird. Then I found a promissing worm gear feature script BUT, it is…
-
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
-
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…
-
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…
-
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…
-
FeatureScript access to complete material properties and the Onshape Material Library
I am a mentor for a FIRST Robotics team, and we recently started exploring Onshape Simulation. One of the first issues we encountered was that parts created by many of our custom FeatureScripts are missing the material data needed for simulation. Our custom features already assign materials such as Aluminum 6061, but…
-
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…
-
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 - 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…
-
How do I contact the author of a Feature script?
Hello, I am using this Feature script: Fully customizable Gridfinity Bin & Base Generator V24 Document: https://cad.onshape.com/documents/0ac6b1badcbf6139bea5b88b/v/dbe75f543656097cf1518e92/e/d208f32e9a295b216538873f There seems to be a fault in the grid generator. According to the Gridfinity documentation the center…
-
How to quickly seperate parts by edges or projection?
Before After I'm don't know how I can describe the question properly. But here is a demo project file, I tried 3 different way to achive the result, None of them are simple enough. Method 1: https://cad.onshape.com/documents/c7c8efb1042f752ba49d0a08/w/c627768566ebe12fa5ec4657/e/42e3261f2580997d0f91c2a5 Method 2:…
-
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…
-
My Feature Script 'Spring Maker' stopped working
Not sure when this happened but all the springs, made using a feature script, we named 'Spring Maker V2.1', are failing. If I go back to any earlier release or version the springs generate fine. The error I get is 'Spring Maker V2.1 did not generate properly; Could not create a valid swept body, check input.'
-
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…
-
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…
-
New FeatureScript: Engineering Grid
Hi everyone, So I made my own ISO grid featurescript. I tried out the other two feature scripts that can create isogrid patterns, and I found that Julia's is fast but rudimentary, and Evan Reese's is immensely powerful but slightly slower than I would like, and is missing a couple of features I wanted. Of course, the next…
-
Custom BOM showing only some parts of an assembly
Is there a way to generate a custom BOM on a top level assembly that only shows parts with a certain property? For context, I am trying to create drawings of top level assemblies that may contain 50-100 parts, some of which are inside of sub assemblies, and on these drawings there would be a BOM showing only those parts…
-
Is there a Featurescript for finding and replacing certain dimensions.
I have sketched several dozen and I need to do it without going through all individually. I thought I saw a video for onshape that used this 'script.