mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
A new Shaded presentation flag configured through Datum aspect (NOT as usual Display Mode). Creation of auxiliary Axis/Point/Plane presentations in Trihedron presentation is removed. 'vtrihedron' DRAW command to change parameters of trihedron is extended to cover whole functionality of AIS_Trihedron. The following classes are redesignede: AIS_Trihedron, Prs3d_DatumAspect. The followin enumermations are created to manage properties of trihedron: Prs3d_DatumAttribute, Prs3d/Prs3d_DatumAxes, Prs3d_DatumMode
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
puts "============"
|
|
puts "OCC21091"
|
|
puts "OCC21450"
|
|
puts "============"
|
|
puts ""
|
|
|
|
vfont add [locate_data_file DejaVuSans.ttf] SansFont
|
|
|
|
vtrihedron trihedron
|
|
|
|
vpoint p1 -300 -300 -300
|
|
vdrawtext OC0 OpenCascade -pos -300 -300 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
|
|
|
|
vpoint p2 -300 -300 -100
|
|
vdrawtext OC1 OpenCascade -pos -300 -300 -100 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
|
|
|
|
vpoint p3 -100 -100 -300
|
|
vdrawtext OC2 OpenCascade -pos -100 -100 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
|
|
|
|
vpoint p4 -100 -100 -100
|
|
vdrawtext OC3 OpenCascade -pos -100 -100 -100 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
|
|
|
|
|
|
vpoint p5 -300 -100 -300
|
|
vdrawtext OC4 OpenCascade -pos -300 -100 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
|
|
|
|
vpoint p6 -100 -300 -300
|
|
vdrawtext OC5 OpenCascade -pos -100 -300 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
|
|
|
|
vpoint p7 -300 -100 -100
|
|
vdrawtext OC6 OpenCascade -pos -300 -100 -100 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
|
|
|
|
vpoint p8 -100 -300 -100
|
|
vdrawtext OC7 OpenCascade -pos -100 -300 -100 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont
|
|
|
|
vaxis ax1 100 100 100 100 100 0
|
|
|
|
box a 110 110 110 200 200 200
|
|
vdisplay a
|
|
|
|
set aFile $imagedir/ExportToPS.ps
|
|
|
|
set format PS
|
|
|
|
set size 9550
|
|
|