0027915: Foundation Classes - remove the class NCollection_QuickSort
[occt.git] / tests / bugs / vis / bug26056
CommitLineData
1c078d3b 1puts "============"
2puts "CR26056"
3puts "AIS_LengthDimension can not build dimension for face-edge or edge-face"
4puts "============"
5puts ""
6puts "Tests case of edge-face and face-edge input geometry for dimension"
3c162495 7
1c078d3b 8pload MODELING VISUALIZATION
1c078d3b 9
10plane aPlane 0 0 50 0 0 1
11mkface aFace aPlane -100 100 -100 100
12
3c162495 13line aLine 0 -100 0 1 0 0
14mkedge anEdge aLine -100 100
15
16line aLine2 0 0 100 1 1 0.1
1c078d3b 17mkedge anEdge2 aLine2 -150 150
18
3c162495 19circle aCirc1 30 -30 100 0.3 -0.3 1 20.
20mkedge anEdge3 aCirc1
21
22circle aCirc2 -130 -30 100 0.3 -0.3 1 20.
23mkedge anEdge4 aCirc2 30. 180.
24
1c078d3b 25vinit View1
26vclear
27vaxo
3c162495 28vdisplay anEdge anEdge2 anEdge3 anEdge4 aFace
1c078d3b 29vdimension aDim1 -length -shapes anEdge aFace -text 15 3d sh
30vdimension aDim2 -length -shapes aFace anEdge2 -text 15 3d sh
3c162495 31vdimension aDim3 -length -shapes aFace anEdge3 -text 15 3d sh
32vdimension aDim4 -length -shapes aFace anEdge4 -text 15 3d sh
1c078d3b 33vfit
34
5747059b 35checkview -screenshot -3d -path ${imagedir}/${test_image}.png