def from_plane(cls, plane):
        """
        :param plane: cadquery plane instance to base coordinate system on
        :type plane: :class:`cadquery.Plane`
        :return: duplicate of the given plane, in this class
        :rtype: :class:`CoordSystem`

        usage example:

        .. doctest::

            >>> import cadquery
            >>> from cqparts.utils.geometry import CoordSystem
            >>> obj = cadquery.Workplane('XY').circle(1).extrude(5)
            >>> plane = obj.faces(">Z").workplane().plane
            >>> isinstance(plane, cadquery.Plane)
            True
            >>> coord_sys = CoordSystem.from_plane(plane)
            >>> isinstance(coord_sys, CoordSystem)
            True
            >>> coord_sys.origin.z
            5.0
        """
        return cls(
            origin=plane.origin.toTuple(),
            xDir=plane.xDir.toTuple(),
            normal=plane.zDir.toTuple(),
        )
:param plane: cadquery plane instance to base coordinate system on
        :type plane: :class:`cadquery.Plane`
        :return: duplicate of the given plane, in this class
        :rtype: :class:`CoordSystem`

        usage example:

        .. doctest::

            >>> import cadquery
            >>> from cqparts.utils.geometry import CoordSystem
            >>> obj = cadquery.Workplane('XY').circle(1).extrude(5)
            >>> plane = obj.faces(">Z").workplane().plane
            >>> isinstance(plane, cadquery.Plane)
            True
            >>> coord_sys = CoordSystem.from_plane(plane)
            >>> isinstance(coord_sys, CoordSystem)
            True
            >>> coord_sys.origin.z
            5.0