Skip to main content
Jan 13, 2021 2:21 PM UTC
Question

Flange Predefined Section name Using Toolkit

Hi

 

We want to know which section is used in Flange (I, Arc, S , Open Etc...) using toolkit... Could not find any direct API for same. So , thought of using element tree. Is there any element which stores this predefined shape name for flange feature element tree? 

 

Created a flange feature with I section, extracted element tree in XML. Modified flange as S section and extracted again element tree... Both the XML files are same so getting confused on how to identify which element is storing this information. If no element is there for this, is there any possibility to decide on this information?

1 reply

Jan 14, 2021 4:58 PM UTC

the question boils down to 2D polygon matching, scale/rotation/mirror invariant.

google 'shape matching algorithm c++ python'.

take a look at Boost.Polygon library and OpenCV library. 

HIH.