assembling assemblies

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: assembling assemblies

Post by easyw-fc »

paul18 wrote: well I believe you and it is the first time I meet such issue - Assembly2 is under ppa so let me having a look in a way to reinstall it and I'll give you a feedback
I'm sorry you are having some troubles, but probably it would be related to the update process and not to the assembly2 Mod itself
paul18 wrote: Thanks for your (great) work

Paul
I'm sorry you don't appreciate a volunteer work on this FC wb and a prompt assistance on this issue ...
:o

Maurice
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: assembling assemblies

Post by easyw-fc »

paul18 wrote: well I believe you and it is the first time I meet such issue - Assembly2 is under ppa so I've reinstalled it:
sudo apt-get clean
sudo apt-get install --reinstall freecad-extras-assembly2
sudo apt-get autoclean

but the issue still exists; I'll have a look on it another day

Thanks for your (great) work

Paul
still you have not read my posts... I asked you to try the github release... I don't know in which way ppa is maintained...

Anyway you can always use a previous version until someone else in ubuntu could investigate further...
...
I just don't add anything more on your comments...
BR
Maurice

EDIT
PS could please someone more friendly with ubuntu test this issue? thx
EDIT #2
PPS I tested removing the github assembly2 in ~/.FreeCAD/Mod and I installed assembly2 through the command @paul18 suggested and I cannot reproduce any issue...
(my installation was a clean installation because it was my first installation using ppa and the WB went in /usr/share/freecad/Mod/Assembly2)
so I still consider this an issue related to the installing procedure...

Maurice
paul18
Posts: 202
Joined: Sat Jul 19, 2014 7:44 pm
Location: France

Re: assembling assemblies

Post by paul18 »

easyw-fc wrote: I'm sorry you don't appreciate a volunteer work on this FC wb and a prompt assistance on this issue ...
:o

Maurice
I do not understand why you are thinking I do not appreciate your work :?: :?: it is completely the opposite and the goal has ever been to share feedbacks (especially issues)

Nota bene: thanks to ppa process, if a github package is updated, ubuntu does the same automatically - I was requested to validate Assembly2 package update when I switched one my laptop

Paul
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: assembling assemblies

Post by sgrogan »

easyw-fc wrote:still you have not read my posts... I asked you to try the github release... I don't know in which way ppa is maintained...
The community extras PPA is a bazarr repo mirror of the git repo. Every 24 hours the package is recreated if there is a change.
The current hash is

Code: Select all

     Revision ID: git-v1:8428539500345a852d5954642133b6fc04374cee
Update tooltip of mux assembly
built 19 hrs ago as of this post.
Trying to get the git hash into the PPA revision is a PITA. We've broken the FreeCAD PPA trying to implement this so it's avoided.
If you browse the PPA code this information can be found.
http://bazaar.launchpad.net/~freecad-co ... bly2/files
The community extras PPA should work the same as FreeCAD proper when it comes to the .pyc files. I'll investigate how this looks. There is a small difference how the .pyc files are handled in the git repo .gitignore but I don't know yet if this is significant.
"fight the good fight"
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: assembling assemblies

Post by easyw-fc »

sgrogan wrote:There is a small difference how the .pyc files are handled in the git repo .gitignore but I don't know yet if this is significant.
Hi @sgrogan
I tested better in my ubuntu in the VM and I can found the error;
this error is not present under windows (not in FC 0.16 nor in FC017 64b)
I'm going to investigate, but I'm not very familiar in linux and I don't see why the WB should behave different in the two OSes...
Any advice would be appreciate
thx
Maurice
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: assembling assemblies

Post by triplus »

When the ability to mux only selected objects instead of all of them in the document was introduced importing sub-assembly started to fail. As import logic uses the same functions to mux the imported geometry.

https://github.com/hamish2014/FreeCAD_a ... 2/pull/128
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: assembling assemblies

Post by r-frank »

Hello.

Triplus hast made a pull request to fix that issue and i have just merged it.
Please test to verify.

Thanks.
Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: assembling assemblies

Post by easyw-fc »

triplus wrote:When the ability to mux only selected objects instead of all of them in the document was introduced importing sub-assembly started to fail. As import logic uses the same functions to mux the imported geometry.

https://github.com/hamish2014/FreeCAD_a ... 2/pull/128
Hi @ triplus
thx for finding the solution! I'm also happy the prob was not in my code :)
Still it is strange that this issue is not present in windows...
r-frank wrote:Hello.

Triplus hast made a pull request to fix that issue and i have just merged it.
Please test to verify.

Thanks.
Roland
Hi Roland
I can confirm that in my ubuntu VM the error has gone with this patch :)
thx all the devs for support :)
Maurice
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: assembling assemblies

Post by sgrogan »

WOW :shock: You guys are fast :D
I manually triggered a build here: https://launchpad.net/~freecad-communit ... ubuntu/ppa
When complete you can manually force an update from the PPA. Should be fast because the pure python modules require no compiling.
I'm still cloning these wb's into my home folder on win and ubuntu, so for me it would be a fresh install. :geek:
"fight the good fight"
Post Reply