MCPcopy
hub / github.com/CadQuery/cadquery / isSame

Method isSame

cadquery/occ_impl/shapes.py:659–665  ·  view source on GitHub ↗

Returns True if other and this shape are same, i.e. if they share the same TShape with the same Locations. Orientations may differ. Also see :py:meth:`isEqual`

(self, other: Shape)

Source from the content-addressed store, hash-verified

657 return self.wrapped.IsNull()
658
659 def isSame(self, other: Shape) -> bool:
660 """
661 Returns True if other and this shape are same, i.e. if they share the
662 same TShape with the same Locations. Orientations may differ. Also see
663 :py:meth:`isEqual`
664 """
665 return self.wrapped.IsSame(other.wrapped)
666
667 def isEqual(self, other: Shape) -> bool:
668 """

Callers 4

__eq__Method · 0.95
innerWiresMethod · 0.80
innerShellsMethod · 0.80
testCenterNthSelectorMethod · 0.80

Calls

no outgoing calls

Tested by 1

testCenterNthSelectorMethod · 0.64