Skip to content

Commit

Permalink
Fixed few issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
senthurayyappan committed Jul 28, 2020
1 parent 8e9f71e commit 517256c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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" : "",
Expand Down
1 change: 0 additions & 1 deletion preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down
22 changes: 11 additions & 11 deletions properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 517256c

Please sign in to comment.