FP->AddFail(start,"The Shape is not a SOLID, nor a SHELL, nor a FACE");
return binder;
}
+ else if (theShape.ShapeType() == TopAbs_COMPSOLID) {
+ FP->AddWarning(start, "COMPSOLID is not exported yet");
+ return binder;
+ }
else RepItemSeq->Append (theShape);
// COMPUTING 3D TOLERANCE
FP->Bind (mapper,resbind);
resprod=resbind; //KA - OCC7141(skl 10.11.2004)
}
+ if (resprod.IsNull())
+ return resprod;
// A new resbind may have been produced
// DeclareAndCast(Transfer_SimpleBinderOfTransient,restrans,resbind);
--- /dev/null
+puts "============"
+puts "OCC24990"
+puts "============"
+puts ""
+#######################################################################
+# StepWrite fails on the attached shape
+#######################################################################
+
+restore [locate_data_file bug24990_StepWrite_Exception.brep] a
+
+stepwrite m a