MCPcopy Index your code
hub / github.com/CadQuery/cadquery / testWedgeCombined

Method testWedgeCombined

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

Source from the content-addressed store, hash-verified

2719 self.assertEqual(20, s.vertices().size())
2720
2721 def testWedgeCombined(self):
2722 s = (
2723 Workplane("XY")
2724 .rect(4.0, 4.0, forConstruction=True)
2725 .vertices()
2726 .wedge(10, 10, 10, 5, 5, 5, 5, combine=True)
2727 )
2728 # self.saveModel(s)
2729 self.assertEqual(1, s.solids().size())
2730 self.assertEqual(12, s.faces().size())
2731 self.assertEqual(16, s.vertices().size())
2732
2733 def testQuickStartXY(self):
2734 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