mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-16 10:54:53 +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
52 lines
1.7 KiB
Plaintext
Executable File
52 lines
1.7 KiB
Plaintext
Executable File
###############################################################################
|
|
# setsweep options [arg1 [arg2 [...]]] : options are :
|
|
# -FR : Tangent and Normal are given by Frenet trihedron
|
|
# -CF : Tangente is given by Frenet,
|
|
# the Normal is computed to minimize the torsion
|
|
###############################################################################
|
|
# addsweep wire [Vertex] [-T] [-R] [u0 v0 u1 v1 [...[uN vN]]] : options are :
|
|
# -T : the wire have to be translated to assume contact
|
|
# with the spine
|
|
# -R : the wire have to be rotated to assume orthogonality
|
|
# with the spine's tangent
|
|
###############################################################################
|
|
# buildsweep result [-M/-C/-R] [-S] [tol] : options are
|
|
# -M : Discontinuities are treated by Modfication of
|
|
# the sweeping mode : it is the default
|
|
# -C : Discontinuities are treated like Right Corner
|
|
# Treatement is Extent && Intersect
|
|
# -R : Discontinuities are treated like Round Corner
|
|
# Treatement is Intersect and Fill
|
|
###############################################################################
|
|
|
|
if { [isdraw result] } {
|
|
if { [info exists 2dviewer] } {
|
|
clear
|
|
smallview
|
|
donly result
|
|
fit
|
|
xwd $imagedir/${test_image}.png
|
|
}
|
|
if { [info exists 3dviewer] } {
|
|
vinit
|
|
vclear
|
|
vdisplay result
|
|
vsetdispmode 1
|
|
vfit
|
|
vzfit
|
|
vdump $imagedir/${test_image}.png
|
|
}
|
|
}
|
|
|
|
if { [info exist only_screen] } {
|
|
vdump $imagedir/${test_image}.png
|
|
}
|
|
|
|
if { [info exist only_screen2d] } {
|
|
v2ddump $imagedir/${test_image}.png
|
|
}
|
|
|
|
# to end a test script
|
|
puts "TEST COMPLETED"
|
|
|