From 8e1179ce7d661828d9ce7886c978831e1bdca89e Mon Sep 17 00:00:00 2001 From: spo Date: Tue, 27 Oct 2015 10:33:58 +0300 Subject: [PATCH] Move boolean to model.features --- src/PythonAPI/model/__init__.py | 3 --- src/PythonAPI/model/features/__init__.py | 4 ++++ src/PythonAPI/model/{ => features}/boolean.py | 0 3 files changed, 4 insertions(+), 3 deletions(-) rename src/PythonAPI/model/{ => features}/boolean.py (100%) diff --git a/src/PythonAPI/model/__init__.py b/src/PythonAPI/model/__init__.py index 35eeabb27..f4fafd41b 100644 --- a/src/PythonAPI/model/__init__.py +++ b/src/PythonAPI/model/__init__.py @@ -11,9 +11,6 @@ from roots import * from part import Part as addPart from sketcher.sketch import addSketch from features import * -from boolean import Addition as addAddition -from boolean import Subtraction as addSubtraction -from boolean import Intersection as addIntersection # Custom exceptions diff --git a/src/PythonAPI/model/features/__init__.py b/src/PythonAPI/model/features/__init__.py index ffbd5955d..cbc6d4fa2 100644 --- a/src/PythonAPI/model/features/__init__.py +++ b/src/PythonAPI/model/features/__init__.py @@ -1,5 +1,9 @@ """Package for Features plugin for the Parametric Geometry API of the Modeler. """ +from boolean import Addition as addAddition +from boolean import Subtraction as addSubtraction +from boolean import Intersection as addIntersection + from extrusion import addExtrusion from revolution import addRevolution \ No newline at end of file diff --git a/src/PythonAPI/model/boolean.py b/src/PythonAPI/model/features/boolean.py similarity index 100% rename from src/PythonAPI/model/boolean.py rename to src/PythonAPI/model/features/boolean.py -- 2.39.2