Converting Python Script to GH Python Component

A post was split to a new topic: Input function question