Needs
- make printable threads in blender
- connect objects in the way of bolts and nuts
- keep simple and generic
Add-on
Process
- Assuming $A$(bolt) connects to $B$(nut).
- Create a bolt using bolt factory.
- Cut/scale it to the expected size, as $bolt_1$(make sure the thread angle larger than $90^\circ$ to keep printable).
- Duplicate $bolt_1$ to $bolt_2$.
- Boolean $bolt_1$ to $A$ at expected position in union mode.
- Soldify $bolt_2$ using $\text{offset}=1.0$ and $\text{thichkness} \in0.1 \pm 0.05\text{ cm}$ to meet the print tolerance.
- Optionally, reverse $bolt_2$ along the axial direction for a small angle(e.g. $5^\circ$) to meet the print tolerance.
- Boolean $bolt_2$ from $B$ in difference mode.
- Print.
Example