+ ## To mesh "holes" in a solid or not. Default is to mesh.
+ # Parameter of GHS3D
+ def SetToMeshHoles(self, toMesh):
+ if self.params == 0: self.Parameters()
+ self.params.SetToMeshHoles(toMesh)
+
+ ## Set Optimization level:
+ # None_Optimization, Light_Optimization, Medium_Optimization, Strong_Optimization.
+ # Default is Medium_Optimization
+ # Parameter of GHS3D
+ def SetOptimizationLevel(self, level):
+ if self.params == 0: self.Parameters()
+ self.params.SetOptimizationLevel(level)
+
+ ## Maximal size of memory to be used by the algorithm (in Megabytes).
+ # Advanced parameter of GHS3D
+ def SetMaximumMemory(self, MB):
+ if self.params == 0: self.Parameters()
+ self.params.SetMaximumMemory(MB)
+
+ ## Initial size of memory to be used by the algorithm (in Megabytes) in
+ # automatic memory adjustment mode
+ # Advanced parameter of GHS3D
+ def SetInitialMemory(self, MB):
+ if self.params == 0: self.Parameters()
+ self.params.SetInitialMemory(MB)
+
+ ## Path to working directory
+ # Advanced parameter of GHS3D
+ def SetWorkingDirectory(self, path):
+ if self.params == 0: self.Parameters()
+ self.params.SetWorkingDirectory(path)
+
+ ## To keep working files or remove them. Log file remains in case of errors anyway
+ # Advanced parameter of GHS3D
+ def SetKeepFiles(self, toKeep):
+ if self.params == 0: self.Parameters()
+ self.params.SetKeepFiles(toKeep)
+