mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0030442: Mesh - broken triangulation on pipe shape Scale down min size parameter for NURBS taking into account its U and V resolution in order to prevent comparison of 2d parameters with 3d value involved in filtering process.
40 lines
763 B
Plaintext
40 lines
763 B
Plaintext
puts "========"
|
|
puts "0032241: Mesh - wrong shading display of thrusections"
|
|
puts "========"
|
|
puts ""
|
|
|
|
if { [regexp {Windows} [dversion]] } {
|
|
set tri_n 2702
|
|
set nod_n 1399
|
|
} else {
|
|
set tri_n 2766
|
|
set nod_n 1431
|
|
}
|
|
|
|
pload MODELING VISUALIZATION
|
|
|
|
circle c0 0 0 0 0 0 1 30
|
|
circle c1 0 0 0 0 0 1 30
|
|
rotate c1 2000 0 0 0 1 0 15
|
|
circle c2 0 0 0 0 0 1 30
|
|
rotate c2 2000 0 0 0 1 0 30
|
|
circle c3 0 0 0 0 0 1 30
|
|
rotate c3 2000 0 0 0 1 0 45
|
|
circle c4 0 0 0 0 0 1 30
|
|
rotate c4 2000 0 0 0 1 0 60
|
|
mkedge e0 c0
|
|
mkedge e1 c1
|
|
mkedge e2 c2
|
|
mkedge e3 c3
|
|
mkedge e4 c4
|
|
wire w0 e0
|
|
wire w1 e1
|
|
wire w2 e2
|
|
wire w3 e3
|
|
wire w4 e4
|
|
thrusections result issolid w0 w1 w2 w3 w4
|
|
|
|
checkview -display result -3d -path ${imagedir}/${test_image}.png
|
|
|
|
checktrinfo result -tri $tri_n -nod $nod_n
|