Problem importing stuff in Blender
kersten a commencé cette discussion dans Help and Tips

Hi,

I just bought the advanced Addon for Blender, but afterwards im not able to import a model.

I already tried the light version and Blender 2.80.

I made my model in Stud.io and imported the stud.io file in mecabrick. Then exported it to .zmbx

It always says:

Traceback (most recent call last):
File "/Users/kerstenburkhardt/Library/Application Support/Blender/2.80/scripts/addons/mecabricks/init.py", line 486, in execute
return import_mecabricks (OOOOO0OOO00O0OO0O ,O0OO0O000O00O00OO ,OOOOO0OOO00O0OO0O .filepath ,OOO0O0OO0O0O00OO0 )#line:1194
File "/Users/kerstenburkhardt/Library/Application Support/Blender/2.80/scripts/addons/mecabricks/init.py", line 14, in import_mecabricks
import_model (O00OO000O0OOOO0OO ,OO00OO0O00O0000OO );#line:53
File "/Users/kerstenburkhardt/Library/Application Support/Blender/2.80/scripts/addons/mecabricks/init.py", line 28, in import_model
O0OOOO0OOO0O0O000 =make_materials (O00OOOO00O00OO0O0 [2 ],O00OOOO00O00OO0O0 [3 ])#line:214
File "/Users/kerstenburkhardt/Library/Application Support/Blender/2.80/scripts/addons/mecabricks/init.py", line 75, in make_materials
O000O000O0O0OO000 =make_material (O00O0000O00O0OOOO ,OOOO00O0000OO0OO0 )#line👨12
File "/Users/kerstenburkhardt/Library/Application Support/Blender/2.80/scripts/addons/mecabricks/init.py", line 81, in make_material
O0OOO0OO0OO0O0OO0 =MBColors [O0OOOOO00O0OOOOO0 [0 ]]#line👨26
KeyError: 1199

location: <unknown location>😶1

location: <unknown location>😶1

2 réponses · Page 1 sur 1
Avatar de Scrubs
Administrateur

Hello kersten.
I guess you imported your model from LDraw in Mecabricks. I recently added material 1199 (internal Mecabricks reference for Rubber dark stone grey) and this material is not available yet in the Blender addon. A small bug in a the Mecabricks importer is replacing the common material 199 by this new one. Before exporting from Mecabricks, make sure to replace all parts with 1199 by material 199. It can be done in a couple of clicks using the select by material tool in Mecabricks. I will be back from overseas in a couple of days and I will fix that.

A brand new version of the addon will be available in a week or so to enjoy all the new features that have been working on in the past 6 months. This issue will also be fixed in the event a material is not know by the addon.

Great thanks, enjoy your last days and thanks for your great work 😃

Publicité
2 participants
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.