mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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
37 lines
859 B
Plaintext
Executable File
37 lines
859 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC22770"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################################
|
|
# Improve comman sewing in DRAW
|
|
######################################################################################
|
|
|
|
set BugNumber OCC22770
|
|
|
|
catch { pload XDE }
|
|
|
|
# Create a new document and set UndoLimit
|
|
# NewDocument D BinXCAF
|
|
# UndoLimit D 100
|
|
# Open a transaction
|
|
# NewCommand D
|
|
|
|
vertex a 1 0 0
|
|
vertex b 10 0 0
|
|
edge e1 a b
|
|
vertex c 10.01 0 0
|
|
vertex d 20 0 0
|
|
edge e2 c d
|
|
sewing result +t 0.1 e1 e2 +e
|
|
|
|
checkprops result -l 18.99
|
|
checkshape result
|
|
checksection result
|
|
|
|
checknbshapes result -vertex 3 -edge 2 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 6
|
|
checkmaxtol result -ref 0.0050001000000007819
|
|
checknbshapes result -shell 0
|
|
checkfreebounds result 0
|
|
|
|
set 3dviewer 0
|