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

Function test_dxf_shape

tests/test_exporters.py:970–977  ·  view source on GitHub ↗
(fname)

Source from the content-addressed store, hash-verified

968
969
970def test_dxf_shape(fname):
971
972 s = face(rect(10, 0.5))
973 exporters.exportDXF(s, fname)
974
975 s_imported = Sketch().importDXF(fname).val()
976
977 assert (s - s_imported).Volume() == 0
978
979
980def test_step_export_unit_default(tmpdir):

Callers

nothing calls this directly

Calls 6

faceFunction · 0.90
rectFunction · 0.90
SketchClass · 0.90
importDXFMethod · 0.80
VolumeMethod · 0.80
valMethod · 0.45

Tested by

no test coverage detected