Files
OCCT/tests/opengl/data/silhouette/outline2
Pasukhin Dmitry a15fed9b86 Coding - Temporary remove samples from the repository (#960)
- 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.
2025-12-27 21:51:28 +00:00

32 lines
915 B
Plaintext

puts "========"
puts "0024437: Visualization - silhouette edges based on OpenGL"
puts "Draw bottle sample"
puts "========"
puts ""
pload MODELING VISUALIZATION
# test for creation of bottle as in tutorial (script is in samples)
source $env(CSF_OCCTResourcePath)/samples/tcl/bottle.tcl
vbackground -color WHITE
vzbufftrihedron -type wireframe -colorLabels BLACK
vaspects bottle -setDrawSilhouette 1 -setEdgeColor BLACK -setFaceBoundaryDraw 1 -setMostContinuity c0 -setFaceBoundaryColor BLACK -setInteriorStyle HIDDENLINE
vrenderparams -rendScale 2
vcamera -ortho
vfit
vaspects bottle -setDrawSilhouette 0
vdump $::imagedir/${::casename}_ortho0.png
vaspects bottle -setDrawSilhouette 1
vdump $::imagedir/${::casename}_ortho1.png
vcamera -persp
vfit
vaspects bottle -setDrawSilhouette 0
vdump $::imagedir/${::casename}_persp0.png
vaspects bottle -setDrawSilhouette 1
vdump $::imagedir/${::casename}_persp1.png