]> OCCT Git - occt.git/commitdiff
0033311: Modeling Algorithm - No results of thrusection algorithm
authorakaftasev <akaftasev@opencascade.com>
Mon, 16 Jan 2023 11:05:53 +0000 (14:05 +0300)
committerVadim Glukhikh <vadim.glukhikh@opencascade.com>
Tue, 17 Jan 2023 20:47:54 +0000 (20:47 +0000)
Changed default value of myPercent

src/BRepFill/BRepFill_CompatibleWires.cxx
tests/bugs/modalg_8/bug33311 [new file with mode: 0644]

index 0fbf3bd666ee14ccddf56ef780c9b30f6455870e..7474c7b346e137d9209a3276d66402fed5cb8210 100644 (file)
@@ -701,7 +701,7 @@ void BRepFill_CompatibleWires::Init(const TopTools_SequenceOfShape& Sections)
 {
   myInit = Sections;
   myWork = Sections;
-  myPercent = 0.01;
+  myPercent = 0.1;
   myStatus = BRepFill_ThruSectionErrorStatus_NotDone;
   myMap.Clear();
 
diff --git a/tests/bugs/modalg_8/bug33311 b/tests/bugs/modalg_8/bug33311
new file mode 100644 (file)
index 0000000..fbea750
--- /dev/null
@@ -0,0 +1,11 @@
+puts "========================"
+puts "0033311: Modeling Algorithm - No results of thrusection algorithm"
+puts "========================"
+puts ""
+
+restore [locate_data_file bug33311_1.brep] w1
+restore [locate_data_file bug33311_2.brep] w2
+
+thrusections res 0 0 w1 w2 
+
+checkview -display res -2d -path ${imagedir}/${test_image}.png