Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Keith <aaroninusa@gmail.com>2020-04-13 07:00:58 +0300
committerAaron Keith <aaroninusa@gmail.com>2020-04-13 07:00:58 +0300
commitdf876a0e69f7f812eb3818aec3050f7ec1815986 (patch)
tree97c325e36ef4bf795989b6ff9763407057ba983b /add_mesh_BoltFactory
parent8d8831d9432198fa0534ec20e0953836c89f495d (diff)
Fixed bug with inverted normals for Pan head and Allen Bits
Diffstat (limited to 'add_mesh_BoltFactory')
-rw-r--r--add_mesh_BoltFactory/createMesh.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/add_mesh_BoltFactory/createMesh.py b/add_mesh_BoltFactory/createMesh.py
index a0fdeee3..ccdd4372 100644
--- a/add_mesh_BoltFactory/createMesh.py
+++ b/add_mesh_BoltFactory/createMesh.py
@@ -1881,7 +1881,8 @@ def Bolt_Mesh(props, context):
if Allen_Bit_Dia(props.bf_Allen_Bit_Flat_Distance) > Max_Pan_Bit_Dia(props.bf_Pan_Head_Dia):
ReSized_Allen_Bit_Flat_Distance = Allen_Bit_Dia_To_Flat(
Max_Pan_Bit_Dia(props.bf_Pan_Head_Dia)
- ) * 1.05
+ )
+ ReSized_Allen_Bit_Flat_Distance -= ReSized_Allen_Bit_Flat_Distance * 0.05 # It looks better if it is just a bit smaller
# print ("Resized Allen Bit Flat Distance to ",ReSized_Allen_Bit_Flat_Distance)
# Bit Mesh