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

Method __add__

cadquery/cq.py:3371–3377  ·  view source on GitHub ↗

Syntactic sugar for union. Notice that :code:`r = a + b` is equivalent to :code:`r = a.union(b)` and :code:`r = a | b`.

(self: T, other: Union["Workplane", Solid, Compound])

Source from the content-addressed store, hash-verified

3369 return self.union(other)
3370
3371 def __add__(self: T, other: Union["Workplane", Solid, Compound]) -> T:
3372 """
3373 Syntactic sugar for union.
3374
3375 Notice that :code:`r = a + b` is equivalent to :code:`r = a.union(b)` and :code:`r = a | b`.
3376 """
3377 return self.union(other)
3378
3379 def cut(
3380 self: T,

Callers

nothing calls this directly

Calls 1

unionMethod · 0.95

Tested by

no test coverage detected