CadQuery:不对称倒角最小示例

asymmetric_chamfer.py
import cadquery as cq

obj = cq.Workplane("XY").box(1,1,3)
# Add chamfer to only the top face edges parallel to the X axis
obj = obj.faces("+Z").edges("|X").chamfer(0.8, 0.3)
obj

CadQuery 3D model of box with asymmetric chamfer on top face edges parallel to X axis


Check out similar posts by category: CadQuery, Python