mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +08:00
The subdivision of long curve is added in algorithm GenExtCC, if length of curves are too different. Test case added
21 lines
522 B
Plaintext
21 lines
522 B
Plaintext
puts "========"
|
|
puts "OCC29535"
|
|
puts "========"
|
|
puts ""
|
|
#################################################
|
|
# [Regression] BRepExtrema_DistShapeShape returns only one solution but the wires have two intersections .
|
|
#################################################
|
|
|
|
restore [locate_data_file bug29535_shapes.brep] s
|
|
explode s
|
|
distmini res s_1 s_2
|
|
|
|
|
|
if { ([isdraw res] && [isdraw res2]) } {
|
|
checknbshapes res -vertex 1 -edge 0
|
|
checknbshapes res2 -vertex 1 -edge 0
|
|
} else { puts "Error : result of distmini is wrong" }
|
|
|
|
|
|
|