]> OCCT Git - occt.git/commit
Data Exchange, GLTF - Change export line type to LINE_STRIP #535
authorElias Cohenca <elias@bananaz.ai>
Sat, 17 May 2025 09:00:40 +0000 (12:00 +0300)
committerGitHub <noreply@github.com>
Sat, 17 May 2025 09:00:40 +0000 (10:00 +0100)
commitb29788cae02e0be70e353648a6eeb89c5a281bf5
tree1f17830ae625f1007d0d6699668cc851894b40c7
parent2eeb0ed5ba48d2ea496269c2119db43230d57e1f
Data Exchange, GLTF - Change export line type to LINE_STRIP #535

GLTF exporter mark edges as a LINE, which is 2 connected points.
OCCT polylines is mostly line strip structure.
Updated GLTF reader to handle new type of lines
src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.cxx
src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.cxx
src/DataExchange/TKDEGLTF/RWGltf/RWGltf_TriangulationReader.cxx