I try to compile a component which calculate some Trigonometric functions.
The input must be in degree or radians (user choose) but type hint don’t have angle in the list
Is there a way to identify the type hint with GhPython?
Rhino doesn’t have a unit data type. You should set the hint to Float.
Make additional input boolean to toggle whether user provides radians or degrees
2 Likes
Thanks i thought it is possible like the option available in some components when choose degrees or radians by right click