Open MonkeyJLuffy opened 5 months ago
SketchUp Pro 2022版 搅拌机版本4.0 导入程序版本0.23.2 window11同样出现了这个问题 错误代码
bpy.ops.object.delete(use_global=False) bpy.context.space_data.system_bookmarks_active = 1 Python: Traceback (most recent call last): File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sketchup_importer__init.py", line 1039, in execute return SceneImporter().set_filename(keywords['filepath']).load( File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sketchup_importer__init__.py", line 240, in load self.write_materials(self.skp_model.materials) File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sketchup_importer\init__.py", line 438, in write_materials default_shader = bmat.node_tree.nodes['Principled BSDF'] KeyError: 'bpy_prop_collection[key]: key "Principled BSDF" not found' bpy.ops.import_scene.skp(filepath="C:\Users\ADMIN\Desktop\blender实验室\无标题.skp")
SketchUp 2021版
搅拌机版本4.0
导入程序版本0.23.2
win10也出现了这个问题
错误代码
bpy.ops.import_scene.skp(filepath="D:\文档\WeChat Files\wxid_o8d98kamkp2i22\FileStorage\File\2024-03\1.skp", scenes_as_camera=True, reuse_material=True, max_instance=1)
Descrivi il bug Ho realizzato un modello semplice e quando provo a importarlo nel mio frullatore ho questo errore
Python: Traceback (ultima chiamata più recente): File "C:\Users\Shadow\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sketchupimporter init _.py", riga 1039, nell'eseguire return SceneImporter() .set_filename(keywords['filepath']).load( File "C:\Users\Shadow\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sketchupimporter init _.py", riga 240, nel caricamento self .write_materials(self.skp_model.materials) File "C:\Users\Shadow\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\sketchupimporter init _.py", riga 438, in write_materials default_shader = bmat.node_tree .nodes['Principled BSDF'] KeyError: 'bpy_prop_collection[key]: chiave "Principled BSDF" non trovata'
Per riprodurre Passaggi per riprodurre il comportamento:
- Vai su "File> Importa"
- Fai clic su "File di sketch" e seleziona il tuo file
Comportamento previsto Il modello importato
Informazioni sul sistema
- Sistema operativo: Windows 10
- Frullatore versione 4.1
- Versione SketchUp Pro 2023
- Versione importatore 0.23.2
anch'io ho lo stesso tipo di errore...
I have a workaround.
In order to import SketchUp models to Blender, I have installed a previous version of Blender 3.x, I use the sketchup importer, then I save the blender file.
So, I can open it in Blender 4.x
Ho provato con 3.6 ma mi da lo stesso errore. Vorrei provare a scaricare il 3.2 ma non riesco a scaricare le versioni precedenti al 4.1...:-(
Describe the bug I made a simple model and when I try to import it in my blender I have this error
To Reproduce Steps to reproduce the behavior:
Expected behavior The model imported
Screenshots The model :![image](https://github.com/arindam-m/pyslapi/assets/16681610/c34d62ad-6f3c-4252-9774-c33c08b46399)
System Info