mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
Draw::ParseOnOffIterator() - added auxiliary wrapper over Draw::ParseOnOff() for more compact syntax. strncasecmp() definition for msvc compilers has been moved to Standard_CString for consistency with strcasecmp(). vmanipulator command has been refactored to use more straightforward parser. vmanipulator now accepts "-adjustPosition {0|center|location|shapeLocation}" options adjusting position to object's AABB center (existed before), object's local transformation or TopoDS_Shape location.
19 lines
524 B
Plaintext
19 lines
524 B
Plaintext
puts "==============================================="
|
|
puts "0032055: Draw Harness, ViewerTest - add more vmanipulator position adjusting options"
|
|
puts "==============================================="
|
|
|
|
pload MODELING VISUALIZATION
|
|
box b 0 0 0 1 2 3
|
|
ttranslate b 1 0 0
|
|
vclear
|
|
vinit View1
|
|
vdisplay -dispMode 1 b
|
|
vlocation b -location 5 0 0 -rotate 5 0 0 0 0 1 30
|
|
vpoint p 0 0 0
|
|
vfit
|
|
vmanipulator m -attach b -adjustPosition 0
|
|
vmanipulator m -adjustPosition shapeLocation
|
|
|
|
vdump $imagedir/${casename}.png
|
|
set to_dump_screen 0
|