1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
kgv 16f9b46dbb 0032612: Data Exchange, RWGltf_CafReader - lost hierarchy of two nested compounds
RWGltf_GltfJsonParser::gltfParseSceneNode() - prevent flattering of Scene nodes
(allow flattering only of Mesh nodes).

Added command XAutoNaming managing XCAFDoc_ShapeTool::SetAutoNaming().
Added comparisons with reference Xdump data to glTF tests.
2021-10-12 20:08:57 +03:00

79 lines
1.5 KiB
Plaintext

puts "========"
puts "0030691: test glTF reader on standard sample models"
puts "========"
ReadGltf D [locate_data_file bug30691_BrainStem.gltf]
XGetOneShape s D
checknbshapes s -face 59 -compound 2
checktrinfo s -tri 61666 -nod 34159
set THE_REF_DUMP {
INSTANCE COMPOUND 0:1:1:1 (refers to 0:1:1:2) "Figure_2_geometry"
ASSEMBLY COMPOUND 0:1:1:2 "Figure_2_geometry"
INSTANCE COMPOUND 0:1:1:2:1 (refers to 0:1:1:3) "Figure_2_geometry"
PART COMPOUND 0:1:1:3 "Figure_2_geometry"
FACE 0:1:1:3:1
FACE 0:1:1:3:2
FACE 0:1:1:3:3
FACE 0:1:1:3:4
FACE 0:1:1:3:5
FACE 0:1:1:3:6
FACE 0:1:1:3:7
FACE 0:1:1:3:8
FACE 0:1:1:3:9
FACE 0:1:1:3:10
FACE 0:1:1:3:11
FACE 0:1:1:3:12
FACE 0:1:1:3:13
FACE 0:1:1:3:14
FACE 0:1:1:3:15
FACE 0:1:1:3:16
FACE 0:1:1:3:17
FACE 0:1:1:3:18
FACE 0:1:1:3:19
FACE 0:1:1:3:20
FACE 0:1:1:3:21
FACE 0:1:1:3:22
FACE 0:1:1:3:23
FACE 0:1:1:3:24
FACE 0:1:1:3:25
FACE 0:1:1:3:26
FACE 0:1:1:3:27
FACE 0:1:1:3:28
FACE 0:1:1:3:29
FACE 0:1:1:3:30
FACE 0:1:1:3:31
FACE 0:1:1:3:32
FACE 0:1:1:3:33
FACE 0:1:1:3:34
FACE 0:1:1:3:35
FACE 0:1:1:3:36
FACE 0:1:1:3:37
FACE 0:1:1:3:38
FACE 0:1:1:3:39
FACE 0:1:1:3:40
FACE 0:1:1:3:41
FACE 0:1:1:3:42
FACE 0:1:1:3:43
FACE 0:1:1:3:44
FACE 0:1:1:3:45
FACE 0:1:1:3:46
FACE 0:1:1:3:47
FACE 0:1:1:3:48
FACE 0:1:1:3:49
FACE 0:1:1:3:50
FACE 0:1:1:3:51
FACE 0:1:1:3:52
FACE 0:1:1:3:53
FACE 0:1:1:3:54
FACE 0:1:1:3:55
FACE 0:1:1:3:56
FACE 0:1:1:3:57
FACE 0:1:1:3:58
FACE 0:1:1:3:59
Free Shapes: 1
INSTANCE COMPOUND 0:1:1:1 (refers to 0:1:1:2) "Figure_2_geometry"
}
checkXDump D $THE_REF_DUMP