0024105: ShapeFix algorithm produces not correct result.
[occt.git] / tests / bugs / moddata_2 / bug370
CommitLineData
a87752f3 1puts "========================"
2puts "BUC61033"
3puts " OCC370 "
4puts "========================"
5puts ""
6#################################################################
7##Intersection between a sphere and trimmed plane, using IntPatch_Intersection, lead to infinite cycle.
8#################################################################
9
10sphere gs1 1
11plane gs2 0 0 0 1 0 0
12trim trgs2 gs2 0 1.000001 -1 0.000001
13
14intersect result gs1 trgs2
15
16cpulimit 300
17
18puts "OCC370 OK: function INTERSECT works properly"
19
20erase gs2
21
22set 2dviewer 0
23
24