[Bf-extensions-cvs] [df876a0e] master: Fixed bug with inverted normals for Pan head and Allen Bits
Aaron Keith
noreply at git.blender.org
Mon Apr 13 06:01:10 CEST 2020
Commit: df876a0e69f7f812eb3818aec3050f7ec1815986
Author: Aaron Keith
Date: Mon Apr 13 16:00:58 2020 +1200
Branches: master
https://developer.blender.org/rBAdf876a0e69f7f812eb3818aec3050f7ec1815986
Fixed bug with inverted normals for Pan head and Allen Bits
===================================================================
M add_mesh_BoltFactory/createMesh.py
===================================================================
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
More information about the Bf-extensions-cvs
mailing list