From f2ae921768a10cf989b529e44fbc470e3fc2635f Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 30 May 2018 21:27:49 +0200 Subject: [PATCH] expose function to Python to get optimal bounding box --- src/Mod/Part/App/TopoShapePy.xml | 7 ++++++ src/Mod/Part/App/TopoShapePyImp.cpp | 38 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/src/Mod/Part/App/TopoShapePy.xml b/src/Mod/Part/App/TopoShapePy.xml index 47bdc8a497..f19b27e773 100644 --- a/src/Mod/Part/App/TopoShapePy.xml +++ b/src/Mod/Part/App/TopoShapePy.xml @@ -697,6 +697,13 @@ infos contains additional info on the solutions. It is a list of tuples: + + + + optimalBoundingBox(useTriangulation = True, useShapeTolerance = False) -> bound box + + +