A2plus: Can't update parts

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Ariser
Posts: 4
Joined: Mon Apr 29, 2019 4:49 pm

A2plus: Can't update parts

Post by Ariser »

FC-Version: 0.18.4
a2plus version: 0.4.47d

I have built several parts within a single file (A).
I set up another file (B) to make an assembly with a2plus. I imported the bodies from A into B using "import a single shape", then converted it to full a2plus format.

I can perform all operations I need, i.e. add constraints, add more parts, remove parts etc.

But when I try to edit a part using "Edit imported part" I get the message: "This object is no imported part."
When I open file A manually and edit some body and try to "Update parts..." to import the changes, nothing happens. The original seems to be disconnected somewhere.

As one can see, the "source Part" field is in the property is empty.

What did I miss or where do I have to search for the root cause?
Attachments
A2plusproblem.png
A2plusproblem.png (209.56 KiB) Viewed 1578 times
Badleuchte_A2.FCStd
(641.6 KiB) Downloaded 46 times
Badleuchte_Assy2.FCStd
(92.01 KiB) Downloaded 42 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: A2plus: Can't update parts

Post by Kunda1 »

Moved to Assembly subforum
OP, please install v0.19
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
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: A2plus: Can't update parts

Post by kbwbe »

Ariser wrote: Tue Dec 01, 2020 1:28 pm FC-Version: 0.18.4
a2plus version: 0.4.47d

I have built several parts within a single file (A).
I set up another file (B) to make an assembly with a2plus. I imported the bodies from A into B using "import a single shape", then converted it to full a2plus format.

I can perform all operations I need, i.e. add constraints, add more parts, remove parts etc.

But when I try to edit a part using "Edit imported part" I get the message: "This object is no imported part."
When I open file A manually and edit some body and try to "Update parts..." to import the changes, nothing happens. The original seems to be disconnected somewhere.
Hi,
you did a small mistake. After importing the parts from A to B, they are already complete A2plus parts. The additional conversion step is the mistake. After the conversion the imported parts loose their link to the originals.
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: A2plus: Can't update parts

Post by dan-miel »

Ariser wrote: Tue Dec 01, 2020 1:28 pm I have built several parts within a single file (A).
Here is another option. Instead of building all of your parts in one file build them in different files. In this instance I saved your parts to 3 different files then added them to an A2plus assembly file.
Dan
Attachments
New assm.zip
(806.5 KiB) Downloaded 49 times
Ariser
Posts: 4
Joined: Mon Apr 29, 2019 4:49 pm

Re: A2plus: Can't update parts

Post by Ariser »

kbwbe wrote: Tue Dec 01, 2020 3:21 pm
Hi,
you did a small mistake. After importing the parts from A to B, they are already complete A2plus parts. The additional conversion step is the mistake. After the conversion the imported parts loose their link to the originals.
You hit the nail on the head. Works like a charm now. Is there a reason, why this convert button is active when a part is already a2plus compatible due to import?
Ariser
Posts: 4
Joined: Mon Apr 29, 2019 4:49 pm

Re: A2plus: Can't update parts

Post by Ariser »

Kunda1 wrote: Tue Dec 01, 2020 1:29 pm Moved to Assembly subforum
OP, please install v0.19
Apart from having my problem (wrong usage of tools) solved, I'd really like to use 0.19 but my distro refuses to install it. Basically after loading tons of libraries I hit the wall when cmake demanded Qt Quick. There's no package containing Qt Quick in my distro, and I failed downloading and installing it from Qt. So I probably have to wait for some update from my distro.
Ariser
Posts: 4
Joined: Mon Apr 29, 2019 4:49 pm

Re: A2plus: Can't update parts

Post by Ariser »

dan-miel wrote: Tue Dec 01, 2020 4:53 pm
Ariser wrote: Tue Dec 01, 2020 1:28 pm I have built several parts within a single file (A).
Here is another option. Instead of building all of your parts in one file build them in different files. In this instance I saved your parts to 3 different files then added them to an A2plus assembly file.
Dan
Thanks Dan! Apart from the a2plus problem I understand why it is probably better to have a designated file for each part. It just causes less confusion.
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: A2plus: Can't update parts

Post by kbwbe »

Ariser wrote: Fri Dec 04, 2020 3:25 pm Apart from having my problem (wrong usage of tools) solved, I'd really like to use 0.19 but my distro refuses to install it. Basically after loading tons of libraries I hit the wall when cmake demanded Qt Quick. There's no package containing Qt Quick in my distro, and I failed downloading and installing it from Qt. So I probably have to wait for some update from my distro.
You can use the FreeCAD-0.19-AppImage instead. Most distros can handle them.

You get it here: https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre

Just dowload the file, make it execuable and start it. That's all...
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
Post Reply