From 43f29e63f663fa9082a73dc13d67cab3ccb1c060 Mon Sep 17 00:00:00 2001 From: hyOzd Date: Mon, 3 Aug 2015 23:12:28 +0300 Subject: [PATCH] added `clean` parameter to `box()` method --- cadquery/CQ.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cadquery/CQ.py b/cadquery/CQ.py index 1f34368..1ca4c63 100644 --- a/cadquery/CQ.py +++ b/cadquery/CQ.py @@ -2243,7 +2243,7 @@ class Workplane(CQ): return Compound.makeCompound(toFuse) - def box(self, length, width, height, centered=(True, True, True), combine=True): + def box(self, length, width, height, centered=(True, True, True), combine=True, clean=True): """ Return a 3d box with specified dimensions for each object on the stack. @@ -2305,7 +2305,7 @@ class Workplane(CQ): return boxes else: #combine everything - return self.union(boxes) + return self.union(boxes, clean=clean) def sphere(self, radius, direct=(0, 0, 1), angle1=-90, angle2=90, angle3=360, centered=(True, True, True), combine=True):