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

Method testQuickStartYZ

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

Source from the content-addressed store, hash-verified

2745 self.saveModel(s)
2746
2747 def testQuickStartYZ(self):
2748 s = (
2749 Workplane(Plane.YZ())
2750 .box(2, 4, 0.5)
2751 .faces(">X")
2752 .workplane()
2753 .rect(1.5, 3.5, forConstruction=True)
2754 .vertices()
2755 .cskHole(0.125, 0.25, 82, depth=None)
2756 )
2757 self.assertEqual(1, s.solids().size())
2758 self.assertEqual(14, s.faces().size())
2759 self.saveModel(s)
2760
2761 def testQuickStartXZ(self):
2762 s = (

Callers

nothing calls this directly

Calls 11

saveModelMethod · 0.95
WorkplaneClass · 0.85
cskHoleMethod · 0.80
workplaneMethod · 0.80
boxMethod · 0.80
YZMethod · 0.80
verticesMethod · 0.45
rectMethod · 0.45
facesMethod · 0.45
sizeMethod · 0.45
solidsMethod · 0.45

Tested by

no test coverage detected