It currently features support for the 254/1678 naming system (TEAM-YEAR-P-[ASSEMBLY][PART]) and the 971 system (TEAM-IDENTIFIER-ACRONYM-SUBASSEMBLY-PART). The link can be found here.
All feedback and feature requests are much appreciated!
Probably will play with it tonight— any chance you can have an option to use the Part Number field in the part properties instead of or in addition to renaming the part?
Yeah, that would be a great feature. I was just playing with it and found that, if the user renames a part to their own custom name, no feature script can edit that name. Changing the part number instead would be much more preferable.
Yeah absolutely, especially since the part number field is really where that information “should” be, since it lets you also have a descriptive part name while making the P/N play nicely with the BOM and drawing features.
V7 out now with automatically set part number, and a checkbox to edit the part name as well. Right now it doesn’t have an option to only change part name, as I figured that would just complicate the UI, but if anyone wants it I can certainly add that functionality.
I’ve added the ability to start at a user-defined part number instead of always starting at 1, so you can do this multiple times for different batches of parts without it re-starting the entire sequence of numbers. Thank you @dydx for the suggestion!
Just updated it to support 4414 naming ([MANUFACTURING PREFIX]-[ASSEMBLY NUMBER]-[PART NUMBER]). Since this system has independent numbering for each prefix(so that milled parts are separate from lasered parts for more organization while making the parts) , you have to run it separately for each prefix.
We don’t use Onshape but have implemented similar features in Inventor and really like the results. We have a more simplified system of ‘team number’ - ‘year’ - ‘4 digit number’ for all of our custom parts and assemblies. for COTS parts they all get a ‘supplier’ , ‘manually entered part number’ name.
Really cool that you can implement these kind of features in Onshape yourself.
I was considering that, but actually denoting the format can get kind of long, especially with the variations in information used (i.e. 4414 uses identifiers for manufacturing). Maybe making a document that has overviews of each system?
Version 16 is out, with parametric part numbering. Here’s how it works:
The featurescript makes use of an Array parameter, which allows you to specify the individual elements you’re adding to your part number format. There are a few options, along with a “Custom” option, but those are more for clarity than anything else(more on that in a bit). You can add as many parameters as you want, and add a suffix to each (like “-”).
In addition, you can choose to place your actual part number in between other elements, by adding a “Part Number” parameter, in which case the value field isn’t used, and is replaced by the individual number of each part.
If you don’t add the part number as an identifier, it’ll just be tacked on to the end of each part.
There are also a few options at the bottom, including the option to format single-digit part numbers as 2-digit (i.e. “01” instead of “1”), the option to start at an arbitrary part number, and the option to name your parts alongside numbering them.
This is an incredible featurescript. Looking forward to having some of our kids mess around with it and determine our part numbering system. Thanks for your work on it!