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

Method _toWire

cadquery/occ_impl/shapes.py:4592–4599  ·  view source on GitHub ↗
(p: Edge | Wire)

Source from the content-addressed store, hash-verified

4590
4591 @staticmethod
4592 def _toWire(p: Edge | Wire) -> Wire:
4593
4594 if isinstance(p, Edge):
4595 rv = Wire.assembleEdges([p,])
4596 else:
4597 rv = p
4598
4599 return rv
4600
4601 @mypyclassmethod
4602 @multimethod

Callers 2

_setSweepModeMethod · 0.80
sweepMethod · 0.80

Calls 1

assembleEdgesMethod · 0.80

Tested by

no test coverage detected