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

Method test_extrude_face

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

Source from the content-addressed store, hash-verified

5846 assert (w1 / w2).solids().size() == 3
5847
5848 def test_extrude_face(self):
5849
5850 f = face(rect(1, 1))
5851 c = compound(f)
5852
5853 # face
5854 assert Workplane().add(f).extrude(1).val().Volume() == approx(1)
5855 # compound with face
5856 assert Workplane().add(c).extrude(1).val().Volume() == approx(1)
5857
5858 def test_workplane_iter(self):
5859

Callers

nothing calls this directly

Calls 8

faceFunction · 0.85
rectFunction · 0.85
compoundFunction · 0.85
WorkplaneClass · 0.85
VolumeMethod · 0.80
extrudeMethod · 0.80
valMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected