mcneel / rhinocommon

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

Expose Distance String Parsing? #150

Open ghost opened 10 years ago

ghost commented 10 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 10 years ago

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

ghost commented 10 years ago

any update on this? is it doable?

sbaer commented 10 years ago

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