Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLTF Extension - Vertex and Edges support #229

Open
dpasukhi opened this issue Jan 2, 2025 · 0 comments · May be fixed by #243 or #242
Open

GLTF Extension - Vertex and Edges support #229

dpasukhi opened this issue Jan 2, 2025 · 0 comments · May be fixed by #243 or #242
Assignees
Labels
1. Data Exchange Import/Export or iterating of the CAD data 2. Enhancement New feature or request 4. Critical 5. Client

Comments

@dpasukhi
Copy link
Member

dpasukhi commented Jan 2, 2025

Description

The proposed extension focuses on enhancing the Data Exchange and GLTF Export/Import functionality.
These improvements will enable support for:

  • TopoDS_Vertex (3D points)
  • TopoDS_Edge (lines or polylines with 3D representation)

These entities will be exported into GLTF and GLB file formats and imported back.

Validation Process

The final export results will undergo validation using:

  • The glTF Validator tool to ensure compliance with the GLTF standard.
  • A glTF Viewer to confirm visual correctness.
  • TCL based tests to validate import and export data with references.

_
At the moment only mesh is supported (simple triangles)

Use Case

Importing GLTF/GLB files with edges or vertexes.
Can be used as attachments for PMI or supplemental geometry, for example.

Benefits

Ability to read/write Edges and Vertexes.

Additional Context

Specification - https://www.khronos.org/files/gltf20-reference-guide.pdf
https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-mesh-primitive (link to primitives that needs to extend)

@dpasukhi dpasukhi added 2. Enhancement New feature or request 1. Data Exchange Import/Export or iterating of the CAD data 4. Critical 5. Client labels Jan 2, 2025
@dpasukhi dpasukhi moved this from Todo to Analyzing in Maintenance Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Data Exchange Import/Export or iterating of the CAD data 2. Enhancement New feature or request 4. Critical 5. Client
Projects
Status: Analyzing
2 participants