Bolt Factory Addon: Incorrect countersink angle & head size in Create_CounterSink_Head() #105068
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105068
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.15.0-88-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: Mesa Intel(R) HD Graphics 4000 (IVB GT2) Intel 4.2 (Core Profile) Mesa 23.2.1 - kisak-mesa PPA
Blender Version
Broken: version: 3.0.1, branch: Unknown, commit date: Unknown Unknown, hash:
rBUnknown
Worked: If it did, not recently 6 years since the last edit in this function of, https://projects.blender.org/blender/blender-addons/src/branch/main/add_mesh_BoltFactory/createMesh.py
Addon Information
Name: BoltFactory (0, 4, 0)
Author: Aaron Keith
Short description of error
The countersink angle of the Head should be 90 degrees for smaller sizes then changing to 60 for bigger sizes >= M22.
Given the operator presets top out at M12, then 90 degrees is more appropriate.
More generally adding an adjustable parameter into the Countersink_Head would be the ideal solution.
I don't think my python skills are adequate to attempt that.
There is a small angle error introduced by the maths for the top radius.
RAD1 needs including in the line:
HEIGHT = tan(radians(60)) * (HEAD_RADIUS - SHANK_RADIUS)
Should be:
HEIGHT = tan(radians(45)) * (HEAD_RADIUS - SHANK_RADIUS) + RAD1
This will then preserve whatever angle is used to calculate the HEIGHT.
The default value in the M6 preset of bf_CounterSink_Head_Dia, in m6.py, causes an over-size output.
Should be 12.0 rather than 12.600000381469727
With 2. fixed this then causes the generated diameter to match the value entered.
Reference resources:
Example spec here with nice drawing: https://roymech.org/Useful_Tables/Screws/cap_screws.html notes the ISO specs as BS EN ISO 10642:1998. This supersedes BS 4168-8.
https://www.fasteners.eu/standards/ISO/10642/ has a table of the metric sizes which shows M22 and M24 being 60 degrees.
Exact steps for others to reproduce the error
In a new project, enable the Bolt Factory addon if not already setup.
Measured angle is 59 degrees with 12mm diameter.
Desired result would be 45 degrees and 12mm diameter.