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

Method copy

cadquery/sketch.py:1080–1088  ·  view source on GitHub ↗

Create a partial copy of the sketch.

(self: T)

Source from the content-addressed store, hash-verified

1078 # misc
1079
1080 def copy(self: T) -> T:
1081 """
1082 Create a partial copy of the sketch.
1083 """
1084
1085 rv = self.__class__()
1086 rv._faces = self._faces.copy()
1087
1088 return rv
1089
1090 @overload
1091 def moved(self: T, loc: Location) -> T:

Callers 10

locatedMethod · 0.45
placeSketchMethod · 0.45
showablesFunction · 0.45
make_modelFunction · 0.45
nFunction · 0.45
vtk.jsFile · 0.45
uFunction · 0.45

Calls

no outgoing calls

Tested by 5

showablesFunction · 0.36
make_modelFunction · 0.36