gumyr / cq_warehouse

A cadquery parametric part collection
Apache License 2.0
112 stars 24 forks source link

Face.embossToShape() add tolerance #19

Closed gumyr closed 2 years ago

gumyr commented 2 years ago

add a tolerance parameter that gets passed to the wire/edge emboss method.

gumyr commented 2 years ago

Complete in the dev branch.

def _face_embossToShape(
    self,
    targetObject: "Shape",
    surfacePoint: "VectorLike",
    surfaceXDirection: "VectorLike",
    internalFacePoints: list["Vector"] = None,
    tolerance: float = 0.01,
) -> "Face":