]> OCCT Git - occt.git/commitdiff
0031919: Modeling Algorithms - General Fuse raises exception on attempt to imprint...
authornunomsil <nuno-miguel.silva@capgemini.com>
Wed, 7 Dec 2022 14:45:36 +0000 (14:45 +0000)
committernunomsil <nuno-miguel.silva@capgemini.com>
Wed, 7 Dec 2022 14:45:36 +0000 (14:45 +0000)
Exception no longer occurs in current version. However, fuzzyvalue should be set to 1 for the result of the operation to make sense (result of common is 1 wire). Test case added

tests/bugs/modalg_8/bug31919 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_8/bug31919 b/tests/bugs/modalg_8/bug31919
new file mode 100644 (file)
index 0000000..31d5c0e
--- /dev/null
@@ -0,0 +1,17 @@
+puts "============================================================================================="
+puts "0031919: Modeling Algorithms - General Fuse raises ex-ception on attempt to imprint a contour to a shell"
+puts "============================================================================================="
+puts ""
+
+pload ALL
+restore [locate_data_file bug31919_Body.brep] body
+restore [locate_data_file bug31919_Contour.brep] contour
+bclearobjects
+bcleartools
+baddobjects body
+baddtools contour
+bfuzzyvalue 1
+bfillds
+bbop res 0
+
+checknbshapes res -wire 1