mcneel / rhinocommon

RhinoCommon is the .NET SDK for Rhino5 / Grasshopper
http://wiki.mcneel.com/developer/rhinocommon
244 stars 93 forks source link

Expose Distance String Parsing? #150

Open ghost opened 11 years ago

ghost commented 11 years ago

I might be missing something, but in my digging through the rhinocommon sdk, I haven't found anything that does what I'm looking for. Entering a distance value in the Rhino command line, I can type 6'-3" or 5-3/8" or 6km etc. I know that RhinoMath can handle unit conversion, but I don't see any way to interpret an input string as a value with associated units. Does this exist somewhere and I'm just missing it? If not, consider this a request to expose it in RhinoCommon.

sbaer commented 11 years ago

This is currently not in RhinoCommon. I am looking into what it would take to support this.

ghost commented 11 years ago

any update on this? is it doable?

sbaer commented 11 years ago

It is doable; we made changes to the V6 string parser so this may not show up until V6