How to detect if a face/Shape is a chamfer, embossments?

I am going to write a tool to discrete the model, but I want to simplify the chamfer, does there have a tool or lib to detect the chamfer?

Mikhail Sazonov's picture

There is the product CAD Processor (https://www.opencascade.com/products/cad-processor/), and the algorithms can be used from its CAD Processor SDK.