5 #################################################
6 # Numeric inaccuracy due to huge extension of the offset faces
7 #################################################
9 # Input shell contains two planar faces with linear edges.
10 # The result of offset operation is also expected to contain
11 # only simple geometries (planes, lines, 2d lines).
12 # Due to inaccuracy SameParameter can convert 2d lines
13 # into 2d BSpline curves.
15 restore [locate_data_file bug27704.brep] s
16 offsetparameter 1e-7 p i
19 if {[regexp {BSpline} [dump result]]} {
20 puts "Error: BSpline is created"