diff --git a/object_print3d_utils/__init__.py b/object_print3d_utils/__init__.py index 3dbec458d80d5343b2ef78bba19e4ea0deecc74b..f638d598d88c774ef10633a38f7f6ec36ec9e6f2 100644 --- a/object_print3d_utils/__init__.py +++ b/object_print3d_utils/__init__.py @@ -76,7 +76,7 @@ class Print3DSettings(PropertyGroup): description="Minimum thickness", subtype='DISTANCE', default=0.001, # 1mm - min=0.0, max=1.0, + min=0.0, max=10.0, ) threshold_zero = FloatProperty( name="Threshold", @@ -89,7 +89,7 @@ class Print3DSettings(PropertyGroup): name="Angle", description="Limit for checking distorted faces", subtype='ANGLE', - default=math.radians(15.0), + default=math.radians(45.0), min=0.0, max=math.radians(180.0), ) angle_sharp = FloatProperty( diff --git a/object_print3d_utils/operators.py b/object_print3d_utils/operators.py index 382eb135552472d25b71b44b6b1fcf0773de7bea..76d2dc6e44504cbc3fdd70612b5897e0d12e3168 100644 --- a/object_print3d_utils/operators.py +++ b/object_print3d_utils/operators.py @@ -256,7 +256,7 @@ class Print3DCheckSharp(Operator): bm.normal_update() edges_sharp = [ele.index for ele in bm.edges - if ele.is_manifold and ele.calc_face_angle() > angle_sharp] + if ele.is_manifold and ele.calc_face_angle_signed() > angle_sharp] info.append(("Sharp Edge: %d" % len(edges_sharp), (bmesh.types.BMEdge, edges_sharp))) @@ -482,8 +482,8 @@ class Print3DSelectReport(Operator): # possible arrays are out of sync self.report({'WARNING'}, "Report is out of date, re-run check") - # Perhaps this is annoying? but also handy! - bpy.ops.view3d.view_selected(use_all_regions=False) + # cool, but in fact annoying + #~ bpy.ops.view3d.view_selected(use_all_regions=False) return {'FINISHED'}