Why Nostr? What is Njump?
2023-05-16 22:40:48
in reply to

hazlin on Nostr: hmmmm, when the target is a different language, other than experience I don't seem to ...

hmmmm, when the target is a different language, other than experience I don't seem to gain anything for simple operations...

"""#Python expansion
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}\")")
"""

""";;;CL expansion
(loop for x in (uiop:split-string "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" :separator ",")
do (format t "~a = Bone(\"~a\")~%" (substitute #\. #\_ x) x))
"""
Author Public Key
npub1n69rack0mfdppstvru3ssngswvrzqyz3qzplqth4256rqzg0pf3s9gm0cc