Logic to get thickness

Jouher_20929
Jouher_20929 Altair Community Member
edited October 2020 in Community Q&A

What is the logic to be applied to do:

1. Find components if they have uniform or varying thickness

2. If sheet metal components given, give quickly their thickness

 

 

Answers

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited August 2019

    Hi Jouher,


    You will have to iterate through all components, find individual thickness and write an algorithm to find which are uniform or uniform according to your requirement.  '

    You can use API: hm_getthickness to quickly get each component thickness. 

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited August 2019

    @Livil Lyle Thanks for your response. But I am pointing to CAD components

  • tinh
    tinh Altair Community Member
    edited August 2019

    Create midsurface of comp and use hm_getsurfacethicknessvalues to return thickness values at some fixed points of midsurface

     

    Compare the values and assign it.