Importer fails to import model
TravisDeVito a commencé cette discussion dans Bug Reporting

I was attempting to import a T 34 model (https://www.mecabricks.com/sv/models/3X8jO7d9jYJ) using the mecabricks advanced addon. whenever I try to import the model as a .dae it gives me the following error in the console:

Traceback (most recent call last):
File "C:UsersUserAppDataRoamingBlender FoundationBlender2.79scriptsaddonsmecabricks__init__.py", line 830, in execute
return importMecabricks(self, context, self.filepath, settings)
File "C:UsersNNAppDataRoamingBlender FoundationBlender2.79scriptsaddonsmecabricks__init__.py", line 261, in importMecabricks
replaceMaterials(object, materials[object.name], instances, meshes, debug)
File "C:UsersNNAppDataRoamingBlender FoundationBlender2.79scriptsaddonsmecabricks__init__.py", line 410, in replaceMaterials
makeMaterial(material)
File "C:UsersNNAppDataRoamingBlender FoundationBlender2.79scriptsaddonsmecabricks__init__.py", line 532, in makeMaterial
bumpNode.image = imglib[file]
KeyError: 'bpy_prop_collection[key]: key "3665_bump.png" not found'

location: <unknown location>😶1

The result is a few bricks from the model being imported, but most are missing.
Here is a screen cap of the blender window --> https://imgur.com/a/lyB2ovO
Hopefully someone can point me in the right direction. Also, i have never had problems importing any meshes before.
Thanks.

3 réponses · Page 1 sur 1

"KeyError: 'bpy_prop_collection[key]: key "3665_bump.png" not found'"
It can't find the bump maps. I think you may have moved around the dae file without copying the rest?

Update: I took the model and saved it as a private model then downloaded, unzipped and imported it without issue

Avatar de Scrubs
Administrateur

As per Sim comment, this is likely that you moved the texture folder before importing the model. This is what the error message says.
Making the model private doesn’t change anything to the files and geometry exported.
New version of the addon for Blender 2.80 and new format zmbx ensure that this type of mistake can not be done as everything is embedded in one file.

Publicité
3 participants
Avatar de TravisDeVito
Avatar de Sim
Avatar de Scrubs

LEGO, le logo LEGO, la minifigurine et les configurations des briques et tenons sont des marques déposées de LEGO Group of Companies. ©2024 The LEGO Group.

Mecabricks, le logo Mecabricks et tout le contenu non couvert par les droits d'auteur du groupe LEGO sont, sauf indication contraire, ©2011-2024 Mecabricks.