0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_6 / bug26305_2
CommitLineData
d7988ee1 1puts "========"
2puts "OCC26305"
3puts "========"
4puts ""
5###################################################
6# BRepFeat_MakePrism returns inconsistent results
7###################################################
8
9circle aCircle -10 -10 0 0 0 1 1 0 0 10
10mkedge anEdge aCircle
11wire aWire anEdge
12mkplane aCircle aWire 0
13
14plane aFromPlane 0 0 -10 0 0 1 1 0 0
15mkface aFromPlane aFromPlane
16plane aToPlane 0 0 10 0 0 1 1 0 0
17mkface aToPlane aToPlane
18
19featprism aCircle aCircle aCircle 0 0 1 2 1
20featperform prism aResult aFromPlane aToPlane
21
22checkshape aResult
23
24vinit
25vdisplay aResult
26vsetdispmode aResult 1
27vfit
28
29set bug_info [vreadpixel 300 340 name]
30if {$bug_info == "BLACK 0"} {
31 puts "ERROR: OCC26305 is reproduced. Prism is incorrect."
32}
33
5747059b 34checkview -screenshot -3d -path ${imagedir}/${test_image}.png