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

Method makeCircle

cadquery/occ_impl/shapes.py:2985–2996  ·  view source on GitHub ↗

Makes a Circle centered at the provided point, having normal in the provided direction :param radius: floating point radius of the circle, must be > 0 :param center: vector representing the center of the circle :param normal: vector representing the direction of the

(cls, radius: float, center: VectorLike, normal: VectorLike)

Source from the content-addressed store, hash-verified

2983
2984 @classmethod
2985 def makeCircle(cls, radius: float, center: VectorLike, normal: VectorLike) -> Wire:
2986 """
2987 Makes a Circle centered at the provided point, having normal in the provided direction
2988
2989 :param radius: floating point radius of the circle, must be > 0
2990 :param center: vector representing the center of the circle
2991 :param normal: vector representing the direction of the plane the circle should lie in
2992 """
2993
2994 circle_edge = Edge.makeCircle(radius, center, normal)
2995 w = cls.assembleEdges([circle_edge])
2996 return w
2997
2998 @classmethod
2999 def makeEllipse(

Callers

nothing calls this directly

Calls 2

assembleEdgesMethod · 0.80
makeCircleMethod · 0.45

Tested by

no test coverage detected