Grasshopper

algorithmic modeling for Rhino

Conversion constant error in Intellisense documentation for Rhino conversion factor for feet?

I could be wrong but there appears to be an error in the documentaiton for the intellisense  for the unit system constant for conversion from base units of rhino SI units of m to feet

 

Using MathCAD the conversion factor to convert from m to feet is

 

1m = 3.2808399 feet

 

So if the model units are in ft, the conversion to m would be 1/3.2808399 = 0.3048

 

From the Rhino.UnitSystem class in intellisense we get


Rhino.UnitSystem.Feet = 0.3408 m 

see attached image

which appears to be a wrong conversion constant.

i.e. 10m = 32.808 ft (using 0.3048 factor) not 29.343 ft if we use 0.3408 





 

 

 

 

 

Views: 225

Attachments:

Replies to This Discussion

Thanks, fixed it.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service