Assembly 4 workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 33
- Joined: Wed Jun 12, 2019 10:41 am
Re: Assembly 4 workbench
Hello,
i have a question.
i assembled some parts with ASM4, this works by the way great (after a few try an errors)
But then i have to make a new cut in one of the assembly parts and the hole assembly fall apart.
The LCS References have changed. I have manually changed again the LCS position and the assembly refreshed correct.
Have i done something wrong? or is this a problem because of topological naming?
i think the idea behind asm4 is great Screws for example are very quick installed (quicker than in Solid Edge or Catia).
When i changed a feature that is in the part for example a extrusion length the assembly update correctly but when i make a new feature (Hole or somethink) the LCS changes.
Thanks for the help
i have a question.
i assembled some parts with ASM4, this works by the way great (after a few try an errors)
But then i have to make a new cut in one of the assembly parts and the hole assembly fall apart.
The LCS References have changed. I have manually changed again the LCS position and the assembly refreshed correct.
Have i done something wrong? or is this a problem because of topological naming?
i think the idea behind asm4 is great Screws for example are very quick installed (quicker than in Solid Edge or Catia).
When i changed a feature that is in the part for example a extrusion length the assembly update correctly but when i make a new feature (Hole or somethink) the LCS changes.
Thanks for the help
-
- Posts: 52
- Joined: Sat Nov 30, 2019 7:45 am
Re: Assembly 4 workbench
That's the infamous FreeCad topological naming issue. The names of faces/edges/vertices can change randomly when making changes to objects, and if you connected other objects to those faces/edges/vertices... you're out of luck. (which makes the second tutorial maybe a bit misleading. using its methods will quickly lead to issues with topological naming)HelloWorldXD wrote: ↑Thu Feb 20, 2020 11:44 am Hello,
i have a question.
i assembled some parts with ASM4, this works by the way great (after a few try an errors)
But then i have to make a new cut in one of the assembly parts and the hole assembly fall apart.
The LCS References have changed. I have manually changed again the LCS position and the assembly refreshed correct.
Have i done something wrong? or is this a problem because of topological naming?
i think the idea behind asm4 is great Screws for example are very quick installed (quicker than in Solid Edge or Catia).
When i changed a feature that is in the part for example a extrusion length the assembly update correctly but when i make a new feature (Hole or somethink) the LCS changes.
Thanks for the help
For now the main advice seems to be to as little as possible connect directly to features of the models.
Let's hope FreeCad will soon get a fix for this issue, since it affects far more than just Assembly4
Re: Assembly 4 workbench
With your hints I was able to get the animation to work:
I had to use some intermediate variables for the calculations to keep the angle & displacement expressions manageable.
Is there a way to make expression a bit more readable? i.e. indentetion
All the files and documentation is in this gitrepo: https://github.com/9R/angleBarLamp
Thanks for the help & keep up the great work
Just as a sidenote: It would be a great feature in a future assembly4 version, if you could add a slider to the animation dialog to quickly jump to different steps within the animation range.
Last edited by neunR on Thu Feb 20, 2020 1:13 pm, edited 1 time in total.
- dubstar-04
- Posts: 698
- Joined: Mon Mar 04, 2013 8:41 pm
- Location: Chester, UK
- Contact:
Re: Assembly 4 workbench
That is amazing!
Last edited by dubstar-04 on Thu Feb 20, 2020 3:01 pm, edited 1 time in total.
Re: Assembly 4 workbench
Do you consider adding the possibility to animate the assembly with more than one variable ?
Find your user.cfg and system.cfg files : Macro_findConfigFiles
Imperial system makes no sense, go metric ! ! !
Imperial system makes no sense, go metric ! ! !
Re: Assembly 4 workbench
Well done.
Thanks for sharing your file. I appreciate your use of nested conditional statements!
This is an excellent example of using Assembly4 for bottom-up assembly, not requiring a master sketch.
Could you add some detail about how you went about your modelling and assembly process, especially how you attached the LCS's?
"It is a poor workman who blames his tools..."
Re: Assembly 4 workbench
Yes.HelloWorldXD wrote: ↑Thu Feb 20, 2020 11:44 am The LCS References have changed. Have i done something wrong? ....or is this a problem because of topological naming?
One preferred method is to use a master sketch of the assembly.
Create LCS's in Model and attach only to the mastersketch edges or vertices. Then you can attach the Part LCS to
the Model LCS. Make sure that the Part LCS is attached only to origin planes. This will allow you to change features in the Parts without affecting the assembly.
However, if you change or add any master sketch geometry (edges or vertices) you will likely run into the same topological naming problem. You should be able to change master sketch dimensional constraints without a problem, i.e. animate the mastersketch.
"It is a poor workman who blames his tools..."
Re: Assembly 4 workbench
I think an explanation of best practices on how to use master sketches would be very useful. Would you have time to write something about that ?ppemawm wrote: ↑Thu Feb 20, 2020 3:38 pmOne preferred method is to use a master sketch of the assembly.HelloWorldXD wrote: ↑Thu Feb 20, 2020 11:44 am The LCS References have changed. Have i done something wrong? ....or is this a problem because of topological naming?
-
- Posts: 52
- Joined: Sat Nov 30, 2019 7:45 am
Re: Assembly 4 workbench
I'm wondering how true this is. When playing around with Assembly4, i created a simple sketch that simulated steering (basically a rectangle with 2 lines sticking out of it resembling he wheel axles). When animating that, i already ran into the topological naming issue >_<. So i'm afraid even with simple sketches it can quickly go wrong when animating :s...
Topological naming is really a huge achilles' heel for FreeCad atm .
Re: Assembly 4 workbench
True indeed.racemaniac wrote: ↑Thu Feb 20, 2020 3:51 pm ppemawm wrote: ↑
Thu Feb 20, 2020 11:38 am
You should be able to change master sketch dimensional constraints without a problem, i.e. animate the mastersketch.
I'm wondering how true this is.
Please see numerous examples in this Assembly and Users Showcase Forums, such as:
https://forum.freecadweb.org/viewtopic. ... 20#p361030 and
https://forum.freecadweb.org/viewtopic. ... 71#p362653
If you can share your file I would be interested to see what problems you are having with this approach.
"It is a poor workman who blames his tools..."