5 ####################################################################################
6 # Visualization - Capping algorithm not working sometimes
7 ####################################################################################
11 vclipplane create pln1
12 vclipplane change pln1 equation 0 1 0 0
13 vclipplane change pln1 capping on
14 vclipplane set pln1 view Driver1/Viewer1/View1
16 # Capping should be enabled for the solid with a bounding shell with Closed flag not set
17 restore [locate_data_file OCC25132-flight_solid.brep] fs
20 vdump $imagedir/${casename}_flight_solid.png
23 # Capping should be enabled for the solid with cavities
24 restore [locate_data_file OCC25132-solid_with_cavities.brep] sc
27 vdump $imagedir/${casename}_solid_with_cavities.png
30 # Capping should display a non-manifold solid with an internal open shell correctly
31 restore [locate_data_file OCC25132-Partition_1.brep] p1
34 vdump $imagedir/${casename}_Partition_1.png