@JCPalmer said :
If there is only an eye icon, then it would probably be for visible
.
The checkbox next to the collection would probably be used for export object culling, similar to layers from before.
Exactly my thoughts Jeff. However, I tried the exporter that comes installed with the Blender download and with the latest download from the BJS github site (posted yesterday) . So where is Exporter 6.1 hiding?
I watched a video posted 5 days ago from the Blender folks - the Blender API is stable and will not change. The changes to come are just “housekeeping”.
Ok from the logs:
========= An error was encountered =========
File “C:\Users\Peter\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\babylon_js\json_exporter.py”, line 111, in execute
mesh = Mesh(object, scene, self)
File “C:\Users\Peter\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\babylon_js\mesh.py”, line 170, in init
mesh = bpyMesh.to_mesh(bpy.context.depsgraph, True)
ERROR: ‘Context’ object has no attribute ‘depsgraph’
That is from the version that comes installed with Blender (v10/11) and this from the Exporter on github (v11/12) :
========= An error was encountered =========
File “C:\Users\Peter\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\babylon_js\json_exporter.py”, line 111, in execute
mesh = Mesh(object, scene, self)
File “C:\Users\Peter\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\babylon_js\mesh.py”, line 170, in init
mesh = bpyMesh.to_mesh(bpy.context.depsgraph, True)
ERROR: ‘Context’ object has no attribute ‘depsgraph’
========= end of processing =========
If I create a second collection and add a sphere to it, and then disable that second collection, I get this :
========= An error was encountered =========
File “C:\Users\Peter\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\babylon_js\json_exporter.py”, line 111, in execute
mesh = Mesh(object, scene, self)
File “C:\Users\Peter\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\babylon_js\mesh.py”, line 45, in init
self.isVisible = bpyMesh.visible_get()
ERROR: Error: Object ‘Sphere’ not in View Layer ‘View Layer’!
========= end of processing =========
And to add to my day, my KB died and we have had some nasty thunderstorms
cheers, gryff