[Solved] Help for using the Assembly 4 "Configurations" tool

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
FCuser2019
Posts: 125
Joined: Fri Sep 13, 2019 12:15 pm

[Solved] Help for using the Assembly 4 "Configurations" tool

Post by FCuser2019 »

Hello, this is the first time I have needed to use Asembly 4 "Configurations" tool to make an exploded view of a complex assembly. To understand how the tool works, I tried to use it with the simple assembly visible below:

0_Assembly.png
0_Assembly.png (128.31 KiB) Viewed 5421 times

I did the following steps:
1) I opened the "Configuration panel";
2) I pressed the "New" button;
3) in the window "Create a new assembly configuration" I wrote "default_cfg" in the field "Enter configuration name" and then I pressed OK;
4) I modified the Placement of Part_B by setting "Z Translation=+25.00mm" as visible in the following image:

4_Edit_placement.png
4_Edit_placement.png (132.29 KiB) Viewed 5421 times

5) I repeated steps 1),2),3) creating a new configuration called "exploded_cfg";
6) I opened the "Configuration panel", I selected in "Available configurations:" the configuration default_cfg, I pressed the "Apply" button but the configuration was not applied and the report view displays 5 messages "No data for object" as visible in the following image:

6_Apply_def_cfg.png
6_Apply_def_cfg.png (148.68 KiB) Viewed 5421 times

the spreadsheet "default_cfg" contains this data:
default_cfg.png
default_cfg.png (28.27 KiB) Viewed 5421 times

the spreadsheet "exploded_cfg" contains this data:
exploded_cfg.png
exploded_cfg.png (29.46 KiB) Viewed 5421 times

Where am I wrong in the above procedure?


My configuration is:

Assembly4 workbench (v0.11.5)

OS: Linux Mint 20.2 (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.26683 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0388fbc)
Hash: 0388fbc98d49d874fb341b9037a743bc691d501f
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: Italian/Italy (it_IT)

Thanks in advance for the help.
Last edited by FCuser2019 on Sat Feb 26, 2022 11:43 am, edited 1 time in total.
FCuser2019
Posts: 125
Joined: Fri Sep 13, 2019 12:15 pm

Re: Help for using the Assembly 4 "Configurations" tool

Post by FCuser2019 »

Here the files:
Attachments
Part_B.FCStd
(12.29 KiB) Downloaded 92 times
Part_A.FCStd
(11.81 KiB) Downloaded 86 times
Assembly.FCStd
(6.93 KiB) Downloaded 90 times
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Help for using the Assembly 4 "Configurations" tool

Post by Zolko »

FCuser2019 wrote: Mon Dec 20, 2021 2:06 pm Hello, this is the first time I have needed to use Asembly 4 "Configurations" tool to make an exploded view of a complex assembly.
This is not the intended workflow. Try the following: adjust your assembly to the state where you want it to be (offsets, visibility ...). When done, create a configuration. Then change the state of the assembly, and create a configuration: Now, you can recall each configuration state and it will apply the parts as they ere defined.

You can also edit the AttachmentOffsets of each part directly in the configuration spreadsheet. Please report if you have problems
try the Assembly4 workbench for FreCAD — tutorials here and here
FCuser2019
Posts: 125
Joined: Fri Sep 13, 2019 12:15 pm

Re: Help for using the Assembly 4 "Configurations" tool

Post by FCuser2019 »

Hello Zolko, thanks for your reply.
This is the first time I've tried to use the "Configurations" tool and maybe there is something fundamental I didn't understand because I seem to have followed the workflow you mentioned.

An important question: are the data in the rows of the Asm4::ConfigurationTable spreadsheets automatically generated by the "Configurations" tool when creating a new configuration or do I have to create them manually?

As you can see in the pictures in the first post, the "Configurations" tool creates Asm4::ConfigurationTable spreadsheets that are almost empty; is this normal?
FCuser2019
Posts: 125
Joined: Fri Sep 13, 2019 12:15 pm

Re: Help for using the Assembly 4 "Configurations" tool

Post by FCuser2019 »

I did another test starting with the same assembly as in the first post:

1) I hide Part_B by pressing the spacebar:
1.png
1.png (124.66 KiB) Viewed 5257 times

2) I created a new configuration table called "hide_Part_B_cfg":
2.png
2.png (130.42 KiB) Viewed 5257 times

3) the automatically created spreadsheet of the configuration table "hide_Part_B_cfg" is:
3.png
3.png (31.27 KiB) Viewed 5257 times

4) I made Part_B visible by pressing the spacebar;

5) I opened the "Configuration panel", selected in "Available configurations:" the configuration hide_Part_B_cfg, pressed the "Apply" button and Part_B was hidden but in the report view error messages are displayed:
5.png
5.png (184.82 KiB) Viewed 5257 times

I attach the new file Assembly.FCStd (the files Part_A.FCStd and Part_B.FCStd are the same as in the first post).
Attachments
Assembly.FCStd
(6.86 KiB) Downloaded 94 times
FCuser2019
Posts: 125
Joined: Fri Sep 13, 2019 12:15 pm

Re: Help for using the Assembly 4 "Configurations" tool

Post by FCuser2019 »

Hello Zolko, happy new year :)

Is there any news about the problems described above?
Alex76
Posts: 15
Joined: Tue Dec 12, 2017 8:32 am

Re: Help for using the Assembly 4 "Configurations" tool

Post by Alex76 »

Have the same problem in my assembly project, doesn't work and give same errors

Help us please
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Help for using the Assembly 4 "Configurations" tool

Post by Zolko »

FCuser2019 wrote: Mon Jan 10, 2022 10:53 pm Is there any news about the problems described above?
I didn't code that function, and I don't know what happened, but I'm looking into it.
try the Assembly4 workbench for FreCAD — tutorials here and here
Alex76
Posts: 15
Joined: Tue Dec 12, 2017 8:32 am

Re: Help for using the Assembly 4 "Configurations" tool

Post by Alex76 »

Zolko wrote: Thu Feb 03, 2022 3:23 pm
FCuser2019 wrote: Mon Jan 10, 2022 10:53 pm Is there any news about the problems described above?
I didn't code that function, and I don't know what happened, but I'm looking into it.
Hello Zolko,
any news about? I'd like to use your idea, using two configurations for exploded chart...
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Help for using the Assembly 4 "Configurations" tool

Post by Zolko »

Alex76 wrote: Tue Feb 08, 2022 8:34 am any news about? I'd like to use your idea, using two configurations for exploded chart...
I've released a new version (0.11.9) that fixes this I think. Could-you please update and test ?
try the Assembly4 workbench for FreCAD — tutorials here and here
Post Reply