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

Method testQuickStartXZ

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

Source from the content-addressed store, hash-verified

2759 self.saveModel(s)
2760
2761 def testQuickStartXZ(self):
2762 s = (
2763 Workplane(Plane.XZ())
2764 .box(2, 4, 0.5)
2765 .faces(">Y")
2766 .workplane()
2767 .rect(1.5, 3.5, forConstruction=True)
2768 .vertices()
2769 .cskHole(0.125, 0.25, 82, depth=None)
2770 )
2771 self.assertEqual(1, s.solids().size())
2772 self.assertEqual(14, s.faces().size())
2773 self.saveModel(s)
2774
2775 def testDoubleTwistedLoft(self):
2776 s = (

Callers

nothing calls this directly

Calls 11

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

Tested by

no test coverage detected