打包数据

Blender能够在通常保存在混合文档外部的混合文档中封装(合并)各种数据。例如,作为外部图像文档的图像纹理可以放在 blend 文档的 "内部" 。这允许将整个项目共享为单个文档,而不是例如包含混合文档及其所有依赖项的存档。

可以通过文件路径旁边的小 "礼品盒" 图标来确认数据是否是被打包的。

Warning

不是所有的外部文件都可以被打包

通常有一些很大的文件,比如 序列编辑器 或者 影片剪辑编辑器 中生成的视频文件就不能被打包到 .blend 文件中。

打包数据

Pack All

参考

面板

File ‣ External Data ‣ Pack All Into .blend

Mark all eligible external files used by the blend-file as packed. Actual packing will happen on the next save of the blend-file.

Automatically Pack

参考

面板

File ‣ External Data ‣ Automatically Pack Into .blend

When enabled, this option will ensure that all eligible external files, existing or added later, are systematically marked as packed. As with Pack All Into .blend, the blend-file must be saved to the drive for this to have an effect.

禁用这个选项并不会把文件解包出来,但是之后添加的外部文件就不会被标记为已打包。

选择性打包

通过单击文件路径UI组件左侧的小 "礼品盒" 图标即可打包单个文件。

解包数据

Unpack All

参考

面板

File ‣ External Data ‣ Unpack All Into Files

Unpack all external files stored into a blend-file.

选项

使用当前目录中的文件 (在必要时创建)

将所有文件解包到目录 //.blend 文件目录相同的路径中,将它们分组到适当的文件夹中(例如 "texture")。 但是如果文件已经存在,它将直接使用该文件,而不再解包这个文件。

在当前目录中写入文件(替换存在的文件)

和前一个选项一样,只不过当文件存在时直接替换存在的文件。

使用原始位置的文件 (在必要时创建)

解包所有的文件到每个文件原始位置。如果文件已经存在,它将直接使用该文件,而不再解包这个文件。

使用文件的原始位置(替换存在的文件)

和前一个选项一样,只不过当文件存在时直接替换存在的文件。

禁用自动打包,保留所有已经被打包的文件

Only deactivates the Automatically Pack Into .blend option.

选择性解包

通过单击文件路径UI组件左侧的小 "礼品盒" 图标即可解包单个文件。

选项

删除打包

只是标记这个文件为已解包,不做保存或者重新读取的操作。

建立 <本地文件路径>

把文件解包到当前 .blend 文件的本地目录。

Use <original file path> (differs)|(identical)

If the original file path still exists, mark it as unpacked. Note that it won't be automatically reloaded from the drive. (differs) or (identical) show difference status between the packed version and the one on-drive.

替换 <原始文件路径>

如果原始文件路径存在但与打包版不同,将其标记为已解包并使用打包版覆盖硬盘上的文件。

建立 <原始文件路径>

如果原始文件路径不存在,请将其标记为已解包并将其写入硬盘。