Geometry ======== .. py:class:: py3dm.Geometry Bases: :py:obj:`OpenNURBSObject` Python bindings for the openNURBS ``ON_Geometry`` class. ``ON_Geometry``: base class for all geometry classes that must provide runtime class id. It provides interface for common geometric operations like finding bounding boxes and transforming. .. py:method:: dimension() -> int Returns the dimension of the object. .. rubric:: Notes The dimension is typically three. For parameter space trimming curves the dimension is two. In rare cases the dimension can be one or greater than three. .. py:method:: is_deformable() -> bool Returns ``True`` if object can be accurately modified with "squishy" transformations like projections, shears, an non-uniform scaling. .. py:method:: is_valid(text_log: TextLog | None = None) -> bool The base implementation returns ``False``.