0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / moddata_3 / bug25706_3
CommitLineData
52ba6031 1puts "================"
2puts "OCC25706"
3puts "================"
4puts ""
5#######################################################################
6# Exception in conversion B-spline to rational
7#######################################################################
8
9bsplinesurf s \
10 2 2 0 3 1 3 \
11 2 2 0 3 1 3 \
12 0.0 0.0 0.0 1 0.5 0.0 0.0 1 1.0 0.0 0.0 1 \
13 0.0 0.5 0.0 1 0.5 0.5 1.0 1 1.0 0.5 0.0 1 \
14 0.0 1.0 0.0 1 0.5 1.0 0.0 1 1.0 1.0 0.0 1
15mkface f1 s
16
17dump s
18
19setweight s 2 2 0.5
20
21set info [dump s]
22if { [regexp {rational} ${info}] } {
23 puts "OK : B-spline is rational"
24} else {
25 puts "Error : B-spline is non-rational"
26}
27
28mkface result s
29
5747059b 30checkview -display result -2d -path ${imagedir}/${test_image}.png