algoo / preview-generator

generates previews of files with cache management
https://pypi.org/project/preview-generator/
MIT License
228 stars 51 forks source link

Improve vtk builder #151

Closed inkhey closed 4 years ago

inkhey commented 4 years ago

Current vtk builder does support only .stl file and preview lack detail: We should :

inkhey commented 4 years ago

here information about list of vtk reader: https://discourse.vtk.org/t/list-of-readers/184/4

inkhey commented 4 years ago

give many information about mime for 3d formats: http://www.subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/LinuxGuidesByBlaze/apps3Dtools/3D_viewers-converters/3Dtestfiles/3D_testfiles_remoteAccessNotes.htm

inkhey commented 4 years ago

Some format like .obj or .ply doesn't really have clear standardized mimetype. To support them effectively, best solution is probably relying on customized mimetype_datastorage (see #148 ) with custom mimetype, that allow us to distinct them properly.

inkhey commented 4 years ago

wip branch here: https://github.com/algoo/preview-generator/tree/feature/151__better_vtk_builder

inkhey commented 4 years ago

fixed by #152