Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please explain fields used in presets #57

Open
pitch-circle opened this issue Jul 16, 2023 · 1 comment
Open

Please explain fields used in presets #57

pitch-circle opened this issue Jul 16, 2023 · 1 comment

Comments

@pitch-circle
Copy link

In the ThreadProfileCmd.py file, at line 585, it uses 4.773. The comment at line 586 then quotes 4.891.

Later on at line 641, it says the default is for M6 x 1 internal. Yet at line 585, internal_or_external="External" is used.

I think the comments do not agree with the code.

At line 661, 4.773 and 4.917 are used. Why the difference between 4.891 and 4.917?

It would be helpful to add a comment at line 644 explicitly spelling out how the four items are used in the following lists.

If I wanted to add M7 x 0.5, for example, is it as simple as adding a single line after line 703 to the Python file?

Thanks.

@mwganson
Copy link
Owner

I must have changed the defaults and forgot to update the comments.

In those lines of data, the first number is the pitch, then you have minor diameters for the external and the internal threads. I don't remember exactly where I got the data from for these values. I think it was Machinery's Handbook. I might have averaged the minimum and maximum values. It has been a while since I put those in and the memory has faded. You can also use the online metric calculator in the Threadprofile menu.

['title', pitch, external_minor_diameter, internal_minor_diameter]

Opening that calculator I find that for a nominal diameter of 7 and a pitch of 0.5 for a custom nut the minimum minor diameter should be 6.479 and maximum minor diameter 6.619, so somewhere between those 2 values should work as minor diameter, depending on how tight a fit you want. That is for internal threads. For external the minor diameter should be between 6.264 and 6.436. Some trial and error might be needed if you are 3d printing the threads in order to get the desired fit.

You should be able to simply add a new line after line 703:

['M7 Custom Fine 0.5', 0.5, 6.35, 6.549],

Or you can simply enter the minor diameter and pitch manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants