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

Method testWedgePointList

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

Source from the content-addressed store, hash-verified

2707 self.assertTupleAlmostEquals(s0.val().toTuple(), s1.val().toTuple(), 3)
2708
2709 def testWedgePointList(self):
2710 s = (
2711 Workplane("XY")
2712 .rect(4.0, 4.0, forConstruction=True)
2713 .vertices()
2714 .wedge(10, 10, 10, 5, 5, 5, 5, combine=False)
2715 )
2716 # self.saveModel(s)
2717 self.assertEqual(4, s.solids().size())
2718 self.assertEqual(20, s.faces().size())
2719 self.assertEqual(20, s.vertices().size())
2720
2721 def testWedgeCombined(self):
2722 s = (

Callers

nothing calls this directly

Calls 7

WorkplaneClass · 0.85
wedgeMethod · 0.80
verticesMethod · 0.45
rectMethod · 0.45
sizeMethod · 0.45
solidsMethod · 0.45
facesMethod · 0.45

Tested by

no test coverage detected