Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
m.cavallerin
Posts: 115
Joined: Wed May 30, 2018 6:59 pm

Re: Another approach to assembly solver (A2plus)

Post by m.cavallerin »

* pick the made constraint in tree-view: able to view associated parts by clicking magnifying lens (transparency of 80% applies then anyway) & NO toggleTransparency icon available
Yes I do confirm
* none picked: toggleTransparency works
Yes I do confirm

As for an update I had to reboot the system and now all it seems working correctly, I can quit the command without any other steps.
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Post by kbwbe »

manuelkrause wrote: Thu Mar 14, 2019 7:52 pm My only idea for the transparency artefacts is, that we somewhere don't make use of the new transparency-switch actualization workarounds, @kbwbe had introduced recently. As they work fine in several cases, maybe we just missed one or two places to apply them as well?! Or, do we again have some "diffuseColor comes at last" issue somewhere? @kbwbe?
Hi Manuel,
on saturday, i will have some time and review the code again.
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
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

Good mornig,

Now i have collected test files in a ZIP and send it via eMail to Klaus. Also he can contact me when it helps on saturday...

@Manuel:
You can also contact me, when it helps.

BR
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

Hi,

More than one array comes not through:
Array_I.jpg
Array_I.jpg (360.49 KiB) Viewed 1783 times
BR
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Post by kbwbe »

roerich_64 wrote: Fri Mar 15, 2019 6:03 am
Hi Walter,
i need the files of the roof.
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
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

kbwbe wrote: Fri Mar 15, 2019 7:42 am
roerich_64 wrote: Fri Mar 15, 2019 6:03 am
Hi Walter,
i need the files of the roof.
sended.
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Post by manuelkrause »

kbwbe wrote: Thu Mar 14, 2019 8:44 pm
roerich_64 wrote: Fri Mar 15, 2019 4:45 am
Hi guys,
at the moment I'm not quite safe enough in understanding Klaus' workaround code parts in his reworked color handling. So my post related to the artefacts only reflects some early ideas. I hope to find into code, too, by saturday. You can freely contact me for any testing orders!

@Walter:
Would it be possible to also send your test-files ZIP to me, e.g. attached to a private message here? Then I could do some own testing here and maybe try some code change.

BR
Manuel
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

manuelkrause wrote: Fri Mar 15, 2019 2:56 pm
@Walter:
Would it be possible to also send your test-files ZIP to me, e.g. attached to a private message here? Then I could do some own testing here and maybe try some code change.

BR
Manuel

sended.
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Post by kbwbe »

roerich_64 wrote: Fri Mar 15, 2019 6:03 am More than one array comes not through:
Hi Walter,

i have done some investigations why one of your arrays is missing. The reason i have found is perhaps a little bit difficult to understand. I try to explain.

- "Array001" depends on "Array", as it is using some data of it. (IntervallY, NumberY)
- As "Array" is been used by "Array001", A2plus is not able to detect, that "Array" is a top level object of which the shape has to be imported.

Because of this "Array" is not imported and therefore missing within the assembly.

I reworked your Dach_Master.FCStd and introduced a spreadsheet. All calculation is done there. Both Arrays now take data from the new spreadsheet and they do not depend on each other anymore. Now it works.
.
Dach.png
Dach.png (247.66 KiB) Viewed 1627 times
.
I attach the files.

BR, Klaus
Attachments
Dach-assembly-KBWBE.FCStd
(29.39 KiB) Downloaded 46 times
Dach_Master-KBWBE.FCStd
(81.78 KiB) Downloaded 45 times
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
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

Hi Klaus,

thank you very much. That helps a lot :)

BR
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
Post Reply