Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ test_export
Function
test_export
tests/test_sketch.py:830–836 ·
view source on GitHub ↗
(tmpdir)
Source
from the content-addressed store, hash-verified
828
829
830
def
test_export(tmpdir):
831
832
with
chdir(tmpdir):
833
s1 = Sketch().rect(1, 1).export(
"sketch.dxf"
)
834
s2 = Sketch().importDXF(
"sketch.dxf"
)
835
836
assert (s1 - s2).val().Area() == approx(0)
837
838
839
@fixture
Callers
nothing calls this directly
Calls
6
Sketch
Class · 0.90
importDXF
Method · 0.80
export
Method · 0.45
rect
Method · 0.45
Area
Method · 0.45
val
Method · 0.45
Tested by
no test coverage detected