Skip to content

five-on-it / apps/tools/src/blender / findBlender

Function: findBlender() ​

findBlender(env?, machine?): string | undefined

Defined in: apps/tools/src/blender.ts:96

Where Blender is: FOI_BLENDER when it names a file, else blender on the PATH, else where its installers put it (on Windows the newest Blender Foundation\Blender x.y under Program Files, on macOS the application, on Linux the usual folders); undefined when it is nowhere.

Parameters ​

env? ​

Record<string, string | undefined> = process.env

machine? ​

Machine = thisMachine

Returns ​

string | undefined