
Tue, 10/18/2011 - 14:58
Forums:
i'm a little puzzled; i thought using BRep_Tool.NaturalRestriction is the way to find out whether a face underlying surface is trimmed.
turns out that i get many false positives that way.
should I be comparing the Bounds of the underlying surface to that of BRepTools::UVBounds(theFace) ?
Fri, 01/20/2012 - 20:12
Do you mean BRep_Tool.NaturalRestriction may return true even when the face IS trimmed? this seems a bug.
I also need to know if a face
1) has the "natural restriction"
2) OR (more generally) it is trimmed just by a rectangular wire, which coincides with the surface bounds (even though the NaturalRestriction flag is false)
3) OR (even more generally) it is trimmed just by a rectangular wire, with horizontal or vertical sides (even though than the surface bounds.
For now, I will check it by myself, but it would be nice if there existed methods to do it
Fri, 01/20/2012 - 20:17
Sorry, a word was missing:
I need to know if a face
1) has the "natural restriction"
2) OR (more generally) is trimmed just by a rectangular wire, which coincides with the surface bounds (even though the NaturalRestriction flag is false)
3) OR (even more generally) is trimmed just by a rectangular wire, with horizontal or vertical sides (even though smaller than the surface bounds).