Assembly 4 workbench

Discussion about the development of the Assembly workbench.
Forum rules
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 workbench

Post by Zolko »

FreeCutter wrote: Sun Jul 03, 2022 10:50 am I just tested by opening my assemblies being put together with ASM4 versions older than V0.12 (test file enclosed)
And there are a couple of issues:
...
Is the issue due to my "old" files or could you please adjust the workbench?
thank-you for testing. You did do some weird things there, but I made a new v0.12.2 release that should fix them. Could you please update and check ?
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Assembly 4 workbench

Post by Kunda1 »

Thanks for the update Zolko :)
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
FreeCutter
Posts: 93
Joined: Mon Aug 26, 2019 5:52 pm
Location: Germany
Contact:

Re: Assembly 4 workbench

Post by FreeCutter »

Zolko wrote: Mon Jul 04, 2022 7:46 am
FreeCutter wrote: Sun Jul 03, 2022 10:50 am I just tested by opening my assemblies being put together with ASM4 versions older than V0.12 (test file enclosed)
And there are a couple of issues:
...
Is the issue due to my "old" files or could you please adjust the workbench?
thank-you for testing. You did do some weird things there, but I made a new v0.12.2 release that should fix them. Could you please update and check ?
Yes! Thanks a lot, just working fine again!

But: what are the weird things your are meaning? Is it about the subject as such or the way I'm using ASM4?
For the latter, I would of course be interested in your tips as "better practice"!!! :D
Please do not withhold your opinion!

Cheers!
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 workbench

Post by Zolko »

FreeCutter wrote: Tue Jul 05, 2022 4:54 am But: what are the weird things your are meaning?
in your file, you have the "Steering_asm" with name "Assembly" and of Type Assembly, and you also have a Part "SB_1a" with name "Model" of Type Assembly4Model. I don't know how you managed to have both of them in the same file.

So now, Asm4 looks first for a Std_Part called Model of type Assembly (which is the current implementation), if it doesn't find it then it looks for a Std_Part called Assembly of type Assembly (which was the previous case), and latest it looks for a Std_Part called Model, which was the very first Asm4 container. I hope this covers all cases.
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 workbench

Post by FreeCutter »

Zolko wrote: Tue Jul 05, 2022 9:45 am
FreeCutter wrote: Tue Jul 05, 2022 4:54 am But: what are the weird things your are meaning?
in your file, you have the "Steering_asm" with name "Assembly" and of Type Assembly, and you also have a Part "SB_1a" with name "Model" of Type Assembly4Model. I don't know how you managed to have both of them in the same file.
Uuups (!) ... I have never noticed that before and it happened without any intention. Thanks for checking and your explanations!
FreeCutter
Visit my GitHub profile

Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Assembly 4 workbench

Post by Vincent B »

I'm trying to make an animation of a gimbals.
Attaching the kernel on a cylinder works well but it's need 2 axis to move properly.
Is it possible to attach it on two axis with assembly4?
Attachments
Capture.JPG
Capture.JPG (40.05 KiB) Viewed 2855 times
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly 4 workbench

Post by Zolko »

Vincent B wrote: Mon Jul 18, 2022 7:07 pm Is it possible to attach it on two axis with assembly4?
yes, but you need to build it properly :

Cardan_Asm4.png
Cardan_Asm4.png (368.57 KiB) Viewed 2823 times
Attachments
asm_Cardan.FCStd
(95.52 KiB) Downloaded 52 times
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Assembly 4 workbench

Post by Vincent B »

Thanks a lot, after many hours, I eventually finished this joint. I made it with 2 deflection angles.
As this joint joint is not homokinetic, the output shaft have a slightly speed variation with the input.
Could be interesting to draw curves on a chart.
https://en.wikipedia.org/wiki/Universal_joint
phpBB [video]

phpBB [video]
Joe_Hildreth
Posts: 2
Joined: Thu Sep 08, 2022 5:35 pm

Re: Assembly 4 workbench

Post by Joe_Hildreth »

I am fairly new to FreeCAD but am experiencing an issue with Assembly 4 WB and Fasteners. When trying to inert a fastener into the model I get the following error.
12:26:43 Running the Python command 'Asm4_insertScrew' failed:
Traceback (most recent call last):
File "/home/joeh/.local/share/FreeCAD/Mod/Assembly4/./FastenersLib.py", line 145, in Activated
newFastener.Label = newFastener.Proxy.itemText

'FSScrewObject' object has no attribute 'itemText'
I am running FreeCAD version - FreeCAD_0.20-1-2022-08-20-conda-Linux-x86_64-py310.AppImage on Ubuntu 20.04.5 LTS
The version of Assembly4 is 0.12.3
The version of fasteners is 0.4.4

The work flow I am using is to select the model and make it active and click the fastener button. When I do, it throws the error.

While using FreeCAD 0.19 this does not happen. Is this a FreeCAD bug in the new release? Am I doing something worng? Perhaps workflow has changed.

Again, I am new so maybe the problem is just me but any advice or guidance would be greatly appreciated.

Regards,
Joe
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly 4 workbench

Post by Zolko »

Joe_Hildreth wrote: Thu Sep 08, 2022 5:48 pm

Code: Select all

12:26:43  Running the Python command 'Asm4_insertScrew' failed:
Traceback (most recent call last):
  File "/home/joeh/.local/share/FreeCAD/Mod/Assembly4/./FastenersLib.py", line 145, in Activated
    newFastener.Label = newFastener.Proxy.itemText

'FSScrewObject' object has no attribute 'itemText'
The version of fasteners is 0.4.4
yes, this issue has been reported, and it happend recently, probably due to a new version of fasteners.

Please update the Asm4 workbench to 0.12.4
try the Assembly4 workbench for FreCAD — tutorials here and here
Post Reply