Skip to content

Commit

Permalink
feat(mesh-io): add extension-to-mesh-io
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Nov 26, 2023
1 parent dbeb159 commit 51106bd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/mesh-io/typescript/src/extension-to-mesh-io.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const extensionToMeshIo = new Map([
['vtk', 'vtk'],
['byu', 'byu'],
['fsa', 'free-surfer-ascii'],
['fsb', 'free-surfer-binary'],
['obj', 'obj'],
['off', 'off'],
['stl', 'stl'],
['swc', 'swc'],
['iwm', 'wasm'],
['iwm.cbor', 'wasm'],
['iwm.cbor.zst', 'wasm-zstd']
])

export default extensionToMeshIo

0 comments on commit 51106bd

Please sign in to comment.