WIP: Fix to ensure consistent bolt sizes regardless of the user's unit scale preference. #16

Draft
Ado wants to merge 5 commits from Ado/add_mesh_BoltFactory:scaling_fix into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 2fa0e0e551 - Show all commits

View File

@ -174,7 +174,7 @@ class add_mesh_bolt(Operator, AddObjectHelper):
bf_12_Point_Head_Flat_Distance: FloatProperty(
attr='bf_12_Point_Head_Flat_Distance',
name='Flat Dist (mm)', default=3.0,
min=0.001, soft_min=0, # limit to 0.001*createMesh.GLOBAL_SCALE to avoid calculation error
min=0.001, soft_min=0, # limit to 0.001 to avoid calculation error
Ado marked this conversation as resolved Outdated

"createMesh.GLOBAL_SCALE" not needed in the comment.

"createMesh.GLOBAL_SCALE" not needed in the comment.
max=MAX_INPUT_NUMBER,
description='Flat Distance of the 12 Point Head',
unit='NONE',