0028594: Geom2dAPI_Interpolate generated curve is not the same as proe
[occt.git] / tests / bugs / modalg_6 / bug27383_4
CommitLineData
712879c8 1puts "========"
2puts "0027383: Modeling - improve handling of regularity on edges"
3puts "========"
4puts ""
5#################################################################
6# Check regularity setting on edges between patches of B-Spline surface obtained by conversion of cylinder
7#################################################################
8
9pload MODELING
10pcylinder p 2 10
11explode p f
12nurbsconvert q p_1
13DT_ClosedSplit r q
14encoderegularity r
15
16explode r F
17explode r_1 E
18if { ! [regexp "G2" [getedgeregularity r_1_2 r_1 r_2]] } {
19 puts "Error: Invalid regularity of the edge, expected G2"
20}
21if { ! [regexp "G2" [getedgeregularity r_1_4 r_1 r_2]] } {
22 puts "Error: Invalid regularity of the edge, expected G2"
23}
24
25# make image in HLR mode as illustration
26pload VISUALIZATION
27vdisplay r
28vfit
29vhlr on
30vdump ${imagedir}/${test_image}.png