Assembly 4 and Fasteners

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
rynn
Posts: 454
Joined: Tue Jul 31, 2018 7:00 am

Assembly 4 and Fasteners

Post by rynn »

Hello,

with the Fasteners Workbench, my procedure for fasteners is as follows:
  • Enter Fastener Workbench and enable "Match crew by outer thread diameter (pass hole)".
  • Select all hole edges
  • Create washers (correct diameter is determined automatically).
  • Select all washers (upper) hole edges
  • Create screws (correct diameter is determined automatically).
  • Select all screws and set appropriate length.
Unbenannt.gif
Unbenannt.gif (25.18 KiB) Viewed 3755 times
In Assembly 4 this does not work. the (screws are not positioned correctly on dependent parts). However, in Assembly 4 there is a custom Fasteners tool. With this, it works like this:
  • Create coordinate axes for all holes.
  • Select the Assembly 4 model and create a washer, setting the type and diameter in the dialog.
  • Place the washer. Select the body and the axis in the dialog.
  • Do this six times (you can't do more than one at a time).
  • Select the Assembly 4 model and create a screw, setting the screw type, diameter and length in the dialog.
  • Place the screw. Select the body and the axis in the dialog. Know how thick the washer is, because this value must be entered as z-offset.
  • Do this six times (several at once is not possible).
It takes me longer to do a single fastener in Assembly 4 than doing all in the Fasteners Workbench.

Can this be done better?
What one would actually like, would be: To these 6 holes, add ISO 14583 screws with ISO 7089 washers in correct diameter with 10mm length.

This is a duplicate from german forum https://forum.freecadweb.org/viewtopic. ... 13&t=59171
heron
Posts: 307
Joined: Mon Apr 20, 2020 5:32 pm

Re: Assembly 4 and Fasteners

Post by heron »

this topic has already been covered
https://forum.freecadweb.org/viewtopic. ... =fasteners
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly 4 and Fasteners

Post by Zolko »

rynn wrote: Sat Jun 05, 2021 4:16 pm It takes me longer to do a single fastener in Assembly 4 than doing all in the Fasteners Workbench.
the integration of the fasteners with Asm4 was done for convenience, you can use the true Fasteners WB if you prefer the workflow.

Can this be done better?
I'm sure it can. But there is a difference in placing 6 screws in 6 holes in a square part in a virgin document and doing it so in a complex assembly made by different methods, parts, sub-assemblies, sub-sub-assemblies, imoprted STEP parts, ... and that it works reliably in all occasions.
try the Assembly4 workbench for FreCAD — tutorials here and here
rynn
Posts: 454
Joined: Tue Jul 31, 2018 7:00 am

Re: Assembly 4 and Fasteners

Post by rynn »

Zolko wrote: Sun Jun 06, 2021 8:46 am
rynn wrote: Sat Jun 05, 2021 4:16 pm It takes me longer to do a single fastener in Assembly 4 than doing all in the Fasteners Workbench.
the integration of the fasteners with Asm4 was done for convenience, you can use the true Fasteners WB if you prefer the workflow.
This does not work. Fasteners are not positioned correctly on dependent parts, when created by the Fasteners workbench in an assembly.
Screenshot_20210606_111634.png
Screenshot_20210606_111634.png (49.88 KiB) Viewed 3665 times
The two washers above have been generated in Fasteners for the two selected holes. They are placed correctly for the original part but are not moved to the assembly-part position. It is also not possible to possion them by the Assembly 4 tool or move them into the model subtree. (I can move them into the parts subtree but this does not help.)
I can create the washer in fasteners without position, then position them with the Assembly 4 tool, but this does not really help.
User avatar
FreeCutter
Posts: 93
Joined: Mon Aug 26, 2019 5:52 pm
Location: Germany
Contact:

Re: Assembly 4 and Fasteners

Post by FreeCutter »

Hi there,

just discovered a siminlar issue in combination with the "true" fasteners workbench:
  • Putting together the assembly below by use of Assembly4 workbench (FCstd.-files enclosed)
  • Selecting a circular edge of one of the holes in the assembled model
  • In Fasteners workbench clicking on a screw
  • Error message in Report View:
    <Exception> PropertyLinkSub does not support external object
Expectation is to get a screw object placed in the selected hole (as usual with the Fasteners wb).

Is this an issue to be addressed to Assembly4 wb or to Fasteners wb?
Thanx in advance for any suggestion!

overview.png
overview.png (46.89 KiB) Viewed 3317 times

WB versions according to AddOn-Manager:
  • FreeCAD Assembly 4 workbench: Current version 0.9.16, 2021-05-03
  • FreeCAD Fasteners Workbench: V0.3.34 14 Apr 2021: Fix issue #93
FreeCAD version:

Code: Select all

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: German/Germany (de_DE)

Cheers!
FreeCutter
Attachments
FR_3a_asm4.FCStd
(50.07 KiB) Downloaded 65 times
asm_Fasteners_WB_with_Assembly4_asm4.FCStd
(20.31 KiB) Downloaded 66 times
FreeCutter
Visit my GitHub profile

Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly 4 and Fasteners

Post by Zolko »

FreeCutter wrote: Sun Jun 20, 2021 9:27 am

Code: Select all

<Exception> PropertyLinkSub does not support external object
Is this an issue to be addressed to Assembly4 wb or to Fasteners wb?
Fastener objects are not App::Link aware. And it's quite tricky to do for fasteners, so I don't know whether it's on their TODO-list. That's why there is the Hole_Axis workaround, which is working well but not as userfriendly.

Another workaround, doing it in the assembly, would be to create an App::Link-aware SubShapeBinder, and place the fastener on that SubShapeBinder.
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
FreeCutter
Posts: 93
Joined: Mon Aug 26, 2019 5:52 pm
Location: Germany
Contact:

Re: Assembly 4 and Fasteners

Post by FreeCutter »

Zolko wrote: Sun Jun 20, 2021 5:06 pm ...
Another workaround, doing it in the assembly, would be to create an App::Link-aware SubShapeBinder, and place the fastener on that SubShapeBinder.
Thanks a lot - I thought about maybe something similar: compiling a fastener assembly 4 model (e.g. parametric set of washer-screw-nut combination according to need) and inserting it into the sub-assembly. Bore holes of the parts assembled had been equipped with Hole_Axis or LCS in advance.

Doing so I got the Fasteners WB integrated in my work flow and can use it as usual.
However, adding a fastener element to this fastener assembly (e.g. adding a nut) I got a message in the report view saying:

Code: Select all

Part::FeaturePython / Nut: Links go out of the allowed scope
Importand (?) - seems to work anyway!

The new added fastener element (e.g. linked to the inner circular edge of the wahser) just needs to be moved to the model in the tree view in order to get a part of the fastener assembly and further up in the sub-assembly chain.

Fastener_assembly.png
Fastener_assembly.png (124.41 KiB) Viewed 3222 times
overview_2.png
overview_2.png (91.67 KiB) Viewed 3222 times

FreeCAD version:

Code: Select all

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: German/Germany (de_DE)
Attachments
Fastener_asm4.FCStd
(39.07 KiB) Downloaded 57 times
FR_3a_asm4.FCStd
(54.89 KiB) Downloaded 65 times
asm_Fasteners_asm_in_Assembly4_asm4.FCStd
(21.47 KiB) Downloaded 62 times
FreeCutter
Visit my GitHub profile

Be nice to others! Respect the FreeCAD code of conduct!
Post Reply