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

Method test_export

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

Source from the content-addressed store, hash-verified

5829 assert len(verts) == 0
5830
5831 def test_export(self):
5832
5833 with chdir(self.tmpdir):
5834 w = Workplane().box(1, 1, 1).export("box.brep")
5835
5836 assert (w - Shape.importBrep("box.brep")).val().Volume() == approx(0)
5837
5838 def test_bool_operators(self):
5839

Callers

nothing calls this directly

Calls 6

WorkplaneClass · 0.85
boxMethod · 0.80
VolumeMethod · 0.80
importBrepMethod · 0.80
exportMethod · 0.45
valMethod · 0.45

Tested by

no test coverage detected