Why Nostr? What is Njump?
2023-05-16 21:44:25

hazlin on Nostr: I blame lisp for this... #macro """ for name in ...

I blame lisp for this...

#macro
"""
for name in "c_foot_ik.r,c_foot_ik.l,c_hand_ik.r,c_hand_ik.l,c_root_master.x,c_spine_03.x,c_head.x,c_arms_pole.r,c_arms_pole.l".split(","):
var_name = name.replace(".","_")
print(f"{var_name} = Bone(\"{name}\")")
"""

c_foot_ik_r = Bone("c_foot_ik.r")
c_foot_ik_l = Bone("c_foot_ik.l")
c_hand_ik_r = Bone("c_hand_ik.r")
c_hand_ik_l = Bone("c_hand_ik.l")
c_root_master_x = Bone("c_root_master.x")
c_spine_03_x = Bone("c_spine_03.x")
c_head_x = Bone("c_head.x")
c_arms_pole_r = Bone("c_arms_pole.r")
c_arms_pole_l = Bone("c_arms_pole.l")
Author Public Key
npub1n69rack0mfdppstvru3ssngswvrzqyz3qzplqth4256rqzg0pf3s9gm0cc