mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +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
30 lines
901 B
Plaintext
Executable File
30 lines
901 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC22361"
|
|
puts "============"
|
|
puts ""
|
|
################################################################################################################################
|
|
# Incorrect result of BRepOffsetAPI_MakePipeShell algorithm: it tries to build conical surface between two non-coaxial circles
|
|
################################################################################################################################
|
|
set BugNumber 22361
|
|
|
|
circle c1 0 0 0 7
|
|
circle c2 5.28270543795374 13.2067635948844 26.4135271897687 21
|
|
polyline pp 0 0 0 5.28270543795374 13.2067635948844 26.4135271897687
|
|
mkedge c1 c1
|
|
wire c1 c1
|
|
mkedge c2 c2
|
|
wire c2 c2
|
|
fit
|
|
|
|
mksweep pp
|
|
addsweep c1
|
|
addsweep c2
|
|
|
|
buildsweep result
|
|
|
|
checkprops result -s 2745.88
|
|
checkshape result
|
|
|
|
checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 8
|
|
set 3dviewer 0
|