SEH exception raise while importing a null swept curve.

Hi all,

Attached please find the sample STEP file.

Because if a SEH exception raised, the Windows API will says ceaselessly that the SEH exception is not handled. User can not do nothing but close the application.

So I think the STEP importer should raise a C++ exception or return false in case of null curve in StepToGeom_MakeCurve::Convert function.

Standard_Boolean StepToGeom_MakeCurve::Convert (const Handle(StepGeom_Curve)& SC, Handle(Geom_Curve)& CC)
+ if (SC.IsNull ()) {
+ return Standard_False;
+ }
if (SC->IsKind(STANDARD_TYPE(StepGeom_Line))) {

Forum supervisor's picture

Dear heyuqi,
I would like to inform you that the posted problem has been checked and reproduced.
The corresponding issue with ID = 22871 has been registered.
Later you may check if the issue is resolved by checking references to the specified ID in OCCT Release Notes. The analysis of the issue will take some time depending on our technical capability and availability of resources.
Thanks for the contribution.