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

Method toPending

cadquery/cq.py:4334–4344  ·  view source on GitHub ↗

Adds wires/edges to pendingWires/pendingEdges. :return: same CQ object with updated context.

(self: T)

Source from the content-addressed store, hash-verified

4332 return self.newObject([r])
4333
4334 def toPending(self: T) -> T:
4335 """
4336 Adds wires/edges to pendingWires/pendingEdges.
4337
4338 :return: same CQ object with updated context.
4339 """
4340
4341 self.ctx.pendingWires.extend(el for el in self.objects if isinstance(el, Wire))
4342 self.ctx.pendingEdges.extend(el for el in self.objects if isinstance(el, Edge))
4343
4344 return self
4345
4346 def offset2D(
4347 self: T,

Callers 5

test_bezier_curveMethod · 0.80
testImportDXFMethod · 0.80
test_MergeTagsMethod · 0.80

Calls 1

extendMethod · 0.80

Tested by 4

test_bezier_curveMethod · 0.64
testImportDXFMethod · 0.64
test_MergeTagsMethod · 0.64