MCPcopy Index your code
hub / github.com/CadQuery/cadquery / __eq__

Method __eq__

cadquery/occ_impl/assembly.py:158–162  ·  view source on GitHub ↗

Check equality of this material against another via its tuple.

(self, other)

Source from the content-addressed store, hash-verified

156 return hash(self.toTuple())
157
158 def __eq__(self, other):
159 """
160 Check equality of this material against another via its tuple.
161 """
162 return self.toTuple() == other.toTuple()
163
164 def __getstate__(self) -> Tuple[str, str, float, str]:
165 """

Callers

nothing calls this directly

Calls 2

toTupleMethod · 0.95
toTupleMethod · 0.45

Tested by

no test coverage detected