model curves from curve loop