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

Method add

cadquery/sketch.py:1195–1203  ·  view source on GitHub ↗

Add selection to the underlying faces.

(self: T)

Source from the content-addressed store, hash-verified

1193 raise ValueError("Nothing is selected")
1194
1195 def add(self: T) -> T:
1196 """
1197 Add selection to the underlying faces.
1198 """
1199
1200 if self._selection:
1201 self._faces = tcast(Compound, self._faces + self._selected_faces())
1202
1203 return self
1204
1205 def subtract(self: T) -> T:
1206 """

Callers

nothing calls this directly

Calls 1

_selected_facesMethod · 0.95

Tested by

no test coverage detected