1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0026444: Boolean operation "bcut" gives invalid result between solid and halfspace solid.

class BOPAlgo_PaveFiller
method void BOPAlgo_PaveFiller::PutPaveOnCurve
  (const Standard_Integer nV,
   const Standard_Real aTolR3D,
   BOPDS_Curve& aNC,
   const BOPCol_MapOfInteger& aMI,
   BOPCol_DataMapOfIntegerReal& aMVTol,
   const Standard_Integer iCheckExtend)

Do not put the pave on the curve in case if there is already one with the same parameter.
Update tolerance of the existing vertex to reach the new one.

Added test case bugs/modalg_6/bug26444.
Test boolean/volumemaker/G1 is stable now (deleted TODOs), test offset/faces_type_i/C9 is bad (offset is done with wrong result).
This commit is contained in:
emv
2015-07-29 15:24:03 +03:00
committed by bugmaster
parent c7d774c557
commit 787c4320b1
7 changed files with 93 additions and 43 deletions

View File

@@ -2,9 +2,6 @@
# cone cylinder plane
# Error status: 102
puts "TODO OCC26020 ALL: Error status"
puts "TODO OCC26020 ALL: TEST INCOMPLETE"
# conical face
cone con_f1 -59.814698440000001 384.36473473000001 127 0.41716766026590824 -0.90882954575006414 -5.4874902763032048e-016 89.995898744693349 0
erase con_f1

View File

@@ -0,0 +1,17 @@
puts "========"
puts "OCC26444"
puts "========"
puts ""
####################################################################################
# Boolean operation "bcut" gives invalid result between solid and halfspace solid.
####################################################################################
restore [locate_data_file bug26444_cutting_shape.brep] a
restore [locate_data_file bug26444_shape_to_cut.brep] b
restore [locate_data_file bug26444_ref_out.brep] p2
dump p2
halfspace s1 a -0.541421905726473 0.200000002980232 0.00899999961256981
bcut result b s1
set square 0.106547
set 2dviewer 1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23547 ALL: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC23547 ALL: Error : The volume of the resulting shape is"
psphere s 15 270
OFFSETSHAPE 1 {s_2} $calcul $type