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

Method close

cadquery/occ_impl/shapes.py:2569–2580  ·  view source on GitHub ↗

Close an Edge

(self)

Source from the content-addressed store, hash-verified

2567 return BRepAdaptor_Curve(self.wrapped)
2568
2569 def close(self) -> Edge | Wire:
2570 """
2571 Close an Edge
2572 """
2573 rv: Wire | Edge
2574
2575 if not self.IsClosed():
2576 rv = Wire.assembleEdges((self,)).close()
2577 else:
2578 rv = self
2579
2580 return rv
2581
2582 def arcCenter(self) -> Vector:
2583 """

Callers 1

exportSVGFunction · 0.45

Calls 2

IsClosedMethod · 0.80
assembleEdgesMethod · 0.80

Tested by

no test coverage detected