1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
msv 472634fa06 0028313: Extend Draw functionality with some new useful commands and features
1) In Views menu the check button item "Extended view commands" has been added. Pressing on it shows/hides the set of buttons in the main window that allow manipulating of view zoom/pan/rotate by mouse.

2) New category of commands "Vector and measurement Commands" has been added. The commands in this category allow simple calculations using 2D and 3D vectors, such as cross and dot products, computation of distances of points to other objects, and other functions.

3) The new command "pickf" has been added in "DRAW Variables management" category. It allows extracting a picked with mouse face included in some shape as a new variable.

4) New commands "del" and "era" have been added in "DRAW Variables management" category. They allow deleting (destructing) or erasing (from view) variables matched by glob pattern.

5) Missing help for some commands like "don", "disp" and others has been added.
2017-02-02 15:58:24 +03:00

23 lines
500 B
Plaintext
Executable File

puts "========================"
puts " OCC354 "
puts "(case 2)"
puts "========================"
puts ""
##################################################
## neither chamfer nor blend is built in similar situation
##################################################
restore [locate_data_file OCC354b.brep] a
explode a f
explode a_5 e
donly a a_5_6
chamf result a a_5_6 a_5 A 2 45
checkshape result
checkprops result -s 589.268
checkview -display result -2d -path ${imagedir}/${test_image}.png