mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
31 lines
670 B
Plaintext
31 lines
670 B
Plaintext
puts "========================"
|
|
puts "0032556: Data Exchange - A toroidal part of solid is corrupted while writing or reading STEP file"
|
|
puts "========================"
|
|
|
|
# Create fused shape
|
|
ptorus a1 5 3
|
|
plane pp 5 0 -5
|
|
pcylinder a2 pp 2 10
|
|
bfuse a a1 a2
|
|
|
|
# Write fused shape
|
|
testwritestep ${imagedir}/${casename}.stp a
|
|
# Read fused shape
|
|
testreadstep ${imagedir}/${casename}.stp res
|
|
|
|
file delete ${imagedir}/${casename}.stp
|
|
|
|
# Check fused shape
|
|
checkshape res f
|
|
checknbshapes res -edge 12 -vertex 7
|
|
checkprops res -s 649.9
|
|
|
|
# Display result fused shape
|
|
clear
|
|
smallview
|
|
donly res
|
|
isos res 0
|
|
fit
|
|
isos res 2
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|