Exploding with Assembly4

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
wtech2000
Posts: 1
Joined: Sun Aug 02, 2020 2:28 pm

Exploding with Assembly4

Post by wtech2000 »

I made a gearbox and I wanted to explode the parts. I tried the Exploded Assembly Workbench, but it didn't seem to work. I eventually found Assembly4's menu item Assembly > Release from Attachment and then manually Transformed the parts away from each other. It works fine for me, but I was curious if there's a better way to do this. Maybe stop Assembly4 from re-solving the assembly temporarily so I don't have to release everything before I can transform it?

I'm using FreeCAD v0.19 rev 22039.
gearbox exploded.PNG
gearbox exploded.PNG (171.52 KiB) Viewed 5037 times
User avatar
openfablab
Posts: 62
Joined: Wed Nov 02, 2016 4:42 pm
Contact:

Re: Exploding with Assembly4

Post by openfablab »

I am also interested in answer.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Exploding with Assembly4

Post by Kunda1 »

Moved to Assembly subforum
Zolko wrote: pinged by pinger macro
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
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Exploding with Assembly4

Post by Zolko »

wtech2000 wrote: Sun Aug 02, 2020 2:58 pm I eventually found Assembly4's menu item Assembly > Release from Attachment and then manually Transformed the parts away from each other. It works fine for me, but I was curious if there's a better way to do this.
Nice find, well done. Currently there is nothing better, but of you look carefully you can see that for an Asm4 Model, there is a property Parameters > Configuaration with a drop-down selection: this was foreseen to cover this use-case, but is not yet implemented. I wanted to put in here not only various offsets, but also hide/visible options. The goal being to make assembly step-by-step instructions.

Unfortunately, I don't know how to store the necessary information, and also I don't have time to do this right now. If someone wants to step in ...

wtech2000 wrote: Sun Aug 02, 2020 2:58 pm Maybe stop Assembly4 from re-solving the assembly temporarily so I don't have to release everything before I can transform it?
Assembly4 uses FreeCAD's built-in ExpressionEngine to calculate the parts placements, and I don't think it's possible to temporarily deactivate them globally.
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
mfasano
Posts: 122
Joined: Wed Apr 11, 2018 12:31 pm

Re: Exploding with Assembly4

Post by mfasano »

wtech2000 wrote: Sun Aug 02, 2020 2:58 pm Maybe stop Assembly4 from re-solving the assembly temporarily so I don't have to release everything before I can transform it?
Zolko wrote: Thu Sep 10, 2020 9:35 am Assembly4 uses FreeCAD's built-in ExpressionEngine to calculate the parts placements, and I don't think it's possible to temporarily deactivate them globally.
I had asked about this in the Assembly4 thread. I found if you change the placement and do an Gui.updataGui(), it will update the viewscreen with the parts placement but not do a recompute that would apply expressions. Do a recompute and they will go back to the assembled positions
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Exploding with Assembly4

Post by Zolko »

mfasano wrote: Thu Sep 10, 2020 12:47 pm I found if you change the placement and do an Gui.updataGui(), it will update the viewscreen with the parts placement but not do a recompute that would apply expressions. Do a recompute and they will go back to the assembled positions
May-be, but when you use the "Transform" tool, it doesn't give you the option: you can move an attached (linked) part as you want, but as soon as you click "OK" it snaps back to it's attached position.

Or do you mean something else ?
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
mfasano
Posts: 122
Joined: Wed Apr 11, 2018 12:31 pm

Re: Exploding with Assembly4

Post by mfasano »

Zolko wrote: Thu Sep 10, 2020 2:46 pm
mfasano wrote: Thu Sep 10, 2020 12:47 pm I found if you change the placement and do an Gui.updataGui(), it will update the viewscreen with the parts placement but not do a recompute that would apply expressions. Do a recompute and they will go back to the assembled positions
May-be, but when you use the "Transform" tool, it doesn't give you the option: you can move an attached (linked) part as you want, but as soon as you click "OK" it snaps back to it's attached position.

Or do you mean something else ?
I was changing the placements of the links given output from a multibody dynamics solver(MBDyn) for an animation from a python program; I was not using the transform tool.
project4
Posts: 237
Joined: Fri Jul 12, 2013 12:53 pm

Re: Exploding with Assembly4

Post by project4 »

Teaser for work in progress feature...
Original part:
Screenshot from 2020-09-27 18-42-27.png
Screenshot from 2020-09-27 18-42-27.png (17.12 KiB) Viewed 4473 times
Exploded:
Screenshot from 2020-09-27 18-42-15.png
Screenshot from 2020-09-27 18-42-15.png (27.02 KiB) Viewed 4473 times
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Exploding with Assembly4

Post by Zolko »

project4 wrote: Sun Sep 27, 2020 3:46 pm Teaser for work in progress feature... Original part:
nice ... hum, where did I see that part before ? :D
try the Assembly4 workbench for FreCAD — tutorials here and here
iyd2019
Posts: 108
Joined: Tue Oct 15, 2019 9:19 am

Re: Exploding with Assembly4

Post by iyd2019 »

project4 wrote: Sun Sep 27, 2020 3:46 pm Teaser for work in progress feature...
Hi there!

Any update on this?

Regards
Post Reply