select $default
shoulders = bone pos:[-0.635571,-2.74999,0.184551]
in shoulders back = bone pos:[-0.476959,-3.22443,0.383274]
…
select default
modPanel.addModToSelection (Skin ()) ui:on
subobjectLevel = 1
skinOps.addBone .modifiers[#Skin] Bone002 1
skinOps.addBone .modifiers[#Skin] Bone003 1
...
skinOps.ReplaceVertexWeights .modifiers[#Skin] 1 #(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17) #(0, 0, 0.9999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0001, 0, 0)
skinOps.ReplaceVertexWeights $.modifiers[#Skin] 2 #(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17) #(0, 0, 0.9998, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0001, 0, 0)
…
select Bone001
.name = “shoulders”
select Bone002
.name = “back”
…
$.parent = null
select back
.parent = null
select $hips
…
select back
.parent = $hips
select shoulders
.parent = $back
…