mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +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.
30 lines
693 B
Plaintext
30 lines
693 B
Plaintext
puts "=========="
|
|
puts "0031136: BinXCAF persistence loses normals from triangulation-only Faces"
|
|
puts "=========="
|
|
puts ""
|
|
|
|
pload MODELING OCAF XDE VISUALIZATION
|
|
source $env(CSF_OCCTResourcePath)/samples/tcl/cad.tcl
|
|
trinfo res
|
|
wavefront res $imagedir/${test_image}
|
|
readobj o $imagedir/${test_image}.obj
|
|
|
|
|
|
# XML format
|
|
set test_image_XML ${test_image}_XML
|
|
NewDocument D1 XmlXCAF
|
|
XAddShape D1 o
|
|
# SetStorageFormatVersion D1 10
|
|
SaveAs D1 $imagedir/${test_image_XML}.xml
|
|
Close D1
|
|
Open $imagedir/${test_image_XML}.xml D2
|
|
vclear
|
|
vclose ALL
|
|
vinit v1/v1
|
|
vbottom
|
|
XDisplay -dispMode 1 D2
|
|
Close D2
|
|
vfit
|
|
vrenderparams -shadingModel phong
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image_XML}.png
|