Skip to main content
11-Garnet
November 28, 2020
Question

Area of inner contour (PRO_CONTOUR_TRAV_INTERNAL)

  • November 28, 2020
  • 1 reply
  • 2546 views

Hello,

How to fine the area of inner (PRO_CONTOUR_TRAV_INTERNAL) contour of surface? This inner contour has been created by cut feature.

1 reply

December 1, 2020

A possible workaround is to convert a surface to a NURB one with ProSurfaceToNURB(...) , apply the inner contour in question from the original surface with ProSurfaceContourArraySet(...) to the new NURB surface while changing contour traversal flag to external.

HIH.

11-Garnet
December 3, 2020

Hello,

Thank you for you answer, I'm still working on it, and but because I'm beginer I have a lot of issues with implemetation. Could you provide more information about your idea?

Thanks in advance.

 

18-Opal
December 3, 2020

I see 2 other options, #1 tessellate the contour and calculate the area, or #2 suppress the cut feature, measure, resume, and do a diff of both areas. The last option is handy if you don‘t need to resume a lot of features, and you don‘t want to calc the area by your own algorithm.