mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0033541: Modeling Algorithms - Simple sphere cut from cylinder fails
Changed condition for combination of WLines into one. WLine would be excluded from consideration for merging, if one of its middle points between vertices is out of domain (does not lie on both surfaces).
This commit is contained in:
committed by
Pasukhin Dmitry
parent
5811a330c7
commit
b828814131
12
tests/bugs/modalg_8/bug33541
Normal file
12
tests/bugs/modalg_8/bug33541
Normal file
@@ -0,0 +1,12 @@
|
||||
puts "================================"
|
||||
puts "0033541: Modeling Algorithms - Simple sphere cut from cylinder fails"
|
||||
puts "================================"
|
||||
puts ""
|
||||
|
||||
pcylinder c 1 1
|
||||
psphere s 1
|
||||
ttranslate s 1 1 1
|
||||
bcut result c s
|
||||
|
||||
checknbshapes result -vertex 3 -edge 5 -wire 4 -face 4
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
Reference in New Issue
Block a user