{"id":40432968,"url":"https://github.com/lihpc-computational-geometry/vtk2geogram","last_synced_at":"2026-01-20T16:09:16.368Z","repository":{"id":209879805,"uuid":"705698572","full_name":"LIHPC-Computational-Geometry/vtk2geogram","owner":"LIHPC-Computational-Geometry","description":".vtk to .geogram mesh file conversion","archived":false,"fork":false,"pushed_at":"2023-11-29T15:41:09.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-05T03:01:56.082Z","etag":null,"topics":["cad","file-conversion","file-converter","geometry-processing","mesh","mesh-processing"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LIHPC-Computational-Geometry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-16T14:19:03.000Z","updated_at":"2025-01-10T16:28:06.000Z","dependencies_parsed_at":"2023-11-29T16:50:06.590Z","dependency_job_id":null,"html_url":"https://github.com/LIHPC-Computational-Geometry/vtk2geogram","commit_stats":null,"previous_names":["lihpc-computational-geometry/vtk2geogram"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LIHPC-Computational-Geometry/vtk2geogram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIHPC-Computational-Geometry%2Fvtk2geogram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIHPC-Computational-Geometry%2Fvtk2geogram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIHPC-Computational-Geometry%2Fvtk2geogram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIHPC-Computational-Geometry%2Fvtk2geogram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIHPC-Computational-Geometry","download_url":"https://codeload.github.com/LIHPC-Computational-Geometry/vtk2geogram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIHPC-Computational-Geometry%2Fvtk2geogram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T14:45:23.139Z","status":"ssl_error","status_checked_at":"2026-01-20T14:44:16.929Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cad","file-conversion","file-converter","geometry-processing","mesh","mesh-processing"],"created_at":"2026-01-20T16:09:16.268Z","updated_at":"2026-01-20T16:09:16.363Z","avatar_url":"https://github.com/LIHPC-Computational-Geometry.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vtk2geogram : .vtk to .geogram mesh file conversion\n\n## Motivation\n\n[AlgoHex](https://github.com/cgg-bern/AlgoHex) is a hex-meshing algorithm that can leverage the `CELL_DATA` section of VTK files for feature-aware meshing.\n\nA typical input dataset is [HexMe](https://www.algohex.eu/publications/hex-me-if-you-can/), which uses [a Gmsh Python script](https://github.com/cgg-bern/hex-me-if-you-can/blob/main/scripts/tetme.py) to generate such VTK files.\n\nIn order to explore this representation and to develop feature-aware meshing algorithms, I wanted to convert CAD-related data to [Geogram attributes](https://github.com/BrunoLevy/geogram/wiki/Mesh#attributes).\n\n## Limits\n\n- expects a tetrahedral mesh\n- writes 4 files, maybe it's possible to bundle everything in a single file\n- you have to import the 4 files into [Graphite](https://github.com/brunolevy/GraphiteThree), switch the painting mode into \"ATTRIBUTE\". A Lua script could do the job for you\n- export all mesh components (points, lines, triangles, tetrahedral) even if they don't have CAD features associated\n\n## Requirements\n\n- a C++ 17 compiler\n- [CMake](https://cmake.org/)\n- [UltiMaille](https://github.com/ultimaille/ultimaille) (included as submodule)\n- [Graphite](https://github.com/BrunoLevy/GraphiteThree) or [Vorpaview](https://github.com/BrunoLevy/geogram/wiki/Vorpaview), to visualize the output `.geogram` files\n\n## Build\n\n```bash\nmkdir build\ncd build\ncmake ..\nmake\n```\n\n## Run\n\n```bash\n./vtk2geogram ../data/S0.vtk\n```\n\nwill create 4 files:\n- `../data/S0.vtk.point_set.geogram`\n- `../data/S0.vtk.polyline.geogram`\n- `../data/S0.vtk.triangles.geogram`\n- `../data/S0.vtk.tetrahedra.geogram`\n\nthat you can open with [Graphite](https://github.com/brunolevy/GraphiteThree).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flihpc-computational-geometry%2Fvtk2geogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flihpc-computational-geometry%2Fvtk2geogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flihpc-computational-geometry%2Fvtk2geogram/lists"}