1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-10 12:25:50 +03:00
occt/tests/bugs/vis/bug26056
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

26 lines
668 B
Plaintext

puts "============"
puts "CR26056"
puts "AIS_LengthDimension can not build dimension for face-edge or edge-face"
puts "============"
puts ""
puts "Tests case of edge-face and face-edge input geometry for dimension"
pload MODELING VISUALIZATION
line aLine 0 -100 0 1 0 0
mkedge anEdge aLine -100 100
plane aPlane 0 0 50 0 0 1
mkface aFace aPlane -100 100 -100 100
line aLine2 0 0 100 1 1 0
mkedge anEdge2 aLine2 -150 150
vinit View1
vclear
vaxo
vdisplay anEdge anEdge2 aFace
vdimension aDim1 -length -shapes anEdge aFace -text 15 3d sh
vdimension aDim2 -length -shapes aFace anEdge2 -text 15 3d sh
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png