mcneel / rhino3dm

Libraries based on OpenNURBS with a RhinoCommon style
MIT License
609 stars 139 forks source link

library versions #307

Open fraguada opened 4 years ago

fraguada commented 4 years ago

(I'm not sure we have any library version information in the compiled versions of the js and py libraries.)

Add a property to the library object which contains the library version.

Question raised here: https://discourse.mcneel.com/t/3dmloader-for-three-js/107702/3

mcneel-build commented 4 years ago

Linked with RH3DM-114

pearswj commented 4 years ago

For python, the library version is defined in __init__.py

import rhino3dm
print(rhino3dm.__version__)

I don't think it's defined anywhere in the library for javascript. I would be a nice thing to have!