mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56: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
28 lines
645 B
Plaintext
Executable File
28 lines
645 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC23706"
|
|
puts "============"
|
|
puts ""
|
|
#########################################################################
|
|
# Cannot project point on curve
|
|
#########################################################################
|
|
|
|
bsplinecurve r2 4 3 1 5 2 1 3 5 0 8 0 1 2 8 2 1 4 8 3 1 4 8 3 1 6 8 4 1 10 8 10 1
|
|
mkedge spine r2
|
|
wire spine spine
|
|
circle profile 0 8 0 1 0 1 0.2
|
|
mkedge profile profile
|
|
wire profile profile
|
|
mkplane profile profile
|
|
pipe p spine profile
|
|
explode p f
|
|
mksurface ss1 p_1
|
|
mksurface ss2 p_2
|
|
mksurface ss3 p_3
|
|
offset o1 ss1 -0.1
|
|
offset o2 ss2 -0.1
|
|
offset o3 ss3 -0.1
|
|
|
|
mkface res o2
|
|
|
|
checkprops res -s 9.00819
|