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

Method testQuickStartXY

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

Source from the content-addressed store, hash-verified

2731 self.assertEqual(16, s.vertices().size())
2732
2733 def testQuickStartXY(self):
2734 s = (
2735 Workplane(Plane.XY())
2736 .box(2, 4, 0.5)
2737 .faces(">Z")
2738 .workplane()
2739 .rect(1.5, 3.5, forConstruction=True)
2740 .vertices()
2741 .cskHole(0.125, 0.25, 82, depth=None)
2742 )
2743 self.assertEqual(1, s.solids().size())
2744 self.assertEqual(14, s.faces().size())
2745 self.saveModel(s)
2746
2747 def testQuickStartYZ(self):
2748 s = (

Callers

nothing calls this directly

Calls 11

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

Tested by

no test coverage detected