cadquery-freecad-module/Examples/Ex020_Rounding_Corners_with_Fillets.py

10 lines
283 B
Python

# This example is meant to be used from within the CadQuery module of FreeCAD.
import cadquery
from Helpers import show
# Create a plate with 4 rounded corners in the Z-axis
result = cadquery.Workplane("XY").box(3, 3, 0.5).edges("|Z").fillet(0.125)
# Render the solid
show(result)