brainstorm3 icon indicating copy to clipboard operation
brainstorm3 copied to clipboard

add support to export the bst surfaces as STL files.

Open tmedani opened this issue 1 year ago • 3 comments

hi guys,

it seems STL is one of the most used and common format for the surfaces meshes.

currently, BST has these format: image

This issue is just to remind the need to add the STL file format to the export function.

tmedani avatar Jul 25 '24 04:07 tmedani

Yes we can. That should be pretty doable very similar to the obj reader here in the PR https://github.com/brainstorm-tools/brainstorm3/pull/716/commits/0d656e90b715e0ec0f80332dc6554380d9365236

STL and PLY are both very widely used formats after OBJ.

chinmaychinara91 avatar Jul 25 '24 06:07 chinmaychinara91

This issue is just to remind the need to add the STL file format to the export function.

As a temporary workaround until Brainstorm can export directly STL file; it is possible to use freesurfer to convert gii file to STL using mris_convert

Edouard2laire avatar Jul 26 '24 02:07 Edouard2laire

To create .stl files from Brainstorm surfaces, I export them as either .off or .obj, then use MeshLab.

rcassani avatar Jul 26 '24 03:07 rcassani