From c8613b5f1847af087f607fff0fa715d4bba7d0dd Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Mon, 17 Jun 2024 15:37:23 -0700 Subject: [PATCH] feat: Use a more complicated primitive --- nhf/primitive.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/nhf/primitive.py b/nhf/primitive.py index ac9209c..35e1565 100644 --- a/nhf/primitive.py +++ b/nhf/primitive.py @@ -1,4 +1,12 @@ -import cadquery +import cadquery as Cq def mystery(): - return cadquery.Workplane().box(10, 5, 5) + return ( + Cq.Workplane("XY") + .box(10, 5, 5) + .faces(">Z") + .workplane() + .hole(1) + .edges("|Z") + .fillet(2) + )