X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2FMacMesh%2FMacMesh%2FMacObject.py;h=9b1aadf9d0d9143ac7ef65e1f3a4e00dced853af;hb=264eeb2edd6977ccf2d2bd88cbb210353f63f7c9;hp=db3fb2b77298653590cac8ffacabecdb7bc9b8bf;hpb=a17b36970bc61da1d664453c615754997c925b18;p=modules%2Fsmesh.git diff --git a/src/Tools/MacMesh/MacMesh/MacObject.py b/src/Tools/MacMesh/MacMesh/MacObject.py index db3fb2b77..9b1aadf9d 100644 --- a/src/Tools/MacMesh/MacMesh/MacObject.py +++ b/src/Tools/MacMesh/MacMesh/MacObject.py @@ -241,7 +241,7 @@ class MacObject: import GenFunctions, Config from salome.geom import geomBuilder - geompy = geomBuilder.New( Config.theStudy ) + geompy = geomBuilder.New() if type(Criterion) is str : Crit = {'South' : lambda : 0, @@ -281,7 +281,7 @@ class MacObject: def PrincipleBoxes (self): """ This function returns all possible combination rectangular shape objects that can contain at least 3 of the principle vertices - constituting the MacObject. This is indispensible for the Non-ortho types and shall return a number of 24 possible combinations + constituting the MacObject. This is indispensable for the Non-ortho types and shall return a number of 24 possible combinations """ from itertools import combinations Boxes = []