5 ######################################################
6 # Face-face intersection produces 2D curve that has reversed derivative at its end
7 ######################################################
9 restore [locate_data_file buc60532a.brep] p
10 restore [locate_data_file buc60532b.brep] t1
13 bopcurves p t1_2 -2d -p 6.2406621764215551 0.23999999463558200 0.00034444887595448459 -5.0019657458625186
18 2dcvalue c 1 u1 v1 du dv
21 dset dot u01*du+v01*dv
24 puts "Error: p-curve has reversed direction at its end"
26 puts "OK: p-curve has correct direction at its end"
29 view 1 -2D- 728 450 400 400
33 checkview -screenshot -2d -path ${imagedir}/${test_image}.png