mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0032811: Bad result of sweep operation due to Surface Surface Intersect Bug
This commit is contained in:
@@ -504,6 +504,7 @@ void IntTools_FaceFace::Perform (const TopoDS_Face& aF1,
|
||||
|
||||
{
|
||||
const Standard_Real UVMaxStep = IntPatch_Intersection::DefineUVMaxStep(myHS1, dom1, myHS2, dom2);
|
||||
// TODO: bug32811 Deflection change to 0.01 can work
|
||||
const Standard_Real Deflection = 0.1;
|
||||
myIntersector.SetTolerances(TolArc, TolTang, UVMaxStep, Deflection);
|
||||
}
|
||||
|
@@ -448,5 +448,5 @@ void IntTools_TopolTool::SamplePnts(const Standard_Real theDefl,
|
||||
myV0 = myVPars->Value(1);
|
||||
|
||||
myDU = (myUPars->Value(myNbSmplU) - myU0)/(myNbSmplU-1);
|
||||
myDV = (myVPars->Value(myNbSmplV) - myU0)/(myNbSmplV-1);
|
||||
myDV = (myVPars->Value(myNbSmplV) - myV0)/(myNbSmplV-1);
|
||||
}
|
||||
|
16
tests/pipe/bugs/bug32811
Normal file
16
tests/pipe/bugs/bug32811
Normal file
@@ -0,0 +1,16 @@
|
||||
puts "TODO ? Surface Surface Intersect Lost One Intersect Curve"
|
||||
puts "0032811: Bad result of sweep operation due to Surface Surface Intersect Bug"
|
||||
puts "========"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file CR32811_path.brep] p
|
||||
restore [locate_data_file CR32811_profile.brep] pr
|
||||
|
||||
mksweep p
|
||||
setsweep -CF
|
||||
addsweep pr
|
||||
|
||||
buildsweep result -C -S
|
||||
|
||||
checkshape result
|
||||
checknbshapes result -vertex 184 -edge 368 -wire 184 -face 184 -shell 1
|
Reference in New Issue
Block a user