Something that is new since March last year. If you don't have anything, no problem. (I am asking around to get the release notes ready.)
Fasteners workbench based on screw-maker
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Fasteners workbench based on screw-maker
Here are all the main changes since march 2021:
* Added DIN6912 screw.
* Add Package.xml and Code cleanup
* Change default Toolbar buttons grouping mode
* Add NFE27-619 countersunk washer
* Add left handed threads
* Improve fastener naming
Re: Fasteners workbench based on screw-maker
Hello again, Shai. I see that you and the rest of the Developers are busy with a major release deployment, so I just wanted to drop a note here to let you and anyone else interested know, that I've completed development of ThreadMaker Thread Shaft Macro. So whenever you get some more free "FreeCAD time", I'd be grateful if you could give this a review. Same goes for anyone else interested.
This macro fully implements/automates ISO 261 Metric Thread Standard, while preserving Custom Mode for free-hand dimensioning of any thread based on the ISO 68-1M Thread Profile Standard. I plan to have the Thread Insert Macro (internal thread counterpart) finished in a couple of weeks.
Thanks!
May whatever Higher Power you believe in bless the Ukrainians. They are a decent people who never hurt anybody.
Re: Fasteners workbench based on screw-maker
Awesome. That's a cool compliment coming from a seasoned FC Developer. I would also welcome any tips or improvements you might suggest.
When it came to making this table-driven, I had trouble finding where Fasteners was getting pitch lists for each size, so eventually I decided to skip the external table altogether. ISO261 gives formulas for tolerances; and so only the Pitch-Diameter table was needed; and that was small enough to exist as a class constant for now.
The convenience macros: Enable/Disable threads, could be updated easily to include Fasteners objects, by adding this line of code to Enable Thread Macro (and it's logical opposite for Disable):
Are "Screw" and "ThreadedRod" the only object names used for FW objects with threads?
When it came to making this table-driven, I had trouble finding where Fasteners was getting pitch lists for each size, so eventually I decided to skip the external table altogether. ISO261 gives formulas for tolerances; and so only the Pitch-Diameter table was needed; and that was small enough to exist as a class constant for now.
The convenience macros: Enable/Disable threads, could be updated easily to include Fasteners objects, by adding this line of code to Enable Thread Macro (and it's logical opposite for Disable):
Code: Select all
for objThread in App.ActiveDocument.findObjects("Part::Feature", "(Screw|ThreadedRod)"):
if not objThread.thread: objThread.thread = True
May whatever Higher Power you believe in bless the Ukrainians. They are a decent people who never hurt anybody.
Re: Fasteners workbench based on screw-maker
x-posted FastenerWB issue: https://forum.freecadweb.org/viewtopic. ... 10&t=69321
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Fasteners workbench based on screw-maker
Actually an issue with object handling in the Render WB. Fastener Proxy objects set a type parameters to the type of screw (e.g. 'ISO7379).Kunda1 wrote: ↑Fri Jun 10, 2022 3:29 pm x-posted FastenerWB issue: https://forum.freecadweb.org/viewtopic. ... 10&t=69321
The render WB expects that attribute to not exist, which is not good practice IMO
fix here:https://github.com/FreeCAD/FreeCAD-render/pull/193
Re: Fasteners workbench based on screw-maker
I just posted in Macros: ThreadMaker final release. https://forum.freecadweb.org/viewtopic.php?f=22&t=69355 I think you'll like it for generating ISO 261 Metric threads, or Custom free-hand dimensions.
Umm... I just completed this 240+ hour dev. project which relies heavily on having it's Type set to a value which the code uses in it's view provider and creation dialog. I've not encountered anything in Python API documentation/wiki content about any other tools attemting to override it (which is not good design, IMO).
May whatever Higher Power you believe in bless the Ukrainians. They are a decent people who never hurt anybody.
-
- Posts: 3
- Joined: Tue Jul 19, 2022 10:18 pm
Re: Fasteners workbench based on screw-maker
Hi All, I just discovered the fastener workbench. What a fantastic resource. Of course there will always be some obscure item missing. I need one of those items. I'm using a self-clinching standoff. I found the one in the catalogue but unfortunately I need a blind one (no through hole at the clinched end). I wondered about just making a copy of the non-blind one and modifying it to suit my needs. Is it possible to explode/unlock the item to allow it to be edited? I'm using it as a part in Assembly4 workbench so not to worried about losing Fastener parameterisation.