def capsule_link_start_end(start, end): start = start end = end thickness = 0.001 cylinder = cm.gen_capsule(spos=start, epos=end, radius=0.0005, section=[5, 5]) return cylinder
def capsule_link_start_end(start, end, radius=0.0003): start = start end = end radius = radius cylinder = cm.gen_capsule(spos=start, epos=end, radius=radius, section=[5, 5]) return cylinder
def capsule_link_start_end(start, end, radius=0.0003, rgba=(1, 1, 0, 1)): start = start end = end radius = radius capsule = cm.gen_capsule(spos=start, epos=end, radius=radius, section=[5, 5], rgba=rgba) return capsule