1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
ifv 80eeb3cef1 0030346: Modeling Algorithms - BRepPrimAPI_MakeRevol throws "BRepSweep_Translation::MakeEmptyVertex"
Implementation of method "IsDeleted(...)" for MakeRevol and MakePrism algorithms.

Problem (exception) occurs during history building and was caused by an attempt to obtain generated shape for subshape, which was really "deleted" by algorithm - this input subshape and its possible generated shape was not used in result.
2018-12-28 15:54:30 +03:00

25 lines
612 B
Plaintext
Executable File

puts "================"
puts "BUC61023"
puts "OCC65"
puts "================"
puts ""
###############################################
## Possibility to make a revolution to have a solid with a volume=0 m3
###############################################
restore [locate_data_file OCC65.brep] sh
checkshape sh
revol result sh 0 0 0 0 0 1 360
explode result
#result contains two shapes, one of them (result_2) is bad - empty shell
#because of bad input data, so only result_1 is checked.
checkshape result_1
checkprops result -s 1.0134e+06
checkview -display result -2d -path ${imagedir}/${test_image}.png