MCPcopy
hub / github.com/CadQuery/cadquery / testCutBlind

Method testCutBlind

tests/test_cadquery.py:5024–5029  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5022 w1.cutEach(lambda loc: c.located(loc))
5023
5024 def testCutBlind(self):
5025 # cutBlind is already tested in several of the complicated tests, so this method is short.
5026 # test ValueError on no solid found
5027 w0 = Workplane().hLine(1).vLine(1).close()
5028 with raises(ValueError):
5029 w0.cutBlind(1)
5030
5031 def testPopPending(self):
5032 # test pending edges

Callers

nothing calls this directly

Calls 5

WorkplaneClass · 0.85
vLineMethod · 0.80
hLineMethod · 0.80
cutBlindMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected