Correction in GeomFill_Sweep: set the flags "myExchUV", "isUReversed", "isVReversed" to FALSE (initial state) after failure of BuildKPart method.
// Traitement des KPart
if (myKPart) isKPart = BuildKPart();
+
+ if (!isKPart)
+ {
+ myExchUV = Standard_False;
+ isUReversed = isVReversed = Standard_False;
+ }
// Traitement des produits Formelles
if ((!isKPart) && (Methode == GeomFill_Location)) {
// l == f - "degenerated" surface
// UlastOnSec - UfirstOnSec > M_PI_2 - "twisted" surface,
// it is impossible to represent with help of trimmed sphere
+ isUReversed = Standard_False;
return Ok;
}
# path and profile
pipe result p pr
+checkshape result
+
+checknbshapes result -vertex 8 -edge 14 -wire 6 -face 6 -shell 1
+
+set tolres [checkmaxtol result]
+
+if { ${tolres} > 1.e-4} {
+ puts "Error: bad tolerance of result"
+}
+
smallview
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png