Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Thu Mar 14, 2019 8:13 pm

m.cavallerin wrote:
Thu Mar 14, 2019 7:46 pm
This shouldn't sound offensive, I just don't get the point ATM... :-(
Don't worry

Yes I mean the red one from A2Plus
O.k. or not o.k., that's the question:
For me, these your mentioned steps are exclusive on here:
* 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
* none picked: toggleTransparency works

Please correct me if I did get something wrong. I just can't reproduce it on here for now.
m.cavallerin
Posts: 77
Joined: Wed May 30, 2018 6:59 pm

Re: Another approach to assembly solver (A2plus)

Postby m.cavallerin » Thu Mar 14, 2019 8:37 pm

* 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
Posts: 819
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Thu Mar 14, 2019 8:44 pm

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.21, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
User avatar
roerich_64
Posts: 569
Joined: Thu May 21, 2015 7:00 pm

Re: Another approach to assembly solver (A2plus)

Postby roerich_64 » Fri Mar 15, 2019 4:45 am

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
User avatar
roerich_64
Posts: 569
Joined: Thu May 21, 2015 7:00 pm

Re: Another approach to assembly solver (A2plus)

Postby roerich_64 » Fri Mar 15, 2019 6:03 am

Hi,

More than one array comes not through:
Array_I.jpg
Array_I.jpg (360.49 KiB) Viewed 306 times
BR
Walter
kbwbe
Posts: 819
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » 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.
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.21, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
User avatar
roerich_64
Posts: 569
Joined: Thu May 21, 2015 7:00 pm

Re: Another approach to assembly solver (A2plus)

Postby roerich_64 » Fri Mar 15, 2019 8:03 am

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.
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Fri Mar 15, 2019 2:56 pm

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
Posts: 569
Joined: Thu May 21, 2015 7:00 pm

Re: Another approach to assembly solver (A2plus)

Postby roerich_64 » Fri Mar 15, 2019 8:15 pm

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.
kbwbe
Posts: 819
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Sat Mar 16, 2019 10:32 am

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 150 times
.
I attach the files.

BR, Klaus
Attachments
Dach-assembly-KBWBE.FCStd
(29.39 KiB) Downloaded 3 times
Dach_Master-KBWBE.FCStd
(81.78 KiB) Downloaded 4 times
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.21, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM