MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / getSupportedExtensionsForLibrary

Function getSupportedExtensionsForLibrary

main.js:100–107  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

98 THUMBNAIL_MAX_STORED_CHARS,
99 THUMBNAIL_ABSOLUTE_MAX_LOAD_CHARS
100} = require('./thumbnail-compress');
101
102// Additional file types for scan/library (alphabetical by label). id used in settings; extensions for scan/filter.
103const ADDITIONAL_FILE_TYPES_CATALOG = [
104 { id: '3ds', label: '3DS (.3ds)', extensions: ['.3ds'] },
105 { id: 'amf', label: 'AMF (.amf)', extensions: ['.amf'] },
106 { id: 'blender', label: 'Blender (.blender)', extensions: ['.blender'] },
107 { id: 'dae', label: 'DAE (.dae)', extensions: ['.dae'] },
108 { id: 'dxf', label: 'DXF (.dxf)', extensions: ['.dxf'] },
109 { id: 'dwg', label: 'DWG (.dwg)', extensions: ['.dwg'] },
110 { id: 'fbx', label: 'FBX (.fbx)', extensions: ['.fbx'] },

Callers 1

saveModelFunction · 0.85

Calls 2

getScanExtensionsFunction · 0.85
parseMethod · 0.80

Tested by

no test coverage detected