tpaviot/oce — pull request #217 by heyuqi (2011-12-19 13:11:37+00:00)
Title: Test for importing a null swept curve.

This is a test case for importing a surface of linear extrusion with a null swept curve.

The sample STEP file is produced by a CAD package based on OCCT 6.3.0.

In Windows box, the STEP importor will raised a SEH exception because of "null pointer access". I can't find a way to keep application running after handling this SEH exception.

So the test case in this pull requset success if no SEH exception raised.

My solution for this issus is returning false in StepToGeom_MakeCurve::Convert function if the coming curve is null. Please have a look at pull request #216