Closed kevzettler closed 4 years ago
The error points to this line:
https://github.com/chinedufn/landon/blob/master/blender-mesh/src/export.rs#L158
Ah - looks like you're running an older version of the addons. Sorry that it isn't yet clear that that's the case.
landon install --armature-to-json --mesh-to-json
okay with those installed i'm now seeing
kevs-mbp:crashgiants kevzettler$ landon export -f ./assets/WiP-punch.blend
Error: Error while exporting data from blender: Traceback (most recent call last):
File "/Users/kevzettler/Library/Application Support/Blender/2.80/scripts/addons/blender-mesh-to-json.py", line 132, in execute
boneIndex = allBoneNames.index(boneName)
ValueError: 'Group' is not in list
location: /Applications/Blender.app/Contents/Resources/2.80/scripts/modules/bpy/ops.py:201
location: /Applications/Blender.app/Contents/Resources/2.80/scripts/modules/bpy/ops.py:201
Traceback (most recent call last):
File "<string>", line 13, in <module>
File "/Applications/Blender.app/Contents/Resources/2.80/scripts/modules/bpy/ops.py", line 201, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
File "/Users/kevzettler/Library/Application Support/Blender/2.80/scripts/addons/blender-mesh-to-json.py", line 132, in execute
boneIndex = allBoneNames.index(boneName)
ValueError: 'Group' is not in list
location: /Applications/Blender.app/Contents/Resources/2.80/scripts/modules/bpy/ops.py:201
location: <unknown location>:-1
location: <unknown location>:-1
Mind taking a look at your mesh’s vertex groups and seeing if there is one called “Group”
Seems like if you deleted that you’ll be in good shape
If you click on your mesh in object mode it’s the green triangle panel on the right
Or is that vertex group intentionally there for you?
Either way I’m currently looking into this error and once I am reproduce I’ll add a test case for this - thanks for reporting
I have a bunch of meshes, and not seeing a "Group" vertex group for any of them.
boom I can reproduce. Gimme like 30 mins to add a test and push a fix
Published a fix as landon 0.7.2
https://github.com/chinedufn/landon/commit/0679337b84899285bcd1d554259a047a03dc9c5b
cargo install -f landon --version 0.7.2
Closing - just lmk if this is still broken
Hi @chinedufn the export is failing for me with an error about
vertex_positions
Versions
Error output