Fasteners workbench based on screw-maker

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Fasteners workbench based on screw-maker

Post by Kunda1 »

Any volunteers to write a step-by-step section on how to add Fasteners to the workbench?
I opened a FR on github: https://github.com/shaise/FreeCAD_FastenersWB/issues/95
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
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Fasteners workbench based on screw-maker

Post by bambuko »

Kunda1 wrote: Wed Jun 23, 2021 10:42 am ...step-by-step section on how to add Fasteners to the workbench?...
It's not the adding in itself that is the biggest problem.
At least for existing types of thread?
I have managed some (where .csv where reasonably self-explanatory):
https://forum.freecadweb.org/viewtopic. ... 06#p485643

It is a guide to data on .csv (or the lack of it) for other threads (which I didn't have a clue as to what was what) that prevented me doing much more...
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
Evgeniy
Posts: 477
Joined: Thu Jul 15, 2021 6:10 pm

Re: Fasteners workbench based on screw-maker

Post by Evgeniy »

An real convenient tool.
Last edited by Evgeniy on Thu Aug 12, 2021 7:25 pm, edited 1 time in total.
User avatar
Evgeniy
Posts: 477
Joined: Thu Jul 15, 2021 6:10 pm

Re: Fasteners workbench based on screw-maker

Post by Evgeniy »

Shaise How do you think about the idea of one type of fastener = one *.csv file?
Remove all meta data from python code.
For easy create and import new fasteners.
Last edited by Evgeniy on Fri Aug 13, 2021 7:15 pm, edited 2 times in total.
ferdymercury
Posts: 27
Joined: Fri Apr 10, 2020 6:56 pm

Re: Fasteners workbench based on screw-maker

Post by ferdymercury »

In https://github.com/shaise/FreeCAD_FastenersWB/issues/67 I posted a FreeCAD file where you can create threads of custom pitches, just by editing the spreadsheet parameters.
User avatar
Roy_043
Veteran
Posts: 8550
Joined: Thu Dec 27, 2018 12:28 pm

Fasteners workbench Fasteners_ChamferHole hangs

Post by Roy_043 »

I have a situation where Fasteners_ChamferHole hangs:
  1. Open the attached file.
  2. Select Extrude001.
  3. Call the Fasteners_ChamferHole command.
  4. Click the top face of Extrude001 to select all holes.
  5. Result: FC hangs.
If you select Extrude instead things work fine.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of FreeCAD: 64-bit
Version: 0.20.25429 (Git)
Build type: Release
Branch: master
Hash: acce57a25d82b0408fa07b9452ed31c8a06c7a1b
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Dutch/Netherlands (nl_NL)
Attachments
Fasteners_ChamferHole_hangs.FCStd
(14.05 KiB) Downloaded 47 times
User avatar
Shalmeneser
Veteran
Posts: 9560
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Fasteners workbench based on screw-maker

Post by Shalmeneser »

Result: FC hangs.
I confirm :cry:

Fastener version : today

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.25311 (Git)
Build type: Release
Branch: master
Hash: c5524bb58a7126fa2242d6137eb82ee9d54e82d4
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: French/France (fr_FR)
You can select with boxes in the menu but not graphically.
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Fasteners workbench based on screw-maker

Post by carlopav »

Hello, following several topic of UI improvements, there is an ongoing effort to offer some more comfortable user experience for newbies joining FC.
In this context there will soon be the possibility to define some default preferences in the UI and save and distribute them (thanks to @chennes!).

Currently Fasteners workbench have the absolute record of the longest toolbar (see here on 4k display of user @Petrikas):
file.jpg
file.jpg (310.12 KiB) Viewed 2086 times


but luckly it also offer the possibility to split the buttons into several toolbars. Can we consider the option to make this choice the default?

cattura.JPG
cattura.JPG (45.64 KiB) Viewed 2086 times
follow my experiments on BIM modelling for architecture design
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Fasteners workbench based on screw-maker

Post by Kunda1 »

lol
<facepalm>
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
User avatar
alex_55
Posts: 63
Joined: Mon May 11, 2020 1:50 am

Re: Fasteners workbench based on screw-maker

Post by alex_55 »

carlopav wrote: Fri Aug 27, 2021 3:35 pm Hello, following several topic of UI improvements, there is an ongoing effort to offer some more comfortable user experience for newbies joining FC.
In this context there will soon be the possibility to define some default preferences in the UI and save and distribute them (thanks to @chennes!).
...
I can change the default really easily (just change a 0 to a 1), but it'll only affect new installations of the workbench. pull request: https://github.com/shaise/FreeCAD_FastenersWB/pull/98

Code: Select all

FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fasteners").SetInt("ScrewToolbarGroupMode",1)
This one-liner sets the group mode to "seperate toolbars". It can't be easily added to the workbench codebase, as we would have to check whether the user has changed the preference manually. But it can still be useful for a UI configuration macro, for example.
Post Reply