Creating armatures in python I'm relly new to Blender, so I must be missing something basic here.
What I'm trying to do is import a model and its skeleton previously exported from 3DSMax in a custom format (json serialized).

I've got pretty far, but I'm getting some weird effects on the vertices weights (I guess...)

As you can see below, the models and its skeleton is built correctly. The bones are correctly set in the skeleton hierarchy. Also, the vertex groups and its modifiers looks right.



But when I rotate the upper arm some non weighted vertices move too.



The movement of the head and some other parts are perfect, however

Thanks
After reviewing the exporter and Max importer, I found out that the correct way is to reverse the bone tips in Blender when comming from Max.

new_bone.parent = parent
new_bone.tail = parent.head
new_bone.use_connect = False


Also, the model cited in the question is kinda broken, so...

Tested with other models and everything looks fine.

Thanks, lemon, for the input.