1
0
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:
akaftase
2024-07-07 19:54:59 +01:00
committed by Pasukhin Dmitry
parent 5811a330c7
commit b828814131
2 changed files with 15 additions and 5 deletions

View 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