mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
- Added function checkprops, set default tolerance parameter to 1.0e-4 - Using "area" instead of "square". - Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases. - Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1) - Corrected test cases to use checkprops proc. - Correct image difference - Updated TODOs in test cases. - Updated test cases to get correct images of result shape
36 lines
728 B
Plaintext
Executable File
36 lines
728 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC23995"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################
|
|
# GeomAPI_ExtremaCurveCurve class calculates wrong values
|
|
#######################################################################
|
|
|
|
set BugNumber CR23995
|
|
|
|
pload XDE
|
|
|
|
ReadStep D [locate_data_file bug23995_AirfoilRhomb_CheckIntersct3d_myRhombicAirfoilIntersect_root.stp]
|
|
|
|
XCheckProps D
|
|
|
|
XGetShape intCrv D 0:1:1:1
|
|
explode intCrv
|
|
mkcurve intCrv intCrv_1
|
|
plane pl
|
|
|
|
extrema intCrv pl
|
|
|
|
if { [isdraw ext_1] } {
|
|
mkedge result ext_1
|
|
checkprops result -l 136.705
|
|
checksection result
|
|
} else {
|
|
puts "${BugNumber}: invalid result for ext_1"
|
|
}
|
|
|
|
smallview
|
|
front
|
|
fit
|
|
set only_screen_axo 1
|