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

Method modified

cadquery/occ_impl/shapes.py:5583–5591  ·  view source on GitHub ↗

Shapes modified from s.

(self, s: Shape | None = None)

Source from the content-addressed store, hash-verified

5581 return _normalize(d[k])
5582
5583 def modified(self, s: Shape | None = None) -> Shape:
5584 """
5585 Shapes modified from s.
5586 """
5587
5588 if s:
5589 return self._get(self._modified, s)
5590
5591 return _normalize(compound(*self._modified.values()))
5592
5593 def generated(self, s: Shape | None = None) -> Shape:
5594 """

Callers 15

_update_prism_historyFunction · 0.80
test_history_boolFunction · 0.80
TFunction · 0.80
reFunction · 0.80
vtk.jsFile · 0.80
aeFunction · 0.80
ceFunction · 0.80
iFunction · 0.80
SeFunction · 0.80
sFunction · 0.80
nFunction · 0.80
XnFunction · 0.80

Calls 3

_getMethod · 0.95
_normalizeFunction · 0.85
compoundFunction · 0.85

Tested by 1

test_history_boolFunction · 0.64