Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Cut List (New Custom Feature!)

MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO

Cut List

(New Custom Feature!)

https://cad.onshape.com/documents/395304920b30c3b382fd312d/w/86481637ad1e9da01b0e5d60/e/e19230df69a29e1fc2259b9d




How to find custom features:

  • Click the "Add custom features" button in your toolbar, you may have to search for this in the search tools box
  • Select "Public"
  • Show advanced search options
  • Select "feature studio"
  • Search for the title of the feature you are looking for


Learn more about the Gospel of Christ  ( Here )

CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴

Comments

  • john_mcclaryjohn_mcclary Member, Developers Posts: 3,939 PRO
    You don't have to search for a custom feature if you have the url. Just go to it and add it to your tool bar. Or if you hit add custom feature as you did then paste the url in the search field
  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO
    True. That's definitely quicker if you have the url.

    I've been sharing this method so that people know there is a way to look for other features out there. Often, I don't know exactly what I'm looking for, just a general idea.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO
    edited July 2021

    Update!

    • Easier toggling between "measure" and "manual" input with the opposite direction arrow (Thanks to @Alex_Kempen & @kevin_o_toole_1)
    • Minimum parallel distance is now used when measuring between a face and a point, or a face and an edge
    • "Prefix name" added to settings
    • "Add to quantity" added to settings
    • Item quantity is now displayed in each item sub menu title
    • "Export variables" added to settings



    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO

    Update!

    Measure cut list - Custom feature
    • Auto measure - With auto measure selected, the part will be measured based on the selected face for each part.
      Note: you can still switch back to manual measurements by clicking the entry from the list in the feature.
    • Selection driven array - No more "Add item" button, simply select one face from each part you want to measure.
    • Renamed to Measure cut list. (To avoid confusion with the built in frames Cutlist feature)
    • Default measurement names changed to X,Y, and Z.
    • New icon.
    • Added to the CADSharp feature library.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • james_klein729james_klein729 Member Posts: 2
    Is there a way to automatically group parts with the same dimension
  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO
    edited June 2024

    Update!

    • Part quantity is now automated when using auto measuring.
      This in turn improves performance by skipping duplicate parts.
    This update was requested by @ben_partouch & @james_klein729

    Special thanks to @jnewth_onshape for the ClusterBodies tip which makes this update possible.

    Tips: 
    • Each part is measured based on the face you selected.
    • Select the faces for the unique parts first, then window select the duplicates.
      The feature will recognize the duplicates and not spend time measuring them.




    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • ben_partouchben_partouch Member, csevp Posts: 139 PRO
    @MichaelPascoe
    Thank you so much buddy. With a personal note.... Really appreciate this. 
  • ben_partouchben_partouch Member, csevp Posts: 139 PRO
    So I have one piece that recognized as duplicated and others that weren't. Am I doing something wrong? 



  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO
    @ben_partouch can you DM a link to your document or a copy of the studio? I'll take a look.

    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO
    edited June 2024

    Update!

    • Automated quantity checking has been improved and will now check for duplicate sizes instead of just matching geometry.
      This is noticeable when there are things like holes or labels cut into the faces which change the geometry but not material cut size.
    Thanks @ben_partouch for pointing this out!


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • joris_splinterjoris_splinter Member Posts: 2

    hi Pascoe,

    I have been using this cutlist tool for a while now and want to tell you how thankfull I am. i didnt realize all the updates until just now and wow what a great tool this is. thanks alot for this.

  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO

    Sure thing! @joris_splinter Glad it is helping you out 😎


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • tyler_smith171tyler_smith171 Member Posts: 3

    Michael, this is an impressive feature script, I really appreciate that it automates the data entry, it saves so much time.

    Would it be possible to have an option for fractional inch measuerments in the table?

    And, is it possible to use the callout (balloon) with the custom table? Seems like I'm missing something simple.

  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO
    edited November 2024

    Thanks for the feedback @tyler_smith171.

    Update!

    Measure cut list - Custom feature

    • Set part descriptions to match table ID: Sets the part descriptions this way you can access them with callouts in drawings to visibly see which parts go to which rows in the measure cut list. NOTE: If you plan to use the table within a drawing, I recommend selecting one face of each of the differently shaped parts first. This will help the feature name the rows as expected.
    • Use fractional inches: Forces the table to use fractional inches.
    • Round table values: Rounds the table values to the increments you set.

    Thanks @tyler_smith171 for your input. These are some useful changes.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • joe_fisher391joe_fisher391 Member Posts: 6
    edited January 13

    Good morning! Sorry if this shows up twice—my first post hasn't appeared for me so I don't know if it got moderated or my adblocker ate it, so trying again.

    Questions about this feature:

    1. Can the part names be automatically used as the ID, or do I have to manually enter the names?
    2. The fractional measurements are amazing, but for some reason it doesn't like 5/16" in my drawing and leaves it as 80/256".
    3. If you look at items 38 and 39, the Y and Z are reversed, despite them being in the same orientation in the studio. I selected all the items for the cutlist in the Parts panel, since there are so many. Could this be the reason?

    Edit to note #2 is a rounding error. If I set the precision to 0.0001 to pick up the sixteenths, it works. I don't know how FeatureScript works, but I'd expect conversions to be done with numbers before they get rounded for display.

    Further edit, it doesn't matter what my preferences are for precision—Measure Cutlist will use 0.001 unless I manually change it.

    Link to project.

    And thank you again for this feature!

  • joe_fisher391joe_fisher391 Member Posts: 6

    Additional question/feature request: can material be included in the table?

  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO
    edited January 13

    Hey @joe_fisher391, glad you like it! 😎 These ideas were simple yet important enough that I went ahead and pushed an update to support some new functionality. As far as the rounding goes, try changing the Round table values to 0.0625 in. This will help ensure you don't get 80/256.

    Update!

    Measure cut list - Custom feature

    • Use part names (STATIC): Uses the part name of the first part in each entities selection as the table id value. NOTE: Part names will not auto update due to the way FeatureScript works; you will have to manually open the feature and press the circular update button.
    • Map longest to: Maps the longest measurement of the part to the specified column in the table.
    • Map shortest to: Maps the shortest measurement of the part to the specified column in the table.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • joe_fisher391joe_fisher391 Member Posts: 6

    This worked exactly as I'd hoped, thank you so much for that extraordinarily prompt response!

    Also, I'm using the prefix field for my materials. It's a little extra work, but not too terrible.

  • joe_fisher391joe_fisher391 Member Posts: 6

    If you don't mind a little more feedback, I'm having an unexpected issue. I've got 4 parts here, which all happen to be the same size. If I select any one, two, or three of them, it works as expected. If I select all four, it only counts 3!

    I did a little testing, and v35 does not show the issue, but v36 and up do.

  • MichaelPascoeMichaelPascoe Member Posts: 2,047 PRO

    There must be something wrong with the additional duplicate check logic in one of the previous updates. I'll have a look when I have the time.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
Sign In or Register to comment.