ukaea / overlap_checker

A growing collection of tools to process CAD geometries for use in modelling workflows.
GNU General Public License v2.0
3 stars 1 forks source link

Update ProgressIndicator for compatibility with OCCT >=7.6 #36

Open je-cook opened 11 months ago

je-cook commented 11 months ago

When compiling overlap_checker with new OCCT it fails with: image

It seems in OCCT 7.5 there was a bit of a redesign of the progres indicators as described here: https://dev.opencascade.org/content/redesign-progress-indicator

If I comment out this line https://github.com/ukaea/overlap_checker/blob/0567ec6dddbb8ccbee5ff6c9816ab0d22835ce58/src/geometry.cpp#L307 everything compiles and as far as I have got works. It looks like some functionality is probably lost by doing that but I havent been able to decipher the above article well enough to put in a PR