mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-20 12:45:50 +03:00
Integrated DE plugin functionality. Reworked DE components: - TKDESTEP: Handling STEP file format. - TKDEOBJ: Handling OBJ file format. - TKDEIGES: Handling IGES file format. - TKDEGLTF: Handling GLTF file format. - TKDEVRML: Handling VRML file format. - TKDEPLY: Handling PLY file format. - TKDESTL: Handling STL file format. Reworked DE DRAW components: TKXSDRAWSTEP: Container for DE command to work with STEP. TKXSDRAWOBJ: Container for DE command to work with OBJ. TKXSDRAWIGES: Container for DE command to work with IGES. TKXSDRAWGLTF: Container for DE command to work with GLTF. TKXSDRAWVRML: Container for DE command to work with VRML. TKXSDRAWPLY: Container for DE command to work with PLY. TKXSDRAWSTL: Container for DE command to work with STL. TKXSDRAW rework to be base DRAW plugin to keep DE session and utils. Updated documentation Updated samples
22 lines
497 B
Plaintext
22 lines
497 B
Plaintext
puts "============"
|
|
puts "CR23407: Draw face outlines for XDE objects"
|
|
puts "============"
|
|
puts ""
|
|
|
|
pload XDEDRAW VISUALIZATION STEP
|
|
|
|
XNewDoc Doc1
|
|
ReadStep Doc1 [locate_data_file screw.step]
|
|
XShow Doc1 0:1:1:1
|
|
XShowFaceBoundary Doc1 0:1:1:1 1 255 0 0 10 1
|
|
vfit
|
|
vsetdispmode 1
|
|
|
|
checkcolor 178 36 1 0 0
|
|
if { $stat != 1 } { puts "Error : Boundary of face is not changed" }
|
|
|
|
checkcolor 244 89 1 0 0
|
|
if { $stat != 01} { puts "Error : Boundary of face is not changed" }
|
|
|
|
vdump $imagedir/${casename}.png
|