mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08:00
- Moved tcl samples to resource folder. - Clean up cmake from samples related settings. - Removed CSharp samples from the repository. - Removed MFC samples from the repository. - Removed Qt samples from the repository. - Removed Inspector samples from the repository. - Removed glwin samples from the repository. - Removed webgl samples from the repository. - Removed xaml samples from the repository. - Removed Java samples from the repository.
24 lines
627 B
Plaintext
24 lines
627 B
Plaintext
puts "=========="
|
|
puts "0031136: BinXCAF persistence loses normals from triangulation-only Faces"
|
|
puts "=========="
|
|
puts ""
|
|
|
|
pload MODELING XDE OCAF VISUALIZATION
|
|
source $env(CSF_OCCTResourcePath)/samples/tcl/cad.tcl
|
|
trinfo res
|
|
wavefront res $imagedir/${test_image}
|
|
readobj o $imagedir/${test_image}.obj
|
|
|
|
# binary format
|
|
set test_image_bbrep ${test_image}_bbrep
|
|
binsave o $imagedir/${test_image_bbrep}.bbrep
|
|
binrestore $imagedir/${test_image_bbrep}.bbrep b1
|
|
vclear
|
|
vclose ALL
|
|
vinit v1/v1
|
|
vbottom
|
|
vdisplay -dispMode 1 b1
|
|
vfit
|
|
vrenderparams -shadingModel phong
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image_bbrep}.png
|