I’m going through the make_mesh.py
example (found here) to learn how Rhino.Compute works and as I tinker with the script it seems like some types are missing attributes.
For instance, the Sphere
type has a BoundingBox
property (doc page) but if I try to access it I get an AttributeError: 'rhino3dm._rhino3dm.Sphere' object has no attribute 'BoundingBox'
error.
Similarly, the Mesh
type has a Volume()
method (doc page) but I also get an AttributeError
when trying to access it.
So my questions are is compute_rhino3d
supposed to be equivalent to RhinoCommon (if not then maybe I shouldn’t be using the RhinoCommon docs), and if it is supposed to be equivalent, what’s the workaround for a missing attribute?