vtk2geogram

.vtk to .geogram mesh file conversion

https://github.com/lihpc-computational-geometry/vtk2geogram

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.7%) to scientific vocabulary

Keywords

cad file-conversion file-converter geometry-processing mesh mesh-processing
Last synced: 4 months ago · JSON representation ·

Repository

.vtk to .geogram mesh file conversion

Basic Info
  • Host: GitHub
  • Owner: LIHPC-Computational-Geometry
  • License: agpl-3.0
  • Language: C++
  • Default Branch: main
  • Homepage:
  • Size: 31.3 KB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
cad file-conversion file-converter geometry-processing mesh mesh-processing
Created about 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

vtk2geogram : .vtk to .geogram mesh file conversion

Motivation

AlgoHex is a hex-meshing algorithm that can leverage the CELL_DATA section of VTK files for feature-aware meshing.

A typical input dataset is HexMe, which uses a Gmsh Python script to generate such VTK files.

In order to explore this representation and to develop feature-aware meshing algorithms, I wanted to convert CAD-related data to Geogram attributes.

Limits

  • expects a tetrahedral mesh
  • writes 4 files, maybe it's possible to bundle everything in a single file
  • you have to import the 4 files into Graphite, switch the painting mode into "ATTRIBUTE". A Lua script could do the job for you
  • export all mesh components (points, lines, triangles, tetrahedral) even if they don't have CAD features associated

Requirements

Build

bash mkdir build cd build cmake .. make

Run

bash ./vtk2geogram ../data/S0.vtk

will create 4 files: - ../data/S0.vtk.point_set.geogram - ../data/S0.vtk.polyline.geogram - ../data/S0.vtk.triangles.geogram - ../data/S0.vtk.tetrahedra.geogram

that you can open with Graphite.

Owner

  • Name: LIHPC-Computational-Geometry
  • Login: LIHPC-Computational-Geometry
  • Kind: organization
  • Location: France

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: vtk2geogram
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Sébastien
    family-names: Mestrallet
    orcid: 'https://orcid.org/0000-0002-4519-2814'
repository-code: >-
  https://github.com/LIHPC-Computational-Geometry/vtk2geogram
abstract: '.vtk to .geogram mesh file conversion'
keywords:
  - mesh
  - file-converter
  - file-conversion
  - mesh-processing
  - geometry-processing
license: AGPL-3.0

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1