0027272: FixMissingSeam function creates G1 seam curves
[occt.git] / tests / bugs / modalg_6 / bug27383_2
CommitLineData
a0bb29e7 1puts "========"
2puts "0027383: Modeling - improve handling of regularity on edges"
3puts "========"
4puts ""
5puts "Check regularity setting on edges of cylinder split by angle"
6
7# split of cylinder
8pload MODELING
9pcylinder p 2 10
10DT_SplitAngle r p
11
12explode r f
13explode r_1 e
14getedgeregularity r_1_2 r_1 r_2 ;# returns C0: regularity is not set at all
15encoderegularity r
16if { ! [regexp "CN" [getedgeregularity r_1_2 r_1 r_2]] } {
17 puts "Error: Invalid regularity of the edge, expected CN"
18}
19
20# make image in HLR mode as illustration
21pload VISUALIZATION
22vdisplay r
23vfit
24vhlr on
25vdump ${imagedir}/${test_image}.png