sketch.set.badzones

Syntax

b := sketch.set.badzones(sp<,bi>)

Check whether or not any elements in the set have bad geometries based on the sketch criteria (the check is performed for quadrilateral elements only). The function will return true if the set contains at least one bad quadrilateral element which, if generated into zones, may result in the “bad geometry” error. The function checks for the two most severe problems with 2D quadrilateral elements (in the Sketch pane): an element is not convex or if the area of a triangular sub-element in each overlay \(\le\) 10% of the whole element area.

Returns:

b - bad geometry indicator

Arguments:

sp - set pointer bi - indicates if check for areas should be done or ignored

See also

zone.bad