mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
1. Unification of trimmed and not-trimmed cylinders processing (IntPatch_Intersection::GeomGeomPerfomTrimSurf() method has been removed). 2. Interface of IntPatch_ImpImpIntersection::Perform(...) method has been changed. 3. Now, WLine purging is forbidden for Geom-Geom-Intersection. 4. Bnd_Range class has been created. See Bnd_Range.hxx for detail information. 5. Algorithm of AddBoundaryPoint function has been improved in order to obtain intersection points in both boundaries (VFirst and VLast of every surface). 6. Earlier, method Geom2dConvert::ConcatG1(...) increased resulted B-spline degree (in case of not succession of previous iteration). Now increased value has been limited by Geom2d_BSplineCurve::MaxDegree() value (max degree = 25). 7. Algorithm of B-spline closure definition has been changed in the methods Geom2dConvert::C0BSplineToC1BSplineCurve(...) and Geom2dConvert::C0BSplineToArrayOfC1BSplineCurve(...). Creation of test case for this issue. Adjusting test cases according to their new behavior. Small correction in the code according to KGV's remark.
34 lines
742 B
Plaintext
34 lines
742 B
Plaintext
puts "========"
|
|
puts "OCC27310"
|
|
puts "========"
|
|
puts ""
|
|
#################################################
|
|
# Huge tolerance obtained in the result of intersection of two cylindrical faces
|
|
#################################################
|
|
|
|
set ExpTol 6.9230965382090094e-006
|
|
set GoodNbCurv 2
|
|
|
|
restore [locate_data_file OCC496a.brep] a
|
|
restore [locate_data_file OCC496b.brep] b
|
|
|
|
explode a f
|
|
explode b f
|
|
|
|
set log [bopcurves a_10 b_4 -2d]
|
|
|
|
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
|
|
|
|
if {${NbCurv} != ${GoodNbCurv}} {
|
|
puts "Error: Number of curves is bad!"
|
|
}
|
|
|
|
checkreal TolReached $Toler $ExpTol 0.0 0.1
|
|
|
|
smallview
|
|
don c_*
|
|
fit
|
|
disp a_10 b_4
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|