From 628acc4038f425286e509aeedc6ee1fae92b9188 Mon Sep 17 00:00:00 2001 From: Adam Vogt Date: Tue, 5 Mar 2024 20:55:04 -0500 Subject: [PATCH] define a Workplane.export() (#1153) --- cadquery/occ_impl/exporters/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cadquery/occ_impl/exporters/__init__.py b/cadquery/occ_impl/exporters/__init__.py index e79da1a9f..d66716c16 100644 --- a/cadquery/occ_impl/exporters/__init__.py +++ b/cadquery/occ_impl/exporters/__init__.py @@ -132,6 +132,8 @@ def export( else: raise ValueError("Unknown export type") +Workplane.export = export + @deprecate() def toString(shape, exportType, tolerance=0.1, angularTolerance=0.05):