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.

Can the Cutlist feature auto import dimensions?

brennan_natolibrennan_natoli Member Posts: 17 EDU
The Cutlist feature seems great but do I still need to manually input the dimensions of each part by using the "Add Column Overide" option. Is there a way for the cutlist to automatically input columns for the part name, quantity, length,width, height, thickness? 
Tagged:

Answers

  • peter_jansenpeter_jansen Member Posts: 10
    no answers? I would like to know too.
  • MichaelPascoeMichaelPascoe Member Posts: 2,012 PRO
    edited May 13

    There is a bit of confusion now that there is the new frames Cutlist feature. The frames Cutlist feature does auto measure your frames.

    There is an older feature I had made called Cut list, which lets you manually measure entities and see them in a table. This now has the option to auto measure basic dimensions.

    Cut list (Name changed to Measure cut list)
    https://forum.onshape.com/discussion/16430/cut-list-new-custom-feature

    Table
    https://forum.onshape.com/discussion/19737/table-new-custom-feature



    Learn more about the Gospel of Christ  ( Here )

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

    Hello, I am new to Onshape, and I want probably same thing here. I did parametric frame profile, and I want to set up Tag Profiles Columns, that thay write actual dimensions WxH in CutList. There is option to write expression in the Value, but I tried everithing I know and nothing works,

    Is there any way to do that? Thank you

  • MichaelPascoeMichaelPascoe Member Posts: 2,012 PRO
    edited November 22

    @karel_works Your very close. After you convert the text input to expression, it can take a variable, but the variable still needs to be in text (string) format, not value with units. Onshape allows the use of FeatureScript functions within expressions. So you can use the toString(#yourVariableHere) function to convert your variable. Like this:

    https://cad.onshape.com/documents/c7b27b76f8ebca6ff7b29ecf/w/e601722e38a4749fc56b794e/e/dd9f1c817cf6c1cb0ac1…

    By default, Onshape uses meters behind the scenes. So when you convert it to string, it will show in meters. To get it back to inches, you can get the unitless value of the variable, then multiply it by the unit conversion which would be the unit constant m divided by in. Finally, you could then round it to precision. Like this:

    toString(roundToPrecision( #w.value*m/in , 2))~" in"

    You can just copy and paste that expression and replace the w with your variable name.

    Or if you want to know more about each of those steps, here is a breakdown:

    • Convert the Variable to a String:
    • Use the toString() function.
    • Example: toString(#variable)

    • Get the Unitless Value:
    • Access the value without units by using .value.
    • Example: toString(#variable.value)

    • Apply Unit Conversion:
    • Multiply the unitless value by the unit conversion factor (meters to inches).
    • Example: toString(#variable.value * m/in)

    • Round to Desired Precision:
    • Use roundToPrecision() to round the value to a specific number of decimal places (e.g., 2).
    • Example: toString(roundToPrecision(#variable.value * m/in, 2))

    • Append Units:
    • Concatenate the converted and rounded value with the desired unit as a string (e.g., " in").
    • Example: toString(roundToPrecision(#variable.value * m/in, 2)) ~ " in"


    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.