kbwbe wrote: ↑
Tue Nov 27, 2018 9:49 pm
manuelkrause wrote: ↑
Tue Nov 27, 2018 8:14 pm
I've now made some tests and code changes based on that assembly2 code. But I'm not any step ahead with that.
Please have a close look at it, maybe I simply don't put the needed algorithms in the right place / order.
I've taken the changes only into my github for now, to not disturb your (@kbwbe) version.
i will come back to the color import issues within not too long time. Things regarding color/transparency import seem for me got worse last time. I am doing some work with A2plus at moment and i register some color/transparency problems on newer FC versions. I just want to finish some of my work before changing topic.
it looks like good news to me, that you plan to invest some time into that. Doesn't matter when you join that "party", only that you'd do. (Gives hope!)
@wandererfan recently notified me of a FC forum thread that may indicate a longtime bug in FC. Btw. thanks for those notifications from you! (In this case it was: https://forum.freecadweb.org/viewtopic. ... 50#p270650
) But I'm not quite sure that this covers the whole scope of the problems. And I tried to follow most of those possible origins, including committed patches to FC base code. At some point I gave up, as I haven't seen any trace (backwards) within this research, why our A2plus MUXed parts' DiffuseColor of existing (sub-)assemblies is handled differently than a freshly composed first assembly, for the displaying of it in 3D view.
There had been one patch from @abdullah, that included the population of Transparency (https://github.com/FreeCAD/FreeCAD/pull ... 6f92bd7351
) -- maybe DiffuseColor should get the same treatment? I'm no programmer. Please evaluate this idea.
I'm also not convinced of my work, meaning my coding, or e.g. the way that I (we) refresh the display correctly.
What I'm willing to test is some code from the Arch WB (I was too anxious to test so far), they're also handling parts with transparency. I'm not used to it, so I don't know if it works with "re-imports" of shell objects with DiffuseColor, at this moment.