Open martinproks opened 8 months ago
Your comments are very sound in general.
I would confirm that the length tolerance and roughness are not that useful in the design stage. In fact, I don’t know a single program that allow to set these parameters in their thread UI. They are always manually added in drawings. In CAM, it must be the same but someone more experienced like @sliptonic may be able to answer.
I beg to differ about the pitch. It is absolutely necessary. Non coarse threads are required to show the thread length. For example, “M8” alone always mean 1.25 mm pitch. For fine threads or custom pitches (say 0.5 mm), the dimension in the drawing must be “M8×0.5”. Imperial threads (UNC, UNF, etc.) always have the value in the dimension. Note that the pitch of imperial threads is defined indirectly using the number of threads per inch (TPI).
Two new parameters could be useful:
The impact of these would be limited to the 3D model. They would need #9 to be fixed. They are certainly out of scope of the current work.
For the threads length, it should be something similar to pads and pockets: dimension, up to something, through. You could argue that there should also be a parameter for the starting point (in case the threads doesn’t start at the attachment edge—this is a use case I had at my job recently for hydraulic fittings).
Also there are special threads types that are basically identical to normal ones but there is a slight fillet in the thread groove. They look identical in 3D and drawings, except the J added to the designation: “MJ” instead of “M”, “UNJF” instead of “UNF” and so on.
Hi,
There are 4 groups of prolems I think:
Thread tolerance, length tolerance and roughness. This parameters are not necessary to fill. It could be empty. But if the user fill it at design phase, it could be benefit to TexDraw and CAM. But this is at edge of PMI approach... Yeas, it could be great if someone from CAM world tell if it could be benefit for it or not.
"Beg for pitch differ". I do not catch what exactly do you means for implementation. Try version from (edit) yesterday, there are Coarse and Fine metric threads implemented. The pitch parameter is decimal value in the metric thread meaning - pitch per one turn. I'm looking to US threads at https://en.wikipedia.org/wiki/Unified_Thread_Standard (english version) and they are using different terminology from Metric world. 'Dmaj', 'd' as TPI, but pitch is pitch or 'p'. May be it could be good idea to add parameter 'TPI'. This parameter could be calculated from pitch for metric threads. W or UN threads could have TPI value exact and pitch calculated from it... Is this what did you mean?
a. Automatic chamfer and undercut. This is more related to hole/rod real geometry, not to cosmetic thread I think.
b. Similar if the thread is not starting at edge of hole/rod, but in some depth - as you mentioned for hydraulics. Examples: http://www.hydraulicsdirect.com/v/vspfiles/assets/images/drawing_JIC-37-Flare.jpg https://summit-hydraulics.com/wp-content/uploads/2017/05/HM4-Left-800x800.jpg Again, I think the hole profile (or rod profile) should be modeled and just the thread itself should be cosmetic/symbolic/fake. See attachment here - just picture from hand...
Special thread types - it will be just another group of threads I think...
By the way, I can’t make the add-on work using the latest weekly version of FreeCAD (from April 9) and your code at 3805fa650fbbd6e143b9206a1bbfce3a85d791d6. Here is what the report view say:
Same result whatever I try (Part objects, Part Design objects). Your examples load fine though.
Hi,
First thanks to report problem in weekly builds. It is fixed now in today's pull, You can test it.
I understand your point about UI/UX. This is something that can be figured out later once the features are there. The FreeCAD Design Working Group (DWG) will be there to guide you. Once the PartDesign implementation, translation into drawings, and issue #9 are figured out, I will start working on it with the DWG because at this time your code could be viable for a pull request into main FreeCAD.
I need to open discussion about parameters on the CosmeticThread3D in FreeCAD. These parameters make interface for other modules as TechDraw or CNCpath. The parameters are source of data and changes of the parameters in a future could have impacts to the modules. It is good to set the parameters as good as possible now at the beginning.
There are 4 types of parameters at Cosmetic thread
Internal thread:
External thread, similar as for internal:
These parameters are for metric threads. I do not know terminology for whitworth, US threads, trapezoidal threads, pipe threads (G), ... Are these parameters usable for them too?