This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // returns a DataArray of DataArrays with all headings in each file | |
| dv.pages().map(page => this.app.metadataCache.getCache(page.file.path).headings) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # QUIXEL MEGASCAN ASSET PACK IMPORTER | |
| # run this script in blender | |
| # | |
| # 1. opens a filebrowser and asks for a folder. then searches the given directory and recursively all subdirectories for files. | |
| # 2. for each folder with files: | |
| # 1. attempts to import .fbx. if there is none, adds plane primitive as mesh. | |
| # 2. if applicable, cleans up .fbx import, removing empties, applying transforms etc. | |
| # 3. uses NodeWrangler texture import for Principled BSDF Node | |
| # 4. adds object to its own collection and excludes it from the scene (otherwise your computer might stall rendering dozens of high-rez meshes) | |
| # NOTE: NodeWrangler and FBX Import Plugin must be enabled |