1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- 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
2015-12-10 16:56:03 +03:00

40 lines
510 B
Plaintext

# Permuation of all forms of construction
# when fUsing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0
vertex vp3 8 9 0
vertex vp4 3 9 0
edge eap vp1 vp2
edge ebp vp2 vp3
edge ecp vp3 vp4
edge edp vp4 vp1
wire wp eap ebp ecp edp
mkplane fp wp
prism ba fp 0 0 4
# prism from bottom
vertex v1 3 3 4
vertex v2 4 3 4
vertex v3 4 4 4
vertex v4 3 4 4
edge ea v1 v2
edge eb v2 v3
edge ec v3 v4
edge ed v4 v1
wire w ea eb ec ed
mkplane f w
prism bb f 0 0 1
bfuse result ba bb
checkprops result -s 152