diff --git a/__init__.py b/__init__.py index 34098d0..6e4af2f 100644 --- a/__init__.py +++ b/__init__.py @@ -15,7 +15,7 @@ "name" : "blendmsh", "author" : "Senthur Raj", "description" : "", - "blender" : (2, 83, 0), + "blender" : (2, 80, 0), "version" : (1, 0, 0), "location" : "View3D", "warning" : "", diff --git a/preferences.py b/preferences.py index b763443..f0e0098 100644 --- a/preferences.py +++ b/preferences.py @@ -31,7 +31,6 @@ def execute(self, context): Pip.install('gmsh') import gmsh - bool_gmsh = True self.report({'INFO'}, 'Successfully installed Gmsh module.') except: self.report({'ERROR'}, 'Could not install Gmsh module, Kindly install it manually.') diff --git a/properties.py b/properties.py index 348d670..72eac4b 100644 --- a/properties.py +++ b/properties.py @@ -8,7 +8,7 @@ class BlendmshProperties(bpy.types.PropertyGroup): workspace_path : StringProperty( name="", description="Path for the results", - default='/home/holycow/Desktop/workspace', + default='/tmp/', subtype='DIR_PATH') cl_max : FloatProperty( @@ -48,16 +48,16 @@ class BlendmshProperties(bpy.types.PropertyGroup): items=[ ('0', 'auto', 'Automatic'), ('1', 'meshadapt', 'Meshadapt'), - ('2', 'del2d', 'Meshadapt'), - ('3', 'front2d', 'Meshadapt'), - ('4', 'delquad', 'Meshadapt'), - ('5', 'pack', 'Meshadapt'), - ('6', 'initial2d', 'Meshadapt'), - ('7', 'del3d', 'Meshadapt'), - ('8', 'front3d', 'Meshadapt'), - ('9', 'mmg3d', 'Meshadapt'), - ('10', 'hxt', 'Meshadapt'), - ('11', 'initial3d', 'Meshadapt')], + ('2', 'del2d', 'Delunay2D'), + ('3', 'front2d', 'Front2D'), + ('4', 'delquad', 'Delquad'), + ('5', 'pack', 'Pack'), + ('6', 'initial2d', 'Initial2D'), + ('7', 'del3d', 'Delunay3D'), + ('8', 'front3d', 'Front3D'), + ('9', 'mmg3d', 'MMG3D'), + ('10', 'hxt', 'HXT'), + ('11', 'initial3d', 'Initial3D')], default='0', description="Algorithm")