1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-21 10:13:43 +03:00
azv 5520ae9665 Extract of fixes from 0024682: Move out B-spline cache from curves and surfaces to dedicated classes BSplCLib_Cache and BSplSLib_Cache
4. Precised calculation of derivatives of surface of revolution is implemented for the points of surface placed on the axis of revolution (Geom_SurfaceOfRevolution.cxx)

5. Small modifications are made to adjust algorithms to new behavior of B-spline calculation.

6. Test cases were modified according to the modern behavior.

7. Changes in BRepLib_CheckCurveOnSurface to use adaptors instead of geometric entities

9. Added methods to access directly poles, knots, multiplicities of BSpline curves and surfaces
2015-08-23 23:21:30 +03:00

35 lines
759 B
Plaintext
Executable File

puts "========"
puts "OCC36"
puts "========"
pload XDE
set filepath [locate_data_file OCC36.igs]
if [catch { igesbrep $filepath a * } res] {
puts "Error OCC36: here is reading problem"
} else {
puts "Reading OCC36 OK"
tpcompound r
dchrono h2 reset
dchrono h2 start
sewing result 1.e-7 r
dchrono h2 stop
set q2 [ dchrono h2 show ]
regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full z2
puts "$z2"
if { $z2 > 30 } {
puts "Elapsed time is more then 30 seconds - Faulty"
} else {
puts "Elapsed time is less then 30 seconds - OK"
}
checkmaxtol result 2.5472812372261969e-005
checknbshapes result -shell 13
checkfreebounds result 1247
}
set 2dviewer 0