Check if wires are coplanar

This commit is contained in:
adam-urbanczyk
2021-04-01 22:31:30 +02:00
committed by Marcus Boyd
parent 7546866159
commit 39e60f6e48
2 changed files with 13 additions and 0 deletions

View File

@ -3087,6 +3087,10 @@ class TestCadQuery(BaseTest):
delta.toTuple(), (0.0, 0.0, 2.0 * h), decimal_places
)
# check that non-conplanar extrusion raises
with self.assertRaises(ValueError):
Workplane().box(1, 1, 1).faces().circle(0.1).extrude(0.1)
def testTaperedExtrudeCutBlind(self):
h = 1.0